@alif-ui-test/core 1.11.0
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/LICENSE.txt +5 -0
- package/dist/assets/fonts/ALS_Hauss_VF_1.1.ttf +0 -0
- package/dist/assets/fonts/als_hauss_bold.woff2 +0 -0
- package/dist/assets/fonts/als_hauss_medium.woff2 +0 -0
- package/dist/assets/fonts/als_hauss_regular.woff2 +0 -0
- package/dist/components/Accordion/Accordion.js +33 -0
- package/dist/components/Accordion/Accordion.module.css.js +21 -0
- package/dist/components/Accordion/Accordion.types.js +1 -0
- package/dist/components/Accordion/Accordion.utils.js +10 -0
- package/dist/components/Accordion/AccordionDetails/AccordionDetails.js +11 -0
- package/dist/components/Accordion/AccordionSummary/AccordionSummary.js +53 -0
- package/dist/components/ActionButton/ActionButton.js +50 -0
- package/dist/components/ActionButton/ActionButton.module.css.js +9 -0
- package/dist/components/ActionButton/ActionButton.types.js +1 -0
- package/dist/components/ActionButton/ActionButton.utils.js +48 -0
- package/dist/components/Alert/Alert.js +42 -0
- package/dist/components/Alert/Alert.module.css.js +11 -0
- package/dist/components/Alert/Alert.types.js +1 -0
- package/dist/components/Alert/Alert.utils.js +9 -0
- package/dist/components/AppLayout/AppLayout.js +12 -0
- package/dist/components/AppLayout/AppLayout.module.css.js +13 -0
- package/dist/components/AppLayout/AppLayout.types.js +1 -0
- package/dist/components/Avatar/Avatar.js +41 -0
- package/dist/components/Avatar/Avatar.module.css.js +19 -0
- package/dist/components/Avatar/Avatar.types.js +1 -0
- package/dist/components/Avatar/Avatar.utils.js +130 -0
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.js +12 -0
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.module.css.js +7 -0
- package/dist/components/Backdrop/Backdrop.js +59 -0
- package/dist/components/Backdrop/Backdrop.module.css.js +9 -0
- package/dist/components/Backdrop/Backdrop.types.js +1 -0
- package/dist/components/Backdrop/BackdropOverlay.js +8 -0
- package/dist/components/Backdrop/useZIndexStack.js +28 -0
- package/dist/components/Badge/Badge.js +31 -0
- package/dist/components/Badge/Badge.module.css.js +9 -0
- package/dist/components/Badge/Badge.types.js +1 -0
- package/dist/components/Badge/Badge.utils.js +40 -0
- package/dist/components/Breadcrumbs/Breadcrumb/Breadcrumb.js +19 -0
- package/dist/components/Breadcrumbs/Breadcrumb/Breadcrumb.module.css.js +9 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +58 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.module.css.js +9 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.types.js +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.utils.js +18 -0
- package/dist/components/Breadcrumbs/BreadcrumbsMenu/BreadcrumbsMenu.js +46 -0
- package/dist/components/Breadcrumbs/BreadcrumbsMenu/BreadcrumbsMenu.module.css.js +11 -0
- package/dist/components/Button/Button.js +46 -0
- package/dist/components/Button/Button.module.css.js +11 -0
- package/dist/components/Button/Button.types.js +1 -0
- package/dist/components/Button/Button.utils.js +69 -0
- package/dist/components/Checkbox/Checkbox.js +54 -0
- package/dist/components/Checkbox/Checkbox.module.css.js +21 -0
- package/dist/components/Checkbox/Checkbox.types.js +1 -0
- package/dist/components/Checkbox/Checkbox.utils.js +44 -0
- package/dist/components/Collapse/Collapse.js +11 -0
- package/dist/components/Collapse/Collapse.types.js +1 -0
- package/dist/components/DatePicker/DatePicker.js +134 -0
- package/dist/components/DatePicker/DatePicker.module.css.js +13 -0
- package/dist/components/DatePicker/DatePicker.types.js +1 -0
- package/dist/components/DatePicker/DatePicker.utils.js +86 -0
- package/dist/components/DatePicker/Picker/Picker.js +944 -0
- package/dist/components/DatePicker/Picker/Picker.module.css.js +55 -0
- package/dist/components/DatePicker/Picker/Picker.types.js +1 -0
- package/dist/components/DatePicker/Picker/Picker.utils.js +62 -0
- package/dist/components/Dates/Dates.module.css.js +73 -0
- package/dist/components/Dates/Dates.utils.js +65 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.constants.js +8 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.js +238 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.types.js +1 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.utils.js +47 -0
- package/dist/components/Dates/InputDatePicker/InputDatePicker.js +119 -0
- package/dist/components/Dates/InputDatePicker/InputDatePicker.types.js +1 -0
- package/dist/components/Dates/InputDatePicker/InputDatePicker.utils.js +70 -0
- package/dist/components/Dates/InputMonthPicker/InputMonthPicker.js +110 -0
- package/dist/components/Dates/InputMonthPicker/InputMonthPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthPicker/InputMonthPicker.utils.js +23 -0
- package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.constants.js +47 -0
- package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.js +59 -0
- package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthYearPicker/InputMonthYearPicker.js +110 -0
- package/dist/components/Dates/InputMonthYearPicker/InputMonthYearPicker.utils.js +44 -0
- package/dist/components/Dates/InputMonthYearPicker/InputYearMonthPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.js +134 -0
- package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.utils.js +20 -0
- package/dist/components/Dates/InputTimePicker/InputTimePicker.js +88 -0
- package/dist/components/Dates/InputTimePicker/InputTimePicker.types.js +1 -0
- package/dist/components/Dates/InputTimePicker/InputTimePicker.utils.js +17 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimeColumn.js +31 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.js +102 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.types.js +1 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.utils.js +38 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/useScrollSync.js +27 -0
- package/dist/components/Dates/InputYearPicker/InputYearPicker.js +100 -0
- package/dist/components/Dates/InputYearPicker/InputYearPicker.types.js +1 -0
- package/dist/components/Dates/InputYearPicker/InputYearPicker.utils.js +21 -0
- package/dist/components/Dates/InputYearPicker/YearPicker/YearPicker.js +61 -0
- package/dist/components/Dates/InputYearPicker/YearPicker/YearPicker.types.js +1 -0
- package/dist/components/Dates/PickerContent/PickerContent.js +64 -0
- package/dist/components/Dates/PickerContent/PickerContent.types.js +1 -0
- package/dist/components/Dates/PickerContent/PickerContent.utils.js +20 -0
- package/dist/components/Dates/PickerHeader/PickerHeader.js +60 -0
- package/dist/components/Dates/PickerHeader/PickerHeader.types.js +1 -0
- package/dist/components/Dates/PickerOptions/PickerOptions.js +36 -0
- package/dist/components/Dates/PickerOptions/PickerOptions.types.js +1 -0
- package/dist/components/Divider/Divider.js +18 -0
- package/dist/components/Divider/Divider.module.css.js +7 -0
- package/dist/components/Divider/Divider.types.js +1 -0
- package/dist/components/Divider/Divider.utils.js +10 -0
- package/dist/components/Drawer/Drawer.js +74 -0
- package/dist/components/Drawer/Drawer.module.css.js +33 -0
- package/dist/components/Drawer/Drawer.types.js +1 -0
- package/dist/components/Drawer/Drawer.utils.js +14 -0
- package/dist/components/Field/Field.js +69 -0
- package/dist/components/Field/Field.types.js +1 -0
- package/dist/components/Field/InputBase/InputBase.js +52 -0
- package/dist/components/Field/InputBase/InputBase.module.css.js +11 -0
- package/dist/components/Field/InputBase/InputBase.utils.js +24 -0
- package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.js +86 -0
- package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.module.css.js +35 -0
- package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.utils.js +65 -0
- package/dist/components/FileUploader/FileUploader.js +131 -0
- package/dist/components/FileUploader/FileUploader.module.css.js +23 -0
- package/dist/components/FileUploader/FileUploader.types.js +1 -0
- package/dist/components/FileUploader/FileUploader.utils.js +29 -0
- package/dist/components/FileView/FileView.js +75 -0
- package/dist/components/FileView/FileView.module.css.js +27 -0
- package/dist/components/FileView/FileView.types.js +1 -0
- package/dist/components/FileView/FileView.utils.js +4 -0
- package/dist/components/FunctionButton/FunctionButton.js +28 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js +7 -0
- package/dist/components/FunctionButton/FunctionButton.types.js +1 -0
- package/dist/components/FunctionButton/FunctionButton.utils.js +36 -0
- package/dist/components/Hinter/Hinter.js +53 -0
- package/dist/components/Hinter/Hinter.module.css.js +15 -0
- package/dist/components/Hinter/Hinter.types.js +1 -0
- package/dist/components/Input/Input.js +43 -0
- package/dist/components/Input/Input.module.css.js +9 -0
- package/dist/components/Input/Input.types.js +1 -0
- package/dist/components/InputOtp/InputOtp.js +70 -0
- package/dist/components/InputOtp/InputOtp.module.css.js +13 -0
- package/dist/components/InputOtp/InputOtp.types.js +1 -0
- package/dist/components/InputOtp/InputOtp.utils.js +38 -0
- package/dist/components/ListItem/ListItem.js +119 -0
- package/dist/components/ListItem/ListItem.module.css.js +31 -0
- package/dist/components/ListItem/ListItem.types.js +1 -0
- package/dist/components/ListItem/ListItem.utils.js +50 -0
- package/dist/components/Loader/Loader.js +7 -0
- package/dist/components/Loader/Loader.module.css.js +7 -0
- package/dist/components/Loader/Loader.types.js +1 -0
- package/dist/components/Loader/Loader.utils.js +14 -0
- package/dist/components/Menu/Menu.context.js +6 -0
- package/dist/components/Menu/Menu.js +38 -0
- package/dist/components/Menu/Menu.module.css.js +9 -0
- package/dist/components/Menu/Menu.types.js +1 -0
- package/dist/components/Menu/Menu.utils.js +12 -0
- package/dist/components/Menu/MenuItem/MenuItem.js +47 -0
- package/dist/components/Menu/MenuItem/MenuItem.module.css.js +13 -0
- package/dist/components/Menu/MenuItem/MenuItem.utils.js +34 -0
- package/dist/components/Modal/Modal.js +48 -0
- package/dist/components/Modal/Modal.module.css.js +23 -0
- package/dist/components/Modal/Modal.types.js +1 -0
- package/dist/components/Modal/Modal.utils.js +8 -0
- package/dist/components/Modal/ModalActions/ModalActions.js +5 -0
- package/dist/components/Modal/ModalContent/ModalContent.js +7 -0
- package/dist/components/Modal/ModalHeader/ModalHeader.js +43 -0
- package/dist/components/Navbar/Navbar.js +23 -0
- package/dist/components/Navbar/Navbar.module.css.js +12 -0
- package/dist/components/Navbar/Navbar.types.js +1 -0
- package/dist/components/Pagination/Pagination.hook.js +27 -0
- package/dist/components/Pagination/Pagination.js +182 -0
- package/dist/components/Pagination/Pagination.module.css.js +27 -0
- package/dist/components/Pagination/Pagination.types.js +1 -0
- package/dist/components/Pagination/Pagination.utils.js +37 -0
- package/dist/components/Paper/Elevated/Elevated.js +39 -0
- package/dist/components/Paper/Elevated/Elevated.module.css.js +7 -0
- package/dist/components/Paper/Elevated/Elevated.types.js +1 -0
- package/dist/components/Paper/Elevated/Elevated.utils.js +8 -0
- package/dist/components/Paper/Paper.module.css.js +15 -0
- package/dist/components/Paper/Paper.type.js +1 -0
- package/dist/components/Paper/Paper.utils.js +15 -0
- package/dist/components/Paper/Surface/Surface.js +39 -0
- package/dist/components/Paper/Surface/Surface.module.css.js +7 -0
- package/dist/components/Paper/Surface/Surface.types.js +1 -0
- package/dist/components/Paper/Surface/Surface.utils.js +6 -0
- package/dist/components/Popover/Popover.context.js +8 -0
- package/dist/components/Popover/Popover.js +73 -0
- package/dist/components/Popover/Popover.module.css.js +9 -0
- package/dist/components/Popover/Popover.types.js +1 -0
- package/dist/components/Popover/PopoverDropdown/PopoverArrow.js +24 -0
- package/dist/components/Popover/PopoverDropdown/PopoverDropdown.js +71 -0
- package/dist/components/Popover/PopoverTrigger/PopoverTrigger.js +31 -0
- package/dist/components/Popover/useFloatingPosition/getScrollableAncestors.js +12 -0
- package/dist/components/Popover/useFloatingPosition/useFloating.types.js +1 -0
- package/dist/components/Popover/useFloatingPosition/useFloating.util.js +55 -0
- package/dist/components/Popover/useFloatingPosition/useFloatingPosition.js +43 -0
- package/dist/components/Portal/Portal.js +22 -0
- package/dist/components/Portal/Portal.types.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.js +25 -0
- package/dist/components/ProgressBar/ProgressBar.module.css.js +7 -0
- package/dist/components/ProgressBar/ProgressBar.types.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.utils.js +9 -0
- package/dist/components/Radio/Radio.js +44 -0
- package/dist/components/Radio/Radio.module.css.js +15 -0
- package/dist/components/Radio/Radio.types.js +1 -0
- package/dist/components/Radio/Radio.utils.js +59 -0
- package/dist/components/Radio/RadioGroup/RadioGroup.js +41 -0
- package/dist/components/Radio/RadioGroup/RadioGroup.module.css.js +11 -0
- package/dist/components/Radio/RadioGroup/RadioGroup.types.js +1 -0
- package/dist/components/Rating/Rating.js +43 -0
- package/dist/components/Rating/Rating.module.css.js +13 -0
- package/dist/components/Rating/Rating.types.js +1 -0
- package/dist/components/Rating/Rating.utils.js +9 -0
- package/dist/components/RemoveScroll/RemoveScroll.js +15 -0
- package/dist/components/Search/Search.js +44 -0
- package/dist/components/Search/Search.module.css.js +15 -0
- package/dist/components/Search/Search.types.js +1 -0
- package/dist/components/Search/Search.utils.js +14 -0
- package/dist/components/SearchAccent/SearchAccent.js +61 -0
- package/dist/components/SearchAccent/SearchAccent.module.css.js +11 -0
- package/dist/components/SearchAccent/SearchAccent.types.js +1 -0
- package/dist/components/SearchAccent/SearchAccent.utils.js +11 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +40 -0
- package/dist/components/SegmentedControl/SegmentedControl.module.css.js +9 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.js +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.utils.js +22 -0
- package/dist/components/Select/Select.js +140 -0
- package/dist/components/Select/Select.module.css.js +15 -0
- package/dist/components/Select/Select.types.js +1 -0
- package/dist/components/Select/Select.utils.js +6 -0
- package/dist/components/SelectMultiple/SelectMultiple.js +182 -0
- package/dist/components/SelectMultiple/SelectMultiple.module.css.js +25 -0
- package/dist/components/SelectMultiple/SelectMultiple.types.js +1 -0
- package/dist/components/SelectorInput/SelectorInput.js +81 -0
- package/dist/components/SelectorInput/SelectorInput.module.css.js +21 -0
- package/dist/components/SelectorInput/SelectorInput.types.js +1 -0
- package/dist/components/SelectorInput/SelectorInput.utils.js +49 -0
- package/dist/components/Sidebar/Sidebar.context.js +6 -0
- package/dist/components/Sidebar/Sidebar.js +82 -0
- package/dist/components/Sidebar/Sidebar.module.css.js +21 -0
- package/dist/components/Sidebar/Sidebar.types.js +1 -0
- package/dist/components/Sidebar/Sidebar.utils.js +66 -0
- package/dist/components/Sidebar/SidebarBottom/SidebarBottom.js +20 -0
- package/dist/components/Sidebar/SidebarBottom/SidebarBottom.module.css.js +7 -0
- package/dist/components/Sidebar/SidebarCollapse/SidebarCollapse.js +65 -0
- package/dist/components/Sidebar/SidebarCollapse/SidebarCollapse.module.css.js +19 -0
- package/dist/components/Sidebar/SidebarControlButton/SidebarControlButton.js +16 -0
- package/dist/components/Sidebar/SidebarControlButton/SidebarControlButton.module.css.js +9 -0
- package/dist/components/Sidebar/SidebarElement/SidebarElement.js +10 -0
- package/dist/components/Sidebar/SidebarElement/SidebarElement.module.css.js +8 -0
- package/dist/components/Sidebar/SidebarHeader/SidebarHeader.js +17 -0
- package/dist/components/Sidebar/SidebarHeader/SidebarHeader.module.css.js +9 -0
- package/dist/components/Sidebar/SidebarItem/SidebarItem.js +36 -0
- package/dist/components/Sidebar/SidebarItem/SidebarItem.module.css.js +21 -0
- package/dist/components/Sidebar/SidebarItems/SidebarItems.js +25 -0
- package/dist/components/Skeleton/Skeleton.js +23 -0
- package/dist/components/Skeleton/Skeleton.module.css.js +7 -0
- package/dist/components/Skeleton/Skeleton.types.js +1 -0
- package/dist/components/Skeleton/Skeleton.utils.js +9 -0
- package/dist/components/Slider/Label/Label.js +35 -0
- package/dist/components/Slider/Label/Label.types.js +1 -0
- package/dist/components/Slider/Marks/Marks.js +33 -0
- package/dist/components/Slider/Marks/Marks.types.js +1 -0
- package/dist/components/Slider/RangeSlider/RangeSlider.js +78 -0
- package/dist/components/Slider/RangeSlider/RangeSlider.types.js +1 -0
- package/dist/components/Slider/RangeSlider/RangeSlider.utils.js +11 -0
- package/dist/components/Slider/Slider/Slider.js +48 -0
- package/dist/components/Slider/Slider/Slider.types.js +1 -0
- package/dist/components/Slider/Slider/Slider.utils.js +8 -0
- package/dist/components/Slider/Slider.module.css.js +33 -0
- package/dist/components/Slider/Slider.types.js +1 -0
- package/dist/components/Slider/Slider.utils.js +16 -0
- package/dist/components/Slider/SliderBase/SliderBase.js +38 -0
- package/dist/components/Slider/SliderBase/SliderBase.types.js +1 -0
- package/dist/components/Slider/Thumb/Thumb.js +70 -0
- package/dist/components/Slider/Thumb/Thumb.types.js +1 -0
- package/dist/components/Slider/Track/Track.js +16 -0
- package/dist/components/Slider/Track/Track.types.js +1 -0
- package/dist/components/Snackbar/Snackbar.js +105 -0
- package/dist/components/Snackbar/Snackbar.module.css.js +19 -0
- package/dist/components/Snackbar/Snackbar.types.js +1 -0
- package/dist/components/Snackbar/Snackbar.utils.js +52 -0
- package/dist/components/Snackbar/SnackbarTimer/SnackbarTimer.js +31 -0
- package/dist/components/Snackbar/SnackbarTimer/SnackbarTimer.module.css.js +11 -0
- package/dist/components/Switch/Switch.js +28 -0
- package/dist/components/Switch/Switch.module.css.js +17 -0
- package/dist/components/Switch/Switch.types.js +1 -0
- package/dist/components/Switch/Switch.utils.js +40 -0
- package/dist/components/Tab/Tab.js +61 -0
- package/dist/components/Tab/Tab.module.css.js +19 -0
- package/dist/components/Tab/Tab.types.js +1 -0
- package/dist/components/Tab/Tab.utils.js +128 -0
- package/dist/components/Tab/TabGroup/TabGroup.js +61 -0
- package/dist/components/Tab/TabGroup/TabGroup.module.css.js +9 -0
- package/dist/components/Tab/TabGroup/TabGroup.types.js +1 -0
- package/dist/components/Tab/TabMenu/TabMenu.js +11 -0
- package/dist/components/Tab/TabMenu/TabMenu.types.js +1 -0
- package/dist/components/Tab/TabMenu/TabMenu.utils.js +13 -0
- package/dist/components/TabMenuNew/TabMenuNew.js +49 -0
- package/dist/components/TabMenuNew/TabMenuNew.module.css.js +11 -0
- package/dist/components/TabMenuNew/TabMenuNew.types.js +1 -0
- package/dist/components/TabMenuNew/TabMenuNew.utils.js +8 -0
- package/dist/components/Table/Table.js +114 -0
- package/dist/components/Table/Table.module.css.js +45 -0
- package/dist/components/Table/Table.types.js +1 -0
- package/dist/components/Table/Table.utils.js +35 -0
- package/dist/components/Table/TableHeader/TableHeader.js +88 -0
- package/dist/components/Table/TableHeader/TableHeader.types.js +1 -0
- package/dist/components/Table/TableRow/TableRow.js +94 -0
- package/dist/components/Table/TableRow/TableRow.types.js +1 -0
- package/dist/components/Tag/Tag.js +40 -0
- package/dist/components/Tag/Tag.module.css.js +17 -0
- package/dist/components/Tag/Tag.types.js +1 -0
- package/dist/components/Tag/Tag.utils.js +95 -0
- package/dist/components/TextArea/TextArea.js +85 -0
- package/dist/components/TextArea/TextArea.module.css.js +21 -0
- package/dist/components/TextArea/TextArea.types.js +1 -0
- package/dist/components/TextArea/TextArea.utils.js +55 -0
- package/dist/components/Timeline/Timeline.context.js +8 -0
- package/dist/components/Timeline/Timeline.js +43 -0
- package/dist/components/Timeline/Timeline.module.css.js +9 -0
- package/dist/components/Timeline/Timeline.types.js +1 -0
- package/dist/components/Timeline/Timeline.utils.js +5 -0
- package/dist/components/Timeline/TimelineBullet/TimelineBullet.js +12 -0
- package/dist/components/Timeline/TimelineContent/TimelineContent.js +14 -0
- package/dist/components/Timeline/TimelineContent/TimelineContent.module.css.js +9 -0
- package/dist/components/Timeline/TimelineItem/TimelineItem.js +54 -0
- package/dist/components/Timeline/TimelineItem/TimelineItem.module.css.js +19 -0
- package/dist/components/Timeline/TimelineItem/TimelineItem.utils.js +21 -0
- package/dist/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.js +23 -0
- package/dist/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.module.css.js +9 -0
- package/dist/components/Tooltip/Tooltip.js +57 -0
- package/dist/components/Tooltip/Tooltip.module.css.js +11 -0
- package/dist/components/Tooltip/Tooltip.types.js +1 -0
- package/dist/components/Transition/Transition.constants.js +23 -0
- package/dist/components/Transition/Transition.hook.js +64 -0
- package/dist/components/Transition/Transition.js +40 -0
- package/dist/components/Transition/Transition.types.js +1 -0
- package/dist/components/Transition/Transition.utils.js +152 -0
- package/dist/components/Typography/Typography.js +23 -0
- package/dist/components/Typography/Typography.types.js +1 -0
- package/dist/core.css +1 -0
- package/dist/hooks/use-click-outside.js +15 -0
- package/dist/icons/components/AlifBusinessLogo.js +81 -0
- package/dist/icons/components/AlifIcon.js +34 -0
- package/dist/icons/components/ArrowIcon.js +16 -0
- package/dist/icons/components/OutlineFinanceAccounts.js +29 -0
- package/dist/icons/components/OutlineFinanceAnalytics.js +29 -0
- package/dist/icons/components/OutlineFinanceBank.js +29 -0
- package/dist/icons/components/OutlineFinanceBill.js +52 -0
- package/dist/icons/components/OutlineFinanceCardAdd.js +45 -0
- package/dist/icons/components/OutlineFinanceCardSalom.js +29 -0
- package/dist/icons/components/OutlineFinanceCardWebCheckout.js +47 -0
- package/dist/icons/components/OutlineFinanceCash.js +29 -0
- package/dist/icons/components/OutlineFinanceCashDollar.js +29 -0
- package/dist/icons/components/OutlineFinanceCoins.js +29 -0
- package/dist/icons/components/OutlineFinanceCreditCard.js +29 -0
- package/dist/icons/components/OutlineFinanceCurrencyDollar.js +29 -0
- package/dist/icons/components/OutlineFinanceCurrencyLira.js +29 -0
- package/dist/icons/components/OutlineFinanceCurrencyRuble.js +29 -0
- package/dist/icons/components/OutlineFinanceDeposit.js +29 -0
- package/dist/icons/components/OutlineFinanceDollar.js +29 -0
- package/dist/icons/components/OutlineFinanceDollarCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceEuroCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceLimits.js +52 -0
- package/dist/icons/components/OutlineFinanceMerch.js +29 -0
- package/dist/icons/components/OutlineFinanceMoney.js +29 -0
- package/dist/icons/components/OutlineFinanceOnline.js +29 -0
- package/dist/icons/components/OutlineFinancePercent.js +29 -0
- package/dist/icons/components/OutlineFinancePosTerminal.js +82 -0
- package/dist/icons/components/OutlineFinanceRubleCoin.js +40 -0
- package/dist/icons/components/OutlineFinanceSendCard.js +29 -0
- package/dist/icons/components/OutlineFinanceSendDoc.js +29 -0
- package/dist/icons/components/OutlineFinanceSomoniTjsCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceStock.js +57 -0
- package/dist/icons/components/OutlineFinanceTerminal.js +29 -0
- package/dist/icons/components/OutlineFinanceTransfer.js +29 -0
- package/dist/icons/components/OutlineFinanceVisa.js +29 -0
- package/dist/icons/components/OutlineFinanceWallet.js +29 -0
- package/dist/icons/components/OutlineFinanceWalletPlus.js +29 -0
- package/dist/icons/components/OutlineFinanceWalletTransfer.js +29 -0
- package/dist/icons/components/OutlineFinanceYenYuanCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceZP.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowBack.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowDown.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowReturn.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowUp.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronDownSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronLeftSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronRightSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronUpSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationDoubleLeft.js +29 -0
- package/dist/icons/components/OutlineNavigationDoubleRight.js +29 -0
- package/dist/icons/components/OutlineNavigationLeftArrow.js +29 -0
- package/dist/icons/components/OutlineNavigationLeftDown.js +29 -0
- package/dist/icons/components/OutlineNavigationRightArrow.js +29 -0
- package/dist/icons/components/OutlineNavigationRightIcon.js +24 -0
- package/dist/icons/components/OutlineNavigationRightTop.js +29 -0
- package/dist/icons/components/OutlineNavigationTrendingDown.js +29 -0
- package/dist/icons/components/OutlineNavigationTrendingUp.js +29 -0
- package/dist/icons/components/OutlineNavigationZoomOut.js +29 -0
- package/dist/icons/components/OutlineSystemAdd.js +29 -0
- package/dist/icons/components/OutlineSystemAdd2.js +29 -0
- package/dist/icons/components/OutlineSystemAlertCircle.js +29 -0
- package/dist/icons/components/OutlineSystemAll.js +43 -0
- package/dist/icons/components/OutlineSystemArticle.js +40 -0
- package/dist/icons/components/OutlineSystemBell.js +29 -0
- package/dist/icons/components/OutlineSystemBellOff.js +29 -0
- package/dist/icons/components/OutlineSystemBill.js +29 -0
- package/dist/icons/components/OutlineSystemBookOpen.js +29 -0
- package/dist/icons/components/OutlineSystemCalendar.js +29 -0
- package/dist/icons/components/OutlineSystemCalling.js +29 -0
- package/dist/icons/components/OutlineSystemCamera.js +40 -0
- package/dist/icons/components/OutlineSystemChat.js +27 -0
- package/dist/icons/components/OutlineSystemCheck.js +29 -0
- package/dist/icons/components/OutlineSystemCheckCircle.js +38 -0
- package/dist/icons/components/OutlineSystemCheckDouble.js +29 -0
- package/dist/icons/components/OutlineSystemClock.js +29 -0
- package/dist/icons/components/OutlineSystemClose.js +29 -0
- package/dist/icons/components/OutlineSystemConfities.js +73 -0
- package/dist/icons/components/OutlineSystemCopy.js +29 -0
- package/dist/icons/components/OutlineSystemDelete.js +29 -0
- package/dist/icons/components/OutlineSystemDoc.js +29 -0
- package/dist/icons/components/OutlineSystemDocEmpty.js +29 -0
- package/dist/icons/components/OutlineSystemDownload.js +29 -0
- package/dist/icons/components/OutlineSystemEdit.js +29 -0
- package/dist/icons/components/OutlineSystemEditAlt.js +29 -0
- package/dist/icons/components/OutlineSystemExpand.js +29 -0
- package/dist/icons/components/OutlineSystemEyeOff.js +29 -0
- package/dist/icons/components/OutlineSystemEyeOffAlt.js +29 -0
- package/dist/icons/components/OutlineSystemEyeOn.js +29 -0
- package/dist/icons/components/OutlineSystemFileAccept.js +38 -0
- package/dist/icons/components/OutlineSystemFileAdd.js +38 -0
- package/dist/icons/components/OutlineSystemFileError.js +38 -0
- package/dist/icons/components/OutlineSystemFilterFromLessToMore.js +43 -0
- package/dist/icons/components/OutlineSystemFilterFromMoreToLess.js +43 -0
- package/dist/icons/components/OutlineSystemFolder.js +29 -0
- package/dist/icons/components/OutlineSystemGame.js +52 -0
- package/dist/icons/components/OutlineSystemGridView.js +29 -0
- package/dist/icons/components/OutlineSystemGrowth.js +29 -0
- package/dist/icons/components/OutlineSystemHeadphones.js +29 -0
- package/dist/icons/components/OutlineSystemHeart.js +29 -0
- package/dist/icons/components/OutlineSystemHelpCircle.js +29 -0
- package/dist/icons/components/OutlineSystemHex.js +29 -0
- package/dist/icons/components/OutlineSystemHistory.js +38 -0
- package/dist/icons/components/OutlineSystemHome.js +29 -0
- package/dist/icons/components/OutlineSystemHomeFavourite.js +29 -0
- package/dist/icons/components/OutlineSystemIdea.js +66 -0
- package/dist/icons/components/OutlineSystemIn.js +36 -0
- package/dist/icons/components/OutlineSystemInfo.js +45 -0
- package/dist/icons/components/OutlineSystemIslam.js +40 -0
- package/dist/icons/components/OutlineSystemLanguage.js +29 -0
- package/dist/icons/components/OutlineSystemLink.js +36 -0
- package/dist/icons/components/OutlineSystemLink2.js +29 -0
- package/dist/icons/components/OutlineSystemListView.js +29 -0
- package/dist/icons/components/OutlineSystemLock.js +29 -0
- package/dist/icons/components/OutlineSystemMail.js +29 -0
- package/dist/icons/components/OutlineSystemMapPin.js +29 -0
- package/dist/icons/components/OutlineSystemMenu.js +29 -0
- package/dist/icons/components/OutlineSystemMistake.js +47 -0
- package/dist/icons/components/OutlineSystemMoon.js +29 -0
- package/dist/icons/components/OutlineSystemMoreHorizontal.js +29 -0
- package/dist/icons/components/OutlineSystemMoreVertical.js +29 -0
- package/dist/icons/components/OutlineSystemMove.js +29 -0
- package/dist/icons/components/OutlineSystemNavigation.js +29 -0
- package/dist/icons/components/OutlineSystemNews.js +29 -0
- package/dist/icons/components/OutlineSystemOut.js +36 -0
- package/dist/icons/components/OutlineSystemPaperclip.js +29 -0
- package/dist/icons/components/OutlineSystemPlus.js +29 -0
- package/dist/icons/components/OutlineSystemPlusRect.js +29 -0
- package/dist/icons/components/OutlineSystemPrinter.js +29 -0
- package/dist/icons/components/OutlineSystemRefresh.js +29 -0
- package/dist/icons/components/OutlineSystemRefreshCW.js +29 -0
- package/dist/icons/components/OutlineSystemRemove.js +29 -0
- package/dist/icons/components/OutlineSystemRemoveCircle.js +40 -0
- package/dist/icons/components/OutlineSystemRepeat.js +29 -0
- package/dist/icons/components/OutlineSystemResize.js +40 -0
- package/dist/icons/components/OutlineSystemSearch.js +29 -0
- package/dist/icons/components/OutlineSystemSend.js +29 -0
- package/dist/icons/components/OutlineSystemSettings.js +29 -0
- package/dist/icons/components/OutlineSystemShippingAndDelivery.js +29 -0
- package/dist/icons/components/OutlineSystemShoppingBasket.js +45 -0
- package/dist/icons/components/OutlineSystemSidebar.js +29 -0
- package/dist/icons/components/OutlineSystemSignature.js +29 -0
- package/dist/icons/components/OutlineSystemSlash.js +29 -0
- package/dist/icons/components/OutlineSystemSmartphone.js +27 -0
- package/dist/icons/components/OutlineSystemSmile.js +27 -0
- package/dist/icons/components/OutlineSystemStar.js +29 -0
- package/dist/icons/components/OutlineSystemSun.js +29 -0
- package/dist/icons/components/OutlineSystemSurvey.js +38 -0
- package/dist/icons/components/OutlineSystemTariffs.js +64 -0
- package/dist/icons/components/OutlineSystemTelegram.js +29 -0
- package/dist/icons/components/OutlineSystemTrash.js +29 -0
- package/dist/icons/components/OutlineSystemTune.js +29 -0
- package/dist/icons/components/OutlineSystemUnlock.js +29 -0
- package/dist/icons/components/OutlineSystemUpload.js +29 -0
- package/dist/icons/components/OutlineSystemUploadCloud.js +29 -0
- package/dist/icons/components/OutlineSystemUser.js +29 -0
- package/dist/icons/components/OutlineSystemUserAdd.js +29 -0
- package/dist/icons/components/OutlineSystemUsers.js +29 -0
- package/dist/icons/components/OutlineSystemWifiOff.js +50 -0
- package/dist/icons/components/SolidNavigationArrowDown.js +29 -0
- package/dist/icons/components/SolidNavigationArrowLeft.js +29 -0
- package/dist/icons/components/SolidNavigationArrowRight.js +29 -0
- package/dist/icons/components/SolidNavigationArrowUp.js +29 -0
- package/dist/icons/components/SolidNavigationDoubleLeft.js +40 -0
- package/dist/icons/components/SolidNavigationDoubleRight.js +40 -0
- package/dist/icons/components/SolidNavigationLeftPrev.js +29 -0
- package/dist/icons/components/SolidNavigationRightNext.js +29 -0
- package/dist/icons/components/SolidNavigationSelectOpenDown.js +29 -0
- package/dist/icons/components/SolidNavigationSelectTop.js +29 -0
- package/dist/icons/components/SolidSystemAdd.js +29 -0
- package/dist/icons/components/SolidSystemAdd2.js +29 -0
- package/dist/icons/components/SolidSystemAlertCircle.js +29 -0
- package/dist/icons/components/SolidSystemBell.js +29 -0
- package/dist/icons/components/SolidSystemBellOff.js +29 -0
- package/dist/icons/components/SolidSystemBill.js +29 -0
- package/dist/icons/components/SolidSystemCalendar.js +29 -0
- package/dist/icons/components/SolidSystemCamera.js +29 -0
- package/dist/icons/components/SolidSystemChat.js +29 -0
- package/dist/icons/components/SolidSystemCheck.js +29 -0
- package/dist/icons/components/SolidSystemCheckCircle.js +29 -0
- package/dist/icons/components/SolidSystemClock.js +29 -0
- package/dist/icons/components/SolidSystemClose.js +29 -0
- package/dist/icons/components/SolidSystemCopy.js +40 -0
- package/dist/icons/components/SolidSystemDoc.js +29 -0
- package/dist/icons/components/SolidSystemDocEmpty.js +29 -0
- package/dist/icons/components/SolidSystemDownload.js +29 -0
- package/dist/icons/components/SolidSystemEdit.js +29 -0
- package/dist/icons/components/SolidSystemEditAlt.js +47 -0
- package/dist/icons/components/SolidSystemExclamation.js +29 -0
- package/dist/icons/components/SolidSystemExpand.js +40 -0
- package/dist/icons/components/SolidSystemEyeOff.js +29 -0
- package/dist/icons/components/SolidSystemEyeOffAlt.js +40 -0
- package/dist/icons/components/SolidSystemEyeOn.js +29 -0
- package/dist/icons/components/SolidSystemFileAccept.js +29 -0
- package/dist/icons/components/SolidSystemFolder.js +27 -0
- package/dist/icons/components/SolidSystemGridView.js +29 -0
- package/dist/icons/components/SolidSystemHeadphones.js +29 -0
- package/dist/icons/components/SolidSystemHeart.js +29 -0
- package/dist/icons/components/SolidSystemHelpCircle.js +29 -0
- package/dist/icons/components/SolidSystemHex.js +58 -0
- package/dist/icons/components/SolidSystemHome.js +29 -0
- package/dist/icons/components/SolidSystemInfo.js +29 -0
- package/dist/icons/components/SolidSystemLanguage.js +29 -0
- package/dist/icons/components/SolidSystemLink.js +36 -0
- package/dist/icons/components/SolidSystemLink2.js +40 -0
- package/dist/icons/components/SolidSystemListView.js +76 -0
- package/dist/icons/components/SolidSystemLock.js +40 -0
- package/dist/icons/components/SolidSystemMail.js +29 -0
- package/dist/icons/components/SolidSystemMapPin.js +29 -0
- package/dist/icons/components/SolidSystemMenu.js +49 -0
- package/dist/icons/components/SolidSystemMoon.js +29 -0
- package/dist/icons/components/SolidSystemMoreHorizontal.js +29 -0
- package/dist/icons/components/SolidSystemMoreVertical.js +29 -0
- package/dist/icons/components/SolidSystemMove.js +40 -0
- package/dist/icons/components/SolidSystemPaperclip.js +29 -0
- package/dist/icons/components/SolidSystemPrinter.js +56 -0
- package/dist/icons/components/SolidSystemRefresh.js +29 -0
- package/dist/icons/components/SolidSystemRefresh2.js +58 -0
- package/dist/icons/components/SolidSystemRemove.js +29 -0
- package/dist/icons/components/SolidSystemRemoveCircle.js +29 -0
- package/dist/icons/components/SolidSystemRightNext.js +58 -0
- package/dist/icons/components/SolidSystemSearch.js +29 -0
- package/dist/icons/components/SolidSystemSend.js +40 -0
- package/dist/icons/components/SolidSystemSettings.js +29 -0
- package/dist/icons/components/SolidSystemSidebar.js +29 -0
- package/dist/icons/components/SolidSystemSlash.js +40 -0
- package/dist/icons/components/SolidSystemSmartphone.js +29 -0
- package/dist/icons/components/SolidSystemStar.js +29 -0
- package/dist/icons/components/SolidSystemSun.js +103 -0
- package/dist/icons/components/SolidSystemTickDouble.js +40 -0
- package/dist/icons/components/SolidSystemTrash.js +40 -0
- package/dist/icons/components/SolidSystemTune.js +29 -0
- package/dist/icons/components/SolidSystemUnlock.js +40 -0
- package/dist/icons/components/SolidSystemUpload.js +29 -0
- package/dist/icons/components/SolidSystemUploadCloud.js +40 -0
- package/dist/icons/components/SolidSystemUser.js +58 -0
- package/dist/icons/components/SolidSystemUserFilled.js +40 -0
- package/dist/icons/components/SolidSystemUsers.js +45 -0
- package/dist/icons/components/SolidSystemWifiOff.js +50 -0
- package/dist/icons/components/countries-flags/AeFlag.js +87 -0
- package/dist/icons/components/countries-flags/RuFlag.js +78 -0
- package/dist/icons/components/countries-flags/TjFlag.js +50 -0
- package/dist/icons/components/countries-flags/UsFlag.js +117 -0
- package/dist/icons/components/countries-flags/UzFlag.js +85 -0
- package/dist/main.d.ts +3885 -0
- package/dist/main.js +656 -0
- package/dist/providers/AlifProvider/AlifProvider.consts.js +5 -0
- package/dist/providers/AlifProvider/AlifProvider.context.js +6 -0
- package/dist/providers/AlifProvider/AlifProvider.js +31 -0
- package/dist/providers/AlifProvider/AlifProvider.types.js +1 -0
- package/dist/providers/Localization/localization.js +48 -0
- package/dist/providers/Localization/useTranslation/useTranslation.js +12 -0
- package/dist/providers/hooks/useLocale/useLocale.js +11 -0
- package/dist/providers/hooks/useMode/useMode.js +8 -0
- package/dist/types/css-modules.d.js +1 -0
- package/dist/types/global.js +1 -0
- package/dist/types/icon.js +1 -0
- package/dist/utils/class-names.js +4 -0
- package/dist/utils/close-escape.js +6 -0
- package/dist/utils/create-safe-context/create-safe-context.js +17 -0
- package/dist/utils/create-safe-context/create-safe-context.utils.js +11 -0
- package/dist/utils/get-default-z-index.js +12 -0
- package/dist/utils/get-size.js +24 -0
- package/dist/utils/typography.js +201 -0
- package/dist/utils/validate-icon-button-props.js +8 -0
- package/package.json +86 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = "_root_1vel9_1", l = "_uploader_1vel9_27", t = "_error_1vel9_38", o = "_disabled_1vel9_43", _ = "_dragOver_1vel9_49", r = "_text_1vel9_54", s = "_labelText_1vel9_77", a = "_labelDescription_1vel9_85", n = "_btnMobile_1vel9_100", b = {
|
|
2
|
+
root: e,
|
|
3
|
+
uploader: l,
|
|
4
|
+
error: t,
|
|
5
|
+
disabled: o,
|
|
6
|
+
dragOver: _,
|
|
7
|
+
text: r,
|
|
8
|
+
labelText: s,
|
|
9
|
+
labelDescription: a,
|
|
10
|
+
btnMobile: n
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
n as btnMobile,
|
|
14
|
+
b as default,
|
|
15
|
+
o as disabled,
|
|
16
|
+
_ as dragOver,
|
|
17
|
+
t as error,
|
|
18
|
+
a as labelDescription,
|
|
19
|
+
s as labelText,
|
|
20
|
+
e as root,
|
|
21
|
+
r as text,
|
|
22
|
+
l as uploader
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const a = (e, i, t) => {
|
|
2
|
+
const n = e.name.split(".").pop()?.toLowerCase(), s = i.includes(n || ""), o = t.includes(e.type);
|
|
3
|
+
return s && o;
|
|
4
|
+
}, l = (e, i) => {
|
|
5
|
+
const t = i * 1024 * 1024;
|
|
6
|
+
return e.size <= t;
|
|
7
|
+
}, u = (e, i) => e <= i, x = {
|
|
8
|
+
maxCountText: {
|
|
9
|
+
ru: (e) => `Максимум можно загрузить ${e} файла(ов).`,
|
|
10
|
+
en: (e) => `You can upload a maximum of ${e} file(s).`,
|
|
11
|
+
tj: (e) => `Шумо метавонед на бештар аз ${e} файл бор кунед.`
|
|
12
|
+
},
|
|
13
|
+
maxFileSizeText: {
|
|
14
|
+
ru: (e, i) => `Файл "${e}" превышает максимальный размер ${i} мб.`,
|
|
15
|
+
en: (e, i) => `The file "${e}" exceeds the maximum size of ${i} mb.`,
|
|
16
|
+
tj: (e, i) => `Файли "${e}" аз ҳадди ниҳоии андозаи ${i} мб зиёд аст.`
|
|
17
|
+
},
|
|
18
|
+
extText: {
|
|
19
|
+
ru: (e) => `Файл "${e}" имеет недопустимый тип или расширение.`,
|
|
20
|
+
en: (e) => `The file "${e}" has an invalid type or extension.`,
|
|
21
|
+
tj: (e) => `Файли "${e}" намуди номатлуб ё васеъкунии нодуруст дорад.`
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
x as ERROR_TEXT,
|
|
26
|
+
u as isValidFileCount,
|
|
27
|
+
l as isValidFileSize,
|
|
28
|
+
a as isValidFileType
|
|
29
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import r from "./FileView.module.css.js";
|
|
3
|
+
import { formatFileSize as N } from "./FileView.utils.js";
|
|
4
|
+
import { OutlineSystemFileError as h } from "../../icons/components/OutlineSystemFileError.js";
|
|
5
|
+
import { OutlineSystemDoc as y } from "../../icons/components/OutlineSystemDoc.js";
|
|
6
|
+
import { Typography as t } from "../Typography/Typography.js";
|
|
7
|
+
import { ProgressBar as f } from "../ProgressBar/ProgressBar.js";
|
|
8
|
+
import { classNames as g } from "../../utils/class-names.js";
|
|
9
|
+
const j = ({
|
|
10
|
+
file: o,
|
|
11
|
+
rightIcon: a,
|
|
12
|
+
onFileClick: c,
|
|
13
|
+
onIconClick: m,
|
|
14
|
+
className: n,
|
|
15
|
+
style: p
|
|
16
|
+
}) => {
|
|
17
|
+
const { errorText: d, progress: s } = o, l = d?.trim();
|
|
18
|
+
return /* @__PURE__ */ i(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
className: g(r.root, r.file, n),
|
|
22
|
+
style: p,
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { className: r.fileIcon, children: l ? /* @__PURE__ */ e(h, {}) : /* @__PURE__ */ e(y, {}) }),
|
|
25
|
+
/* @__PURE__ */ i("div", { className: r.fileText, onClick: () => c?.(o), children: [
|
|
26
|
+
/* @__PURE__ */ e(t, { category: "body", proportions: "s", className: r.label, children: o.name }),
|
|
27
|
+
/* @__PURE__ */ i("div", { className: r.fileDetails, children: [
|
|
28
|
+
o.size && !l && /* @__PURE__ */ e(
|
|
29
|
+
t,
|
|
30
|
+
{
|
|
31
|
+
category: "description",
|
|
32
|
+
proportions: "l",
|
|
33
|
+
className: r.size,
|
|
34
|
+
children: N(o.size)
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
l && /* @__PURE__ */ e(
|
|
38
|
+
t,
|
|
39
|
+
{
|
|
40
|
+
category: "description",
|
|
41
|
+
proportions: "l",
|
|
42
|
+
className: r.errorText,
|
|
43
|
+
children: o.errorText
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
s !== void 0 && /* @__PURE__ */ i(
|
|
47
|
+
t,
|
|
48
|
+
{
|
|
49
|
+
category: "description",
|
|
50
|
+
proportions: "l",
|
|
51
|
+
className: r.progress,
|
|
52
|
+
children: [
|
|
53
|
+
s,
|
|
54
|
+
"%"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
] }),
|
|
59
|
+
s !== void 0 && /* @__PURE__ */ e(
|
|
60
|
+
f,
|
|
61
|
+
{
|
|
62
|
+
value: s,
|
|
63
|
+
size: "s",
|
|
64
|
+
className: r.progressBar
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
] }),
|
|
68
|
+
a && /* @__PURE__ */ e("div", { className: r.fileRightIcon, onClick: m, children: a })
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
j as FileView
|
|
75
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const e = "_root_ucuxz_1", o = "_file_ucuxz_19", s = "_fileIcon_ucuxz_35", _ = "_fileText_ucuxz_44", t = "_fileDetails_ucuxz_50", c = "_label_ucuxz_57", r = "_size_ucuxz_61", l = "_progress_ucuxz_62", i = "_errorText_ucuxz_66", u = "_fileRightIcon_ucuxz_70", n = "_progressBar_ucuxz_85", x = {
|
|
2
|
+
root: e,
|
|
3
|
+
file: o,
|
|
4
|
+
fileIcon: s,
|
|
5
|
+
fileText: _,
|
|
6
|
+
fileDetails: t,
|
|
7
|
+
label: c,
|
|
8
|
+
size: r,
|
|
9
|
+
progress: l,
|
|
10
|
+
errorText: i,
|
|
11
|
+
fileRightIcon: u,
|
|
12
|
+
progressBar: n
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
x as default,
|
|
16
|
+
i as errorText,
|
|
17
|
+
o as file,
|
|
18
|
+
t as fileDetails,
|
|
19
|
+
s as fileIcon,
|
|
20
|
+
u as fileRightIcon,
|
|
21
|
+
_ as fileText,
|
|
22
|
+
c as label,
|
|
23
|
+
l as progress,
|
|
24
|
+
n as progressBar,
|
|
25
|
+
e as root,
|
|
26
|
+
r as size
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import c from "./FunctionButton.module.css.js";
|
|
3
|
+
import { getFunctionButtonStyles as l } from "./FunctionButton.utils.js";
|
|
4
|
+
import { classNames as p } from "../../utils/class-names.js";
|
|
5
|
+
const x = ({
|
|
6
|
+
variant: t = "primary",
|
|
7
|
+
size: o = "m",
|
|
8
|
+
leftSection: r,
|
|
9
|
+
rightSection: m,
|
|
10
|
+
children: s,
|
|
11
|
+
className: n,
|
|
12
|
+
...e
|
|
13
|
+
}) => /* @__PURE__ */ i(
|
|
14
|
+
"button",
|
|
15
|
+
{
|
|
16
|
+
style: l(t, o),
|
|
17
|
+
className: p(c.root, n),
|
|
18
|
+
...e,
|
|
19
|
+
children: [
|
|
20
|
+
r,
|
|
21
|
+
s,
|
|
22
|
+
m
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
export {
|
|
27
|
+
x as FunctionButton
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { resolveTypography as r } from "../../utils/typography.js";
|
|
2
|
+
import { getSize as c } from "../../utils/get-size.js";
|
|
3
|
+
const g = (o, t) => {
|
|
4
|
+
const n = f(t, o), { fontFamily: u, fontSize: i, lineHeight: e, letterSpacing: l, fontWeight: b } = r("body", n);
|
|
5
|
+
return {
|
|
6
|
+
"--function-button-font-family": u,
|
|
7
|
+
"--function-button-font-size": i,
|
|
8
|
+
"--function-button-line-height": e,
|
|
9
|
+
"--function-button-letter-spacing": l,
|
|
10
|
+
"--function-button-font-weight": b,
|
|
11
|
+
"--function-button-height": c(t, "function-button-height"),
|
|
12
|
+
"--function-button-spacing-between": c(
|
|
13
|
+
t,
|
|
14
|
+
"function-button-spacing-between"
|
|
15
|
+
),
|
|
16
|
+
"--function-button-label-color": `var(--function-button-label-color-${o}-default)`,
|
|
17
|
+
"--function-button-label-color-hover": `var(--function-button-label-color-${o}-hover)`,
|
|
18
|
+
"--function-button-label-color-disabled": `var(--function-button-label-color-${o}-disabled)`,
|
|
19
|
+
"--function-button-label-color-active": `var(--function-button-label-color-${o}-active)`,
|
|
20
|
+
"--function-button-icon-color": `var(--function-button-icon-color-${o}-default)`,
|
|
21
|
+
"--function-button-icon-color-hover": `var(--function-button-icon-color-${o}-hover)`,
|
|
22
|
+
"--function-button-icon-color-disabled": `var(--function-button-icon-color-${o}-disabled)`,
|
|
23
|
+
"--function-button-icon-color-active": `var(--function-button-icon-color-${o}-active)`,
|
|
24
|
+
"--function-button-icon-width": c(t, "function-button-icon-width"),
|
|
25
|
+
"--function-button-icon-height": c(
|
|
26
|
+
t,
|
|
27
|
+
"function-button-icon-height"
|
|
28
|
+
)
|
|
29
|
+
};
|
|
30
|
+
}, f = (o, t) => {
|
|
31
|
+
const n = o === "m" ? "s" : "m";
|
|
32
|
+
return t === "accent" ? `${n}Strong` : n;
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
g as getFunctionButtonStyles
|
|
36
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import e from "./Hinter.module.css.js";
|
|
3
|
+
import { Typography as c } from "../Typography/Typography.js";
|
|
4
|
+
import { classNames as N } from "../../utils/class-names.js";
|
|
5
|
+
import { SolidSystemCheckCircle as C } from "../../icons/components/SolidSystemCheckCircle.js";
|
|
6
|
+
const k = ({
|
|
7
|
+
maxLength: i,
|
|
8
|
+
className: m = "",
|
|
9
|
+
disabled: p = !1,
|
|
10
|
+
isFilled: d = !1,
|
|
11
|
+
hasError: r = !1,
|
|
12
|
+
hintText: o = "",
|
|
13
|
+
isHintAlwaysShown: s = !1,
|
|
14
|
+
showCorrectHintIcon: f = !1,
|
|
15
|
+
showLengthHint: t = !1,
|
|
16
|
+
filledLength: n = 0,
|
|
17
|
+
style: u = {}
|
|
18
|
+
}) => {
|
|
19
|
+
const y = N(
|
|
20
|
+
e.root,
|
|
21
|
+
p && e.disabled,
|
|
22
|
+
r && e.invalid,
|
|
23
|
+
m
|
|
24
|
+
);
|
|
25
|
+
return !s && !r && !t && !o ? null : /* @__PURE__ */ l("div", { style: u, className: y, "data-testid": "hinter", children: [
|
|
26
|
+
d && !r && s && f && /* @__PURE__ */ a(C, { width: "16", height: "16" }),
|
|
27
|
+
/* @__PURE__ */ a(
|
|
28
|
+
c,
|
|
29
|
+
{
|
|
30
|
+
proportions: "l",
|
|
31
|
+
category: "description",
|
|
32
|
+
className: e.hint,
|
|
33
|
+
children: s || r ? o : ""
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
t && i && /* @__PURE__ */ l(
|
|
37
|
+
c,
|
|
38
|
+
{
|
|
39
|
+
proportions: "l",
|
|
40
|
+
category: "description",
|
|
41
|
+
className: e.counter,
|
|
42
|
+
children: [
|
|
43
|
+
n,
|
|
44
|
+
"/",
|
|
45
|
+
i
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] });
|
|
50
|
+
};
|
|
51
|
+
export {
|
|
52
|
+
k as Hinter
|
|
53
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const t = "_root_1jgpz_1", o = "_hint_1jgpz_32", n = "_counter_1jgpz_37", _ = "_disabled_1jgpz_41", i = "_invalid_1jgpz_49", s = {
|
|
2
|
+
root: t,
|
|
3
|
+
hint: o,
|
|
4
|
+
counter: n,
|
|
5
|
+
disabled: _,
|
|
6
|
+
invalid: i
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
n as counter,
|
|
10
|
+
s as default,
|
|
11
|
+
_ as disabled,
|
|
12
|
+
o as hint,
|
|
13
|
+
i as invalid,
|
|
14
|
+
t as root
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import e from "./Input.module.css.js";
|
|
3
|
+
import { Field as N } from "../Field/Field.js";
|
|
4
|
+
import { Hinter as b } from "../Hinter/Hinter.js";
|
|
5
|
+
import { classNames as h } from "../../utils/class-names.js";
|
|
6
|
+
const y = ({
|
|
7
|
+
isFilled: i,
|
|
8
|
+
hintText: m,
|
|
9
|
+
isHintAlwaysShown: a,
|
|
10
|
+
showCorrectHintIcon: l,
|
|
11
|
+
showLengthHint: d,
|
|
12
|
+
filledLength: c,
|
|
13
|
+
maxLength: s,
|
|
14
|
+
style: n,
|
|
15
|
+
fullWidth: o = !0,
|
|
16
|
+
...r
|
|
17
|
+
}) => {
|
|
18
|
+
const f = h(
|
|
19
|
+
e.root,
|
|
20
|
+
o && e.fullWidth,
|
|
21
|
+
r.className
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ u("div", { className: f, style: n, children: [
|
|
24
|
+
/* @__PURE__ */ t(N, { ...r, maxLength: s, fullWidth: o }),
|
|
25
|
+
/* @__PURE__ */ t(
|
|
26
|
+
b,
|
|
27
|
+
{
|
|
28
|
+
isFilled: i,
|
|
29
|
+
hintText: m,
|
|
30
|
+
disabled: r.disabled,
|
|
31
|
+
hasError: r.hasError,
|
|
32
|
+
isHintAlwaysShown: a,
|
|
33
|
+
showCorrectHintIcon: l,
|
|
34
|
+
showLengthHint: d,
|
|
35
|
+
filledLength: c,
|
|
36
|
+
maxLength: s
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
] });
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
y as Input
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as B, useEffect as L } from "react";
|
|
3
|
+
import c from "./InputOtp.module.css.js";
|
|
4
|
+
import { normalizeOtpValue as M, getInputOtpStyles as S, keepOnlyDigits as m } from "./InputOtp.utils.js";
|
|
5
|
+
import { classNames as h } from "../../utils/class-names.js";
|
|
6
|
+
const T = ({
|
|
7
|
+
value: y,
|
|
8
|
+
onChange: D,
|
|
9
|
+
onPaste: g,
|
|
10
|
+
onComplete: v,
|
|
11
|
+
length: o = 4,
|
|
12
|
+
size: w = "m",
|
|
13
|
+
variant: C = "outline",
|
|
14
|
+
hasError: N,
|
|
15
|
+
disabled: n,
|
|
16
|
+
className: V,
|
|
17
|
+
inputClassName: j,
|
|
18
|
+
mask: k,
|
|
19
|
+
inputStyle: I,
|
|
20
|
+
integerOnly: p,
|
|
21
|
+
autoFocus: l,
|
|
22
|
+
placeholder: O
|
|
23
|
+
}) => {
|
|
24
|
+
const u = M(y, o), a = B([]), f = (s) => {
|
|
25
|
+
const t = s.join("");
|
|
26
|
+
D(t), t.length === o && !s.includes("") && v?.(t);
|
|
27
|
+
}, E = (s, t) => {
|
|
28
|
+
let e = s;
|
|
29
|
+
p && (e = m(e));
|
|
30
|
+
const r = [...u];
|
|
31
|
+
r[t] = e.slice(-1), f(r), e && t < o - 1 && a.current[t + 1]?.focus();
|
|
32
|
+
}, K = (s, t) => {
|
|
33
|
+
s.key === "Backspace" && !u[t] && t > 0 && a.current[t - 1]?.focus();
|
|
34
|
+
}, P = (s) => {
|
|
35
|
+
s.preventDefault();
|
|
36
|
+
let t = s.clipboardData.getData("text").slice(0, o);
|
|
37
|
+
p && (t = m(t));
|
|
38
|
+
const e = t.split(""), r = Array(o).fill("");
|
|
39
|
+
e.forEach((z, A) => r[A] = z), f(r), a.current[Math.min(e.length, o - 1)]?.focus(), g?.(s);
|
|
40
|
+
}, R = h(
|
|
41
|
+
c.otpInput,
|
|
42
|
+
j,
|
|
43
|
+
N && c.error,
|
|
44
|
+
n && c.disabled
|
|
45
|
+
);
|
|
46
|
+
return L(() => {
|
|
47
|
+
l && !n && a.current[0]?.focus();
|
|
48
|
+
}, [l, n]), /* @__PURE__ */ i("div", { className: h(c.root, V), children: u.map((s, t) => /* @__PURE__ */ i(
|
|
49
|
+
"input",
|
|
50
|
+
{
|
|
51
|
+
type: k ? "password" : "text",
|
|
52
|
+
maxLength: 1,
|
|
53
|
+
disabled: n,
|
|
54
|
+
value: s,
|
|
55
|
+
ref: (e) => {
|
|
56
|
+
a.current[t] = e;
|
|
57
|
+
},
|
|
58
|
+
onChange: (e) => E(e.target.value, t),
|
|
59
|
+
onKeyDown: (e) => K(e, t),
|
|
60
|
+
onPaste: P,
|
|
61
|
+
style: { ...S(C, w), ...I },
|
|
62
|
+
className: R,
|
|
63
|
+
placeholder: O
|
|
64
|
+
},
|
|
65
|
+
t
|
|
66
|
+
)) });
|
|
67
|
+
};
|
|
68
|
+
export {
|
|
69
|
+
T as InputOtp
|
|
70
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const o = "_root_k34hj_1", t = "_otpInput_k34hj_67", r = "_disabled_k34hj_85", _ = "_error_k34hj_92", s = {
|
|
2
|
+
root: o,
|
|
3
|
+
otpInput: t,
|
|
4
|
+
disabled: r,
|
|
5
|
+
error: _
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
s as default,
|
|
9
|
+
r as disabled,
|
|
10
|
+
_ as error,
|
|
11
|
+
t as otpInput,
|
|
12
|
+
o as root
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { resolveTypography as e } from "../../utils/typography.js";
|
|
2
|
+
import { getSize as p } from "../../utils/get-size.js";
|
|
3
|
+
const n = {
|
|
4
|
+
l: e("heading", "h1"),
|
|
5
|
+
m: e("heading", "h1"),
|
|
6
|
+
s: e("heading", "h4")
|
|
7
|
+
}, b = (o, t) => {
|
|
8
|
+
const r = n[t], l = o === "solid" ? "transparent" : `var(--inputotp-border-color-${o}-error)`, i = o === "solid" ? "transparent" : `var(--inputotp-border-color-${o}-default)`;
|
|
9
|
+
return {
|
|
10
|
+
"--inputotp-bg-color-default": `var(--inputotp-bg-color-${o}-default)`,
|
|
11
|
+
"--inputotp-bg-color-hover": `var(--inputotp-bg-color-${o}-hover)`,
|
|
12
|
+
"--inputotp-bg-color-active": `var(--inputotp-bg-color-${o}-active)`,
|
|
13
|
+
"--inputotp-bg-color-error": `var(--inputotp-bg-color-${o}-error)`,
|
|
14
|
+
"--inputotp-bg-color-disabled": `var(--inputotp-bg-color-${o}-disabled)`,
|
|
15
|
+
"--inputotp-label-color": `var(--inputotp-label-color-${o}-filled)`,
|
|
16
|
+
"--inputotp-label-color-error": `var(--inputotp-label-color-${o}-error)`,
|
|
17
|
+
"--inputotp-label-color-disabled": `var(--inputotp-label-color-${o}-disabled-filled)`,
|
|
18
|
+
"--inputotp-border-color-default": i,
|
|
19
|
+
"--inputotp-border-color-hover": `var(--inputotp-border-color-${o}-hover)`,
|
|
20
|
+
"--inputotp-border-color-active": `var(--inputotp-border-color-${o}-active)`,
|
|
21
|
+
"--inputotp-border-color-disabled": `var(--inputotp-border-color-${o}-disabled)`,
|
|
22
|
+
"--inputotp-border-color-error": l,
|
|
23
|
+
"--inputotp-border-radius": p(t, "inputotp-border-radius"),
|
|
24
|
+
"--inputotp-border-width": p(t, "inputotp-border-width"),
|
|
25
|
+
"--inputotp-width": p(t, "inputotp-width"),
|
|
26
|
+
"--inputotp-height": p(t, "inputotp-height"),
|
|
27
|
+
"--inputotp-label-font-family": r.fontFamily,
|
|
28
|
+
"--inputotp-label-font-weight": r.fontWeight,
|
|
29
|
+
"--inputotp-label-font-size": r.fontSize,
|
|
30
|
+
"--inputotp-label-line-height": r.lineHeight,
|
|
31
|
+
"--inputotp-label-letter-spacing": r.letterSpacing
|
|
32
|
+
};
|
|
33
|
+
}, c = (o, t) => o.split("").concat(Array(t).fill("")).slice(0, t), a = (o) => o.replace(/\D/g, "");
|
|
34
|
+
export {
|
|
35
|
+
b as getInputOtpStyles,
|
|
36
|
+
a as keepOnlyDigits,
|
|
37
|
+
c as normalizeOtpValue
|
|
38
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as j } from "react";
|
|
3
|
+
import s from "./ListItem.module.css.js";
|
|
4
|
+
import { getListStyles as D } from "./ListItem.utils.js";
|
|
5
|
+
import { useLocale as R } from "../../providers/hooks/useLocale/useLocale.js";
|
|
6
|
+
import { Field as _ } from "../Field/Field.js";
|
|
7
|
+
import { OutlineSystemSearch as E } from "../../icons/components/OutlineSystemSearch.js";
|
|
8
|
+
import { Skeleton as M } from "../Skeleton/Skeleton.js";
|
|
9
|
+
import { OutlineSystemCheck as w } from "../../icons/components/OutlineSystemCheck.js";
|
|
10
|
+
import { classNames as r } from "../../utils/class-names.js";
|
|
11
|
+
const h = {
|
|
12
|
+
ru: {
|
|
13
|
+
noOptions: "Нет данных",
|
|
14
|
+
searchPlaceholder: "Поиск..."
|
|
15
|
+
},
|
|
16
|
+
en: {
|
|
17
|
+
noOptions: "No data",
|
|
18
|
+
searchPlaceholder: "Search..."
|
|
19
|
+
},
|
|
20
|
+
tj: {
|
|
21
|
+
noOptions: "Маълумот нест",
|
|
22
|
+
searchPlaceholder: "Чусту чуй..."
|
|
23
|
+
}
|
|
24
|
+
}, U = ({
|
|
25
|
+
isLoading: f,
|
|
26
|
+
className: u,
|
|
27
|
+
itemClassName: y,
|
|
28
|
+
onSearch: I,
|
|
29
|
+
onChangeList: N,
|
|
30
|
+
customNoOptionsText: p,
|
|
31
|
+
style: v,
|
|
32
|
+
proportions: i = "m",
|
|
33
|
+
options: o = [],
|
|
34
|
+
values: a = [],
|
|
35
|
+
hasSearch: S = !1,
|
|
36
|
+
searchValue: b = "",
|
|
37
|
+
searchPlaceholder: g = "",
|
|
38
|
+
fullWidth: x = !1,
|
|
39
|
+
isCenteredContent: c = !1,
|
|
40
|
+
...C
|
|
41
|
+
}) => {
|
|
42
|
+
const { locale: m } = R(), L = j(null), O = r(
|
|
43
|
+
s.root,
|
|
44
|
+
u,
|
|
45
|
+
x && s.fullWidth
|
|
46
|
+
), d = r(
|
|
47
|
+
s.icon,
|
|
48
|
+
c && s.centered
|
|
49
|
+
), k = r(
|
|
50
|
+
s.checkIcon,
|
|
51
|
+
c && s.centered
|
|
52
|
+
), T = r(
|
|
53
|
+
s.labelContainer,
|
|
54
|
+
c && s.centered
|
|
55
|
+
), A = (e) => {
|
|
56
|
+
const t = Array.isArray(a) ? a.includes(e.value) : a === e.value;
|
|
57
|
+
return r(
|
|
58
|
+
s.listItem,
|
|
59
|
+
y,
|
|
60
|
+
t && s.selected,
|
|
61
|
+
e.isDisabled && s.disabled
|
|
62
|
+
);
|
|
63
|
+
}, P = () => f ? [...Array(4)].map((e, t) => /* @__PURE__ */ l(
|
|
64
|
+
M,
|
|
65
|
+
{
|
|
66
|
+
height: i === "l" ? "48px" : "44px",
|
|
67
|
+
style: { borderRadius: "var(--list-item-skeleton-border-radius)" }
|
|
68
|
+
},
|
|
69
|
+
t
|
|
70
|
+
)) : o?.length ? o.map((e) => /* @__PURE__ */ n(
|
|
71
|
+
"li",
|
|
72
|
+
{
|
|
73
|
+
className: A(e),
|
|
74
|
+
onClick: () => N(e.value, e),
|
|
75
|
+
children: [
|
|
76
|
+
e.leftIcon && /* @__PURE__ */ l("div", { className: d, children: e.leftIcon }),
|
|
77
|
+
/* @__PURE__ */ n("div", { className: T, children: [
|
|
78
|
+
/* @__PURE__ */ l("span", { className: s.primaryText, children: e.label }),
|
|
79
|
+
e.secondaryText && /* @__PURE__ */ l("span", { className: s.secondaryText, children: e.secondaryText })
|
|
80
|
+
] }),
|
|
81
|
+
e.rightIcon && /* @__PURE__ */ l("div", { className: d, children: e.rightIcon }),
|
|
82
|
+
/* @__PURE__ */ l("div", { className: k, children: /* @__PURE__ */ l(w, {}) })
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
String(e.value + e.label)
|
|
86
|
+
)) : /* @__PURE__ */ l("li", { className: s.noOptions, children: p || h[m].noOptions });
|
|
87
|
+
return /* @__PURE__ */ n(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: O,
|
|
91
|
+
style: D(i, v),
|
|
92
|
+
...C,
|
|
93
|
+
children: [
|
|
94
|
+
S && /* @__PURE__ */ l(
|
|
95
|
+
_,
|
|
96
|
+
{
|
|
97
|
+
proportions: "s",
|
|
98
|
+
value: b,
|
|
99
|
+
label: g || h[m].searchPlaceholder,
|
|
100
|
+
onChange: (e) => I?.(e.target.value, e),
|
|
101
|
+
leftIcon: /* @__PURE__ */ l(E, {})
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
/* @__PURE__ */ l(
|
|
105
|
+
"ul",
|
|
106
|
+
{
|
|
107
|
+
className: s.list,
|
|
108
|
+
ref: L,
|
|
109
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
110
|
+
children: P()
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
export {
|
|
118
|
+
U as ListItem
|
|
119
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const t = "_root_i6753_1", e = "_fullWidth_i6753_80", o = "_list_i6753_84", _ = "_noOptions_i6753_94", n = "_listItem_i6753_102", i = "_disabled_i6753_115", c = "_checkIcon_i6753_120", s = "_icon_i6753_126", l = "_centered_i6753_132", d = "_selected_i6753_152", r = "_labelContainer_i6753_182", a = "_primaryText_i6753_193", p = "_secondaryText_i6753_194", x = {
|
|
2
|
+
root: t,
|
|
3
|
+
fullWidth: e,
|
|
4
|
+
list: o,
|
|
5
|
+
noOptions: _,
|
|
6
|
+
listItem: n,
|
|
7
|
+
disabled: i,
|
|
8
|
+
checkIcon: c,
|
|
9
|
+
icon: s,
|
|
10
|
+
centered: l,
|
|
11
|
+
selected: d,
|
|
12
|
+
labelContainer: r,
|
|
13
|
+
primaryText: a,
|
|
14
|
+
secondaryText: p
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
l as centered,
|
|
18
|
+
c as checkIcon,
|
|
19
|
+
x as default,
|
|
20
|
+
i as disabled,
|
|
21
|
+
e as fullWidth,
|
|
22
|
+
s as icon,
|
|
23
|
+
r as labelContainer,
|
|
24
|
+
o as list,
|
|
25
|
+
n as listItem,
|
|
26
|
+
_ as noOptions,
|
|
27
|
+
a as primaryText,
|
|
28
|
+
t as root,
|
|
29
|
+
p as secondaryText,
|
|
30
|
+
d as selected
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|