@max-ts/components 1.7.0 → 1.8.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/lib/components/Accordion/Accordion.js +1 -0
- package/lib/components/Accordion/Accordion.stories.js +6 -0
- package/lib/components/Accordion/index.js +1 -0
- package/lib/components/Accordion/styles.js +17 -0
- package/lib/components/ActionCell/ActionCell.js +1 -0
- package/lib/components/ActionCell/ActionCell.stories.js +1 -0
- package/lib/components/ActionCell/MainAction/MainAction.js +1 -0
- package/lib/components/ActionCell/MainAction/index.js +1 -0
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.js +1 -0
- package/lib/components/ActionCell/SecondaryAction/index.js +1 -0
- package/lib/components/ActionCell/index.js +1 -0
- package/lib/components/ActionCell/styles.js +4 -0
- package/lib/components/ActionCell/types.js +0 -0
- package/lib/components/ActionCell/useLogic/index.js +1 -0
- package/lib/components/ActionCell/useLogic/useLogic.js +1 -0
- package/lib/components/ActionGroup/ActionGroup.js +1 -0
- package/lib/components/ActionGroup/ActionGroup.stories.js +3 -0
- package/lib/components/ActionGroup/MainActions/MainActions.js +1 -0
- package/lib/components/ActionGroup/MainActions/index.js +1 -0
- package/lib/components/ActionGroup/MainActions/styles.js +5 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.js +1 -0
- package/lib/components/ActionGroup/SecondaryActions/index.js +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/index.js +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/styles.js +3 -0
- package/lib/components/ActionGroup/index.js +1 -0
- package/lib/components/ActionGroup/styles.js +4 -0
- package/lib/components/ActionGroup/useLogic/index.js +1 -0
- package/lib/components/ActionGroup/useLogic/useLogic.js +1 -0
- package/lib/components/Alert/Alert.js +1 -0
- package/lib/components/Alert/Alert.stories.js +1 -0
- package/lib/components/Alert/index.js +1 -0
- package/lib/components/Alert/styles.js +31 -0
- package/lib/components/Alert/types.js +0 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.stories.js +3 -0
- package/lib/components/AsyncAutocomplete/constants.js +1 -0
- package/lib/components/AsyncAutocomplete/index.js +1 -0
- package/lib/components/AsyncAutocomplete/useLogic/index.js +1 -0
- package/lib/components/AsyncAutocomplete/useLogic/useLogic.js +1 -0
- package/lib/components/Autocomplete/Autocomplete.js +1 -0
- package/lib/components/Autocomplete/Autocomplete.stories.js +3 -0
- package/lib/components/Autocomplete/constants.js +1 -0
- package/lib/components/Autocomplete/enums.js +1 -0
- package/lib/components/Autocomplete/index.js +1 -0
- package/lib/components/Autocomplete/styles.js +7 -0
- package/lib/components/Autocomplete/useLogic/index.js +1 -0
- package/lib/components/Autocomplete/useLogic/useLogic.js +1 -0
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.js +1 -0
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/index.js +1 -0
- package/lib/components/Autocomplete/useLogic/utils/index.js +1 -0
- package/lib/components/Avatar/Avatar.js +1 -0
- package/lib/components/Avatar/Avatar.stories.js +1 -0
- package/lib/components/Avatar/index.js +1 -0
- package/lib/components/Avatar/styles.js +8 -0
- package/lib/components/Badge/Badge.js +1 -0
- package/lib/components/Badge/Badge.stories.js +1 -0
- package/lib/components/Badge/index.js +1 -0
- package/lib/components/Badge/styles.js +21 -0
- package/lib/components/Badge/types.js +0 -0
- package/lib/components/BottomDrawer/BottomDrawer.js +1 -0
- package/lib/components/BottomDrawer/BottomDrawer.stories.js +7 -0
- package/lib/components/BottomDrawer/constants.js +1 -0
- package/lib/components/BottomDrawer/index.js +1 -0
- package/lib/components/BottomDrawer/styles.js +26 -0
- package/lib/components/Breadcrumbs/index.js +1 -0
- package/lib/components/Button/Button.js +1 -0
- package/lib/components/Button/Button.stories.js +1 -0
- package/lib/components/Button/constants.js +1 -0
- package/lib/components/Button/enums.js +1 -0
- package/lib/components/Button/index.js +1 -0
- package/lib/components/Button/styles.js +10 -0
- package/lib/components/Button/types.js +0 -0
- package/lib/components/Button/useLogic/index.js +1 -0
- package/lib/components/Button/useLogic/useLogic.js +1 -0
- package/lib/components/ButtonBase/ButtonBase.js +1 -0
- package/lib/components/ButtonBase/index.js +1 -0
- package/lib/components/ButtonGroup/ButtonGroup.stories.js +1 -0
- package/lib/components/ButtonGroup/index.js +1 -0
- package/lib/components/Calendar/Calendar.js +1 -0
- package/lib/components/Calendar/Calendar.stories.js +1 -0
- package/lib/components/Calendar/DayButton/DayButton.js +1 -0
- package/lib/components/Calendar/DayButton/index.js +1 -0
- package/lib/components/Calendar/DayButton/styles.js +16 -0
- package/lib/components/Calendar/Dropdown/Dropdown.js +1 -0
- package/lib/components/Calendar/Dropdown/index.js +1 -0
- package/lib/components/Calendar/index.js +1 -0
- package/lib/components/Calendar/styles.js +37 -0
- package/lib/components/Card/index.js +1 -0
- package/lib/components/CardActions/index.js +1 -0
- package/lib/components/CardContent/index.js +1 -0
- package/lib/components/CardHeader/index.js +1 -0
- package/lib/components/Carousel/Carousel.js +1 -0
- package/lib/components/Carousel/Carousel.stories.js +1 -0
- package/lib/components/Carousel/CarouselContext.js +1 -0
- package/lib/components/Carousel/Content/Content.js +1 -0
- package/lib/components/Carousel/Content/index.js +1 -0
- package/lib/components/Carousel/Content/styles.js +8 -0
- package/lib/components/Carousel/Dots/Dots.js +1 -0
- package/lib/components/Carousel/Dots/index.js +1 -0
- package/lib/components/Carousel/Dots/styles.js +31 -0
- package/lib/components/Carousel/Dots/useLogic/index.js +1 -0
- package/lib/components/Carousel/Dots/useLogic/useLogic.js +1 -0
- package/lib/components/Carousel/Item/Item.js +1 -0
- package/lib/components/Carousel/Item/index.js +1 -0
- package/lib/components/Carousel/Item/styles.js +1 -0
- package/lib/components/Carousel/Next/Next.js +1 -0
- package/lib/components/Carousel/Next/index.js +1 -0
- package/lib/components/Carousel/Next/styles.js +10 -0
- package/lib/components/Carousel/Previous/Previous.js +1 -0
- package/lib/components/Carousel/Previous/index.js +1 -0
- package/lib/components/Carousel/Previous/styles.js +10 -0
- package/lib/components/Carousel/index.js +1 -0
- package/lib/components/Carousel/styles.js +3 -0
- package/lib/components/Carousel/types.js +0 -0
- package/lib/components/Carousel/useLogic/index.js +1 -0
- package/lib/components/Carousel/useLogic/useLogic.js +1 -0
- package/lib/components/Checkbox/Checkbox.js +1 -0
- package/lib/components/Checkbox/Checkbox.stories.js +1 -0
- package/lib/components/Checkbox/index.js +1 -0
- package/lib/components/Checkbox/styles.js +3 -0
- package/lib/components/CheckboxField/CheckboxField.js +1 -0
- package/lib/components/CheckboxField/CheckboxField.stories.js +1 -0
- package/lib/components/CheckboxField/index.js +1 -0
- package/lib/components/CheckboxField/styles.js +6 -0
- package/lib/components/Chevron/Chevron.js +1 -0
- package/lib/components/Chevron/Chevron.stories.js +1 -0
- package/lib/components/Chevron/index.js +1 -0
- package/lib/components/Chevron/styles.js +6 -0
- package/lib/components/CircularProgress/CircularProgress.js +1 -0
- package/lib/components/CircularProgress/CircularProgress.stories.js +1 -0
- package/lib/components/CircularProgress/constants.js +1 -0
- package/lib/components/CircularProgress/index.js +1 -0
- package/lib/components/CircularProgress/useLogic/index.js +1 -0
- package/lib/components/CircularProgress/useLogic/useLogic.js +1 -0
- package/lib/components/Collapse/Collapse.js +1 -0
- package/lib/components/Collapse/Collapse.stories.js +1 -0
- package/lib/components/Collapse/index.js +1 -0
- package/lib/components/ConfigProvider/ConfigProvider.js +1 -0
- package/lib/components/ConfigProvider/index.js +1 -0
- package/lib/components/ConfirmAction/ConfirmAction.js +1 -0
- package/lib/components/ConfirmAction/ConfirmAction.stories.js +1 -0
- package/lib/components/ConfirmAction/constants.js +1 -0
- package/lib/components/ConfirmAction/index.js +1 -0
- package/lib/components/ConfirmAction/styles.js +10 -0
- package/lib/components/ConfirmAction/useLogic/index.js +1 -0
- package/lib/components/ConfirmAction/useLogic/useLogic.js +1 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.js +1 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.stories.js +1 -0
- package/lib/components/ConfirmDialog/index.js +1 -0
- package/lib/components/ConfirmDialog/styles.js +5 -0
- package/lib/components/ConfirmDialog/useLogic/index.js +1 -0
- package/lib/components/ConfirmDialog/useLogic/useLogic.js +1 -0
- package/lib/components/Container/Container.js +1 -0
- package/lib/components/Container/index.js +1 -0
- package/lib/components/Container/styles.js +20 -0
- package/lib/components/ContentState/ContentState.js +1 -0
- package/lib/components/ContentState/ContentState.stories.js +7 -0
- package/lib/components/ContentState/index.js +1 -0
- package/lib/components/ContentState/styles.js +9 -0
- package/lib/components/ContentState/types.js +0 -0
- package/lib/components/CopyTypography/CopyTypography.js +1 -0
- package/lib/components/CopyTypography/CopyTypography.stories.js +7 -0
- package/lib/components/CopyTypography/enums.js +1 -0
- package/lib/components/CopyTypography/index.js +1 -0
- package/lib/components/CopyTypography/styles.js +18 -0
- package/lib/components/CopyTypography/useLogic/index.js +1 -0
- package/lib/components/CopyTypography/useLogic/useLogic.js +1 -0
- package/lib/components/DashboardLayout/DashboardContext.js +1 -0
- package/lib/components/DashboardLayout/DashboardLayout.js +1 -0
- package/lib/components/DashboardLayout/DashboardLayout.stories.js +4 -0
- package/lib/components/DashboardLayout/Main/Main.js +1 -0
- package/lib/components/DashboardLayout/Main/index.js +1 -0
- package/lib/components/DashboardLayout/Main/styles.js +7 -0
- package/lib/components/DashboardLayout/Sidebar/Sidebar.js +1 -0
- package/lib/components/DashboardLayout/Sidebar/constants.js +1 -0
- package/lib/components/DashboardLayout/Sidebar/index.js +1 -0
- package/lib/components/DashboardLayout/Sidebar/styles.js +27 -0
- package/lib/components/DashboardLayout/constants.js +1 -0
- package/lib/components/DashboardLayout/index.js +1 -0
- package/lib/components/DashboardLayout/styles.js +12 -0
- package/lib/components/DataGrid/Body/Body.js +1 -0
- package/lib/components/DataGrid/Body/index.js +1 -0
- package/lib/components/DataGrid/Body/styles.js +9 -0
- package/lib/components/DataGrid/Body/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Body/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/Cell/Cell.js +1 -0
- package/lib/components/DataGrid/Cell/index.js +1 -0
- package/lib/components/DataGrid/Cell/styles.js +11 -0
- package/lib/components/DataGrid/Cell/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Cell/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/DataGrid.js +1 -0
- package/lib/components/DataGrid/DataGrid.stories.js +1 -0
- package/lib/components/DataGrid/Footer/Footer.js +1 -0
- package/lib/components/DataGrid/Footer/index.js +1 -0
- package/lib/components/DataGrid/Footer/styles.js +8 -0
- package/lib/components/DataGrid/Head/Head.js +1 -0
- package/lib/components/DataGrid/Head/index.js +1 -0
- package/lib/components/DataGrid/Head/styles.js +12 -0
- package/lib/components/DataGrid/Head/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Head/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/HeadCell/HeadCell.js +1 -0
- package/lib/components/DataGrid/HeadCell/index.js +1 -0
- package/lib/components/DataGrid/HeadCell/styles.js +24 -0
- package/lib/components/DataGrid/HeadCell/useLogic/index.js +1 -0
- package/lib/components/DataGrid/HeadCell/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/Loader/Loader.js +1 -0
- package/lib/components/DataGrid/Loader/index.js +1 -0
- package/lib/components/DataGrid/Loader/styles.js +14 -0
- package/lib/components/DataGrid/NoData/NoData.js +1 -0
- package/lib/components/DataGrid/NoData/index.js +1 -0
- package/lib/components/DataGrid/Row/Row.js +1 -0
- package/lib/components/DataGrid/Row/constants.js +1 -0
- package/lib/components/DataGrid/Row/index.js +1 -0
- package/lib/components/DataGrid/Row/styles.js +28 -0
- package/lib/components/DataGrid/Row/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Row/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.js +1 -0
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/index.js +1 -0
- package/lib/components/DataGrid/Row/utils/index.js +1 -0
- package/lib/components/DataGrid/constants.js +1 -0
- package/lib/components/DataGrid/enums.js +1 -0
- package/lib/components/DataGrid/faker.js +1 -0
- package/lib/components/DataGrid/index.js +1 -0
- package/lib/components/DataGrid/styles.js +24 -0
- package/lib/components/DataGrid/types.js +0 -0
- package/lib/components/DataGrid/useLogic/index.js +1 -0
- package/lib/components/DataGrid/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.js +1 -0
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/index.js +1 -0
- package/lib/components/DataGrid/useLogic/utils/index.js +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.js +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/constants.js +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/index.js +1 -0
- package/lib/components/DataGrid/utils/index.js +1 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.js +1 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.stories.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainAction.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/index.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/index.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/index.js +1 -0
- package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.js +1 -0
- package/lib/components/DataGridActionCell/SecondaryAction/index.js +1 -0
- package/lib/components/DataGridActionCell/index.js +1 -0
- package/lib/components/DataGridActionCell/styles.js +4 -0
- package/lib/components/DataGridActionCell/types.js +0 -0
- package/lib/components/DataGridActionCell/useLogic/index.js +1 -0
- package/lib/components/DataGridActionCell/useLogic/useLogic.js +1 -0
- package/lib/components/DataGridPagination/DataGridPagination.js +1 -0
- package/lib/components/DataGridPagination/DataGridPagination.stories.js +3 -0
- package/lib/components/DataGridPagination/constants.js +1 -0
- package/lib/components/DataGridPagination/faker.js +1 -0
- package/lib/components/DataGridPagination/index.js +1 -0
- package/lib/components/DataGridPagination/styles.js +16 -0
- package/lib/components/DataGridPagination/useLogic/index.js +1 -0
- package/lib/components/DataGridPagination/useLogic/useLogic.js +1 -0
- package/lib/components/DatePicker/DatePicker.js +1 -0
- package/lib/components/DatePicker/DatePicker.stories.js +1 -0
- package/lib/components/DatePicker/index.js +1 -0
- package/lib/components/DatePicker/styles.js +3 -0
- package/lib/components/Description/Description.js +1 -0
- package/lib/components/Description/Description.stories.js +15 -0
- package/lib/components/Description/DescriptionContext/DescriptionContext.js +1 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.js +1 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/index.js +1 -0
- package/lib/components/Description/DescriptionContext/index.js +1 -0
- package/lib/components/Description/Name/Name.js +1 -0
- package/lib/components/Description/Name/index.js +1 -0
- package/lib/components/Description/Name/styles.js +18 -0
- package/lib/components/Description/Value/Value.js +1 -0
- package/lib/components/Description/Value/index.js +1 -0
- package/lib/components/Description/Value/styles.js +35 -0
- package/lib/components/Description/Value/useLogic/index.js +1 -0
- package/lib/components/Description/Value/useLogic/useLogic.js +1 -0
- package/lib/components/Description/constants.js +1 -0
- package/lib/components/Description/index.js +1 -0
- package/lib/components/Description/styles.js +17 -0
- package/lib/components/Description/useLogic/index.js +1 -0
- package/lib/components/Description/useLogic/useLogic.js +1 -0
- package/lib/components/DescriptionList/DescriptionList.js +1 -0
- package/lib/components/DescriptionList/DescriptionList.stories.js +5 -0
- package/lib/components/DescriptionList/index.js +1 -0
- package/lib/components/DescriptionList/styles.js +30 -0
- package/lib/components/DescriptionList/types.js +0 -0
- package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.js +1 -0
- package/lib/components/DescriptionList/utils/getTooltipProps/index.js +1 -0
- package/lib/components/DescriptionList/utils/index.js +1 -0
- package/lib/components/DescriptionTooltip/DescriptionTooltip.js +1 -0
- package/lib/components/DescriptionTooltip/index.js +1 -0
- package/lib/components/DescriptionTooltip/styles.js +12 -0
- package/lib/components/Dialog/Dialog.js +1 -0
- package/lib/components/Dialog/Dialog.stories.js +1 -0
- package/lib/components/Dialog/constants.js +1 -0
- package/lib/components/Dialog/index.js +1 -0
- package/lib/components/Dialog/styles.js +9 -0
- package/lib/components/DialogActions/DialogActions.js +1 -0
- package/lib/components/DialogActions/DialogActions.stories.js +1 -0
- package/lib/components/DialogActions/index.js +1 -0
- package/lib/components/DialogActions/styles.js +3 -0
- package/lib/components/DialogContent/DialogContent.js +1 -0
- package/lib/components/DialogContent/DialogContent.stories.js +1 -0
- package/lib/components/DialogContent/index.js +1 -0
- package/lib/components/DialogContent/styles.js +7 -0
- package/lib/components/DialogContentText/DialogContentText.js +1 -0
- package/lib/components/DialogContentText/DialogContentText.stories.js +1 -0
- package/lib/components/DialogContentText/index.js +1 -0
- package/lib/components/DialogContentText/styles.js +3 -0
- package/lib/components/DialogHeader/DialogHeader.js +1 -0
- package/lib/components/DialogHeader/DialogHeader.stories.js +1 -0
- package/lib/components/DialogHeader/index.js +1 -0
- package/lib/components/DialogHeader/styles.js +20 -0
- package/lib/components/DialogTitle/DialogTitle.js +1 -0
- package/lib/components/DialogTitle/index.js +1 -0
- package/lib/components/Divider/Divider.js +1 -0
- package/lib/components/Divider/Divider.stories.js +5 -0
- package/lib/components/Divider/index.js +1 -0
- package/lib/components/DropdownButton/DropdownButton.js +1 -0
- package/lib/components/DropdownButton/DropdownButton.stories.js +1 -0
- package/lib/components/DropdownButton/index.js +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.js +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.stories.js +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.stubs.js +1 -0
- package/lib/components/ErrorBoundary/constants.js +1 -0
- package/lib/components/ErrorBoundary/enums.js +1 -0
- package/lib/components/ErrorBoundary/index.js +1 -0
- package/lib/components/Filename/Filename.js +1 -0
- package/lib/components/Filename/Filename.stories.js +5 -0
- package/lib/components/Filename/index.js +1 -0
- package/lib/components/Filename/styles.js +11 -0
- package/lib/components/Filename/useLogic/index.js +1 -0
- package/lib/components/Filename/useLogic/useLogic.js +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/constants.js +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/findExtension.js +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/index.js +1 -0
- package/lib/components/Filename/useLogic/utils/index.js +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/constants.js +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/index.js +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/truncateString.js +1 -0
- package/lib/components/FormControl/FormControl.js +1 -0
- package/lib/components/FormControl/index.js +1 -0
- package/lib/components/FormControlLabel/FormControlLabel.js +1 -0
- package/lib/components/FormControlLabel/index.js +1 -0
- package/lib/components/FormControlLabel/styles.js +8 -0
- package/lib/components/FormControlLabel/types.js +0 -0
- package/lib/components/FormHelperText/FormHelperText.js +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.js +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/index.js +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/styles.js +15 -0
- package/lib/components/FormHelperText/index.js +1 -0
- package/lib/components/FormLabel/FormLabel.js +1 -0
- package/lib/components/FormLabel/index.js +1 -0
- package/lib/components/FormLabel/styles.js +4 -0
- package/lib/components/GuidTypography/GuidTypography.js +1 -0
- package/lib/components/GuidTypography/GuidTypography.stories.js +3 -0
- package/lib/components/GuidTypography/index.js +1 -0
- package/lib/components/IconButton/IconButton.js +1 -0
- package/lib/components/IconButton/IconButton.stories.js +1 -0
- package/lib/components/IconButton/index.js +1 -0
- package/lib/components/IconButton/styles.js +11 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.js +1 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.stories.js +1 -0
- package/lib/components/IconDropdownButton/index.js +1 -0
- package/lib/components/InputOTP/InputOTP.js +1 -0
- package/lib/components/InputOTP/InputOTP.stories.js +1 -0
- package/lib/components/InputOTP/Separator/Separator.js +1 -0
- package/lib/components/InputOTP/Separator/index.js +1 -0
- package/lib/components/InputOTP/Separator/styles.js +8 -0
- package/lib/components/InputOTP/Slot/Slot.js +1 -0
- package/lib/components/InputOTP/Slot/index.js +1 -0
- package/lib/components/InputOTP/Slot/styles.js +44 -0
- package/lib/components/InputOTP/index.js +1 -0
- package/lib/components/InputOTP/styles.js +22 -0
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.js +1 -0
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.js +1 -0
- package/lib/components/InternalErrorPlaceholder/index.js +1 -0
- package/lib/components/Link/Link.js +1 -0
- package/lib/components/Link/Link.stories.js +1 -0
- package/lib/components/Link/index.js +1 -0
- package/lib/components/Link/styles.js +35 -0
- package/lib/components/List/List.js +1 -0
- package/lib/components/List/List.stories.js +1 -0
- package/lib/components/List/index.js +1 -0
- package/lib/components/ListItem/ListItem.js +1 -0
- package/lib/components/ListItem/ListItem.stories.js +1 -0
- package/lib/components/ListItem/constants.js +1 -0
- package/lib/components/ListItem/index.js +1 -0
- package/lib/components/ListItem/styles.js +11 -0
- package/lib/components/ListItemButton/ListItemButton.js +1 -0
- package/lib/components/ListItemButton/ListItemButton.stories.js +1 -0
- package/lib/components/ListItemButton/constants.js +1 -0
- package/lib/components/ListItemButton/index.js +1 -0
- package/lib/components/ListItemIcon/ListItemIcon.js +1 -0
- package/lib/components/ListItemIcon/ListItemIcon.stories.js +1 -0
- package/lib/components/ListItemIcon/index.js +1 -0
- package/lib/components/ListItemIcon/styles.js +3 -0
- package/lib/components/ListItemText/ListItemText.js +1 -0
- package/lib/components/ListItemText/ListItemText.stories.js +1 -0
- package/lib/components/ListItemText/index.js +1 -0
- package/lib/components/ListSubheader/ListSubheader.js +1 -0
- package/lib/components/ListSubheader/ListSubheader.stories.js +1 -0
- package/lib/components/ListSubheader/index.js +1 -0
- package/lib/components/MaskField/MaskField.js +1 -0
- package/lib/components/MaskField/index.js +1 -0
- package/lib/components/Menu/Menu.js +1 -0
- package/lib/components/Menu/Menu.stories.js +1 -0
- package/lib/components/Menu/index.js +1 -0
- package/lib/components/MenuItem/MenuItem.js +1 -0
- package/lib/components/MenuItem/MenuItem.stories.js +1 -0
- package/lib/components/MenuItem/index.js +1 -0
- package/lib/components/MenuList/MenuList.js +1 -0
- package/lib/components/MenuList/MenuList.stories.js +1 -0
- package/lib/components/MenuList/index.js +1 -0
- package/lib/components/MenuList/styles.js +8 -0
- package/lib/components/MenuList/types.js +0 -0
- package/lib/components/Notification/Notification.js +1 -0
- package/lib/components/Notification/NotificationContainer/NotificationContainer.js +1 -0
- package/lib/components/Notification/NotificationContainer/index.js +1 -0
- package/lib/components/Notification/NotificationContainer/styles.js +9 -0
- package/lib/components/Notification/constants.js +1 -0
- package/lib/components/Notification/index.js +1 -0
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.js +1 -0
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.js +1 -0
- package/lib/components/OutdatedReleasePlaceholder/index.js +1 -0
- package/lib/components/OverflowTypography/OverflowTypography.js +1 -0
- package/lib/components/OverflowTypography/OverflowTypography.stories.js +3 -0
- package/lib/components/OverflowTypography/hooks/index.js +1 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/index.js +1 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -0
- package/lib/components/OverflowTypography/index.js +1 -0
- package/lib/components/OverflowTypography/styles.js +20 -0
- package/lib/components/OverflowTypography/useLogic/index.js +1 -0
- package/lib/components/OverflowTypography/useLogic/useLogic.js +1 -0
- package/lib/components/OverflowTypography/utils/index.js +1 -0
- package/lib/components/OverflowTypography/utils/truncateString/index.js +1 -0
- package/lib/components/OverflowTypography/utils/truncateString/truncateString.js +1 -0
- package/lib/components/PageLayout/Aside/Aside.js +1 -0
- package/lib/components/PageLayout/Aside/index.js +1 -0
- package/lib/components/PageLayout/Aside/styles.js +10 -0
- package/lib/components/PageLayout/Content/Content.js +1 -0
- package/lib/components/PageLayout/Content/index.js +1 -0
- package/lib/components/PageLayout/Content/styles.js +8 -0
- package/lib/components/PageLayout/Footer/Footer.js +1 -0
- package/lib/components/PageLayout/Footer/index.js +1 -0
- package/lib/components/PageLayout/Footer/styles.js +15 -0
- package/lib/components/PageLayout/Header/Header.js +1 -0
- package/lib/components/PageLayout/Header/index.js +1 -0
- package/lib/components/PageLayout/Header/styles.js +44 -0
- package/lib/components/PageLayout/PageLayout.js +1 -0
- package/lib/components/PageLayout/PageLayout.stories.js +4 -0
- package/lib/components/PageLayout/constants.js +1 -0
- package/lib/components/PageLayout/index.js +1 -0
- package/lib/components/PageLayout/styles.js +32 -0
- package/lib/components/Pagination/Pagination.js +1 -0
- package/lib/components/Pagination/Pagination.stories.js +1 -0
- package/lib/components/Pagination/index.js +1 -0
- package/lib/components/Pagination/types.js +0 -0
- package/lib/components/Paper/Paper.js +1 -0
- package/lib/components/Paper/index.js +1 -0
- package/lib/components/PeriodPicker/PeriodPicker.js +1 -0
- package/lib/components/PeriodPicker/PeriodPicker.stories.js +1 -0
- package/lib/components/PeriodPicker/YearsDropdown/YearsDropdown.js +1 -0
- package/lib/components/PeriodPicker/YearsDropdown/index.js +1 -0
- package/lib/components/PeriodPicker/constants.js +1 -0
- package/lib/components/PeriodPicker/index.js +1 -0
- package/lib/components/PeriodPicker/styles.js +16 -0
- package/lib/components/PeriodPicker/utils.js +1 -0
- package/lib/components/Placeholder/Image/Image.js +1 -0
- package/lib/components/Placeholder/Image/index.js +1 -0
- package/lib/components/Placeholder/Image/styles.js +17 -0
- package/lib/components/Placeholder/Placeholder.js +1 -0
- package/lib/components/Placeholder/Placeholder.stories.js +5 -0
- package/lib/components/Placeholder/constants.js +1 -0
- package/lib/components/Placeholder/index.js +1 -0
- package/lib/components/Placeholder/styles.js +59 -0
- package/lib/components/Placeholder/types.js +0 -0
- package/lib/components/Popover/Popover.js +1 -0
- package/lib/components/Popover/Popover.stories.js +10 -0
- package/lib/components/Popover/index.js +1 -0
- package/lib/components/Profile/MenuList/MenuList.js +1 -0
- package/lib/components/Profile/MenuList/index.js +1 -0
- package/lib/components/Profile/MenuList/styles.js +9 -0
- package/lib/components/Profile/Profile.js +1 -0
- package/lib/components/Profile/Profile.stories.js +1 -0
- package/lib/components/Profile/index.js +1 -0
- package/lib/components/Profile/styles.js +21 -0
- package/lib/components/ProgressBar/ProgressBar.js +1 -0
- package/lib/components/ProgressBar/ProgressBar.stories.js +1 -0
- package/lib/components/ProgressBar/index.js +1 -0
- package/lib/components/Radio/Icon/Icon.js +1 -0
- package/lib/components/Radio/Icon/index.js +1 -0
- package/lib/components/Radio/Radio.js +1 -0
- package/lib/components/Radio/Radio.stories.js +1 -0
- package/lib/components/Radio/constants.js +1 -0
- package/lib/components/Radio/index.js +1 -0
- package/lib/components/Radio/styles.js +57 -0
- package/lib/components/RadioField/RadioField.js +1 -0
- package/lib/components/RadioField/RadioField.stories.js +5 -0
- package/lib/components/RadioField/index.js +1 -0
- package/lib/components/RadioField/styles.js +4 -0
- package/lib/components/RadioGroup/RadioGroup.js +1 -0
- package/lib/components/RadioGroup/RadioGroup.stories.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/index.js +1 -0
- package/lib/components/RadioGroup/index.js +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.js +1 -0
- package/lib/components/RadioGroupField/index.js +1 -0
- package/lib/components/RangeInput/RangeInput.js +1 -0
- package/lib/components/RangeInput/RangeInput.stories.js +1 -0
- package/lib/components/RangeInput/index.js +1 -0
- package/lib/components/RangeInput/styles.js +49 -0
- package/lib/components/SearchField/SearchField.js +1 -0
- package/lib/components/SearchField/index.js +1 -0
- package/lib/components/SearchField/styles.js +21 -0
- package/lib/components/Select/Select.js +1 -0
- package/lib/components/Select/Select.stories.js +1 -0
- package/lib/components/Select/constants.js +1 -0
- package/lib/components/Select/index.js +1 -0
- package/lib/components/Select/styles.js +44 -0
- package/lib/components/Select/useLogic/index.js +1 -0
- package/lib/components/Select/useLogic/useLogic.js +1 -0
- package/lib/components/SidebarNav/MenuItem/MenuItem.js +1 -0
- package/lib/components/SidebarNav/MenuItem/index.js +1 -0
- package/lib/components/SidebarNav/MenuItem/styles.js +52 -0
- package/lib/components/SidebarNav/SidebarNav.js +1 -0
- package/lib/components/SidebarNav/SidebarNav.stories.js +1 -0
- package/lib/components/SidebarNav/index.js +1 -0
- package/lib/components/SidebarNav/styles.js +10 -0
- package/lib/components/SidebarNav/types.js +0 -0
- package/lib/components/SidebarProduct/SidebarProduct.js +1 -0
- package/lib/components/SidebarProduct/index.js +1 -0
- package/lib/components/SidebarProduct/styles.js +24 -0
- package/lib/components/Skeleton/Skeleton.js +1 -0
- package/lib/components/Skeleton/Skeleton.stories.js +3 -0
- package/lib/components/Skeleton/index.js +1 -0
- package/lib/components/Skeleton/styles.js +11 -0
- package/lib/components/Slider/Slider.js +1 -0
- package/lib/components/Slider/Slider.stories.js +1 -0
- package/lib/components/Slider/index.js +1 -0
- package/lib/components/Slider/styles.js +26 -0
- package/lib/components/Switch/Switch.js +1 -0
- package/lib/components/Switch/Switch.stories.js +1 -0
- package/lib/components/Switch/index.js +1 -0
- package/lib/components/Switch/styles.js +12 -0
- package/lib/components/Tab/Tab.js +1 -0
- package/lib/components/Tab/Tab.stories.js +1 -0
- package/lib/components/Tab/index.js +1 -0
- package/lib/components/Tab/styles.js +20 -0
- package/lib/components/Tabs/Tabs.js +1 -0
- package/lib/components/Tabs/Tabs.stories.js +1 -0
- package/lib/components/Tabs/index.js +1 -0
- package/lib/components/Tabs/styles.js +16 -0
- package/lib/components/Tag/Tag.js +1 -0
- package/lib/components/Tag/Tag.stories.js +11 -0
- package/lib/components/Tag/enums.js +1 -0
- package/lib/components/Tag/index.js +1 -0
- package/lib/components/Tag/styles.js +79 -0
- package/lib/components/Tag/types.js +0 -0
- package/lib/components/TagBadge/TagBadge.js +1 -0
- package/lib/components/TagBadge/TagBadge.stories.js +1 -0
- package/lib/components/TagBadge/index.js +1 -0
- package/lib/components/TagBadge/styles.js +11 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.js +1 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/index.js +1 -0
- package/lib/components/TagBadge/utils/index.js +1 -0
- package/lib/components/TagsList/Tag/Tag.js +1 -0
- package/lib/components/TagsList/Tag/index.js +1 -0
- package/lib/components/TagsList/Tag/styles.js +10 -0
- package/lib/components/TagsList/Tag/useLogic/index.js +1 -0
- package/lib/components/TagsList/Tag/useLogic/useLogic.js +1 -0
- package/lib/components/TagsList/TagsList.js +1 -0
- package/lib/components/TagsList/index.js +1 -0
- package/lib/components/TagsList/styles.js +4 -0
- package/lib/components/TagsList/types.js +0 -0
- package/lib/components/TagsList/useLogic/index.js +1 -0
- package/lib/components/TagsList/useLogic/useLogic.js +1 -0
- package/lib/components/TagsList/utils/getElementByText/getElementByText.js +1 -0
- package/lib/components/TagsList/utils/getElementByText/index.js +1 -0
- package/lib/components/TagsList/utils/getKey/getKey.js +1 -0
- package/lib/components/TagsList/utils/getKey/index.js +1 -0
- package/lib/components/TagsList/utils/index.js +1 -0
- package/lib/components/TextArea/TextArea.js +1 -0
- package/lib/components/TextArea/TextArea.stories.js +1 -0
- package/lib/components/TextArea/index.js +1 -0
- package/lib/components/TextField/TextField.js +1 -0
- package/lib/components/TextField/TextField.stories.js +1 -0
- package/lib/components/TextField/index.js +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.js +1 -0
- package/lib/components/ThemeProvider/index.js +1 -0
- package/lib/components/Tooltip/Tooltip.js +1 -0
- package/lib/components/Tooltip/Tooltip.stories.js +10 -0
- package/lib/components/Tooltip/constants.js +1 -0
- package/lib/components/Tooltip/index.js +1 -0
- package/lib/components/Tooltip/styles.js +37 -0
- package/lib/components/Tooltip/types.js +0 -0
- package/lib/components/Typography/Typography.js +1 -0
- package/lib/components/Typography/Typography.stories.js +3 -0
- package/lib/components/Typography/enums.js +1 -0
- package/lib/components/Typography/hooks/index.js +1 -0
- package/lib/components/Typography/hooks/useTypographyColor/index.js +1 -0
- package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -0
- package/lib/components/Typography/index.js +1 -0
- package/lib/components/Typography/styles.js +3 -0
- package/lib/components/Typography/types.js +0 -0
- package/lib/components/index.js +1 -0
- package/lib/components/types.js +0 -0
- package/lib/form/EditableText/EditableText.d.ts +52 -0
- package/lib/form/EditableText/EditableText.d.ts.map +1 -0
- package/lib/form/EditableText/EditableText.js +1 -0
- package/lib/form/EditableText/EditingForm/EditingForm.d.ts +38 -0
- package/lib/form/EditableText/EditingForm/EditingForm.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/EditingForm.js +1 -0
- package/lib/form/EditableText/EditingForm/index.d.ts +2 -0
- package/lib/form/EditableText/EditingForm/index.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/index.js +1 -0
- package/lib/form/EditableText/EditingForm/styles.d.ts +17 -0
- package/lib/form/EditableText/EditingForm/styles.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/styles.js +10 -0
- package/lib/form/EditableText/EditingForm/useLogic/index.d.ts +2 -0
- package/lib/form/EditableText/EditingForm/useLogic/index.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/useLogic/index.js +1 -0
- package/lib/form/EditableText/EditingForm/useLogic/useLogic.d.ts +11 -0
- package/lib/form/EditableText/EditingForm/useLogic/useLogic.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/useLogic/useLogic.js +1 -0
- package/lib/form/EditableText/constants.d.ts +2 -0
- package/lib/form/EditableText/constants.d.ts.map +1 -0
- package/lib/form/EditableText/constants.js +1 -0
- package/lib/form/EditableText/index.d.ts +2 -0
- package/lib/form/EditableText/index.d.ts.map +1 -0
- package/lib/form/EditableText/index.js +1 -0
- package/lib/form/EditableText/styles.d.ts +27 -0
- package/lib/form/EditableText/styles.d.ts.map +1 -0
- package/lib/form/EditableText/styles.js +43 -0
- package/lib/form/EditableText/types.d.ts +11 -0
- package/lib/form/EditableText/types.d.ts.map +1 -0
- package/lib/form/EditableText/types.js +0 -0
- package/lib/form/EditableText/useLogic/index.d.ts +2 -0
- package/lib/form/EditableText/useLogic/index.d.ts.map +1 -0
- package/lib/form/EditableText/useLogic/index.js +1 -0
- package/lib/form/EditableText/useLogic/useLogic.d.ts +19 -0
- package/lib/form/EditableText/useLogic/useLogic.d.ts.map +1 -0
- package/lib/form/EditableText/useLogic/useLogic.js +1 -0
- package/lib/form/Form/Form.js +1 -0
- package/lib/form/Form/index.js +1 -0
- package/lib/form/FormAutocomplete/FormAutocomplete.js +1 -0
- package/lib/form/FormAutocomplete/index.js +1 -0
- package/lib/form/FormCheckbox/FormCheckbox.js +1 -0
- package/lib/form/FormCheckbox/index.js +1 -0
- package/lib/form/FormCheckbox/types.js +0 -0
- package/lib/form/FormMaskField/FormMaskField.js +1 -0
- package/lib/form/FormMaskField/index.js +1 -0
- package/lib/form/FormMaskField/types.js +0 -0
- package/lib/form/FormSelect/FormSelect.js +1 -0
- package/lib/form/FormSelect/index.js +1 -0
- package/lib/form/FormSubmitButton/FormSubmitButton.js +1 -0
- package/lib/form/FormSubmitButton/index.js +1 -0
- package/lib/form/FormTextField/FormTextField.js +1 -0
- package/lib/form/FormTextField/index.js +1 -0
- package/lib/form/FormTextField/types.js +0 -0
- package/lib/form/external.js +1 -0
- package/lib/form/hooks/index.js +1 -0
- package/lib/form/hooks/useForm/index.js +1 -0
- package/lib/form/hooks/useForm/useForm.js +1 -0
- package/lib/form/hooks/useFormContext/index.js +1 -0
- package/lib/form/index.d.ts +2 -1
- package/lib/form/index.d.ts.map +1 -1
- package/lib/form/index.js +1 -0
- package/lib/form/types.js +0 -0
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/useMenu/index.js +1 -0
- package/lib/hooks/useMenu/useMenu.js +1 -0
- package/lib/hooks/useMenu/useMenu.stories.js +1 -0
- package/lib/hooks/usePopover/index.js +1 -0
- package/lib/hooks/usePopover/usePopover.js +1 -0
- package/lib/hooks/useToggle/index.js +1 -0
- package/lib/hooks/useToggle/useToggle.js +1 -0
- package/lib/hooks/useViewportType/index.js +1 -0
- package/lib/hooks/useViewportType/useViewportType.js +1 -0
- package/lib/hooks/useViewportType/useViewportType.stories.js +1 -0
- package/lib/icons/index.js +1 -0
- package/lib/index.js +1 -0
- package/lib/theme/baseTheme/baseTheme.js +1 -0
- package/lib/theme/baseTheme/index.js +1 -0
- package/lib/theme/breakpoints.js +1 -0
- package/lib/theme/components/MuiAlert.js +1 -0
- package/lib/theme/components/MuiAutocomplete.js +1 -0
- package/lib/theme/components/MuiButton.js +1 -0
- package/lib/theme/components/MuiButtonBase.js +1 -0
- package/lib/theme/components/MuiCircularProgress.js +1 -0
- package/lib/theme/components/MuiDialog.js +1 -0
- package/lib/theme/components/MuiDialogActions.js +1 -0
- package/lib/theme/components/MuiDialogContent.js +1 -0
- package/lib/theme/components/MuiDialogTitle.js +1 -0
- package/lib/theme/components/MuiDrawer.js +1 -0
- package/lib/theme/components/MuiFormHelperText.js +1 -0
- package/lib/theme/components/MuiFormLabel.js +1 -0
- package/lib/theme/components/MuiInputLabel.js +1 -0
- package/lib/theme/components/MuiLinearProgress.js +1 -0
- package/lib/theme/components/MuiListItemText.js +1 -0
- package/lib/theme/components/MuiMenu.js +1 -0
- package/lib/theme/components/MuiMenuItem.js +1 -0
- package/lib/theme/components/MuiOutlinedInput.js +1 -0
- package/lib/theme/components/MuiPaginationItem.js +1 -0
- package/lib/theme/components/MuiPaper.js +1 -0
- package/lib/theme/components/MuiStep.js +1 -0
- package/lib/theme/components/MuiStepConnector.js +1 -0
- package/lib/theme/components/MuiStepLabel.js +1 -0
- package/lib/theme/components/MuiSwitch.js +1 -0
- package/lib/theme/components/MuiTab.js +1 -0
- package/lib/theme/components/MuiTableCell.js +1 -0
- package/lib/theme/components/MuiTableHead.js +1 -0
- package/lib/theme/components/MuiTableRow.js +1 -0
- package/lib/theme/components/MuiTabs.js +1 -0
- package/lib/theme/components/MuiTextField.js +1 -0
- package/lib/theme/components/MuiToggleButton.js +1 -0
- package/lib/theme/components/MuiToggleButtonGroup.js +1 -0
- package/lib/theme/components/MuiTypography.js +1 -0
- package/lib/theme/components/components.js +1 -0
- package/lib/theme/components/index.js +1 -0
- package/lib/theme/constants.js +1 -0
- package/lib/theme/elevation.js +1 -0
- package/lib/theme/index.js +1 -0
- package/lib/theme/palette/componentsColors/componentsColors.js +1 -0
- package/lib/theme/palette/componentsColors/index.js +1 -0
- package/lib/theme/palette/componentsColors/linkColors/index.js +1 -0
- package/lib/theme/palette/componentsColors/linkColors/linkColors.js +1 -0
- package/lib/theme/palette/index.js +1 -0
- package/lib/theme/palette/palette.js +1 -0
- package/lib/theme/palette/types.js +0 -0
- package/lib/theme/shape.js +1 -0
- package/lib/theme/types.js +0 -0
- package/lib/theme/typography.js +1 -0
- package/package.json +6 -5
- package/lib/index.mjs +0 -1515
package/lib/index.mjs
DELETED
|
@@ -1,1515 +0,0 @@
|
|
|
1
|
-
import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Children as o,Component as n,Fragment as a,createContext as l,createElement as d,forwardRef as s,useCallback as p,useContext as c,useEffect as g,useId as h,useLayoutEffect as u,useMemo as m,useRef as f,useState as y}from"react";import{ArrowDownNarrowWide as x,ArrowDownToLine as b,ArrowDownUp as $,ArrowDownWideNarrow as v,Calendar1 as w,ChevronDown as C,ChevronLeft as k,ChevronRight as S,ChevronUp as z,ChevronsUpDown as F,CircleCheck as P,CircleX as M,Copy as T,Ellipsis as A,EllipsisVertical as I,Info as D,OctagonAlert as O,PanelLeftClose as L,PanelLeftOpen as _,Search as B,Square as R,SquareArrowOutUpRight as E,SquareCheck as N,SquareMinus as W,TriangleAlert as H,X as j}from"lucide-react";import{Alert as V,AlertTitle as G,Autocomplete as Y,Avatar as U,Badge as K,Breadcrumbs as q,Button as J,ButtonBase as X,ButtonGroup as Z,Card as Q,CardActions as ee,CardContent as et,CardHeader as er,Checkbox as ei,Chip as eo,CircularProgress as en,ClickAwayListener as ea,Collapse as el,CssBaseline as ed,Dialog as es,DialogActions as ep,DialogContent as ec,DialogContentText as eg,DialogTitle as eh,Divider as eu,Drawer as em,FormControl as ef,FormControlLabel as ey,FormHelperText as ex,FormLabel as eb,InputLabel as e$,LinearProgress as ev,Link as ew,List as eC,ListItem as ek,ListItemButton as eS,ListItemIcon as ez,ListItemText as eF,ListSubheader as eP,Menu as eM,MenuItem as eT,MenuList as eA,Pagination as eI,Paper as eD,Popover as eO,Popper as eL,Radio as e_,RadioGroup as eB,Select as eR,Skeleton as eE,Slider as eN,SvgIcon as eW,Switch as eH,Tab as ej,Tabs as eV,TextField as eG,ThemeProvider as eY,Tooltip as eU,Typography as eK,alertClasses as eq,alpha as eJ,backdropClasses as eX,buttonClasses as eZ,cardActionsClasses as eQ,cardClasses as e0,cardContentClasses as e1,cardHeaderClasses as e2,createTheme as e3,css as e8,debounce as e4,dialogClasses as e6,drawerClasses as e5,formControlClasses as e9,iconButtonClasses as e7,inputBaseClasses as te,keyframes as tt,listClasses as tr,menuClasses as ti,menuItemClasses as to,outlinedInputClasses as tn,paperClasses as ta,selectClasses as tl,skeletonClasses as td,sliderClasses as ts,stepLabelClasses as tp,styled as tc,svgIconClasses as tg,switchClasses as th,tooltipClasses as tu,useMediaQuery as tm,useTheme as tf}from"@mui/material";import{mergeDeep as ty,prop as tx,uniqueBy as tb}from"remeda";import{clsx as t$}from"clsx";import{useFirstMountState as tv,useLocalStorage as tw}from"react-use";import{DayPicker as tC,DropdownNav as tk,MonthCaption as tS,Months as tz,Nav as tF}from"react-day-picker";import{ru as tP}from"react-day-picker/locale";import tM from"embla-carousel-react";import{useMask as tT}from"@react-input/mask";import{OTPInput as tA}from"input-otp";import{Toaster as tI,toast as tD}from"sonner";import{Controller as tO,FormProvider as tL,useController as t_,useFieldArray as tB,useForm as tR,useFormContext as tE,useWatch as tN}from"react-hook-form";let tW={values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},tH="button-loading";var tj,tV,tG,tY,tU,tK,tq,tJ=((tj={}).Error="error",tj.Success="success",tj.Warning="warning",tj.Primary="primary",tj),tX=((tV={}).Contained="contained",tV.Light="light",tV.Text="text",tV.Link="link",tV),tZ=((tG={}).Small="small",tG.Medium="medium",tG.Large="large",tG),tQ=((tY={}).Default="default",tY.Active="active",tY.Focus="focus",tY.Hover="hover",tY);let t0=e=>{let{size:r}=(({size:e})=>({size:"small"===e?16:24}))({...e}),{size:i,color:o,...n}=e;return t(en,{...n,size:r,color:"inherit","data-color":o})},t1=tc(J)`
|
|
2
|
-
min-width: ${({variant:e})=>e===tX.Link?"auto":""};
|
|
3
|
-
padding: ${({variant:e})=>e===tX.Link?0:""};
|
|
4
|
-
|
|
5
|
-
:active {
|
|
6
|
-
box-shadow: none;
|
|
7
|
-
}
|
|
8
|
-
`,t2=tc(t0)`
|
|
9
|
-
position: absolute;
|
|
10
|
-
`,t3=e=>{let{variant:i=tX.Contained,color:o=tJ.Primary,loading:n,loadingIndicator:a,loadingPosition:l,disabled:d,children:s,className:p,...c}=e,{loadingIndicatorColor:g}=(({variant:e})=>({loadingIndicatorColor:m(()=>e!==tX.Contained?"primary":"inverted",[e])}))({variant:i});return r(t1,{variant:i,color:o,disabled:n||d,...c,className:t$(p,{[tH]:n}),children:[n&&t(t2,{color:g,size:"small"}),s]})},t8=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,t4=({theme:e,variant:t,color:r,buttonState:i,selected:o})=>{let n={selected:{default:e.palette.grey["900"],hover:e.palette.grey["700"],active:e.palette.grey["800"],focus:e.palette.grey["900"]},light:{error:{default:e.palette.red["900"],hover:e.palette.red["900"],active:e.palette.red["800"],focus:e.palette.red["900"]},success:{default:e.palette.green["900"],hover:e.palette.green["900"],active:e.palette.green["800"],focus:e.palette.green["900"]},primary:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},warning:{default:e.palette.yellow["900"],hover:e.palette.yellow["900"],active:e.palette.yellow["800"],focus:e.palette.yellow["900"]}},contained:e.palette.primary.contrastText,text:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},link:{default:e.palette.primary["800"],hover:e.palette.primary["700"],active:e.palette.primary["900"],focus:e.palette.primary["800"]}};return o?t!==tX.Link?e.palette.primary.contrastText:n.selected[i]:t===tX.Contained?n.contained:t===tX.Light&&r?n.light[r][i]:t===tX.Text?n.text[i]:n.link[i]},t6=({selected:e,color:t,variant:r,buttonState:i,theme:o})=>{let n={selected:{default:o.palette.primary["900"],hover:o.palette.primary["700"],active:o.palette.primary["800"],focus:o.palette.primary["900"]},light:{error:{default:o.palette.red["100"],hover:o.palette.red["200"],active:o.palette.red["100"],focus:o.palette.red["100"]},success:{default:o.palette.green["100"],hover:o.palette.green["200"],active:o.palette.green["100"],focus:o.palette.green["100"]},primary:{default:o.palette.grey["100"],hover:o.palette.grey["200"],active:o.palette.grey["100"],focus:o.palette.grey["100"]},warning:{default:o.palette.yellow["100"],hover:o.palette.yellow["200"],active:o.palette.yellow["100"],focus:o.palette.yellow["100"]}},contained:{error:{default:o.palette.red["800"],hover:o.palette.red["700"],active:o.palette.red["900"],focus:o.palette.red["800"]},success:{default:o.palette.green["800"],hover:o.palette.green["700"],active:o.palette.green["900"],focus:o.palette.green["800"]},primary:{default:o.palette.primary["800"],hover:o.palette.primary["700"],active:o.palette.primary["900"],focus:o.palette.primary["800"]},warning:{default:o.palette.yellow["800"],hover:o.palette.yellow["700"],active:o.palette.yellow["900"],focus:o.palette.yellow["800"]}},text:{default:"transparent",hover:o.palette.grey["200"],active:o.palette.primary["100"],focus:"transparent"},link:"transparent"};return e&&r!==tX.Link?n.selected[i]:r===tX.Light&&t?n.light[t][i]:r===tX.Contained&&t?n.contained[t][i]:r===tX.Text?n.text[i]:n.link},t5=e=>{let t=e.replace("#","%23");return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M2 6L4.5 8.5L10 3.5" stroke="${t}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>')`},t9=e=>{let t=e.replace("#","%23");return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6.00005 5.41087L3.79463 3.20545C3.71605 3.12955 3.6108 3.08755 3.50155 3.0885C3.3923 3.08945 3.28779 3.13327 3.21054 3.21053C3.13329 3.28778 3.08947 3.39228 3.08852 3.50153C3.08757 3.61078 3.12957 3.71603 3.20546 3.79462L5.41088 6.00003L3.20546 8.20545C3.12957 8.28403 3.08757 8.38929 3.08852 8.49853C3.08947 8.60778 3.13329 8.71229 3.21054 8.78954C3.28779 8.86679 3.3923 8.91062 3.50155 8.91156C3.6108 8.91251 3.71605 8.87052 3.79463 8.79462L6.00005 6.5892L8.20546 8.79462C8.28405 8.87052 8.3893 8.91251 8.49855 8.91156C8.6078 8.91062 8.7123 8.86679 8.78956 8.78954C8.86681 8.71229 8.91063 8.60778 8.91158 8.49853C8.91253 8.38929 8.87053 8.28403 8.79463 8.20545L6.58921 6.00003L8.79463 3.79462C8.83443 3.75618 8.86617 3.7102 8.88801 3.65937C8.90984 3.60853 8.92134 3.55386 8.92182 3.49853C8.9223 3.44321 8.91176 3.38834 8.89081 3.33714C8.86986 3.28593 8.83892 3.23941 8.7998 3.20029C8.76067 3.16116 8.71415 3.13023 8.66294 3.10927C8.61174 3.08832 8.55687 3.07778 8.50155 3.07826C8.44622 3.07874 8.39155 3.09024 8.34071 3.11207C8.28988 3.13391 8.2439 3.16565 8.20546 3.20545L6.00005 5.41087Z" fill="${t}" stroke="${t}" stroke-width="1.5" /></svg>')`},t7={MuiAlert:{styleOverrides:{root:({theme:e})=>({fontWeight:"400",padding:e.spacing(3),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:e.spacing(3,0)},[e.breakpoints.up("sm")]:{padding:e.spacing(2,4),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:0}}}),filledSuccess:({theme:e})=>({backgroundColor:e.palette.success.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.green["900"]}}),filledError:({theme:e})=>({backgroundColor:e.palette.error.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.red["900"]}}),filledWarning:({theme:e})=>({backgroundColor:e.palette.warning.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.yellow["900"]}}),filledInfo:({theme:e})=>({backgroundColor:e.palette.primary["100"],color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.primary["900"]}}),action:({theme:e})=>({svg:{color:`${e.palette.text.primary} !important`}})}},MuiButton:{defaultProps:{disableRipple:!0},styleOverrides:{root({ownerState:e,theme:t}){var r;let i,o=e.variant,n=e.color,a=e.selected,l=e.size;return{height:t8({type:{size:l}.size,values:{[tZ.Large]:"40px"},defaultValue:"32px"}),padding:t8({type:(i={theme:t,size:l}).size,values:{[tZ.Large]:i.theme.spacing(2,4,2,4)},defaultValue:i.theme.spacing(1,3,1,3)}),[t.breakpoints.down("sm")]:{height:t8({type:{size:l}.size,values:{[tZ.Small]:"36px"},defaultValue:"48px"}),padding:(r={size:l,theme:t,variant:o}).variant===tX.Link?"0":t8({type:r.size,values:{[tZ.Small]:r.theme.spacing(2,3)},defaultValue:r.theme.spacing(4,3)}),whiteSpace:"nowrap"},color:t4({selected:a,theme:t,variant:o,color:n,buttonState:tQ.Default}),fontWeight:t.typography.button.fontWeight,fontSize:t.typography.button.fontSize,fontFamily:'"Roboto Variable", "Roboto","Helvetica","Arial",sans-serif',backgroundColor:t6({selected:a,theme:t,color:n,variant:o,buttonState:tQ.Default}),border:"none",borderRadius:t.shape.small,"&:hover":{color:t4({selected:a,theme:t,variant:o,color:n,buttonState:tQ.Hover}),backgroundColor:t6({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Hover}),boxShadow:"none"},"&:active":{color:t4({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Active}),backgroundColor:t6({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Active}),outline:"none"},"&:focus-visible":{color:t4({selected:a,theme:t,variant:o,color:n,buttonState:tQ.Focus}),backgroundColor:t6({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Focus}),outline:`2px solid ${t.palette.primary["400"]}`,boxShadow:"none"},[`&.${eZ.disabled}`]:{color:t.palette.grey["500"],backgroundColor:(({theme:e,variant:t})=>tX.Link===t||tX.Text===t?"transparent":e.palette.grey["200"])({theme:t,variant:o}),pointerEvents:"none",cursor:"unset"},[`&.${tH}`]:{color:"transparent",backgroundColor:t6({color:n,variant:o,theme:t,buttonState:tQ.Default})},gap:t.spacing(1),textTransform:"none",boxShadow:"none",minWidth:"auto","&.MuiButton-root .MuiButton-startIcon":{marginRight:t.spacing(1)},"&.MuiButton-root .MuiButton-endIcon":{marginLeft:t.spacing(1)},"&.MuiButton-root .MuiSvgIcon-root":{fontSize:"24px"}}}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:({theme:e})=>({fontFamily:e.typography.fontFamily})}},MuiTypography:{variants:[{props:{variant:"button"},style:{textTransform:"capitalize"}}],defaultProps:{fontFamily:'"Roboto Variable", "Roboto","Helvetica","Arial",sans-serif'}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{root:({theme:e})=>({position:"relative",transform:"none",color:e.palette.grey[700],fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),lineHeight:e.typography.pxToRem(16),marginBottom:e.spacing(1),"&.Mui-focused":{color:e.palette.grey[700]},"&.Mui-error":{color:e.palette.grey[700]},"&.Mui-disabled":{color:e.palette.grey[600]}})}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:({theme:e})=>({fontSize:e.typography.pxToRem(14),borderRadius:e.shape.small,color:e.palette.grey[900],"&:hover":{"&.Mui-disabled":{background:e.palette.background.element}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.grey[600]},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.background.element},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.error.dark},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary[700]}}),input:({theme:e})=>({height:20,padding:e.spacing(2.5,2),borderRadius:e.shape.small,"&:disabled":{background:e.palette.background.element},"&::placeholder":{opacity:1,color:e.palette.grey[600]}}),inputSizeSmall:({theme:e})=>({paddingBlock:e.spacing(1.5),paddingInline:e.spacing(2)}),notchedOutline:({theme:e})=>({borderColor:e.palette.grey[300]}),multiline:()=>({padding:0}),inputMultiline:({theme:e})=>({padding:e.spacing(2)})}},MuiFormLabel:{styleOverrides:{root:()=>({position:"relative",transform:"none"})}},MuiFormHelperText:{styleOverrides:{root:({theme:e})=>({display:"flex",minHeight:e.typography.caption.lineHeight,fontSize:e.typography.caption.fontSize,margin:e.spacing(1,0,0),lineHeight:e.typography.caption.lineHeight,"&.Mui-error":{color:e.palette.error.dark}})}},MuiAutocomplete:{styleOverrides:{inputRoot:({theme:e,ownerState:{size:t}})=>({paddingTop:`${e.spacing(1)} !important`,paddingBottom:`${e.spacing(1)} !important`,paddingLeft:`${e.spacing(1)} !important`,minHeight:"small"===t?"32px":"40px"}),input:({theme:e})=>({padding:"0 !important",paddingLeft:`${e.spacing(1)} !important`}),popupIndicator:({theme:e})=>({borderRadius:e.shape.small,display:"flex",alignItems:"center",width:32,height:32}),endAdornment:()=>({display:"flex",alignItems:"center",justifyContent:"flex-end"}),paper:({theme:e})=>({marginTop:e.spacing(2)}),noOptions:({theme:e})=>({padding:e.spacing(6,0,6,3),color:e.palette.grey["500"]}),clearIndicator:({theme:e})=>({width:32,height:32,padding:0,color:e.palette.primary.contrastText,"::before":{content:'""',position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",backgroundColor:e.palette.grey["500"],transform:"translate(-50%, -50%)",borderRadius:"50%"},".MuiSvgIcon-root":{position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",transform:"translate(-50%, -50%)",zIndex:1}}),loading:({theme:e})=>({display:"flex",justifyContent:"center",padding:e.spacing(6,0,6,0)})}},MuiCheckbox:{defaultProps:{disableRipple:!0}},MuiMenu:{defaultProps:{autoFocus:!1},styleOverrides:{paper:({theme:e})=>({marginTop:e.spacing(2),[`&&.${ta.root}`]:{borderRadius:e.shape.small,boxShadow:e.elevation[200]}}),list:({theme:e})=>({[`&&.${tr.root}`]:{padding:0},[`&&.${tr.padding}`]:{padding:e.spacing(1,0)}})}},MuiMenuItem:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,2,2,3),"&:hover":{backgroundColor:e.palette.background.elementHover},[`&.${to.selected}`]:{background:`linear-gradient(90deg, ${e.palette.primary.main} 0, ${e.palette.primary.main} 4px, ${e.palette.primary["100"]} 4px)`},[`&.${to.gutters}`]:{minHeight:e.spacing(8),padding:e.spacing(1,3,1,3)},[e.breakpoints.down("sm")]:{padding:e.spacing(3,3,4,3),[`&.${to.gutters}`]:{padding:e.spacing(3,3,4,3)}}})}},MuiRadio:{defaultProps:{disableRipple:!0}},MuiDialog:{styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.small})}},MuiDialogTitle:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(6,6,4),fontSize:e.typography.h4.fontSize,fontWeight:e.typography.h4.fontWeight,lineHeight:e.typography.h4.lineHeight,display:"flex",justifyContent:"space-between",alignItems:"center",[`& .${eZ.root}`]:{marginLeft:e.spacing(4),color:e.palette.grey[800]}})}},MuiDialogContent:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(0,6)})}},MuiDialogActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(4,6,6,6),">div":{width:"100%"}})}},MuiDrawer:{styleOverrides:{root:({theme:e})=>({[`&.${e5.root} > .${eX.root}`]:{backgroundColor:e.palette.background.modalShadow}})}},MuiTableCell:{styleOverrides:{root:({theme:e})=>({border:"none",padding:e.spacing(1,4),height:44})}},MuiTableHead:{styleOverrides:{root:({theme:e})=>({th:{borderBottom:`2px solid ${e.palette.grey["300"]}`}})}},MuiTableRow:{styleOverrides:{root:({theme:e})=>({"&.MuiTableRow-hover:hover":{backgroundColor:e.palette.background.elementHover,cursor:"pointer"},"&.Mui-selected":{backgroundColor:e.palette.primary["100"]}})}},MuiPaginationItem:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.grey["900"],color:e.palette.primary.contrastText}})}},MuiPaper:{styleOverrides:{elevation:({theme:e,ownerState:{elevation:t}})=>({boxShadow:0===t?"none":1===t?e.elevation["200"]:e.elevation["300"]}),outlined:({theme:e})=>({border:`1px solid ${e.palette.grey[300]}`})}},MuiCircularProgress:{styleOverrides:{root({ownerState:e,theme:t}){let{"data-color":r}=e;return{color:"primary"===r?t.palette.grey[900]:t.palette.primary.contrastText}}}},MuiListItemText:{styleOverrides:{root:()=>({overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"})}},MuiLinearProgress:{styleOverrides:{root:({theme:e})=>({width:"100%",borderRadius:"4px",backgroundColor:e.palette.grey[300]}),barColorPrimary:({theme:e})=>({backgroundColor:e.palette.primary["800"]})}},MuiTab:{styleOverrides:{root:({theme:e})=>({minWidth:0,padding:e.spacing(0,2),textTransform:"none"})}},MuiTabs:{styleOverrides:{root:()=>({minHeight:38,height:38}),indicator:({theme:e})=>({borderRadius:e.shape.small,backgroundColor:e.palette.primary[700]})}},MuiStepLabel:{styleOverrides:{label({theme:e}){let{active:t,completed:r,error:i}=tp;return{fontSize:e.typography.fontSize,lineHeight:e.typography.caption.lineHeight,fontWeight:e.typography.caption.fontWeight,color:e.palette.grey[700],[`&.${t}, &.${r}, &.${i}`]:{color:e.palette.grey[900],fontSize:e.typography.caption.fontSize,lineHeight:e.typography.caption.lineHeight,fontWeight:e.typography.caption.fontWeight}}},iconContainer:({theme:e})=>({paddingRight:e.spacing(2.5)})}},MuiStep:{styleOverrides:{horizontal:({theme:e})=>({"&:first-of-type":{paddingLeft:0},padding:e.spacing(0,2.5)})}},MuiStepConnector:{styleOverrides:{lineHorizontal:({theme:e})=>({borderTopWidth:2,borderColor:e.palette.grey[300]})}},MuiToggleButtonGroup:{defaultProps:{size:"small",color:"primary"}},MuiToggleButton:{styleOverrides:{root:({theme:e})=>({textTransform:"initial",padding:e.spacing(1,2)})}},MuiTextField:{styleOverrides:{root:({theme:e})=>({[`& .${te.adornedStart}`]:{paddingLeft:e.spacing(2)},[`& .${te.adornedEnd}`]:{paddingRight:e.spacing(2)},[`& .${te.inputAdornedStart}`]:{paddingLeft:e.spacing(1)},[`& .${tn.notchedOutline}`]:{top:-4.5}})}},MuiSwitch:{styleOverrides:{root:({theme:e})=>({width:"fit-content",height:"fit-content",padding:e.spacing(1),"& .Mui-checked.MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main[800],opacity:1}},"& :not(.Mui-checked).MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[600],opacity:1}},"& .Mui-checked:hover + .MuiSwitch-track":{backgroundColor:e.palette.primary[700]},"& :not(.Mui-checked):hover + .MuiSwitch-track":{backgroundColor:e.palette.grey[500]},"& .MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled":{"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[200],"&::before":{backgroundImage:t5(e.palette.grey[500])},"&::after":{backgroundImage:t9(e.palette.grey[500])}}},"& :not(.Mui-disabled):active + .MuiSwitch-track":{border:`2px solid ${e.palette.primary[400]}`}}),switchBase:{padding:0,"&:hover, &.Mui-checked:hover":{backgroundColor:"transparent"}},track:({theme:e})=>({borderRadius:10,boxSizing:"border-box","&::before, &::after":{position:"absolute",top:"50%",transform:"translateY(-50%)",content:'""',backgroundSize:"cover"},"&::before":{left:e.spacing(2),backgroundImage:t5(e.palette.background.default)},"&::after":{right:e.spacing(2),backgroundImage:t9(e.palette.background.default)}}),thumb:({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:"none",margin:e.spacing(1.5)}),sizeSmall:{"& .MuiSwitch-track":{width:32,height:16,"&::before, &::after":{width:8,height:8}},"& .MuiSwitch-thumb":{width:12,height:12}},sizeMedium:{"& .MuiSwitch-track":{width:40,height:20,"&::before, &::after":{width:12,height:12}},"& .MuiSwitch-thumb":{width:16,height:16}}}}},re={100:"0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;",200:"0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733;",300:"0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726;",400:"0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726;",500:"0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726;"},rt={link:{main:"#1874FF",hover:"#268FF9",visited:"#762376",active:"#072D57"}},rr=()=>{let e={900:"hsl(240 5.9% 10%)",800:"hsl(240 3.7% 15.9%)",700:"hsl(240 5.3% 26.1%)",600:"hsl(240 5.2% 33.9%)",500:"hsl(240 3.8% 46.1%)",400:"hsl(240 5% 64.9%)",300:"hsl(240 4.9% 83.9%)",200:"hsl(240 5.9% 90%)",100:"hsl(240 4.8% 95.9%)"},t={800:"hsl(240 5.3% 26.1%)"};return{red:{900:"#E64343",800:"#F24646",700:"#F35959",600:"#F67E7E",500:"#F79090",400:"#F8A3A3",300:"#FAB5B5",200:"#FCDADA",100:"#FEEDED"},green:{900:"#008055",800:"#00875A",700:"#19936A",600:"#4DAB8C",500:"#66B79C",400:"#80C3AC",300:"#99CFBD",200:"#CCE7DE",100:"#E6F3EF"},yellow:{900:"#ED8000",800:"#F98700",700:"#FA961F",600:"#FBAB4D",500:"#FBB766",400:"#FDCF99",300:"#FDDBB2",200:"#FBE6CC",100:"#FEF3E6"},grey:{900:"#212529",800:"#343A40",700:"#495057",600:"#6C757D",500:"#ADB5BD",400:"#CED4DA",300:"#DEE2E6",200:"#E9ECEF",100:"#F8F9FA"},primary:{main:e[800],dark:e[900],contrastText:"#FFF",...e},secondary:{main:t[800],dark:e[900],contrastText:"#FFF",...t},background:{default:"#FFF",paper:"#FFF",element:"#FAFBFC",elementHover:"#EEF1F4",modalShadow:"#142A438A"},get text(){return{primary:this.grey[900],secondary:this.grey[700],disabled:this.grey[500]}},get info(){return this.primary},get warning(){return{...this.yellow,light:this.yellow[100],main:this.yellow[600],dark:this.yellow[800],contrastText:"#FFF"}},get success(){return{...this.green,light:this.green[100],main:this.green[600],dark:this.green[800],contrastText:"#FFF"}},get error(){return{...this.red,light:this.red[100],main:this.red[600],dark:this.red[800],contrastText:"#FFF"}},components:rt}},ri={small:"6px",medium:"10px",large:"14px"},ro=e=>{let t=e?.options||{},r=e3({breakpoints:e?.breakpoints||tW,spacing:4,palette:rr(),components:t7,shape:ri,elevation:re});return ty(r,{elevation:re,shape:ri,typography:{h1:{fontSize:"36px",fontWeight:r.typography.fontWeightMedium,lineHeight:"40px"},h2:{fontSize:"28px",fontWeight:r.typography.fontWeightMedium,lineHeight:"32px",[r.breakpoints.down("sm")]:{fontSize:"32px",lineHeight:"40px"}},h3:{fontSize:"24px",fontWeight:r.typography.fontWeightMedium,lineHeight:"28px",[r.breakpoints.down("sm")]:{fontSize:"28px",lineHeight:"36px"}},h4:{fontSize:"20px",fontWeight:r.typography.fontWeightMedium,lineHeight:"24px",[r.breakpoints.down("sm")]:{fontSize:"24px",lineHeight:"28px"}},h5:{fontSize:"16px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"20px"}},h6:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px",lineHeight:"20px"}},subtitle1:{fontSize:"16px",fontWeight:r.typography.fontWeightRegular,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"18px"}},subtitle2:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},body1:{fontSize:"14px",fontWeight:r.typography.fontWeightRegular,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},button:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"24px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},caption:{fontSize:"12px",fontWeight:r.typography.fontWeightRegular,lineHeight:"16px",[r.breakpoints.down("sm")]:{fontSize:"14px"}}},...t})},rn=tc(C,{shouldForwardProp:e=>"isActive"!==e})`
|
|
11
|
-
transform: rotateZ(${({isActive:e})=>180*!!e}deg);
|
|
12
|
-
width: 16px;
|
|
13
|
-
height: 16px;
|
|
14
|
-
transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.short})};
|
|
15
|
-
`,ra=e=>t(rn,{...e}),rl=e=>t(el,{...e});var rd=((tU={}).text="text",tU.secondary="secondary",tU.primary="primary",tU.error="error",tU.success="success",tU.warning="warning",tU.info="info",tU.textSecondary="text.secondary",tU.grey="grey",tU.red="red",tU.green="green",tU.yellow="yellow",tU);let rs=tc(eK,{shouldForwardProp:e=>"isUpperCase"!==e})`
|
|
16
|
-
text-transform: ${({isUpperCase:e})=>e?"uppercase":"none"};
|
|
17
|
-
`,rp=({children:e,color:r,colorIntensity:i="800",component:o,...n})=>{let a=(({color:e,colorIntensity:t="800"})=>{let r=tf();return m(()=>{let i=e&&rd[e];if(i)switch(i){case rd.text:return r.palette.text.primary;case rd.textSecondary:return r.palette.text.secondary;default:return r.palette[i]?.[t]||i}},[e,t,r])})({color:r,colorIntensity:i});return(e=>{if(!e)return})(n.variant),t(rs,{...n,component:o,color:a,children:e})},rc=tc("header")`
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
|
|
20
|
-
display: grid;
|
|
21
|
-
grid-column-gap: ${({theme:e})=>e.spacing(2)};
|
|
22
|
-
grid-template-columns: ${({withStartAdornment:e})=>e?"24px 1fr 24px":" 1fr 24px"};
|
|
23
|
-
`,rg=tc("div")`
|
|
24
|
-
margin-left: ${({theme:e,withStartAdorment:t})=>e.spacing(8*!!t)};
|
|
25
|
-
padding-top: ${({theme:e})=>e.spacing(2)};
|
|
26
|
-
`,rh=tc(rp)`
|
|
27
|
-
align-self: center;
|
|
28
|
-
`,ru=tc("div")`
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
|
|
31
|
-
width: 24px;
|
|
32
|
-
height: 24px;
|
|
33
|
-
`,rm=s(({summary:e,startAdorment:i,isExpanded:o,onChange:n,children:l},d)=>{let[s,p]=y(!1),c="boolean"==typeof o,g=c?o:s,h=!!i;return r("div",{ref:d,children:[r(rc,{onClick:e=>{if(c)n?.(!o,e);else{let t=!s;p(t),n?.(t,e)}},withStartAdornment:h,children:[i,t("string"==typeof e?rh:a,{children:e}),t(ru,{children:t(ra,{isActive:g})})]}),t(rl,{in:g,children:t(rg,{withStartAdorment:h,children:l})})]})}),rf=({action:e,onActionClick:r,tooltipPlacement:i,isDisabled:o})=>{if("actions"in e){let{icon:n,disabled:a,disabledReason:l,name:s,actions:p}=e;return t(r_,{title:l||s,placement:i,withoutContainer:!(o||a),children:t(rD,{icon:n,variant:"text",disabled:o||a,children:p.map(({name:e,onClick:t,...o})=>d(rB,{...o,key:e,tooltipPlacement:i,onClick:r(t)},e))})},s)}let{onClick:n,name:a,icon:l,disabledReason:s,disabled:p,loading:c,isBlockingOperation:g,...h}=e;return t(r_,{title:!c&&(s||a),placement:i,withoutContainer:!(o||p),children:t(rk,{disabled:o||p,...h,variant:"text",onClick:r(n),children:l})},a)};function ry(e=null){let[t,r]=y(!1),i=f(null);return g(()=>{e&&("function"==typeof e?e(i.current):e.current=i.current)},[e]),{open:t,anchorRef:i,handleCloseMenu:()=>r(!1),handleOpenMenu:()=>r(!0)}}let rx=()=>{let[e,t]=y(null);return{isOpen:!!e,anchor:e,actions:{open:e=>t(e.currentTarget),close:()=>t(null)}}},rb=e=>{let{initialState:t=!1,onInactive:r,onActive:i}=e||{},[o,n]=y(t);return[o,(...e)=>{n(!0),i?.(...e)},(...e)=>{n(!1),r?.(...e)}]},r$=()=>({isMobile:tm(tf().breakpoints.down("sm"))}),rv=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,rw=e=>rv({type:e.size,values:{[tZ.Small]:"24px",[tZ.Medium]:"32px",[tZ.Large]:"40px"},defaultValue:"32px"}),rC=tc(t3,{shouldForwardProp:e=>!["startIcon","endIcon","loading","tabIndex"].includes(e.toString())})`
|
|
34
|
-
pointer-events: ${({loading:e})=>e&&"none"};
|
|
35
|
-
|
|
36
|
-
width: ${rw};
|
|
37
|
-
height: ${rw};
|
|
38
|
-
padding: ${({theme:e})=>e.spacing(1)};
|
|
39
|
-
|
|
40
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
41
|
-
width: ${e=>rv({type:e.size,values:{[tZ.Small]:"36px"},defaultValue:"48px"})};
|
|
42
|
-
}
|
|
43
|
-
`,rk=e=>{let{variant:r=tX.Contained,loading:i,children:o,...n}=e,a=m(()=>r===tX.Contained?"inverted":"primary",[r]);return t(rC,{loading:i,variant:r,tabIndex:i?-1:0,...n,children:i?t(t0,{size:"small",color:a}):o})},rS=tc(em)`
|
|
44
|
-
${`.${ta.root}`} {
|
|
45
|
-
max-height: calc(100vh - ${"16px"});
|
|
46
|
-
|
|
47
|
-
@supports (height: 100dvh) {
|
|
48
|
-
max-height: calc(100dvh - ${"16px"});
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
border-top-left-radius: ${({theme:e})=>e.shape.large};
|
|
52
|
-
border-top-right-radius: ${({theme:e})=>e.shape.large};
|
|
53
|
-
}
|
|
54
|
-
`,rz=tc("header")`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-shrink: 0;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: space-between;
|
|
59
|
-
|
|
60
|
-
height: ${({drawerHeaderHeight:e})=>`${e}px`};
|
|
61
|
-
padding: ${({theme:e})=>e.spacing(1,2,1,4)};
|
|
62
|
-
|
|
63
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
|
|
64
|
-
`,rF=tc(eK)`
|
|
65
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
66
|
-
`,rP=tc("div")`
|
|
67
|
-
overflow-y: auto;
|
|
68
|
-
`,rM=({title:e,drawerHeaderHeight:i=56,children:o,onClose:n,...a})=>r(rS,{...a,anchor:"bottom",onClose:n,children:[r(rz,{drawerHeaderHeight:i,children:[t(rF,{variant:"h5",noWrap:!0,children:e}),t(rk,{variant:"text",onClick:e=>{n&&n(e,"escapeKeyDown")},children:t(j,{})})]}),t(rP,{children:o})]}),rT=tc(eA)`
|
|
69
|
-
&.MuiList-root {
|
|
70
|
-
padding: ${({theme:e})=>e.spacing(1,0)};
|
|
71
|
-
|
|
72
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
73
|
-
box-shadow: ${({theme:e})=>e.elevation[200]};
|
|
74
|
-
}
|
|
75
|
-
`,rA=({children:e,...r})=>t(rT,{...r,children:e}),rI=({children:e,onClose:r,open:i,title:o,...n})=>{let{isMobile:a}=r$();return a?t(rM,{title:o,onClose:r,open:i,children:t(rA,{children:e})}):t(eM,{open:i,onClose:r,...n,children:e})},rD=s(({children:i,icon:o,...n},a)=>{let{open:l,anchorRef:d,handleOpenMenu:s,handleCloseMenu:p}=ry(a);return r(e,{children:[t(ea,{onClickAway:p,mouseEvent:"onMouseUp",children:t(rk,{...n,ref:d,onClick:s,selected:l,children:o})}),t(rI,{open:l,anchorEl:d.current,children:i})]})}),rO=tc(({className:e,...r})=>t(eU,{...r,classes:{popper:e}}))`
|
|
76
|
-
& .${tu.tooltip} {
|
|
77
|
-
margin: 0;
|
|
78
|
-
|
|
79
|
-
font-size: ${({size:e,theme:t})=>"small"===e?t.typography.caption.fontSize:t.typography.body1.fontSize};
|
|
80
|
-
font-weight: ${({theme:e})=>e.typography.fontWeightRegular};
|
|
81
|
-
line-height: ${({size:e,theme:t})=>"small"===e?t.typography.caption.lineHeight:t.typography.body1.lineHeight};
|
|
82
|
-
white-space: pre-line;
|
|
83
|
-
|
|
84
|
-
background-color: ${({theme:e})=>e.palette.grey[900]};
|
|
85
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
& .${tu.arrow} {
|
|
89
|
-
font-size: ${({theme:e})=>e.typography.caption.fontSize};
|
|
90
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&&[data-popper-placement*='top'] .${tu.tooltip} {
|
|
94
|
-
margin-bottom: ${({theme:e})=>e.spacing(2)};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&&[data-popper-placement*='bottom'] .${tu.tooltip} {
|
|
98
|
-
margin-top: ${({theme:e})=>e.spacing(2)};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&&[data-popper-placement*='left'] .${tu.tooltip} {
|
|
102
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&&[data-popper-placement*='right'] .${tu.tooltip} {
|
|
106
|
-
margin-left: ${({theme:e})=>e.spacing(2)};
|
|
107
|
-
}
|
|
108
|
-
`,rL=tc("div")`
|
|
109
|
-
display: inherit;
|
|
110
|
-
flex-direction: inherit;
|
|
111
|
-
`,r_=e=>{let{title:r,placement:i="top",size:o="medium",withoutContainer:n=!0,children:a,...l}=e;return t(rO,{title:r,size:o,placement:i,arrow:!0,...l,children:n?a:t(rL,{children:a})})},rB=e=>{let{disabledReason:r,disabled:i,component:o="div",title:n,tooltipPlacement:a="left",note:l,...d}=e;return t("li",{children:t(r_,{title:i?r:l,placement:a,withoutContainer:!i,children:t(eT,{...d,disabled:i,title:n,component:o})},n)})},rR=({actions:e,onActionClick:r,tooltipPlacement:i,isDisabled:o=!1})=>t(rD,{icon:t(I,{}),variant:"text",disabled:o,children:e.map(e=>{let{onClick:t,name:o}=e;return d(rB,{...e,key:o,tooltipPlacement:i,onClick:r(t)},o)})}),rE=tc("div")`
|
|
112
|
-
display: inline-flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
`,rN=e=>{let{isSecondaryActionsAvailable:i,handleActionClick:o,handleWrapperClick:n,isDisabledAction:a}=(({actions:e,row:t})=>{let{main:r,secondary:i}=e,o=r.some(e=>!("actions"in e)&&e?.isBlockingOperation&&e?.loading),n=p(e=>()=>{e?.(t)},[t]);return{isSecondaryActionsAvailable:i&&i.length>=1,handleActionClick:n,handleWrapperClick:e=>{e.stopPropagation()},isDisabledAction:o}})(e),{actions:l}=e,{main:d=[],secondary:s=[]}=l;return r(rE,{onClick:n,children:[d.map(e=>t(rf,{tooltipPlacement:"top",onActionClick:o,action:e,isDisabled:a},e.name)),i&&t(rR,{isDisabled:a,actions:s,tooltipPlacement:"left",onActionClick:o})]})},rW=({children:i,name:o,popoverProps:n,...a})=>{let{open:l,anchorRef:d,handleOpenMenu:s,handleCloseMenu:p}=ry();return r(e,{children:[t(ea,{onClickAway:p,children:t(t3,{...a,ref:d,selected:l,onClick:s,endIcon:t(ra,{isActive:l}),children:o})}),t(rI,{open:l,anchorEl:d.current,...n,children:i})]})},rH=tc(t3)`
|
|
115
|
-
flex-grow: 1;
|
|
116
|
-
`,rj=tc(rW)`
|
|
117
|
-
flex-grow: 1;
|
|
118
|
-
`,rV=({actions:r,isDisabled:i,size:o})=>t(e,{children:r.map(e=>{if(Object.hasOwn(e,"isNested")){let{text:r,isNested:n,actions:a,disabled:l,disabledReason:d,note:s,isBlockingOperation:p,...c}=e;return t(r_,{title:l?d:s,withoutContainer:!(i||l),children:t(rj,{...c,disabled:i||l,name:r,size:o,children:a.map(({text:e,...r})=>t(rB,{...r,children:e},e))})},r)}let{text:r,disabled:n,disabledReason:a,note:l,isBlockingOperation:d,...s}=e;return t(r_,{title:n?a:l,withoutContainer:!(i||n),children:t(rH,{...s,size:o,disabled:i||n,children:r})},r)})}),rG=({actions:e,isDisabled:r,size:i})=>e.length?t(rD,{disabled:r,icon:t(A,{}),variant:"light",size:i,children:e.map(({text:e,...r})=>d(az,{tooltipPlacement:"right",...r,key:e},t(aM,{primary:e})))}):null,rY=({actions:r,size:i})=>t(e,{children:r.map(e=>{let{name:r,icon:o,disableReason:n,disabled:a,isBlockingOperation:l,...d}=e;return t(r_,{title:a?n:r,withoutContainer:!a,children:t(rk,{variant:"light",size:i,name:r,disabled:a,...d,children:o})},r)})}),rU=tc("div")`
|
|
119
|
-
display: flex;
|
|
120
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
121
|
-
`,rK=e=>{let{disabledAction:i}=(({main:e,secondary:t})=>({disabledAction:!![...e||[],...t||[]].find(e=>e.isBlockingOperation&&e.loading)}))(e),{main:o,secondary:n,secondaryVisible:a,className:l,size:d}=e;return r(rU,{className:l,children:[a&&t(rY,{size:d,actions:a}),o&&t(rV,{size:d,isDisabled:i,actions:o}),n&&t(rG,{size:d,isDisabled:i,actions:n})]})},rq=tc(V)`
|
|
122
|
-
${({theme:e})=>e.breakpoints.up("sm")} {
|
|
123
|
-
padding: ${({theme:e})=>e.spacing(1,4,1,2)};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
& > .${eq.icon} {
|
|
127
|
-
margin-right: ${({theme:e})=>e.spacing(3)};
|
|
128
|
-
align-self: center;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
& > .${eq.action} {
|
|
132
|
-
margin-right: unset;
|
|
133
|
-
align-self: center;
|
|
134
|
-
|
|
135
|
-
.${e7.root} {
|
|
136
|
-
padding-right: unset;
|
|
137
|
-
padding-left: unset;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
`,rJ=tc("div")`
|
|
141
|
-
display: grid;
|
|
142
|
-
column-gap: ${({theme:e})=>e.spacing(4)};
|
|
143
|
-
grid-auto-flow: column;
|
|
144
|
-
justify-content: flex-start;
|
|
145
|
-
`,rX=tc(rk)`
|
|
146
|
-
border-radius: 50%;
|
|
147
|
-
|
|
148
|
-
&:hover {
|
|
149
|
-
background-color: rgb(0 0 0 / 4%);
|
|
150
|
-
}
|
|
151
|
-
`,rZ=({children:e,title:i,closeText:o="Скрыть",isVisible:n=!0,actions:a,onClose:l,...d})=>{let{severity:s="info",slots:p,...c}=d;return t(rl,{in:n,children:r(rq,{...c,severity:s,closeText:o,slots:{closeButton:e=>{let{variant:r,color:i,...o}=e;return t(rX,{variant:"text",color:"primary",...o})},closeIcon:j},variant:"filled",onClose:l,iconMapping:{info:t(D,{}),error:t(O,{}),success:t(P,{}),warning:t(H,{})},children:[i&&t(G,{children:t(rp,{variant:"h5",children:i})}),t(rp,{gutterBottom:!!a,children:e}),t(rJ,{children:a})]})})},rQ=({size:e,color:r="primary",isError:i,...o})=>{let n=(e=>{switch(e){case"small":return 20;case"large":return 24;default:return 22}})(e),{palette:a}=tf(),l=i?a.red[700]:o.disabled?a.action.disabled:a["default"===r?"primary":r].main;return t(ei,{...o,icon:t(R,{color:l,size:n}),indeterminateIcon:t(W,{color:l,size:n}),checkedIcon:t(N,{color:l,size:n})})},r0=tc(rp,{shouldForwardProp:e=>"rowsCount"!==e&&"hasMultipleRows"!==e})`
|
|
152
|
-
/* stylelint-disable-next-line */
|
|
153
|
-
overflow: hidden;
|
|
154
|
-
/* stylelint-disable-next-line */
|
|
155
|
-
display: ${({hasMultipleRows:e})=>e?"-webkit-box":""};
|
|
156
|
-
|
|
157
|
-
max-width: 100%;
|
|
158
|
-
|
|
159
|
-
text-overflow: ellipsis;
|
|
160
|
-
white-space: ${({hasMultipleRows:e})=>e?"initial":"nowrap"};
|
|
161
|
-
-webkit-box-orient: ${({hasMultipleRows:e})=>e?"vertical":""};
|
|
162
|
-
-webkit-line-clamp: ${({rowsCount:e})=>e};
|
|
163
|
-
`,r1=tc(rp,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
|
|
164
|
-
display: flex;
|
|
165
|
-
justify-content: ${({$align:e})=>e};
|
|
166
|
-
|
|
167
|
-
width: 100%;
|
|
168
|
-
|
|
169
|
-
white-space: nowrap;
|
|
170
|
-
`,r2=e=>{let t=f(null),r=e&&"function"!=typeof e?e:t,[i,o]=y(!1),n=tv(),a=([{target:e,contentRect:t}])=>{let r=Math.round(t.height)<e.scrollHeight,i=e.scrollWidth>Math.round(t.width);o(r||i)};return u(()=>{if(r?.current){let e=r.current,t={target:e,contentRect:e.getBoundingClientRect()};if(!n){let t=new ResizeObserver(e4(a,500));return t.observe(e),()=>t.unobserve(e)}a([t])}},[r.current]),{isOverflowed:i,ref:r}},r3=1,r8=e=>{let{ref:i,isOverflowed:o,secondPartLabel:n,firstPartLabel:a,isTruncatedStringVisible:l}=(({children:e,visibleLastSymbolsCount:t,ref:r})=>{let{ref:i,isOverflowed:o}=r2(r),n=e&&"string"==typeof e,{firstPartLabel:a,secondPartLabel:l}=n&&o&&t?{firstPartLabel:e.slice(0,-t),secondPartLabel:e.slice(-t)}:{firstPartLabel:"",secondPartLabel:""};return{isTruncatedStringVisible:n&&o&&!!t,isOverflowed:o,ref:i,firstPartLabel:a,secondPartLabel:l}})(e),{tooltipProps:d,children:s,rowsCount:p=r3,visibleLastSymbolsCount:c,align:g="left",...h}=e,u={...h,ref:i,align:g,children:s,rowsCount:p,hasMultipleRows:p>r3};return l?t(r_,{title:s,disableInteractive:!0,...d,children:r(r1,{$align:g,children:[t(r0,{component:"span",ref:i,hasMultipleRows:!1,rowsCount:1,...h,children:a}),t(rp,{...h,component:"span",children:n})]})}):s&&o?t(r_,{title:s,disableInteractive:!0,...d,children:t(r0,{...u})}):t(r0,{...u})},r4=tc("div",{shouldForwardProp:e=>!["variant","direction","gap","width","height","justifyContent","alignItems","padding","margin","gridArea","templateAreas","templateColumns","templateRows","isPaper","elevation","borderRadius","placeItems"].includes(e.toString()),label:"Container"})`
|
|
171
|
-
display: ${({variant:e="flex",templateAreas:t,templateColumns:r,templateRows:i,placeItems:o})=>[i,r,t,o].some(Boolean)?"grid":e};
|
|
172
|
-
flex-direction: ${({direction:e="row"})=>e};
|
|
173
|
-
flex-wrap: ${({direction:e="row"})=>"row"===e?"nowrap":"wrap"};
|
|
174
|
-
gap: ${({gap:e=2,theme:t})=>t.spacing(e)};
|
|
175
|
-
width: ${({width:e})=>"number"==typeof e?`${e}px`:e};
|
|
176
|
-
height: ${({height:e})=>"number"==typeof e?`${e}px`:e};
|
|
177
|
-
justify-content: ${({justifyContent:e="flex-start"})=>e};
|
|
178
|
-
align-items: ${({alignItems:e})=>e};
|
|
179
|
-
grid-area: ${({gridArea:e})=>e};
|
|
180
|
-
grid-template-areas: ${({templateAreas:e})=>e};
|
|
181
|
-
grid-template-columns: ${({templateColumns:e})=>e};
|
|
182
|
-
grid-template-rows: ${({templateRows:e})=>e};
|
|
183
|
-
box-shadow: ${({theme:e,elevation:t=0})=>e.shadows[t]};
|
|
184
|
-
place-items: ${({placeItems:e})=>e};
|
|
185
|
-
border-radius: ${({theme:e,borderRadius:t=0})=>e.spacing(t)};
|
|
186
|
-
background-color: ${({theme:e,isPaper:t})=>t?e.palette.background.paper:"transparent"};
|
|
187
|
-
padding: ${({padding:e,theme:t})=>"number"==typeof e?t.spacing(e):e};
|
|
188
|
-
margin: ${({margin:e,theme:t})=>"number"==typeof e?t.spacing(e):e};
|
|
189
|
-
`,r6=e=>t(r4,{...e}),r5={small:"20px",medium:"24px",large:"32px"},r9=e=>{let{tagColor:t,variant:r}=e;return"contained"===r?"white":({primary:"primary",error:"error",grey:"grey",success:"success",warning:"warning",default:"grey"})[t||"default"]},r7=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.grey[100];if("text"===r)return"transparent";let o={contained:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],grey:e.palette.grey[300],default:e.palette.background.element},light:{primary:e.palette.primary[100],error:e.palette.red[100],success:e.palette.green[100],warning:e.palette.yellow[100],grey:e.palette.grey[100],default:e.palette.background.element}};return r&&t?o[r][t]:!r&&t?o.contained[t]:e.palette.grey[300]},ie=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.text.disabled;if("text"===r)return e.palette.grey[900];let o={contained:{primary:e.palette.primary.contrastText,error:e.palette.error.contrastText,success:e.palette.warning.contrastText,warning:e.palette.success.contrastText,default:e.palette.text.primary,grey:e.palette.grey[900]},light:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],default:e.palette.text.primary,grey:e.palette.grey[900]}};return r||t?r||"grey"===t?t?r&&t?o[r][t]:e.palette.text.primary:o.contained.default:e.palette.common.white:e.palette.grey[900]},it=({theme:e,iconState:t,customVariant:r,customColor:i})=>{let o={contained:{primary:e.palette.primary[600],error:e.palette.red[600],success:e.palette.green[600],warning:e.palette.yellow[600],grey:e.palette.grey[100],default:e.palette.grey[300]},light:{primary:e.palette.primary[300],error:e.palette.red[300],success:e.palette.green[300],warning:e.palette.yellow[300],grey:e.palette.grey[300],default:e.palette.grey[300]}};if("default"!==t){if(("contained"===r||"light"===r)&&i)return o[r][i||"default"];if("text"===r)return o.light.grey}return"transparent"},ir=({customVariant:e,customColor:t,theme:r})=>"contained"===e&&"grey"!==t&&"default"!==t?r.palette.common.white:r.palette.grey[900],ii=tc(eo,{shouldForwardProp:e=>"customColor"!==e&&"customVariant"!==e&&"rounded"!==e&&"customSize"!==e})`
|
|
190
|
-
user-select: none;
|
|
191
|
-
|
|
192
|
-
height: ${({customSize:e})=>r5[e]};
|
|
193
|
-
|
|
194
|
-
font-size: 14px;
|
|
195
|
-
|
|
196
|
-
background-color: ${r7};
|
|
197
|
-
border-radius: ${({theme:e,rounded:t})=>t?"100px":e.shape.small};
|
|
198
|
-
|
|
199
|
-
&:hover {
|
|
200
|
-
color: ${ie};
|
|
201
|
-
|
|
202
|
-
background-color: ${r7};
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
&:active {
|
|
206
|
-
color: ${ie};
|
|
207
|
-
|
|
208
|
-
background-color: ${r7};
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.MuiChip-label {
|
|
212
|
-
padding: ${({theme:e,rounded:t,customSize:r})=>{if(t)return e.spacing(0,2);switch(r){case"small":return e.spacing(0,1);case"medium":case"large":return e.spacing(0,2)}}};
|
|
213
|
-
|
|
214
|
-
color: ${ie};
|
|
215
|
-
|
|
216
|
-
&:hover {
|
|
217
|
-
color: ${ie};
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
&:active {
|
|
221
|
-
color: ${ie};
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.MuiChip-deleteIcon {
|
|
226
|
-
width: 16px;
|
|
227
|
-
height: 16px;
|
|
228
|
-
margin: 0;
|
|
229
|
-
|
|
230
|
-
color: ${ir};
|
|
231
|
-
|
|
232
|
-
background: ${e=>it({...e,iconState:"default"})};
|
|
233
|
-
border-radius: ${({theme:e,rounded:t})=>t?"100px":`0 ${e.shape.small} ${e.shape.small} 0`};
|
|
234
|
-
|
|
235
|
-
&:hover {
|
|
236
|
-
color: ${ir};
|
|
237
|
-
|
|
238
|
-
background: ${e=>it({...e,iconState:"hover"})};
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&:active {
|
|
242
|
-
color: ${ir};
|
|
243
|
-
|
|
244
|
-
background: ${e=>it({...e,iconState:"active"})};
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
&.Mui-disabled {
|
|
249
|
-
opacity: 1;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.MuiChip-avatar {
|
|
253
|
-
width: 16px;
|
|
254
|
-
height: 16px;
|
|
255
|
-
margin: 2px;
|
|
256
|
-
|
|
257
|
-
color: ${ie};
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.MuiChip-icon {
|
|
261
|
-
width: 16px;
|
|
262
|
-
height: 16px;
|
|
263
|
-
}
|
|
264
|
-
`,io=tc(r6)`
|
|
265
|
-
align-items: center;
|
|
266
|
-
justify-content: flex-start;
|
|
267
|
-
`,ia=s(({color:e="grey",variant:i="contained",deleteIcon:o,size:n="small",label:a,startAddon:l,endAddon:d,...s},p)=>{let c=tf(),g=r(io,{children:[l&&t(l,{color:r9({variant:i,tagColor:e,theme:c})}),a,d&&t(d,{color:r9({variant:i,tagColor:e,theme:c})})]});return t(ii,{ref:p,customColor:e,customVariant:i,customSize:n,label:g,...s,deleteIcon:o||t(j,{})})}),il=e=>`display: inline-flex;
|
|
268
|
-
justify-content: center;
|
|
269
|
-
font-size: ${e.typography.h5.fontSize};
|
|
270
|
-
vertical-align: middle;`,id=tc("span")`
|
|
271
|
-
display: flex;
|
|
272
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
273
|
-
padding: ${({theme:e})=>e.spacing(0,1)};
|
|
274
|
-
color: ${({success:e,error:t,theme:r})=>e?r.palette.success.dark:t?r.palette.error.dark:"inherit"};
|
|
275
|
-
`,is=tc(P)`
|
|
276
|
-
${({theme:e})=>il(e)}
|
|
277
|
-
`,ip=tc(O)`
|
|
278
|
-
${({theme:e})=>il(e)}
|
|
279
|
-
`,ic=tc("span")`
|
|
280
|
-
vertical-align: middle;
|
|
281
|
-
`,ig=({success:e,error:i,children:o})=>{let n=m(()=>e?t(is,{size:16}):i?t(ip,{size:16}):null,[e,i]);return o?r(id,{error:i,success:e,children:[n,t(ic,{children:o})]}):null},ih=({children:e,success:r,error:i,...o})=>t(ex,{...o,children:t(ig,{error:i,success:r,children:e})}),iu=({success:e,error:r,helperText:i,fullWidth:o=!1,startAdornment:n,endAdornment:a,inputProps:l,InputProps:d,maxLength:s,trimmed:p=!0,onBlur:c,...g})=>{let h=m(()=>{if(e)return"success"},[e]),u=m(()=>e?t(ig,{success:!0,children:i}):r?t(ig,{error:!0,children:i}):i||void 0,[i,e,r]);return t(eG,{variant:"outlined",fullWidth:o,error:r,color:h,helperText:u,InputProps:{startAdornment:n,endAdornment:a,...d},inputProps:{maxLength:s,...l},onBlur:e=>{if(p){let t=e.target.value?.trim();g.onChange?.({...e,target:{...e.target,value:t}})}c?.(e)},...g})},im=tc(rB)`
|
|
282
|
-
max-height: ${({theme:e})=>e.spacing(13)};
|
|
283
|
-
|
|
284
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
285
|
-
max-height: unset;
|
|
286
|
-
}
|
|
287
|
-
`,iy=e=>{let{isValueEmpty:r,isPopperVisible:i,autocompleteProps:o}=(({value:e,isOptionEqualToValue:t,autoHighlight:r=!0,freeSolo:i,options:o,loading:n,isLoadedDataError:a,loadedDataError:l="Ошибка загрузки данных",noOptionsText:d="Нет данных",onInputChange:s})=>{let[c,g]=y(""),h=Array.isArray(e)?0===e.length:!e,u=c.length>=1,m=o.length>0;return{isValueEmpty:h,isPopperVisible:u||m||n||a,autocompleteProps:{isOptionEqualToValue:p((e,r)=>t?t(e,r):JSON.stringify(e)===JSON.stringify(r),[t]),autoHighlight:!i&&r,noOptionsText:a?l:d,onInputChange:(e,t,r)=>{s?.(e,t,r),n||g(t)}}}})(e),{required:n,success:a,error:l,label:s,getOptionLabel:c,helperText:g,inputRef:h,multiple:u,size:m="medium",placeholder:f="Начните вводить для поиска",overflowOption:x,closeText:b="Закрыть",openText:$="Открыть",clearText:v="Очистить",loadingText:w=t(t0,{color:"primary"}),isLoadedDataError:k,loadedDataError:S,noOptionsText:z,autoHighlight:F,renderInput:P,renderTags:T,renderOption:A,...I}=e,D=p(e=>{let i={...e,inputRef:h,required:n,placeholder:r?f:"",label:s,success:a,error:l,helperText:g,size:m};return P?P(i):t(iu,{...i})},[r,P,h,n,f,s,a,l,g,m]),O=p((e,r,i,o)=>{if(A)return A(e,r,i,o);let n=!!e["aria-selected"];return d(im,{...e,key:e.id,children:[u&&t(ez,{children:t(rQ,{role:"menuitemcheckbox",checked:n})}),t(r8,{rowsCount:2,...x,children:e.key})]})},[u,x,A]),L=p((e,r,i)=>T?T(e,r,i):e.map((e,i)=>{let o=c?.(e)||"";return d(ia,{deleteIcon:t(j,{}),color:"grey",label:o,...r({index:i}),key:o})}),[c,T]),_=p(e=>i?t(eL,{...e}):null,[i]);return t(Y,{...I,size:m,clearText:v,closeText:b,openText:$,loadingText:w,multiple:u,disableCloseOnSelect:u,clearIcon:t(eW,{children:t(M,{})}),popupIcon:t(C,{size:16}),forcePopupIcon:!0,slotProps:{clearIndicator:{disableRipple:!0},popper:{component:_}},getOptionLabel:c,renderInput:D,renderTags:L,renderOption:O,...o})},ix="Нет данных",ib=e=>{let{options:r,isLoadingData:i,handleOpen:o,handleInputChange:n,emptyOptionsText:a}=(({fetchOptions:e,fetchDelayMs:t=300,minSymbolsToFetch:r=0,defaultValue:i,getOptionLabel:o,noOptionsText:n=ix,onOpen:a,onInputChange:l})=>{let[d,s]=y(!1),[c,g]=y(!0),[h,u]=y(!0),m=f(null),[x,b]=y([]),$=p(e4(t=>{m.current?.abort();let r=new AbortController;m.current=r,e(t,r?.signal).then(e=>{b(e),u(0===e.length)}).finally(()=>{s(!1),m.current=null})},t),[e,t,n]);return{handleOpen:e=>{if(c){g(!1);let e=i&&o?o(i):"";(i||0===r)&&(s(!0),$(e))}a?.(e)},handleInputChange:(e,t,i)=>{if(!t||t.length<r)return $&&$.clear(),u(!1),s(!1),b([]);s(!0),c||$(t),l?.(e,t,i)},options:x,isLoadingData:d,emptyOptionsText:h?n:"Продолжайте вводить для поиска"}})(e),{fetchOptions:l,fetchDelayMs:d,minSymbolsToFetch:s,isDisabled:c,isRequired:g,isSuccess:h,isError:u,isLoading:m,isFullWidth:x,onOpen:b,noOptionsText:$,onInputChange:v,...w}=e;return t(iy,{options:r,disabled:c,fullWidth:x,loading:m||i,onOpen:o,error:u,required:g,success:h,noOptionsText:a,onInputChange:n,...w})},i$=tc(U)`
|
|
288
|
-
font-size: ${({theme:e})=>e.typography.h5.fontSize};
|
|
289
|
-
font-weight: ${({theme:e})=>e.typography.h5.fontWeight};
|
|
290
|
-
|
|
291
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
292
|
-
font-size: ${({theme:e})=>e.typography.h6.fontSize};
|
|
293
|
-
}
|
|
294
|
-
`,iv=s((e,r)=>t(i$,{...e,ref:r})),iw=tc(K,{shouldForwardProp:e=>!["$customColor","$withBorder","$variantColor"].includes(e.toString())})`
|
|
295
|
-
.MuiBadge-badge {
|
|
296
|
-
height: 20px;
|
|
297
|
-
padding: ${({theme:e})=>e.spacing(0,1)};
|
|
298
|
-
|
|
299
|
-
font-size: ${({theme:e})=>e.typography.caption.fontSize};
|
|
300
|
-
line-height: 20px;
|
|
301
|
-
color: ${({$customColor:e,theme:t,$variantColor:r})=>(({$customColor:e,theme:t,$variantColor:r})=>{let i={grey:t.palette.grey[900],primary:t.palette.primary[900],error:t.palette.red[900],success:t.palette.green[900],warning:t.palette.yellow[900],default:t.palette.primary.contrastText};return"white"===e?t.palette.grey[900]:"contained"===r?t.palette.common.white:i[e||"default"]})({$customColor:e,theme:t,$variantColor:r})};
|
|
302
|
-
|
|
303
|
-
background-color: ${({$customColor:e,theme:t,$variantColor:r})=>(({$customColor:e,theme:t,$variantColor:r})=>{let i={contained:{grey:t.palette.grey[800],primary:t.palette.primary[800],error:t.palette.red[800],success:t.palette.green[800],warning:t.palette.yellow[800],default:t.palette.primary.main},light:{grey:t.palette.grey[300],primary:t.palette.primary[100],error:t.palette.red[100],success:t.palette.green[100],warning:t.palette.yellow[100],default:t.palette.primary.main}};return"white"===e?t.palette.background.default:i[r][e]})({$customColor:e,theme:t,$variantColor:r})};
|
|
304
|
-
border: ${({$withBorder:e,theme:t})=>e?`2px solid ${t.palette.common.white}`:"none"};
|
|
305
|
-
border-radius: ${({$withBorder:e})=>e?"12px":null};
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.MuiBadge-dot {
|
|
309
|
-
width: 12px;
|
|
310
|
-
height: 12px;
|
|
311
|
-
|
|
312
|
-
border: 2px solid ${({theme:e})=>e.palette.common.white};
|
|
313
|
-
}
|
|
314
|
-
`,iC=({children:e,color:r,max:i=99,withBorder:o=!0,variantColor:n="contained",...a})=>t(iw,{$customColor:r,max:i,$withBorder:o,$variantColor:n,...a,children:e}),ik=tc(t3,{shouldForwardProp:e=>"$isOutside"!==e&&"$isToday"!==e})`
|
|
315
|
-
width: 32px;
|
|
316
|
-
height: 32px;
|
|
317
|
-
color: ${({theme:e,$isOutside:t,selected:r})=>t&&!r&&e.palette.grey[400]};
|
|
318
|
-
&::after {
|
|
319
|
-
content: '';
|
|
320
|
-
position: absolute;
|
|
321
|
-
bottom: 4px;
|
|
322
|
-
left: 8px;
|
|
323
|
-
display: ${({$isToday:e})=>e?"block":"none"};
|
|
324
|
-
width: calc(100% - 16px);
|
|
325
|
-
height: 2px;
|
|
326
|
-
color: currentColor;
|
|
327
|
-
background-color: currentColor;
|
|
328
|
-
}
|
|
329
|
-
`,iS=e=>{let{modifiers:r,color:i,...o}=e,n=f(null);return g(()=>{r.focused&&n.current?.focus()},[r.focused]),t(ik,{ref:n,$isOutside:r.outside,$isToday:r.today,selected:r.selected,variant:r.selected?"contained":"text",...o})};function iz(e){let{options:r,onChange:i,...o}=e,n=r?.find(({value:e})=>e===o.value);return t(rW,{variant:"link",name:n?.label||"Не выбрано",children:r?.map(({value:e,label:r,disabled:o})=>t(rB,{value:e,disabled:o,onClick:()=>i?.({target:{value:e}}),children:t(rp,{variant:"subtitle1",align:"center",style:{textTransform:"capitalize",minWidth:70},children:r})},e))})}let iF=tc(tF)`
|
|
330
|
-
position: absolute;
|
|
331
|
-
display: flex;
|
|
332
|
-
justify-content: space-between;
|
|
333
|
-
top: 0;
|
|
334
|
-
left: 0;
|
|
335
|
-
width: 100%;
|
|
336
|
-
`,iP=tc(t3)`
|
|
337
|
-
width: 32px;
|
|
338
|
-
height: 32px;
|
|
339
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
340
|
-
`,iM=tc(tz)`
|
|
341
|
-
position: relative;
|
|
342
|
-
padding-top: 32px;
|
|
343
|
-
`,iT=tc(tS)`
|
|
344
|
-
position: absolute;
|
|
345
|
-
height: 32px;
|
|
346
|
-
top: 0;
|
|
347
|
-
left: 50%;
|
|
348
|
-
transform: translateX(-50%);
|
|
349
|
-
display: flex;
|
|
350
|
-
justify-content: center;
|
|
351
|
-
align-items: center;
|
|
352
|
-
span {
|
|
353
|
-
text-transform: capitalize;
|
|
354
|
-
font-size: ${({theme:e})=>e.typography.subtitle1.fontSize};
|
|
355
|
-
}
|
|
356
|
-
`,iA=tc(tk)`
|
|
357
|
-
display: flex;
|
|
358
|
-
column-gap: ${({theme:e})=>e.spacing(4)};
|
|
359
|
-
align-items: center;
|
|
360
|
-
font-size: ${({theme:e})=>e.typography.subtitle1.fontSize};
|
|
361
|
-
button {
|
|
362
|
-
text-transform: capitalize;
|
|
363
|
-
font-size: ${({theme:e})=>e.typography.subtitle1.fontSize};
|
|
364
|
-
}
|
|
365
|
-
`,iI=({className:e,classNames:r,showOutsideDays:i=!0,...o})=>t(tC,{locale:tP,showOutsideDays:i,components:{DayButton:iS,Dropdown:iz,DropdownNav:({className:e,...r})=>t(iA,{className:e,...r}),MonthCaption:({className:e,...r})=>t(iT,{className:e,...r}),Months:({className:e,...r})=>t(iM,{className:e,...r}),PreviousMonthButton:({className:e,color:r,...i})=>t(iP,{className:e,variant:"text",...i}),NextMonthButton:({className:e,color:r,...i})=>t(iP,{className:e,variant:"text",...i}),Nav:e=>t(iF,{...e}),CaptionLabel:({className:e,color:r,...i})=>t(rp,{component:"span",variant:"subtitle1",className:e,...i})},...o}),iD=i.createContext(null);function iO(){let e=i.useContext(iD);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let iL=tc("div")`
|
|
366
|
-
overflow: hidden;
|
|
367
|
-
`,i_=tc("div",{shouldForwardProp:e=>"orientation"!==e})`
|
|
368
|
-
display: flex;
|
|
369
|
-
flex-direction: ${({orientation:e})=>"vertical"===e&&"column"};
|
|
370
|
-
margin-left: ${({orientation:e,theme:t})=>"horizontal"===e&&t.spacing(-4)};
|
|
371
|
-
margin-top: ${({orientation:e,theme:t})=>"vertical"===e&&t.spacing(-4)};
|
|
372
|
-
`;function iB(e){let{carouselRef:r,orientation:i="horizontal"}=iO();return t(iL,{ref:r,"data-slot":"carousel-content",children:t(i_,{orientation:i,...e})})}let iR=tc("div",{shouldForwardProp:e=>"orientation"!==e})`
|
|
373
|
-
position: absolute;
|
|
374
|
-
width: ${({orientation:e})=>"horizontal"===e?"100%":"auto"};
|
|
375
|
-
height: ${({orientation:e})=>"horizontal"===e?"auto":"100%"};
|
|
376
|
-
bottom: ${({theme:e,orientation:t})=>"horizontal"===t?e.spacing(2):0};
|
|
377
|
-
left: ${({theme:e,orientation:t})=>"horizontal"===t?0:e.spacing(2)};
|
|
378
|
-
display: flex;
|
|
379
|
-
flex-direction: ${({orientation:e})=>"vertical"===e&&"column"};
|
|
380
|
-
justify-content: center;
|
|
381
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
382
|
-
z-index: 1;
|
|
383
|
-
overflow: hidden;
|
|
384
|
-
`,iE=tc("button",{shouldForwardProp:e=>"selected"!==e})`
|
|
385
|
-
width: ${({theme:e})=>e.spacing(6)};
|
|
386
|
-
height: ${({theme:e})=>e.spacing(6)};
|
|
387
|
-
position: relative;
|
|
388
|
-
border: none;
|
|
389
|
-
background-color: transparent;
|
|
390
|
-
cursor: pointer;
|
|
391
|
-
&::after {
|
|
392
|
-
content: '';
|
|
393
|
-
position: absolute;
|
|
394
|
-
left: 0;
|
|
395
|
-
top: 50%;
|
|
396
|
-
transform: translateY(-50%);
|
|
397
|
-
background-color: ${({theme:e,selected:t})=>t?e.palette.primary[800]:e.palette.grey[200]};
|
|
398
|
-
width: 100%;
|
|
399
|
-
height: 2px;
|
|
400
|
-
transform: ${({orientation:e})=>"vertical"===e&&"rotate(90deg)"};
|
|
401
|
-
}
|
|
402
|
-
`,iN=({api:e,orientation:r})=>{let{selectedIndex:i,scrollSnaps:o,onDotButtonClick:n}=(e=>{let[t,r]=y(0),[i,o]=y([]),n=p(t=>{e&&e.scrollTo(t)},[e]),a=p(e=>{e&&o(e.scrollSnapList())},[]),l=p(e=>{e&&r(e.selectedScrollSnap())},[]);return g(()=>{e&&(a(e),l(e),e.on("reInit",a).on("reInit",l).on("select",l))},[e,a,l]),{selectedIndex:t,scrollSnaps:i,onDotButtonClick:n}})(e);return t(iR,{orientation:r,children:o.map((e,o)=>t(iE,{orientation:r,onClick:()=>n(o),selected:o===i},e))})},iW=tc("div",{shouldForwardProp:e=>"orientation"!==e})(({orientation:e,theme:t})=>({minWidth:0,flexShrink:0,flexGrow:0,flexBasis:"100%",paddingLeft:"horizontal"===e?t.spacing(4):void 0,paddingTop:"vertical"===e?t.spacing(4):void 0}));function iH(e){let{orientation:r="horizontal"}=iO();return t(iW,{orientation:r,role:"group","aria-roledescription":"slide","data-slot":"carousel-item",...e})}let ij=tc(t3,{shouldForwardProp:e=>"orientation"!==e})`
|
|
403
|
-
position: absolute;
|
|
404
|
-
opacity: 0.3;
|
|
405
|
-
user-select: none;
|
|
406
|
-
right: ${({theme:e})=>e.spacing(1)};
|
|
407
|
-
bottom: 0;
|
|
408
|
-
padding: 0;
|
|
409
|
-
height: ${({orientation:e})=>"horizontal"===e?"100%":"clamp(25px, 15%, 45px)"};
|
|
410
|
-
width: ${({orientation:e})=>"horizontal"===e?"clamp(25px, 15%, 45px)":"100%"};
|
|
411
|
-
`;function iV({className:e,...r}){let{orientation:i="horizontal",canScrollNext:o,scrollNext:n}=iO();return o?t(ij,{type:"button",variant:"text","data-slot":"carousel-next",disabled:!o,onClick:n,orientation:i,...r,children:"horizontal"===i?t(S,{}):t(C,{})}):null}let iG=tc(t3,{shouldForwardProp:e=>"orientation"!==e})`
|
|
412
|
-
position: absolute;
|
|
413
|
-
opacity: 0.3;
|
|
414
|
-
user-select: none;
|
|
415
|
-
left: ${({theme:e})=>e.spacing(1)};
|
|
416
|
-
top: 0;
|
|
417
|
-
padding: 0;
|
|
418
|
-
height: ${({orientation:e})=>"horizontal"===e?"100%":"clamp(25px, 15%, 45px)"};
|
|
419
|
-
width: ${({orientation:e})=>"horizontal"===e?"clamp(25px, 15%, 45px)":"100%"};
|
|
420
|
-
`;function iY({className:e,...r}){let{orientation:i="horizontal",scrollPrev:o,canScrollPrev:n}=iO();return n?t(iG,{type:"button","data-slot":"carousel-previous",variant:"text",disabled:!n,onClick:o,orientation:i,...r,children:"horizontal"===i?t(k,{}):t(z,{})}):null}let iU=tc("div")`
|
|
421
|
-
position: relative;
|
|
422
|
-
`;function iK({width:i="100%",height:o="100%",...n}){let{canScrollNext:a,canScrollPrev:l,scrollNext:d,scrollPrev:s,api:c,opts:h,orientation:u,carouselRef:m,handleKeyDown:f,data:x,isShowButtons:b,isShowDots:$}=(({orientation:e="horizontal",opts:t,setApi:r,plugins:i,data:o,showDots:n})=>{let[a,l]=tM({...t,axis:"horizontal"===e?"x":"y"},i),[d,s]=y(!1),[c,h]=y(!1),u=o.length>1,m=!!(n&&o.length>1),f=p(e=>{e&&(s(e.canScrollPrev()),h(e.canScrollNext()))},[]),x=p(e=>{l&&l.scrollTo(e)},[l]),b=p(()=>{l?.scrollPrev()},[l]),$=p(()=>{l?.scrollNext()},[l]),v=p(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),$())},[b,$]);return g(()=>{l&&r&&r(l)},[l,r]),g(()=>{if(l)return f(l),l.on("reInit",f),l.on("select",f),()=>{l?.off("select",f)}},[l,f]),{carouselRef:a,api:l,scrollPrev:b,scrollNext:$,canScrollPrev:d,canScrollNext:c,handleKeyDown:v,opts:t,orientation:e,onDotButtonClick:x,isShowButtons:u,isShowDots:m,data:o}})(n);return t(iD.Provider,{value:{carouselRef:m,api:c,opts:h,orientation:u||(h?.axis==="y"?"vertical":"horizontal"),scrollPrev:s,scrollNext:d,canScrollPrev:l,canScrollNext:a},children:r(iU,{onKeyDownCapture:f,className:n.className,"data-slot":"carousel",...n,children:[t(iB,{style:{width:i,height:o},children:x.map(e=>t(iH,{children:n.renderItem(e)},`${e[n.keyId]}`))}),b&&r(e,{children:[t(iY,{}),t(iV,{})]}),$&&t(iN,{api:c,orientation:u})]})})}let iq=e=>t(ef,{...e}),iJ=tc(ey)`
|
|
423
|
-
margin-right: 0;
|
|
424
|
-
margin-left: -5px;
|
|
425
|
-
|
|
426
|
-
& .MuiFormControlLabel-label {
|
|
427
|
-
margin-left: ${({theme:e})=>e.spacing(1)};
|
|
428
|
-
}
|
|
429
|
-
`,iX=e=>t(iJ,{...e}),iZ=tc(iX)`
|
|
430
|
-
align-items: center;
|
|
431
|
-
`,iQ=tc(rQ)`
|
|
432
|
-
margin: ${({theme:e})=>e.spacing(1)};
|
|
433
|
-
padding: ${({theme:e})=>e.spacing(1)};
|
|
434
|
-
`,i0=({isSuccess:e,helperText:i,label:o,isError:n,...a})=>r(iq,{children:[t(iZ,{control:t(iQ,{...a}),label:o}),i&&t(ih,{error:n,success:e,children:i})]}),i1={noDataImgSrc:"",defaultErrorImgSrc:"",outdatedReleaseErrorImgSrc:"",mailImgSrc:""},i2={phone:"",email:""},i3="ym-hide-content",i8=l({language:"ru",captureException:e=>console.error(e),imagesMap:i1,techSup:i2,emptySymbol:"—",hidePersonalDataClassname:i3,hidePersonalData:!0}),i4=({children:e,language:r="ru",captureException:i,emptySymbol:o="—",imagesMap:n=i1,techSup:a=i2,hidePersonalData:l=!0,hidePersonalDataClassname:d=i3,components:s})=>(g(()=>{i||console.warn("ConfigProvider: Необходимо наличие captureException, связанного с сервисом мониторинга ошибок.\nНа данный момент все ошибки, отлавливаемые в ErrorBoundary будут выводиться только в консоль")},[]),t(i8.Provider,{value:{language:r,captureException:i||(e=>console.error(e)),emptySymbol:o,imagesMap:n,techSup:a,hidePersonalData:l,hidePersonalDataClassname:d,components:s},children:e})),i6=({children:e,onClose:r,open:i,title:o,...n})=>{let{isMobile:a}=r$();return a?t(rM,{title:o,onClose:r,open:i,children:e}):t(eO,{open:i,onClose:r,...n,children:e})},i5={vertical:"bottom",horizontal:"right"},i9={vertical:"top",horizontal:"right"},i7=tc("div")`
|
|
435
|
-
max-width: 380px;
|
|
436
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
437
|
-
`,oe=tc(rp)`
|
|
438
|
-
margin-bottom: ${({theme:e})=>e.spacing(3)};
|
|
439
|
-
`,ot=tc("div")`
|
|
440
|
-
display: flex;
|
|
441
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
442
|
-
justify-content: end;
|
|
443
|
-
`,or=i=>{let{actionComponentProps:o,popoverProps:n,cancelButtonProps:a,confirmButtonProps:l}=(({confirmButtonProps:e,onConfirm:t})=>{let{isOpen:r,anchor:i,actions:o}=rx(),{isAccented:n}=e||{},a=n?tX.Light:tX.Contained,l=n?tJ.Error:tJ.Primary;return{actionComponentProps:{onClick:o.open},popoverProps:{open:r,anchorEl:i,onClose:o.close},cancelButtonProps:{onClick:o.close},confirmButtonProps:{variant:a,color:l,onClick:()=>{t(),o.close()}}}})(i),{text:d,confirmButtonProps:s,popoverProps:p,actionComponent:c}=i,{text:g="Подтвердить"}=s||{},{anchorOrigin:h=i5,transformOrigin:u=i9}=p||{};return r(e,{children:[c(o),t(i6,{anchorOrigin:h,transformOrigin:u,...n,children:r(i7,{children:[d&&t(oe,{children:d}),r(ot,{children:[t(t3,{variant:"text",...a,children:"Отмена"}),t(t3,{...l,children:g})]})]})})]})},oi=({children:e,onClose:i,...o})=>r(eh,{...o,children:[e,i&&t(rk,{variant:"text",onClick:e=>{i&&i(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:t(j,{})})]}),oo={xs:{minWidth:"300px",maxWidth:"399px"},sm:{minWidth:"400px",maxWidth:"499px"},md:{minWidth:"500px",maxWidth:"599px"},lg:{minWidth:"600px",maxWidth:"699px"},xl:{minWidth:"700px",maxWidth:"980px"}},on=e=>oo[e]||oo.md,oa=tc(es,{shouldForwardProp:e=>!["$size"].includes(e.toString())})`
|
|
444
|
-
&.${e6.root} .${eX.root} {
|
|
445
|
-
background-color: ${({theme:e})=>e.palette.background.modalShadow};
|
|
446
|
-
}
|
|
447
|
-
.${e6.paper} {
|
|
448
|
-
min-width: ${({$size:e})=>on(e).minWidth};
|
|
449
|
-
max-width: ${({$size:e})=>on(e).maxWidth};
|
|
450
|
-
}
|
|
451
|
-
`,ol=({children:e,title:i,disableBackdropClick:o,onClose:n,size:a="md",...l})=>{let d=n&&((e,t)=>{o&&"backdropClick"===t||n(e,t)}),{isMobile:s}=r$();return s?t(rM,{onClose:d,title:i,children:e}):r(oa,{$size:a,onClose:d,...l,children:[i&&t(oi,{onClose:n,children:i}),e]})},od=tc(ep)`
|
|
452
|
-
padding-top: 0;
|
|
453
|
-
`,os=({children:e,...r})=>t(od,{...r,children:e}),op=tc(ec)`
|
|
454
|
-
padding-bottom: ${({theme:e})=>e.spacing(6)};
|
|
455
|
-
|
|
456
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
457
|
-
padding: ${({theme:e})=>e.spacing(5,4)};
|
|
458
|
-
}
|
|
459
|
-
`,oc=e=>t(op,{...e}),og=tc(eg)`
|
|
460
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
461
|
-
`,oh=e=>t(og,{...e}),ou=tc(t3)`
|
|
462
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
463
|
-
order: 1;
|
|
464
|
-
}
|
|
465
|
-
`,om=e=>{let{isShowCancelButton:i,cancelButtonProps:o}=(({actions:e,onClose:t})=>{let{isMobile:r}=r$(),{cancel:i}=e,o=!!i,n=i?.onClick||t,{variant:a=r?"light":"text"}=i||{};return{isShowCancelButton:o,cancelButtonProps:{variant:a,onClick:n}}})(e),{open:n,title:a,description:l,actions:d,onClose:s,...p}=e,{text:c,...g}=d.confirm,{text:h,variant:u,onClick:m,...f}=d.cancel||{};return r(ol,{title:a,open:n,onClose:s,...p,children:[l&&t(oc,{children:t(oh,{children:l})}),r(os,{children:[i&&t(ou,{...f,...o,children:h}),t(t3,{...g,children:c})]})]})},of="small",oy="medium",ox="large",ob={[of]:"239px",[oy]:"323px",[ox]:"458px"},o$={[of]:"119px",[oy]:"161px",[ox]:"229px"},ov={[of]:"384px",[oy]:"400px",[ox]:"460px"},ow={[of]:"h5",[oy]:"h4",[ox]:"h3"},oC=tc("img",{shouldForwardProp:e=>"size"!==e})`
|
|
466
|
-
display: block;
|
|
467
|
-
|
|
468
|
-
width: ${({width:e})=>e||"auto"};
|
|
469
|
-
max-width: 100%;
|
|
470
|
-
height: ${({height:e})=>e||"auto"};
|
|
471
|
-
margin: auto auto
|
|
472
|
-
${({theme:e,size:t})=>t===of?e.spacing(4):e.spacing(6)};
|
|
473
|
-
|
|
474
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
475
|
-
|
|
476
|
-
object-fit: contain;
|
|
477
|
-
|
|
478
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
479
|
-
margin: auto auto ${({theme:e})=>e.spacing(8)};
|
|
480
|
-
}
|
|
481
|
-
`,ok=oC,oS=oC.withComponent,oz=e=>"$size"!==e,oF=tc("div",{shouldForwardProp:oz})`
|
|
482
|
-
display: flex;
|
|
483
|
-
flex-direction: column;
|
|
484
|
-
gap: ${({theme:e,$size:t})=>t===of?e.spacing(4):e.spacing(6)};
|
|
485
|
-
align-items: center;
|
|
486
|
-
justify-content: center;
|
|
487
|
-
|
|
488
|
-
width: 100%;
|
|
489
|
-
height: 100%;
|
|
490
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
491
|
-
|
|
492
|
-
background-color: ${({theme:e})=>e.palette.background.paper};
|
|
493
|
-
|
|
494
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
495
|
-
display: grid;
|
|
496
|
-
grid-template-columns: 100%;
|
|
497
|
-
grid-template-rows: 1fr max-content;
|
|
498
|
-
gap: ${({theme:e})=>e.spacing(4)};
|
|
499
|
-
}
|
|
500
|
-
`,oP=tc("div",{shouldForwardProp:oz})`
|
|
501
|
-
max-width: ${({$size:e})=>ov[e]};
|
|
502
|
-
margin: 0 auto;
|
|
503
|
-
`,oM=tc(rp,{shouldForwardProp:oz})`
|
|
504
|
-
margin-bottom: ${({theme:e,$size:t})=>t===of?e.spacing(2):e.spacing(4)};
|
|
505
|
-
|
|
506
|
-
text-align: center;
|
|
507
|
-
|
|
508
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
509
|
-
margin-bottom: ${({theme:e})=>e.spacing(4)};
|
|
510
|
-
|
|
511
|
-
font-size: ${({theme:e})=>e.typography.pxToRem(20)};
|
|
512
|
-
font-weight: ${({theme:e})=>e.typography.fontWeightMedium};
|
|
513
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
514
|
-
}
|
|
515
|
-
`,oT=tc(rp,{shouldForwardProp:oz})`
|
|
516
|
-
display: block;
|
|
517
|
-
|
|
518
|
-
font-size: ${({$size:e,theme:t})=>e===ox?t.typography.pxToRem(16):t.typography.body1.fontSize};
|
|
519
|
-
text-align: center;
|
|
520
|
-
|
|
521
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
522
|
-
font-size: ${({theme:e})=>e.typography.body1.fontSize};
|
|
523
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
524
|
-
}
|
|
525
|
-
`,oA=tc("footer")`
|
|
526
|
-
display: flex;
|
|
527
|
-
flex-wrap: wrap;
|
|
528
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
529
|
-
justify-content: center;
|
|
530
|
-
|
|
531
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
532
|
-
|
|
533
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
534
|
-
flex-direction: column;
|
|
535
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
536
|
-
|
|
537
|
-
margin-top: auto;
|
|
538
|
-
}
|
|
539
|
-
`,oI=({className:e,title:i,imgSrc:o,imgAlt:n,description:a,Actions:l,size:d="small",imgWidth:s,renderImage:p})=>{let g=c(i8),h=g.components?.placeholder?.defaultProps?.renderImage,u=m(()=>p&&oS(p)||h&&oS(h)||ok,[p,h]);return r(oF,{$size:d,className:e,children:[r(oP,{$size:d,children:[o&&t(u,{src:o,alt:n,width:s||ob[d],height:s?"auto":o$[d],size:d}),t(oM,{$size:d,variant:ow[d],children:i}),a&&t(oT,{$size:d,component:"div",variant:"body1",children:a})]}),l&&t(oA,{children:l})]})},oD=()=>{let{imagesMap:e,techSup:i}=c(i8);return t(oI,{title:"Произошла непредвиденная ошибка",description:r("div",{children:[t(rp,{children:"Пожалуйста, попробуйте обновить страницу или обратитесь в техническую поддержку:"}),r(rp,{children:["email\xa0",t(ew,{href:`mailto:${i.email}`,children:i.email}),", телефон\xa0",t(ew,{href:`tel:${i.phone}`,children:i.phone})]})]}),imgAlt:"Непредвиденная ошибка",imgSrc:e.defaultErrorImgSrc,imgWidth:"324px",Actions:t(t3,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},oO=()=>{let{imagesMap:e}=c(i8);return t(oI,{title:"Обновление в сервисе",description:t(rp,{component:"p",children:"Наши специалисты работают над улучшением качества продукта. Для загрузки обновлений, пожалуйста, обновите страницу."}),imgAlt:"Обновление в сервисе",imgSrc:e.outdatedReleaseErrorImgSrc,imgWidth:"324px",Actions:t(t3,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},oL=[{type:"outdatedRelease",condition:e=>"ChunkLoadError"===e.name||e.message.includes("Failed to fetch dynamically imported module")},{type:"default",condition:()=>!0}],o_={outdatedRelease:t(oO,{}),default:t(oD,{})};class oB extends n{static contextType=i8;state={hasError:!1,typeError:"default"};static getDerivedStateFromError(e){return{hasError:!0,typeError:oL.find(({condition:t})=>t(e))?.type??"default"}}componentDidCatch(e){this.context?.captureException(e)}render(){return this.state.hasError?o_[this.state.typeError]:this.props.children}}let oR=tc("div")`
|
|
540
|
-
display: flex;
|
|
541
|
-
flex-grow: 1;
|
|
542
|
-
align-items: center;
|
|
543
|
-
justify-content: center;
|
|
544
|
-
|
|
545
|
-
width: 100%;
|
|
546
|
-
height: 100%;
|
|
547
|
-
`,oE=({isLoading:e,isError:r,isCustom:i,errorState:o,customState:n,children:a,loadingContent:l=t(t0,{color:"primary"})})=>{let{imagesMap:d}=c(i8);if(e)return t(oR,{children:l});if(i&&n)return t(oI,{...n});if(r&&o){let{title:e="Произошла ошибка",imgAlt:r,imgSrc:i=d.defaultErrorImgSrc,errorList:n,onRetry:a,actions:l=t(t3,{onClick:a,children:"Попробовать снова"})}=o,s=n.map(e=>t(rp,{component:"p",children:e},e));return t(oI,{title:e,description:s,imgAlt:r,imgSrc:i,Actions:l})}return t(oB,{children:a})},oN=tc(rp)`
|
|
548
|
-
cursor: pointer;
|
|
549
|
-
|
|
550
|
-
display: flex;
|
|
551
|
-
align-items: center;
|
|
552
|
-
|
|
553
|
-
&:hover {
|
|
554
|
-
text-decoration: underline;
|
|
555
|
-
}
|
|
556
|
-
`,oW=tc(T,{shouldForwardProp:e=>!["$copyPosition"].includes(e.toString())})`
|
|
557
|
-
margin-right: ${({$copyPosition:e,theme:t})=>"left"===e?t.spacing(1):""};
|
|
558
|
-
margin-left: ${({$copyPosition:e,theme:t})=>"right"===e?t.spacing(1):""};
|
|
559
|
-
|
|
560
|
-
width: 16px;
|
|
561
|
-
height: 16px;
|
|
562
|
-
|
|
563
|
-
fill: ${({color:e})=>e};
|
|
564
|
-
`,oH=e=>{let{children:i,copyPosition:o="right",copyText:n,isShowCopyText:a,color:l,...d}=e,s=()=>t(oW,{$copyPosition:o,color:l}),{handleMouseLeave:p,handleClick:c,tooltipTitle:g,isIconOnLeft:h}=(({children:e,copyText:t,isShowCopyText:r,copyPosition:i})=>{let[o,n]=y("Скопировать");return{handleMouseLeave:()=>{"Скопировать"!==o&&setTimeout(()=>{n("Скопировать")},100)},handleClick:r=>{r.stopPropagation(),navigator.clipboard.writeText(t||("string"==typeof e?e:"")).then(()=>n("Скопировано")).catch(()=>n("Ошибка копирования"))},tooltipTitle:r?`${o}: ${t}`:o,isIconOnLeft:"left"===i}})(e);return t(r_,{title:g,disableInteractive:!0,placement:"bottom",children:r(oN,{onMouseLeave:p,onClick:c,component:"div",color:l,...d,children:[h&&s(),i,!h&&s()]})})},oj=l({collapsed:!1,toggleCollapsed:()=>{}}),oV=tc("main")`
|
|
565
|
-
grid-area: main;
|
|
566
|
-
overflow: hidden;
|
|
567
|
-
display: flex;
|
|
568
|
-
flex-direction: column;
|
|
569
|
-
padding: ${({theme:e})=>e.spacing(2,2,2,0)};
|
|
570
|
-
`,oG=tc("aside",{label:"Sidebar",shouldForwardProp:e=>"width"!==e})`
|
|
571
|
-
height: 100%;
|
|
572
|
-
width: ${({width:e})=>e};
|
|
573
|
-
display: grid;
|
|
574
|
-
grid-template-rows: auto 1fr auto;
|
|
575
|
-
grid-template-areas: 'header' 'content' 'footer';
|
|
576
|
-
overflow: hidden auto;
|
|
577
|
-
background-color: transparent;
|
|
578
|
-
transition: ${({theme:e})=>e.transitions.create("width",{duration:e.transitions.duration.standard,easing:e.transitions.easing.easeInOut})};
|
|
579
|
-
`,oY=tc("header",{label:"SidebarHeader"})`
|
|
580
|
-
grid-area: header;
|
|
581
|
-
width: 100%;
|
|
582
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
583
|
-
padding-bottom: 0;
|
|
584
|
-
`,oU=tc("footer",{label:"SidebarFooter"})`
|
|
585
|
-
grid-area: footer;
|
|
586
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
587
|
-
padding-top: 0;
|
|
588
|
-
width: 100%;
|
|
589
|
-
`,oK=tc("div",{label:"SidebarContent"})`
|
|
590
|
-
grid-area: content;
|
|
591
|
-
overflow: hidden auto;
|
|
592
|
-
display: flex;
|
|
593
|
-
flex-direction: column;
|
|
594
|
-
row-gap: ${({theme:e})=>e.spacing(2)};
|
|
595
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
596
|
-
`,oq=tc("div")`
|
|
597
|
-
width: 100%;
|
|
598
|
-
max-width: 1760px;
|
|
599
|
-
height: 100%;
|
|
600
|
-
margin: auto;
|
|
601
|
-
display: grid;
|
|
602
|
-
grid-template-columns: auto 1fr;
|
|
603
|
-
grid-template-areas: 'sidebar main';
|
|
604
|
-
border: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
605
|
-
border-radius: ${({theme:e})=>e.shape.large};
|
|
606
|
-
background-color: #FAFAFA;
|
|
607
|
-
`,oJ=({children:e,className:r})=>{let[i,o]=tw("dashboard::collapsedIn",!1);return t(oj.Provider,{value:{collapsed:i,toggleCollapsed:()=>o(!i)},children:t(oq,{className:r,children:e})})};oJ.Sidebar=({width:e="16rem",collapsedWidth:i="54px",header:o,footer:n,content:a,className:l})=>{let{collapsed:d}=oX();return r(oG,{className:l,width:d?i:e,children:[o&&t(oY,{children:o}),t(oK,{children:a}),n&&t(oU,{children:n})]})},oJ.Main=({children:e,className:r})=>t(oV,{className:r,children:e});let oX=()=>c(oj),oZ={left:"start",center:"center",right:"end"},oQ=e=>e&&oZ[e]||"start",o0=tc("div",{shouldForwardProp:e=>!["$align","$isDisabled","$hasStartAdornment"].includes(e.toString())})`
|
|
608
|
-
overflow: hidden;
|
|
609
|
-
display: flex;
|
|
610
|
-
align-items: center;
|
|
611
|
-
justify-content: ${({$align:e})=>oQ(e)};
|
|
612
|
-
|
|
613
|
-
min-height: ${44}px;
|
|
614
|
-
padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
|
|
615
|
-
|
|
616
|
-
opacity: ${({$isDisabled:e})=>e?.5:1};
|
|
617
|
-
`,o1=e=>{let{formattedValue:i,hasStartAdornment:o}=(({row:e,cell:t,emptyCellValue:r,startAdornment:i})=>{let{format:o,field:n}=t,a=e=>!!e||0===e;return{formattedValue:m(()=>o&&a(o(e))?o(e):n&&a(e[n])?e[n]:r,[n,o,e,r]),hasStartAdornment:!!i}})(e),{className:n,startAdornment:a,row:l,cell:d,isDisabled:s}=e,{renderCell:p,align:c="left"}=d;return r(o0,{$isDisabled:s,$align:c,$hasStartAdornment:o,className:n,inert:!!s||void 0,children:[a&&a,p?.(l),!p&&t(r8,{rowsCount:2,children:i})]})},o2="data-row-disable",o3=tc("li")`
|
|
618
|
-
position: relative;
|
|
619
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
|
|
620
|
-
&:last-of-type {
|
|
621
|
-
border-bottom: none;
|
|
622
|
-
}
|
|
623
|
-
`,o8=tc("div")`
|
|
624
|
-
position: relative;
|
|
625
|
-
|
|
626
|
-
display: grid;
|
|
627
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
628
|
-
background-color: ${({theme:e,$isSelected:t})=>t?e.palette.primary[100]:"transparent"};
|
|
629
|
-
|
|
630
|
-
transition: ${({theme:e})=>e.transitions.create(["background-color"],{duration:e.transitions.duration.short})};
|
|
631
|
-
|
|
632
|
-
&:hover {
|
|
633
|
-
cursor: ${({$isHovered:e})=>e?"pointer":"default"};
|
|
634
|
-
|
|
635
|
-
background-color: ${({theme:e,$isHovered:t})=>t?e.palette.background.elementHover:"transparent"};
|
|
636
|
-
}
|
|
637
|
-
`,o4=tc("div")`
|
|
638
|
-
display: flex;
|
|
639
|
-
align-items: center;
|
|
640
|
-
align-self: center;
|
|
641
|
-
justify-content: center;
|
|
642
|
-
|
|
643
|
-
width: ${36}px;
|
|
644
|
-
`,o6=e=>{let{rowId:r,checkboxProps:i,rowProps:o,tooltipProps:n,disabled:a}=(({keyId:e,columns:t,row:r,activeRowId:i,rowOptions:o,isSelectable:n,selectedRows:a,onSelectRow:l,onRowClick:d})=>{let[s,p]=y(!1),c=r[e],{isDisabled:g,disabledReason:h}=o||{},u=n&&!!a?.find(t=>t[e]===c);return{rowId:c,disabled:g,columns:t,rowProps:{$isHovered:!!(!g&&d),$isSelected:i===c,onClick:()=>{g||d?.(r)},onMouseMove:e=>{g&&"true"!==e.target.getAttribute(o2)&&p(!1)}},tooltipProps:{open:s,title:h,onOpen:e=>{"true"===e.target.getAttribute(o2)&&p(!0)},onClose:()=>p(!1)},checkboxProps:{checked:u,disabled:g,onChange:l(r)}}})(e),{className:l,row:d,rowOptions:s,isSelectable:c,gridColumns:g,columns:h,emptyCellValue:u,selectedRows:m,activeRowId:f,keyId:x,onSelectRow:b,onRowClick:$,...v}=e,{isDisabledLastCell:w=!0,isNotSelectable:C}=s||{},k=p(()=>{let e=w?void 0:[h.length-1];return h?.map((o,n)=>{let l=`${r}-${n}`,s=!!a&&(!e||!e.includes(n));return t(o1,{row:d,cell:o,emptyCellValue:u,startAdornment:!n&&(!c||C?null:c&&!C&&t(o4,{inert:!!a||void 0,onClick:e=>e.stopPropagation(),children:t(rQ,{...i,style:{padding:0}})})),isDisabled:s},l)})},[h,a]);return t(o3,{$gridColumns:g,className:l,...v,children:t(r_,{followCursor:!0,arrow:!1,...n,children:t(o8,{$gridColumns:g,[o2]:a,...o,children:k()})})})},o5=tc("ul",{label:"DataGridBody"})`
|
|
645
|
-
overflow-y: auto;
|
|
646
|
-
height: 100%;
|
|
647
|
-
margin: 0;
|
|
648
|
-
padding: 0;
|
|
649
|
-
list-style-type: none;
|
|
650
|
-
display: flex;
|
|
651
|
-
flex-direction: column;
|
|
652
|
-
`,o9=e=>{let{imagesMap:r}=c(i8),{contentStateProps:i}=(({isLoading:e,isError:t,rows:r})=>{let i=!r.length;return{contentStateProps:{isLoading:e&&i,isError:t&&i}}})(e),{rows:o,selectedRows:n=[],isLoading:a,isError:l,errorMsg:d,keyId:s,noDataPlaceholder:p,onRetry:g,minHeight:h="400px",...u}=e,f=m(()=>o.map(({children:e,rowOptions:r,...i})=>{let o=i[s];return t(o6,{row:i,selectedRows:n,rowOptions:r,keyId:s,...u},o)}),[o,s,n,u]);return t(o5,{style:{minHeight:h},children:t(oE,{...i,errorState:{imgAlt:"Что-то пошло не так",errorList:[d||""],imgSrc:r.defaultErrorImgSrc,onRetry:g},children:o.length?f:p})})},o7=tc("footer",{label:"DataGridFooter"})`
|
|
653
|
-
display: flex;
|
|
654
|
-
align-items: center;
|
|
655
|
-
justify-content: flex-end;
|
|
656
|
-
width: 100%;
|
|
657
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
658
|
-
border-top: 1px solid ${({theme:e})=>e.palette.divider};
|
|
659
|
-
`,ne=({children:e})=>t(o7,{children:e});var nt=((tK={}).ASC="asc",tK.DESC="desc",tK);let nr=tc("div",{shouldForwardProp:e=>!["$align","$isSortable","$hasStartAdornment"].includes(e.toString())})`
|
|
660
|
-
user-select: none;
|
|
661
|
-
|
|
662
|
-
display: flex;
|
|
663
|
-
align-items: center;
|
|
664
|
-
justify-content: ${({$align:e})=>oQ(e)};
|
|
665
|
-
|
|
666
|
-
height: 40px;
|
|
667
|
-
padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
|
|
668
|
-
|
|
669
|
-
color: ${({theme:e})=>e.palette.grey[700]};
|
|
670
|
-
`,ni=tc(rp)`
|
|
671
|
-
display: flex;
|
|
672
|
-
align-items: center;
|
|
673
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
674
|
-
font-weight: 500;
|
|
675
|
-
`,no=tc(t3,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
|
|
676
|
-
font-size: ${({theme:e})=>e.typography.caption.fontSize};
|
|
677
|
-
color: ${({theme:e,$isActive:t})=>t?e.palette.primary.main:e.palette.grey[700]};
|
|
678
|
-
> svg {
|
|
679
|
-
width: 16px;
|
|
680
|
-
height: 16px;
|
|
681
|
-
}
|
|
682
|
-
`,nn=e=>{let{wrapperProps:i}=(({field:e,isSortable:t,startAdornment:r,onSort:i})=>({wrapperProps:{$hasStartAdornment:!!r,onClick:()=>{e&&t&&i(e)}}}))(e),{startAdornment:o,field:n,isSortable:a,align:l,label:d,sorting:s}=e,p=m(()=>{if(!a)return null;if(s?.fieldId!==n)return t($,{size:16});switch(s?.sort){case nt.ASC:return t(x,{size:16});case nt.DESC:return t(v,{size:16});default:return t($,{size:16})}},[s,a,n]);return r(nr,{$align:l,...i,children:[o&&o,a?t(no,{variant:"link",$isActive:s?.fieldId===n,endIcon:p,children:d}):t(ni,{variant:"caption",children:d})]})},na=tc("header",{shouldForwardProp:e=>!["$gridColumns"].includes(e.toString())})`
|
|
683
|
-
display: grid;
|
|
684
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
685
|
-
|
|
686
|
-
background-color: ${({theme:e})=>e.palette.grey[200]};
|
|
687
|
-
`,nl=tc("div")`
|
|
688
|
-
display: flex;
|
|
689
|
-
align-items: center;
|
|
690
|
-
justify-content: center;
|
|
691
|
-
|
|
692
|
-
width: ${36}px;
|
|
693
|
-
`,nd=e=>{let{checkboxProps:r,handleSort:i}=(({rowsCount:e,sorting:t,uncheckedRowsCount:r,onSort:i})=>{let o=m(()=>!r&&e>0,[r,e]),n=m(()=>r>0&&r<e,[r,e]),a=!e;return{handleSort:p(e=>{if(!i)return;let r=t?.fieldId===e;return r&&t?.sort===nt.ASC?i({fieldId:e,sort:nt.DESC}):r&&t?.sort===nt.DESC?i(void 0):void i({fieldId:e,sort:nt.ASC})},[t,i]),checkboxProps:{checked:o,disabled:a,indeterminate:n}}})(e),{columns:o,gridColumns:n,isSelectable:a,sorting:l,onSelectAllRows:d}=e,s=m(()=>o.map(({field:e,label:o,sortable:n,align:s},p)=>t(nn,{sorting:l,field:e,label:o,isSortable:n,align:s,startAdornment:!p&&a?t(nl,{children:t(rQ,{...r,onChange:d})}):null,onSort:i},o)),[o,l,a,r,d,i]);return t(na,{$gridColumns:n,children:s})},ns=tc("div")`
|
|
694
|
-
position: absolute;
|
|
695
|
-
top: 0;
|
|
696
|
-
|
|
697
|
-
width: 100%;
|
|
698
|
-
height: 100%;
|
|
699
|
-
|
|
700
|
-
opacity: 0.3;
|
|
701
|
-
background-color: ${({theme:e})=>e.palette.background.element};
|
|
702
|
-
`,np=tc("div")`
|
|
703
|
-
height: 1px;
|
|
704
|
-
`,nc=tc(ev)`
|
|
705
|
-
height: 1px;
|
|
706
|
-
`,ng=({isLoading:e=!1,isDisabled:i=!1})=>r(np,{children:[(e||i)&&t(ns,{}),e&&t(nc,{})]}),nh=({title:e="Нет\xa0данных",imgAlt:r=e,action:i,size:o="small"})=>{let{imagesMap:{noDataImgSrc:n}}=c(i8);return t(oI,{title:e,imgSrc:n,size:o,Actions:i?t(t3,{onClick:i.onClick,"aria-label":i.text,children:i.text}):void 0,imgAlt:r})},nu=tc("div",{shouldForwardProp:e=>"$maxHeight"!==e})`
|
|
707
|
-
position: relative;
|
|
708
|
-
|
|
709
|
-
overflow: hidden;
|
|
710
|
-
display: flex;
|
|
711
|
-
flex-direction: column;
|
|
712
|
-
|
|
713
|
-
width: 100%;
|
|
714
|
-
height: 100%;
|
|
715
|
-
border: ${({theme:e})=>`1px solid ${e.palette.divider}`};
|
|
716
|
-
border-radius: ${({theme:e})=>e.shape.medium};
|
|
717
|
-
max-height: ${({$maxHeight:e})=>e?`${e}px`:"initial"};
|
|
718
|
-
`,nm=tc("div")`
|
|
719
|
-
overflow: hidden;
|
|
720
|
-
display: flex;
|
|
721
|
-
flex-direction: column;
|
|
722
|
-
|
|
723
|
-
height: 100%;
|
|
724
|
-
`,nf=tc(nm)`
|
|
725
|
-
pointer-events: none;
|
|
726
|
-
|
|
727
|
-
background: ${({theme:e})=>e.palette.background.element};
|
|
728
|
-
mix-blend-mode: luminosity;
|
|
729
|
-
`,ny=e=>{let{isDataGridDisabled:i,headProps:o,bodyProps:n,loaderProps:a,renderRows:l}=(({keyId:e,columns:t,rows:r=[],selectedRows:i=[],isLoading:o,isDisabled:n,onSelectRow:a})=>{let l=!!r?.length,d=!!a,s=o||n,c=r.filter(e=>!(e.rowOptions?.isDisabled||e.rowOptions?.isNotSelectable)),h=f([]);g(()=>{o||(h.current=r)},[r,o]);let u=t.map(({width:e})=>"number"==typeof e?`${e}px`:e||"1fr").join(" "),y=m(()=>c.filter(t=>!i.find(r=>r[e]===t[e])).length,[c,i,e]),x=p(()=>r.length<=1?t.map(e=>({...e,sortable:!1})):t,[t,r]),b=o?h.current:r,$=p(t=>r=>{if(a){if(r.target.checked)return a([...i,t]);a(i.filter(r=>r[e]!==t[e]))}},[i,a,e]);return{isDataGridDisabled:s,renderRows:b,headProps:{rowsCount:c.length,uncheckedRowsCount:y,gridColumns:u,isSelectable:d,columns:x(),onSelectAllRows:t=>{if(a){if(t.target.checked)return a(tb([...i,...c],tx(e)));a(i.filter(t=>!r.find(r=>r[e]===t[e])))}}},bodyProps:{gridColumns:u,isSelectable:d,onSelectRow:$},loaderProps:{isLoading:l&&o,isDisabled:n}}})(e),{emptySymbol:d}=c(i8),{columns:s,selectedRows:h=[],sorting:u,maxHeight:y,errorMsg:x,footer:b,noDataPlaceholder:$,isLoading:v,isError:w,keyId:C,activeRowId:k,emptyCellValue:S=d,className:z,onRowClick:F,onSort:P,noDataOptions:M,onRetry:T}=e,A=p(()=>v?null:$||t(nh,{...M}),[$,M,v]);return r(nu,{$maxHeight:y,className:z,children:[r(i?nf:nm,{inert:!!i||void 0,children:[t(nd,{...o,sorting:u,onSort:P}),t(o9,{...n,activeRowId:k,keyId:C,selectedRows:h,rows:l,columns:s,emptyCellValue:S,isLoading:v,isError:w,errorMsg:x,noDataPlaceholder:A(),onRowClick:F,onRetry:T})]}),t(ng,{...a}),b&&t(ne,{children:b})]})},nx=r=>{let{tooltipProps:i}=(({action:e})=>{let{loading:t,disabledReason:r,name:i}=e,[o,n]=y(!1);return g(()=>{t&&n(!1)},[t]),{tooltipProps:{title:r||i,open:o,onOpen:()=>n(!0),onClose:()=>n(!1)}}})(r),{action:o,onActionClick:n,isDisabled:a,tooltipPlacement:l}=r,{name:d,icon:s,needConfirm:p,confirmText:c,confirmButtonProps:h,disabledReason:u,disabled:m,loading:f,isBlockingOperation:x,loadingNote:b,onClick:$,...v}=o,w=e=>t(r_,{withoutContainer:!m,placement:l,...i,children:t(rk,{disabled:a||m,loading:f,...v,variant:"text",...e,children:s})},d);return t(e,{children:p?t(or,{text:c,confirmButtonProps:h,actionComponent:e=>w(e),onConfirm:n($)}):w({onClick:n($)})})},nb=({action:e,onActionClick:r,isDisabled:i,tooltipPlacement:o})=>{if("actions"in e){let{disabled:n,icon:a,name:l,disabledReason:s,actions:p}=e;return t(r_,{title:s||l,withoutContainer:!n,placement:o,children:t(rD,{icon:a,variant:"text",disabled:i||n,children:p.map(({name:e,onClick:t,...i})=>d(rB,{...i,key:e,onClick:r(t)},e))})},l)}return t(nx,{action:e,onActionClick:r,isDisabled:i,tooltipPlacement:o})},n$=({actions:e,onActionClick:r,tooltipPlacement:i,isDisabled:o})=>t(rD,{icon:t(I,{}),variant:"text",disabled:o,children:e.map(e=>{let{onClick:t,name:o}=e;return d(rB,{...e,key:o,tooltipPlacement:i,onClick:r(t)},o)})}),nv=tc("div")`
|
|
730
|
-
display: inline-flex;
|
|
731
|
-
align-items: center;
|
|
732
|
-
`,nw=e=>{let{isDisabledAction:i,handleWrapperClick:o,handleActionClick:n}=(({row:e,actions:t})=>{let{main:r,secondary:i}=t,o=[...r,...i||[]].find(e=>e.isBlockingOperation&&e.loading);return{isDisabledAction:!!o,handleActionClick:p(t=>()=>{t?.(e)},[e]),handleWrapperClick:e=>{e.stopPropagation()}}})(e),{actions:a}=e,{main:l,secondary:d}=a;return r(nv,{onClick:o,children:[l.map(e=>t(nb,{action:e,onActionClick:n,isDisabled:i,tooltipPlacement:"top"},e.name)),d&&t(n$,{actions:d,onActionClick:n,tooltipPlacement:"left",isDisabled:i})]})},nC=({...e})=>t(eI,{color:"primary",size:"small",shape:"rounded",...e}),nk=tc("div")`
|
|
733
|
-
display: flex;
|
|
734
|
-
column-gap: ${({theme:e})=>e.spacing(1)};
|
|
735
|
-
`,nS=tc(ia,{shouldForwardProp:e=>"$shrinks"!==e})`
|
|
736
|
-
min-width: ${({$shrinks:e})=>e?"30px":"unset"};
|
|
737
|
-
max-width: 246px;
|
|
738
|
-
|
|
739
|
-
& {
|
|
740
|
-
.MuiBox-root {
|
|
741
|
-
display: inline;
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
`,nz=e=>{let{onMouseDown:r}={onMouseDown:e=>{e.stopPropagation()}},{shrinks:i,isDisabled:o,...n}=e;return t(nS,{$shrinks:i,color:"grey",disabled:o,...n,onMouseDown:r})},nF=(e,t)=>{if(e.innerHTML===t)return e;for(let r=0;r<e.children.length;r+=1){let i=nF(e.children[r],t);if(i)return i}return null},nP=e=>{let{maxItems:i,tagsContainerRef:o,visibleOptions:n,getTagProps:a}=(({data:e=[],keyId:t,getOptionLabel:r,onChange:i})=>{let[o,n]=y(1),a=f(!1),l=f(null),d=()=>{let t=l.current;if(!t)throw Error("Tags container ref is not set");let i=Number.parseInt(window.getComputedStyle(t).columnGap),o=t.firstElementChild?.getBoundingClientRect().width||0,a=t.getBoundingClientRect().width-o,d=t.cloneNode(!0);for(;d.lastElementChild&&d.children.length>1;)d.removeChild(d.lastElementChild);d.style.visibility="hidden",n(1+((t,i,o)=>{let n=r(e[0]);document.body.appendChild(t);let a=0,l=0;for(let d=1;d<e.length;d+=1){let s=t.firstChild?.cloneNode(!0),p=r(e[d]),c=nF(s,n);if(!c)throw Error("Could not find text node");c.textContent=p,t.appendChild(s);let g=s.getBoundingClientRect().width+o;if(a+g>i)break;l+=1,a+=g}return document.body.removeChild(t),l})(d,a,i))};u(()=>{"u">typeof window&&e&&e.length&&(d(),a.current=!0)},[e]),g(()=>{if("u"<typeof window||!e||!e.length)return;if(!l.current)throw Error("Tags container ref is not set");let t=new ResizeObserver(()=>{if(a.current){a.current=!1;return}d()});return t.observe(l.current),()=>t.disconnect()},[e]);let s=e?.slice(0,o);return{maxItems:o,visibleOptions:s,tagsContainerRef:l,getTagProps:(n,a)=>{let l=r(n);return{label:l,shrinks:a===o-1&&o<=e.length,onDelete:()=>{let r=e?.filter(e=>"string"==typeof e?e!==n:e[t]!==n[t]);i(r?.length?r:[])}}}}})(e),{className:l,data:d,keyId:s,isDisabled:p,onClick:c}=e;return r(nk,{className:l,ref:o,children:[n?.map((e,r)=>t(nz,{isDisabled:p,onClick:c,...a(e,r)},((e,t)=>{if("string"==typeof e)return e;if("number"==typeof e)return e.toString();let r=e[t];return"number"==typeof r?r.toString():r})(e,s))),d&&i<d.length&&t(nz,{isDisabled:p,label:`+${d.length-i}`,onClick:c},"more")]})},nM="Очистить",nT=tc("div")`
|
|
745
|
-
display: flex;
|
|
746
|
-
flex-direction: column;
|
|
747
|
-
align-items: center;
|
|
748
|
-
|
|
749
|
-
min-height: 64px;
|
|
750
|
-
|
|
751
|
-
.MuiCircularProgress-root {
|
|
752
|
-
margin-top: ${({theme:e})=>e.spacing(5)};
|
|
753
|
-
|
|
754
|
-
color: ${({theme:e})=>e.palette.grey["900"]};
|
|
755
|
-
}
|
|
756
|
-
`,nA=tc(rB)`
|
|
757
|
-
display: none;
|
|
758
|
-
`,nI=tc(rk)`
|
|
759
|
-
padding: 0;
|
|
760
|
-
svg {
|
|
761
|
-
stroke: ${({theme:e})=>e.palette.grey["600"]};
|
|
762
|
-
}
|
|
763
|
-
&:hover {
|
|
764
|
-
background-color: transparent;
|
|
765
|
-
svg {
|
|
766
|
-
stroke: ${({theme:e})=>e.palette.grey["700"]};
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
771
|
-
width: 32px;
|
|
772
|
-
height: 32px;
|
|
773
|
-
}
|
|
774
|
-
`,nD=tc(M)`
|
|
775
|
-
width: 16px;
|
|
776
|
-
height: 16px;
|
|
777
|
-
padding: 0;
|
|
778
|
-
`,nO=tc("div",{label:"EndAdornmentWrapper"})`
|
|
779
|
-
display: flex;
|
|
780
|
-
align-items: center;
|
|
781
|
-
|
|
782
|
-
margin-left: auto;
|
|
783
|
-
`,nL=tc(eR)`
|
|
784
|
-
.${tl.select} {
|
|
785
|
-
padding-right: ${({theme:e})=>e.spacing(2)} !important;
|
|
786
|
-
}
|
|
787
|
-
`,n_=({onClick:e,disabled:r,ref:i})=>t(nI,{disabled:r,ref:i,onClick:e,variant:"text",title:nM,"aria-label":nM,children:t(nD,{})});function nB({required:e,getOptionLabel:i=e=>String(e),placeholder:n,helperText:a,loading:l,success:d,children:s,disabled:p,error:c,label:g,fullWidth:h,id:u,onChange:m,isShowClearButton:x,...b}){let{isOpened:$,isShowingClearButton:v,isNoData:w,onClearAll:k,openSelect:S,closeSelect:F,resetButtonRef:P}=function({value:e,onChange:t,children:r,open:i,defaultOpen:n,multiple:a,isShowClearButton:l=!1}){let[d,s]=y(n||i||!1),p=f(null),c=l&&!(!e||Array.isArray(e)&&0===e.length||"string"==typeof e&&0===e.length);return{isOpened:d,isNoData:!o.count(r),isShowingClearButton:c,resetButtonRef:p,openSelect:()=>s(!0),closeSelect:()=>s(!1),onClearAll:()=>{t?.call({},{target:{value:a?[]:""}})}}}({...b,children:s,onChange:m,isShowClearButton:x});return r(ef,{error:c,fullWidth:h,children:[g&&t(e$,{htmlFor:u||g,required:e,children:g}),r(nL,{...b,open:$,id:u||g,disabled:p,onOpen:S,onClose:F,renderValue:e=>Array.isArray(e)&&e.length?t(nP,{data:e,keyId:"value",getOptionLabel:i,onChange:e=>e?m?.({target:{value:e}},void 0):m?.({target:{value:[]}},void 0),onClick:S}):(Array.isArray(e)||"string"==typeof e)&&!e.length?n:i(e),IconComponent:()=>null,displayEmpty:!0,fullWidth:h,onChange:m,endAdornment:r(nO,{children:[v&&t(n_,{disabled:p,ref:P,onClick:k}),t(nI,{variant:"text",disabled:p,onClick:S,children:$?t(z,{size:16}):t(C,{size:16})})]}),children:[t(nA,{value:"",children:n}),l&&t(nT,{children:t(t0,{color:"primary"})}),!l&&s,!l&&w&&t(rB,{disabled:!0,children:"Нет данных"})]}),a&&t(ih,{error:c,success:d,children:a})]})}let nR=[20,50,100],nE=tc("div")`
|
|
788
|
-
display: flex;
|
|
789
|
-
align-items: center;
|
|
790
|
-
justify-content: space-between;
|
|
791
|
-
width: 100%;
|
|
792
|
-
`,nN=tc(rp)`
|
|
793
|
-
color: ${({theme:e})=>e.palette.grey["700"]};
|
|
794
|
-
`,nW=tc("div")`
|
|
795
|
-
display: flex;
|
|
796
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
797
|
-
align-items: center;
|
|
798
|
-
|
|
799
|
-
.${e9.root} {
|
|
800
|
-
flex-direction: unset;
|
|
801
|
-
}
|
|
802
|
-
`,nH=i=>{let{isVisiblePagination:o,pageCount:n,formattedRange:a,handleChangeRowsPerPage:l}=(({totalCount:e,rowsPerPage:t=20,page:r,onSetCountPerPage:i})=>{let o=f(0);g(()=>{e&&(o.current=e)},[e]);let n=e||o.current,a=Math.ceil(n/t),l=(r-1)*t+1;return{isVisiblePagination:!(!i&&n<=t),pageCount:a,formattedRange:()=>{let e;return`${l} — ${(e=r*t)<n?e:n} из ${n}`},handleChangeRowsPerPage:e=>{i?.(Number(e.target.value))}}})(i),{page:d,totalCount:s,className:p,rowsPerPage:c=20,rowsPerPageOptions:h=nR,isForceCounter:u,disabled:m,onSetCountPerPage:y,...x}=i;return(o||u)&&s?r(nE,{className:p,children:[r(nW,{children:[y&&r(e,{children:[t(rp,{variant:"body1",children:"Строк на странице:"}),t(nB,{size:"small",value:c,disabled:m,isShowClearButton:!1,onChange:l,children:h.map(e=>t(rB,{value:e,children:e},e))})]}),t(nN,{variant:"h6",children:a()})]}),o&&t(nC,{disabled:m,count:n,page:d,...x})]}):null},nj=({maskProps:e,...r})=>t(iu,{inputRef:tT(e),...r}),nV=tc("div")`
|
|
803
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
804
|
-
`,nG=i=>{let{label:o,disabled:n=!1,selected:a,onSelect:l,selectMonth:d,selectYear:s,error:p,helperText:c,className:h,fullWidth:u,size:m,name:f,...x}=i,[b,$]=y(null),[v,C]=y(null),[k,S]=y(new Date),[z,F]=y(""),P=()=>{C(null)};return g(()=>{a?(F(a.toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric"})),S(a)):F("")},[a]),r(e,{children:[t(nj,{value:z,onChange:e=>{$(null),F(e.target.value);let[t,r,i]=e.target.value.split(".").map(Number);if(Number.isNaN(t)||Number.isNaN(r)||Number.isNaN(i)||t<1||t>31||r<1||r>12||i<1e3)return void $("Некорректная дата");let o=new Date(i,r-1,t);l?.(o),S(o)},label:o,disabled:n,className:h,fullWidth:u,size:m,name:f,endAdornment:t(rk,{variant:"text",onClick:e=>{C(e.currentTarget)},children:t(w,{})}),maskProps:{mask:"__.__.____",replacement:{_:/\d/},showMask:!0},placeholder:"дд.мм.гггг",error:!!b||p,helperText:b||c}),t(i6,{title:"Заголовок",open:!!v,anchorEl:v,onClose:P,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:t(nV,{children:t(iI,{month:k,onMonthChange:S,selected:a,onSelect:e=>{e?(l?.(e),S(e),F(e.toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric"}))):(F(""),l?.(void 0)),P()},...x,mode:"single",captionLayout:d&&s?"dropdown":d?"dropdown-months":s?"dropdown-years":"label"})})})]})},nY="astral-ui_descriptionRoot",nU=l({leader:!1,separator:":",direction:"default"}),nK=({children:e,leader:r,separator:i,direction:o})=>t(nU.Provider,{value:{leader:r,separator:i,direction:o},children:e}),nq=tc("dt",{shouldForwardProp:e=>"$leader"!==e})`
|
|
805
|
-
flex-shrink: 0;
|
|
806
|
-
|
|
807
|
-
max-width: ${({$leader:e})=>e?"calc(100% - 36px)":"calc(100% - 12px)"};
|
|
808
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
809
|
-
`,nJ=tc("div")`
|
|
810
|
-
flex: 1;
|
|
811
|
-
|
|
812
|
-
min-width: 12px;
|
|
813
|
-
height: 4px;
|
|
814
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
815
|
-
|
|
816
|
-
border-bottom: 1px dashed ${({theme:e})=>e.palette.grey[400]};
|
|
817
|
-
|
|
818
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
819
|
-
display: none;
|
|
820
|
-
}
|
|
821
|
-
`,nX=tc("div",{shouldForwardProp:e=>!["$justifyContent","as","$direction"].includes(e.toString())})`
|
|
822
|
-
overflow: hidden;
|
|
823
|
-
display: flex;
|
|
824
|
-
flex-direction: ${({$direction:e})=>"default"===e?"row":e};
|
|
825
|
-
align-items: baseline;
|
|
826
|
-
justify-content: ${({$justifyContent:e})=>e};
|
|
827
|
-
|
|
828
|
-
margin: 0;
|
|
829
|
-
|
|
830
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
831
|
-
flex-direction: ${({$direction:e})=>"default"===e?"column":e};
|
|
832
|
-
|
|
833
|
-
.MuiTypography-root {
|
|
834
|
-
font-size: ${({theme:e})=>e.typography.fontSize};
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
`,nZ=tc(rp,{shouldForwardProp:e=>!["$canCopy","$leader","$direction"].includes(e.toString())})`
|
|
838
|
-
cursor: ${({$canCopy:e})=>e?"pointer":"default"};
|
|
839
|
-
|
|
840
|
-
overflow: hidden;
|
|
841
|
-
|
|
842
|
-
hyphens: auto;
|
|
843
|
-
text-align: ${({$leader:e})=>e?"right":"left"};
|
|
844
|
-
overflow-wrap: break-word;
|
|
845
|
-
|
|
846
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
847
|
-
text-align: ${({$direction:e})=>"row"!==e?"left":"right"};
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
&:hover {
|
|
851
|
-
text-decoration: ${({$canCopy:e})=>e?"underline":"none"};
|
|
852
|
-
}
|
|
853
|
-
`,nQ=tc(oH,{shouldForwardProp:e=>!["$leader","$direction"].includes(e.toString())})`
|
|
854
|
-
display: unset;
|
|
855
|
-
|
|
856
|
-
hyphens: auto;
|
|
857
|
-
text-align: ${({$leader:e})=>e?"right":"left"};
|
|
858
|
-
overflow-wrap: break-word;
|
|
859
|
-
|
|
860
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
861
|
-
text-align: ${({$direction:e})=>"row"!==e?"left":"right"};
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
& > svg {
|
|
865
|
-
margin-bottom: ${({theme:e})=>e.spacing(-1)};
|
|
866
|
-
}
|
|
867
|
-
`,n0=tc("dd")`
|
|
868
|
-
overflow: hidden;
|
|
869
|
-
|
|
870
|
-
margin: 0;
|
|
871
|
-
`,n1=e=>{let{descriptionContextProviderProps:r,direction:i}=(({direction:e="default",separator:t=":"})=>{let{isMobile:r}=r$();return{descriptionContextProviderProps:{separator:"column"===e||r&&"default"===e?"":t},direction:e}})(e),{justifyContent:o="start",component:n="dl",children:a,leader:l=!1}=e;return t(nK,{leader:l,direction:i,...r,children:t(nX,{$justifyContent:o,className:nY,$direction:i,as:n,children:a})})};n1.Name=({children:i,color:o="textSecondary",...n})=>{let{leader:a,separator:l}=c(nU);return r(e,{children:[t(nq,{$leader:a,children:r(rp,{...n,color:o,children:[i,!a&&l]})}),a&&t(nJ,{})]})},n1.Value=e=>{let{valueToRender:r,isDefaultValueRender:i,leader:o,direction:n}=(({canCopy:e,children:t,stub:r})=>{let{emptySymbol:i}=c(i8),{leader:o,direction:n}=c(nU);return{valueToRender:t||r||i,isDefaultValueRender:!e||!t,leader:o,direction:n}})(e),{copyPosition:a="right",copyText:l,canCopy:d,children:s,stub:p,...g}=e;return i?t(nZ,{$direction:n,component:"dd",$leader:o,...g,children:r}):t(n0,{children:t(nQ,{copyPosition:a,copyText:l,$direction:n,$leader:o,component:"div",...g,children:r})})};let n2=e=>t(r8,{visibleLastSymbolsCount:4,...e}),n3=tc(n1.Name,{shouldForwardProp:e=>!["$nameMaxWidth, $direction"].includes(e.toString())})`
|
|
872
|
-
max-width: ${({$nameMaxWidth:e})=>e||"none"};
|
|
873
|
-
margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(1):0};
|
|
874
|
-
|
|
875
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
876
|
-
margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"row")?0:e.spacing(1)};
|
|
877
|
-
}
|
|
878
|
-
`,n8=tc("article",{shouldForwardProp:e=>!["$variant"].includes(e.toString())})`
|
|
879
|
-
display: grid;
|
|
880
|
-
row-gap: ${({theme:e})=>e.spacing(3)};
|
|
881
|
-
|
|
882
|
-
padding: ${({$variant:e,theme:t})=>"contained"===e?t.spacing(4):0};
|
|
883
|
-
|
|
884
|
-
background-color: ${({$variant:e,theme:t})=>"contained"===e?t.palette.background.default:"transparent"};
|
|
885
|
-
border: ${({$variant:e,theme:t})=>"contained"===e?`1px solid ${t.palette.grey[300]}`:"unset"};
|
|
886
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
887
|
-
`,n4=tc("dl",{shouldForwardProp:e=>!["$direction"].includes(e.toString())})`
|
|
888
|
-
display: grid;
|
|
889
|
-
row-gap: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(3):e.spacing(1)};
|
|
890
|
-
|
|
891
|
-
margin: 0;
|
|
892
|
-
|
|
893
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
894
|
-
row-gap: ${({theme:e})=>e.spacing(3)};
|
|
895
|
-
}
|
|
896
|
-
`,n6=tc(n1.Value,{shouldForwardProp:e=>!["$isCopy"].includes(e.toString())})`
|
|
897
|
-
display: ${({$isCopy:e})=>e&&"flex"};
|
|
898
|
-
|
|
899
|
-
width: ${({$isCopy:e})=>e&&"calc(100% - 20px)"};
|
|
900
|
-
`,n5=({items:e,variant:i="default",title:o,direction:n,...a})=>{let l=p((e,r)=>{let{renderValue:i,color:o,canCopy:n,copyPosition:a,variant:l,copyText:d}=r;if(i)return i(e,r);if("tag"===l)return t(n1.Value,{children:t(ia,{label:e,color:o,variant:"light"})});if("guid"===l){let r=n?{title:void 0}:void 0;return t(n6,{canCopy:n,$isCopy:n,color:o,copyPosition:a,copyText:d,children:t(n2,{tooltipProps:r,children:e})})}return t(n1.Value,{canCopy:n,color:o,copyPosition:a,children:e})},[]);return r(n8,{$variant:i,children:[o&&("string"==typeof o?t(rp,{variant:"h6",children:o}):o),t(n4,{$direction:n,children:e.map(({name:e,value:i,options:o})=>{let{nameMaxWidth:d,...s}=o||{};return r(n1,{direction:n,...a,component:"div",children:[t(n3,{$nameMaxWidth:d,$direction:n,children:e}),l(i,s)]},`${e}:${i}`)})})]})},n9=tc(r_)`
|
|
901
|
-
.${tu.tooltip} {
|
|
902
|
-
background-color: ${({theme:e})=>e.palette.common.white};
|
|
903
|
-
color: ${({theme:e})=>e.palette.text.primary};
|
|
904
|
-
box-shadow: ${({theme:e})=>e.shadows[1]};
|
|
905
|
-
font-size: 11px;
|
|
906
|
-
width: auto;
|
|
907
|
-
max-width: 400px;
|
|
908
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
909
|
-
box-shadow: ${({theme:e})=>e.shadows[4]};
|
|
910
|
-
}
|
|
911
|
-
`;function n7({arrow:e,followCursor:r,children:i,...o}){return t(n9,{arrow:!0,title:t(n5,{...o}),children:i})}let ae=tc("div",{label:"DialogHeader-root",shouldForwardProp:e=>!["hasTitle","hasOnClose"].includes(e.toString())})`
|
|
912
|
-
overflow: hidden;
|
|
913
|
-
display: grid;
|
|
914
|
-
grid-template-columns: ${({hasTitle:e,hasOnClose:t})=>e&&t?"max-content 1fr 32px":e?"max-content 1fr":t?"1fr 32px":"1fr"};
|
|
915
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
916
|
-
align-items: center;
|
|
917
|
-
|
|
918
|
-
height: auto;
|
|
919
|
-
padding: ${({theme:e})=>e.spacing(4,6)};
|
|
920
|
-
`,at=tc("div",{shouldForwardProp:e=>!["justifyContent","columnSpacing"].includes(e.toString()),label:"DialogHeader-content"})`
|
|
921
|
-
overflow: hidden;
|
|
922
|
-
display: flex;
|
|
923
|
-
column-gap: ${({columnSpacing:e,theme:t})=>t.spacing(e)};
|
|
924
|
-
align-items: center;
|
|
925
|
-
justify-content: ${({justifyContent:e})=>e};
|
|
926
|
-
|
|
927
|
-
width: 100%;
|
|
928
|
-
height: 100%;
|
|
929
|
-
padding: 0;
|
|
930
|
-
`,ar=({children:e,title:i,justifyContent:o="flex-start",disableSpacing:n,onClose:a})=>r(ae,{hasTitle:!!i,hasOnClose:!!a,children:[i&&t(rp,{variant:"h4",children:i}),t(at,{justifyContent:o,columnSpacing:2*!n,children:e}),a&&t(rk,{variant:"text",onClick:e=>{a&&a(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:t(j,{})})]}),ai=e=>t(eu,{...e}),ao=tc("span")`
|
|
931
|
-
overflow: hidden;
|
|
932
|
-
|
|
933
|
-
max-width: 100%;
|
|
934
|
-
|
|
935
|
-
text-overflow: ellipsis;
|
|
936
|
-
white-space: nowrap;
|
|
937
|
-
`,an=tc(rp,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
|
|
938
|
-
display: flex;
|
|
939
|
-
justify-content: ${({$align:e})=>e};
|
|
940
|
-
`,aa=[".xml.dist",".xml.tpl",".xml.gz",".xml.bz2",".xml.zip",".xml.enc",".xml.sig",".xml.metadata",".xml.backup",".xml.orig",".tar.gz",".tar.bz2",".tar.xz",".tar.lz"],al=s((e,i)=>{let{isOverflowed:o,suffixWithExtension:n,baseNameProps:a}=(({ref:e,children:t})=>{var r;let i,{ref:o,isOverflowed:n}=r2(e),{baseName:a,suffixWithExtension:l}=(i=(e=>{for(let t of aa)if(e.endsWith(t))return t;let t=e.lastIndexOf(".");if(-1!==t)return e.slice(t)})(r=t))&&r.endsWith(i)?{baseName:r.slice(0,r.length-i.length-2),suffixWithExtension:r.slice(-i.length-2)}:{baseName:r.slice(0,-2),suffixWithExtension:r.slice(-2)};return{baseNameProps:{ref:o,children:a},isOverflowed:n,suffixWithExtension:l}})({...e,ref:i}),{tooltipProps:l,variant:d="inherit",children:s,align:p="left",...c}=e;return t(r_,{title:o&&s,disableInteractive:!0,...l,children:r(an,{$align:p,variant:d,...c,children:[t(ao,{...a}),t("span",{children:n})]})})}),ad=tc(eb)`
|
|
941
|
-
font-size: ${({theme:e})=>e.typography.caption.fontSize};
|
|
942
|
-
line-height: ${({theme:e})=>e.typography.caption.lineHeight};
|
|
943
|
-
`,as=e=>t(ad,{...e}),ap=tc("span",{label:"Separator"})`
|
|
944
|
-
padding: 0;
|
|
945
|
-
margin: 0;
|
|
946
|
-
overflow: hidden;
|
|
947
|
-
white-space: nowrap;
|
|
948
|
-
border-width: 0;
|
|
949
|
-
color: ${({theme:e})=>e.palette.text.primary};
|
|
950
|
-
`,ac=({separator:e="•",...r})=>t("div",{...r,children:t(ap,{children:e})}),ag=tc("div",{shouldForwardProp:e=>"$isActive"!==e})`
|
|
951
|
-
position: relative;
|
|
952
|
-
display: flex;
|
|
953
|
-
height: 2.5rem;
|
|
954
|
-
width: 2.5rem;
|
|
955
|
-
align-items: center;
|
|
956
|
-
justify-content: center;
|
|
957
|
-
border-width: 1px;
|
|
958
|
-
border-style: solid;
|
|
959
|
-
border-color: ${({theme:e,$isActive:t})=>t?e.palette.primary.main:e.palette.divider};
|
|
960
|
-
font-size: ${({theme:e})=>e.typography.fontSize};
|
|
961
|
-
border-left-width: ${({$isActive:e})=>+!!e};
|
|
962
|
-
transition: all 0.3s;
|
|
963
|
-
&:first-of-type {
|
|
964
|
-
border-top-left-radius: ${({theme:e})=>e.shape.small};
|
|
965
|
-
border-bottom-left-radius: ${({theme:e})=>e.shape.small};
|
|
966
|
-
border-left-width: 1px;
|
|
967
|
-
}
|
|
968
|
-
&:last-of-type {
|
|
969
|
-
border-top-right-radius: ${({theme:e})=>e.shape.small};
|
|
970
|
-
border-bottom-right-radius: ${({theme:e})=>e.shape.small};
|
|
971
|
-
}
|
|
972
|
-
z-index: ${({$isActive:e})=>10*!!e};
|
|
973
|
-
`,ah=tc("div")`
|
|
974
|
-
position: absolute;
|
|
975
|
-
inset: 0;
|
|
976
|
-
display: flex;
|
|
977
|
-
align-items: center;
|
|
978
|
-
justify-content: center;
|
|
979
|
-
pointer-events: none;
|
|
980
|
-
`,au=tt`
|
|
981
|
-
0%,
|
|
982
|
-
100% {
|
|
983
|
-
opacity: 0;
|
|
984
|
-
}
|
|
985
|
-
50% {
|
|
986
|
-
opacity: 1;
|
|
987
|
-
}
|
|
988
|
-
`,am=tc("div")`
|
|
989
|
-
height: 1rem;
|
|
990
|
-
width: 1px;
|
|
991
|
-
background-color: ${({theme:e})=>e.palette.primary.main};
|
|
992
|
-
animation: ${au} 1s infinite;
|
|
993
|
-
`,af=({char:e,hasFakeCaret:i,isActive:o,...n})=>r(ag,{$isActive:o,...n,children:[e,i&&t(ah,{children:t(am,{})})]}),ay=tc("div")`
|
|
994
|
-
display: flex;
|
|
995
|
-
align-items: center;
|
|
996
|
-
`,ax=tc("div")`
|
|
997
|
-
.inputOTPContainer {
|
|
998
|
-
display: flex;
|
|
999
|
-
align-items: center;
|
|
1000
|
-
gap: 0.5rem;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
.inputOTPContainer:has(:disabled) {
|
|
1004
|
-
opacity: 0.5;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
.inputOTP {
|
|
1008
|
-
cursor: pointer;
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
.inputOTP:has(:disabled) {
|
|
1012
|
-
cursor: not-allowed;
|
|
1013
|
-
}
|
|
1014
|
-
`,ab=({...i})=>t(ax,{children:t(tA,{className:"inputOTP",containerClassName:"inputOTPContainer",...i,render:({slots:i})=>i.length%2!=0?t(ay,{children:i.map((e,r)=>t(af,{...e},`${r}-${e.char}`))}):r(e,{children:[t(ay,{children:i.slice(0,i.length/2).map((e,r)=>t(af,{...e},`${r}-${e.char}`))}),t(ac,{}),t(ay,{children:i.slice(i.length/2).map((e,r)=>t(af,{...e},`${r}-${e.char}`))})]})})}),a$=tc(ew)`
|
|
1015
|
-
display: inline-flex;
|
|
1016
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
1017
|
-
align-items: center;
|
|
1018
|
-
justify-content: flex-start;
|
|
1019
|
-
|
|
1020
|
-
font-size: ${({theme:e})=>e.typography.fontSize}px;
|
|
1021
|
-
color: ${({theme:e})=>e.palette.components.link.main};
|
|
1022
|
-
text-decoration: none;
|
|
1023
|
-
|
|
1024
|
-
&:active {
|
|
1025
|
-
color: ${({theme:e})=>e.palette.components.link.active};
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
&:visited {
|
|
1029
|
-
color: ${({theme:e})=>e.palette.components.link.visited};
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
&:hover {
|
|
1033
|
-
color: ${({theme:e})=>e.palette.components.link.hover};
|
|
1034
|
-
text-decoration: underline;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
&:focus {
|
|
1038
|
-
border-radius: 4px;
|
|
1039
|
-
outline: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
.${tg.root} {
|
|
1043
|
-
align-self: center;
|
|
1044
|
-
|
|
1045
|
-
width: 16px;
|
|
1046
|
-
height: 16px;
|
|
1047
|
-
}
|
|
1048
|
-
`,av=({withAdornment:e,isDownload:i,children:o,...n})=>{let a=i?t(b,{size:16}):t(E,{size:16});return r(a$,{download:i,...n,children:["start"===e&&a,o,"end"===e&&a,!e&&i&&t(b,{})]})},aw=e=>t(eC,{...e}),aC=({theme:e,listItemState:t})=>"default"===t?e.palette.grey[900]:"hover"===t?e.palette.primary[800]:e.palette.grey[900],ak=tc(ek,{shouldForwardProp:e=>"selected"!==e})`
|
|
1049
|
-
cursor: pointer;
|
|
1050
|
-
user-select: none;
|
|
1051
|
-
|
|
1052
|
-
color: ${e=>aC({...e,listItemState:"default"})};
|
|
1053
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
1054
|
-
|
|
1055
|
-
:hover {
|
|
1056
|
-
color: ${e=>aC({...e,listItemState:"hover"})};
|
|
1057
|
-
}
|
|
1058
|
-
`,aS=e=>t(ak,{...e}),az=e=>{let{disabledReason:r,disabled:i,tooltipPlacement:o,note:n,withoutContainer:a=!1,...l}=e,d=()=>t(r_,{title:i?r:n,placement:o,withoutContainer:!i,children:t(eS,{disabled:i,...l,disableRipple:!0})});return a?d():t("li",{children:d()})},aF=tc(ez)`
|
|
1059
|
-
color: inherit;
|
|
1060
|
-
`,aP=s((e,r)=>t(aF,{ref:r,...e})),aM=e=>t(eF,{...e}),aT=e=>t(eP,{...e});var aA=((tq={}).info="info",tq.success="success",tq.warning="warning",tq.error="error",tq);let aI={topRight:"top-right",topLeft:"top-left",bottomRight:"bottom-right",bottomLeft:"bottom-left",topCenter:"top-center",bottomCenter:"bottom-center"};class aD{service;constructor(e){this.service=e}message(e,t){return this.service.message(e,{description:t})}success=e=>this.service.success(e);error=e=>this.service.error(e);info=e=>this.service.info(e);warning=e=>this.service.warning(e);custom=e=>this.service(e);action=({title:e,buttonLabel:t,onClick:r})=>this.service(e,{action:{label:t,onClick:r}})}let aO=new aD(tD),aL=tc(O)`
|
|
1061
|
-
color: ${({theme:e})=>e.palette.error.main};
|
|
1062
|
-
`,a_=tc(P)`
|
|
1063
|
-
color: ${({theme:e})=>e.palette.success.main};
|
|
1064
|
-
`,aB=tc(H)`
|
|
1065
|
-
color: ${({theme:e})=>e.palette.warning.main};
|
|
1066
|
-
`,aR=tc(D)`
|
|
1067
|
-
color: ${({theme:e})=>e.palette.info.main};
|
|
1068
|
-
`,aE=({position:e="bottomRight",...r})=>t(tI,{duration:3e3,icons:{error:t(aL,{size:20}),success:t(a_,{size:20}),warning:t(aB,{size:20}),info:t(aR,{size:20})},position:aI[e],...r}),aN="page_header",aW="page_aside",aH=tc("aside")`
|
|
1069
|
-
grid-area: aside;
|
|
1070
|
-
scrollbar-gutter: stable;
|
|
1071
|
-
overflow: auto;
|
|
1072
|
-
|
|
1073
|
-
width: 320px;
|
|
1074
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
1075
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
1076
|
-
|
|
1077
|
-
`,aj=tc("article",{shouldForwardProp:e=>!["$isFullHeight","$isFocusedMode"].includes(e.toString())})`
|
|
1078
|
-
grid-area: content;
|
|
1079
|
-
scroll-behavior: smooth;
|
|
1080
|
-
scrollbar-gutter: stable;
|
|
1081
|
-
overflow: auto;
|
|
1082
|
-
height: ${({$isFullHeight:e})=>e?"100%":"auto"};
|
|
1083
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
1084
|
-
`,aV=tc("footer")`
|
|
1085
|
-
grid-area: footer;
|
|
1086
|
-
z-index: ${({theme:e})=>e.zIndex.speedDial};
|
|
1087
|
-
|
|
1088
|
-
display: flex;
|
|
1089
|
-
gap: ${({theme:e})=>e.spacing(4)};
|
|
1090
|
-
align-items: center;
|
|
1091
|
-
justify-content: flex-end;
|
|
1092
|
-
height: 64px;
|
|
1093
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
1094
|
-
|
|
1095
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
1096
|
-
display: none;
|
|
1097
|
-
}
|
|
1098
|
-
`,aG=tc("div")`
|
|
1099
|
-
grid-area: breadcrumbs;
|
|
1100
|
-
display: flex;
|
|
1101
|
-
align-items: center;
|
|
1102
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
1103
|
-
`,aY=tc("header")`
|
|
1104
|
-
grid-area: header;
|
|
1105
|
-
display: grid;
|
|
1106
|
-
grid-template-columns: auto 1fr auto;
|
|
1107
|
-
grid-template-rows: repeat(3, auto);
|
|
1108
|
-
align-items: center;
|
|
1109
|
-
grid-template-areas: 'buttons title actions' 'subtitle subtitle subtitle' '. . .';
|
|
1110
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
1111
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
1112
|
-
padding-bottom: 0;
|
|
1113
|
-
&:has(.breadcrumbs) {
|
|
1114
|
-
grid-template-areas: 'buttons breadcrumbs actions' 'title title title' 'subtitle subtitle subtitle';
|
|
1115
|
-
}
|
|
1116
|
-
`,aU=tc("div")`
|
|
1117
|
-
grid-area: buttons;
|
|
1118
|
-
display: flex;
|
|
1119
|
-
align-items: center;
|
|
1120
|
-
column-gap: ${({theme:e})=>e.spacing(1)};
|
|
1121
|
-
`,aK=tc("div")`
|
|
1122
|
-
grid-area: actions;
|
|
1123
|
-
display: flex;
|
|
1124
|
-
align-items: center;
|
|
1125
|
-
justify-content: flex-end;
|
|
1126
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
1127
|
-
`,aq=tc(r8)`
|
|
1128
|
-
grid-area: title;
|
|
1129
|
-
`,aJ=tc("div")`
|
|
1130
|
-
grid-area: title;
|
|
1131
|
-
display: flex;
|
|
1132
|
-
align-items: center;
|
|
1133
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
1134
|
-
`,aX=tc(r8)`
|
|
1135
|
-
grid-area: subtitle;
|
|
1136
|
-
`,aZ=tc("div")`
|
|
1137
|
-
grid-area: subtitle;
|
|
1138
|
-
display: flex;
|
|
1139
|
-
align-items: center;
|
|
1140
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
1141
|
-
`,aQ=tc("div")`
|
|
1142
|
-
display: grid;
|
|
1143
|
-
grid-template-columns: 1fr auto;
|
|
1144
|
-
grid-template-rows: auto 1fr auto;
|
|
1145
|
-
border: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
1146
|
-
border-radius: ${({theme:e})=>e.shape.large};
|
|
1147
|
-
background-color: ${({theme:e})=>e.palette.background.paper};
|
|
1148
|
-
grid-template-areas: 'header header' 'content aside' 'footer aside';
|
|
1149
|
-
flex-grow: 1;
|
|
1150
|
-
|
|
1151
|
-
height: 100%;
|
|
1152
|
-
min-height: 0;
|
|
1153
|
-
|
|
1154
|
-
&:has(.${aW}) {
|
|
1155
|
-
.${aN} {
|
|
1156
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
1157
|
-
padding-bottom: ${({theme:e})=>e.spacing(4)};
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
1162
|
-
scroll-behavior: smooth;
|
|
1163
|
-
|
|
1164
|
-
overflow-y: auto;
|
|
1165
|
-
display: flex;
|
|
1166
|
-
flex-direction: column;
|
|
1167
|
-
|
|
1168
|
-
margin-bottom: 0;
|
|
1169
|
-
padding-top: 0;
|
|
1170
|
-
padding-bottom: '80px';
|
|
1171
|
-
}
|
|
1172
|
-
`,a0=({children:e,className:r})=>t(aQ,{className:r,children:e});a0.Header=e=>{let{title:i,subtitle:o,breadcrumbs:n,actions:a,backButton:l,className:d}=e,{collapsed:s,toggleCollapsed:p}=oX();return g(()=>{"string"==typeof i&&(document.title=i)},[i]),r(aY,{className:t$(d,aN),children:[r(aU,{children:[t(r_,{title:s?"Развернуть":"Свернуть",children:t(rk,{variant:"text",onClick:p,children:s?t(_,{}):t(L,{})})}),l&&t(r_,{title:"Назад",children:t(rk,{...l,variant:"text",children:t(k,{})})})]}),n&&t(aG,{className:"breadcrumbs",children:n}),t(aK,{children:a}),"string"==typeof i?t(aq,{component:"h1",variant:"h3","aria-level":1,children:i}):t(aJ,{"aria-level":1,children:i}),o&&"string"==typeof o&&t(aX,{"aria-level":2,children:o}),o&&"string"!=typeof o&&t(aZ,{"aria-level":2,children:o})]})},a0.Content=e=>{let{className:r,children:i,isFullHeight:o=!0}=e;return t(aj,{className:t$(r,"page-content"),$isFullHeight:o,children:i})},a0.Footer=e=>{let{children:r,className:i}=e;return t(aV,{className:i,children:r})},a0.Aside=({children:e,className:r})=>t(aH,{className:t$(r,aW),children:e});let a1=e=>t(eD,{...e}),a2=["Янв.","Фев.","Мар.","Апр.","Май","Июн.","Июл.","Авг.","Сен.","Окт.","Ноя.","Дек."],a3=["I квартал","II квартал","III квартал","IV квартал"],a8=tc("div")`
|
|
1173
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
1174
|
-
display: flex;
|
|
1175
|
-
flex-direction: column;
|
|
1176
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
1177
|
-
`,a4=tc("div")`
|
|
1178
|
-
display: grid;
|
|
1179
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1180
|
-
grid-template-rows: repeat(3, 1fr);
|
|
1181
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
1182
|
-
`,a6=tc("div")`
|
|
1183
|
-
display: grid;
|
|
1184
|
-
grid-template-columns: repeat(2, 1fr);
|
|
1185
|
-
grid-template-rows: repeat(2, 1fr);
|
|
1186
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
1187
|
-
`,a5=e=>Math.ceil(e/3);function a9({year:e,onSelect:r,minDate:i,maxDate:o}){let n=Array.from({length:o.getFullYear()-i.getFullYear()+1},(e,t)=>i.getFullYear()+t);return t(rW,{disabled:1===n.length,variant:"light",name:e.toString(),children:n.map(i=>t(rB,{value:i,selected:i===e,onClick:()=>{r?.(i)},children:t(rp,{align:"center",variant:"subtitle1",style:{textTransform:"capitalize",minWidth:70},children:i})},i))})}let a7=i=>{let{label:o,disabled:n=!1,value:a,onSelect:l,type:d="month",placeholder:s="month"===d?"Выберите месяц":"Выберите квартал",error:p,helperText:c,max:h=new Date(2050,0,1),min:u=new Date(2e3,0,1),className:m,size:f,fullWidth:x,name:b}=i,$=new Date,[v,C]=y(null),[k,S]=y($.getFullYear()),z=()=>{C(null)},F=e=>{l?.(e),z()},P="month"===d?a?.toLocaleDateString("ru-RU",{month:"long",year:"numeric"}):a?`${a3[a5(a.getMonth())]} ${a.getFullYear()}`:"";return g(()=>{a&&S(a.getFullYear())},[a]),r(e,{children:[t(iu,{label:o,value:P,disabled:n,size:f,fullWidth:x,name:b,endAdornment:t(rk,{disabled:n,variant:"text",onClick:e=>{C(e.currentTarget)},children:t(w,{})}),placeholder:s,error:p,helperText:c,className:m}),t(i6,{open:!!v,anchorEl:v,onClose:z,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:r(a8,{children:[t(a9,{year:k,onSelect:S,minDate:u,maxDate:h}),"month"===d?t(a4,{children:a2.map((e,r)=>{let i=new Date(k,r,a?.getDate()||1);return t(t3,{variant:"text",size:"small",disabled:i<u||i>h,onClick:()=>F(i),selected:a?.getMonth()===r&&a.getFullYear()===i.getFullYear(),children:e},e)})}):t(a6,{children:a3.map((e,r)=>{let i=new Date(k,3*r,1);return t(t3,{variant:"text",size:"small",disabled:i<u||i>h,onClick:()=>F(i),selected:!!a&&a5(a.getMonth())===r&&a.getFullYear()===i.getFullYear(),children:e},e)})})]})})]})},le=tc(rI)`
|
|
1188
|
-
& .${ti.paper} {
|
|
1189
|
-
min-width: 200px;
|
|
1190
|
-
max-width: 300px;
|
|
1191
|
-
}
|
|
1192
|
-
`,lt=tc(rB,{shouldForwardProp:e=>"$divider"!==e})`
|
|
1193
|
-
border-top: 1px solid
|
|
1194
|
-
${({theme:e,$divider:t})=>t?e.palette.divider:"transparent"};
|
|
1195
|
-
`,lr=e=>{let{open:i,onClose:o,menuList:n=[],...a}=e,{isMobile:l}=r$(),d=()=>n.map(({render:e,icon:i,title:o,onClick:n,divider:a},l)=>e?e({icon:i,title:o,onClick:n,divider:a}):r(lt,{$divider:a,onClick:n,children:[t(aP,{children:i}),t(aM,{children:t(r8,{noWrap:!0,children:o})})]},String(l)));return l?t(rM,{onClose:o,open:i,children:t(rA,{children:d()})}):t(le,{open:i,onClose:o,...a,children:d()})},li=tc(t3)`
|
|
1196
|
-
overflow: hidden;
|
|
1197
|
-
display: flex;
|
|
1198
|
-
justify-content: flex-start;
|
|
1199
|
-
align-items: center;
|
|
1200
|
-
width: 100%;
|
|
1201
|
-
max-width: 300px;
|
|
1202
|
-
gap: 0;
|
|
1203
|
-
height: auto;
|
|
1204
|
-
padding: ${({theme:e})=>e.spacing(1)};
|
|
1205
|
-
`,lo=tc("div")`
|
|
1206
|
-
overflow: hidden;
|
|
1207
|
-
margin-left: ${({theme:e})=>e.spacing(2)};
|
|
1208
|
-
flex-grow: 1;
|
|
1209
|
-
`,ln=tc(r8)`
|
|
1210
|
-
font-size: ${({theme:e})=>e.typography.pxToRem(12)};
|
|
1211
|
-
line-height: ${({theme:e})=>e.typography.pxToRem(16)};
|
|
1212
|
-
`,la=tc(iv)`
|
|
1213
|
-
width: 30px;
|
|
1214
|
-
height: 30px;
|
|
1215
|
-
`,ll=i=>{let{displayName:o,annotation:n,avatar:a={variant:"rounded"},menu:l,menuList:d,collapsed:s}=i,{open:p,anchorRef:c,handleOpenMenu:h,handleCloseMenu:u}=ry(),{isMobile:m}=r$();return g(()=>{l||d||console.error("Profile должен иметь один из следующих props: menu, menuList")},[]),r(e,{children:[t(ea,{onClickAway:u,children:t(li,{ref:c,variant:"text",onClick:h,children:m||s?t(la,{...a}):r(e,{children:[t(la,{...a}),r(lo,{children:[t(r8,{variant:"h6",children:o}),t(ln,{color:"textSecondary",children:n})]}),t(F,{size:16})]})})}),l?t(l,{open:p,anchorEl:c.current,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"},slotProps:{paper:{style:{maxWidth:300,minWidth:200}}}}):t(lr,{open:p,anchorEl:c.current,menuList:d,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}})]})},ld=({className:e,value:r})=>t(ev,{className:e,variant:"determinate",value:Math.max(0,Math.min(r,100))}),ls="RadioIcon-innerCircle",lp="RadioCheckedIcon-innerCircle",lc=({...e})=>r(eW,{viewBox:"0 0 24 24",...e,children:[t("circle",{cx:"12",cy:"12",r:"10",className:"RadioIcon-outerCircle"}),t("circle",{cx:"12",cy:"12",r:"8",className:ls})]}),lg=({...e})=>r(eW,{viewBox:"0 0 24 24",...e,children:[t("circle",{cx:"12",cy:"12",r:"10",className:"RadioCheckedIcon-outerCircle"}),t("circle",{cx:"12",cy:"12",r:"4",className:lp})]}),lh=tc(e_,{shouldForwardProp:e=>"isError"!==e})`
|
|
1216
|
-
padding: 5px;
|
|
1217
|
-
|
|
1218
|
-
color: ${({theme:e})=>e.palette.grey[300]};
|
|
1219
|
-
|
|
1220
|
-
border-radius: unset;
|
|
1221
|
-
|
|
1222
|
-
& > svg > .${ls} {
|
|
1223
|
-
fill: ${({theme:e})=>e.palette.common.white};
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
&:hover {
|
|
1227
|
-
background: none;
|
|
1228
|
-
|
|
1229
|
-
& > svg > .${ls} {
|
|
1230
|
-
fill: ${({theme:e})=>e.palette.grey[100]};
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
&.Mui-disabled:not(.Mui-checked) {
|
|
1235
|
-
color: ${({theme:e})=>e.palette.grey[200]};
|
|
1236
|
-
|
|
1237
|
-
& > svg > .${ls} {
|
|
1238
|
-
fill: ${({theme:e})=>e.palette.grey[200]};
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
&.Mui-checked {
|
|
1243
|
-
color: ${({theme:e})=>e.palette.primary.main};
|
|
1244
|
-
|
|
1245
|
-
&:hover {
|
|
1246
|
-
& > svg {
|
|
1247
|
-
color: ${({theme:e})=>e.palette.primary[700]};
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
&.Mui-disabled {
|
|
1252
|
-
color: ${({theme:e})=>e.palette.grey[400]};
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
& > svg > .${lp} {
|
|
1256
|
-
fill: ${({theme:e})=>e.palette.common.white};
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
${({isError:e,theme:t})=>e&&e8`
|
|
1261
|
-
&.MuiRadio-root:not(.Mui-disabled) {
|
|
1262
|
-
color: ${t.palette.red[800]};
|
|
1263
|
-
|
|
1264
|
-
&:hover {
|
|
1265
|
-
& > svg {
|
|
1266
|
-
color: ${t.palette.red[700]};
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
`}
|
|
1271
|
-
`,lu=({icon:e=t(lc,{}),checkedIcon:r=t(lg,{}),...i})=>t(lh,{icon:e,checkedIcon:r,...i}),lm=tc(ey)`
|
|
1272
|
-
margin-right: ${({theme:e})=>e.spacing(6)};
|
|
1273
|
-
margin-left: -7px;
|
|
1274
|
-
`,lf=({id:e,disabled:r,label:i,isError:o,disabledReason:n,formControlLabelProps:a,...l})=>t(r_,{title:r&&n,placement:"bottom-start",withoutContainer:!1,children:t(lm,{...a,label:i,control:t(lu,{...l,isError:o}),disabled:r})},e),ly=l({isError:!1}),lx=({children:e,isError:r})=>t(ly.Provider,{value:{isError:r},children:e}),lb=e=>{let{children:i,groupLabel:o,errorText:n,isError:a,required:l,formControlProps:d,row:s,...p}=e,c=h();return t(r_,{title:a&&n,placement:"right-start",followCursor:!0,children:r(iq,{...d,children:[o&&t(as,{id:c,required:l,children:o}),t(eB,{...p,"aria-labelledby":c,row:s,children:t(lx,{isError:a,children:i})})]})})},l$=e=>{let{isError:r}=c(ly);return t(lf,{...e,isError:r})},lv=tc(eN)`
|
|
1275
|
-
height: 5px;
|
|
1276
|
-
padding: ${({theme:e})=>e.spacing(0)};
|
|
1277
|
-
.${ts.thumb} {
|
|
1278
|
-
background-color: ${({theme:e})=>e.palette.background.default};
|
|
1279
|
-
height: 13px;
|
|
1280
|
-
width: 13px;
|
|
1281
|
-
border: 2px solid ${({theme:e})=>e.palette.primary.main};
|
|
1282
|
-
}
|
|
1283
|
-
.${ts.rail} {
|
|
1284
|
-
background-color: ${({theme:e})=>e.palette.grey[300]};
|
|
1285
|
-
height: 2px;
|
|
1286
|
-
opacity: 1;
|
|
1287
|
-
}
|
|
1288
|
-
.${ts.track} {
|
|
1289
|
-
height: 2px;
|
|
1290
|
-
}
|
|
1291
|
-
.${ts.root} {
|
|
1292
|
-
height: 2px;
|
|
1293
|
-
}
|
|
1294
|
-
.${ts.valueLabel} {
|
|
1295
|
-
background-color: ${({theme:e})=>e.palette.background.default};
|
|
1296
|
-
border: 1px solid ${({theme:e})=>e.palette.secondary.main};
|
|
1297
|
-
color: ${({theme:e})=>e.palette.secondary.main};
|
|
1298
|
-
}
|
|
1299
|
-
`,lw=e=>t(lv,{color:"primary",size:"small",...e}),lC=tc("div",{shouldForwardProp:e=>"$width"!==e})`
|
|
1300
|
-
width: ${({$width:e="100%"})=>"string"==typeof e?e:`${e}px`};
|
|
1301
|
-
display: flex;
|
|
1302
|
-
flex-direction: column;
|
|
1303
|
-
row-gap: ${({theme:e})=>e.spacing(1)};
|
|
1304
|
-
height: 100%;
|
|
1305
|
-
margin-bottom: 20px;
|
|
1306
|
-
`,lk=tc("div",{shouldForwardProp:e=>"$size"!==e})`
|
|
1307
|
-
width: 100%;
|
|
1308
|
-
padding: 0 10px;
|
|
1309
|
-
position: relative;
|
|
1310
|
-
display: grid;
|
|
1311
|
-
grid-template-columns: auto 1fr auto 1fr;
|
|
1312
|
-
align-items: center;
|
|
1313
|
-
border-width: 1px;
|
|
1314
|
-
border-style: solid;
|
|
1315
|
-
border-color: ${({theme:e})=>e.palette.grey[300]};
|
|
1316
|
-
transition: border 0.2s;
|
|
1317
|
-
padding-bottom: 2px;
|
|
1318
|
-
border-bottom: none;
|
|
1319
|
-
border-radius: ${({theme:e})=>`${e.shape.small}`};
|
|
1320
|
-
height: 100%;
|
|
1321
|
-
min-height: ${({$size:e})=>"small"===e?"32px":"40px"};
|
|
1322
|
-
column-gap: ${({theme:e})=>e.spacing(1)};
|
|
1323
|
-
&:hover {
|
|
1324
|
-
border-color: ${({theme:e})=>e.palette.grey[600]};
|
|
1325
|
-
}
|
|
1326
|
-
`,lS=tc(rp)`
|
|
1327
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
1328
|
-
`,lz=tc("span")`
|
|
1329
|
-
white-space: nowrap;
|
|
1330
|
-
color: rgba(0, 0, 0, 0.3);
|
|
1331
|
-
`,lF=tc("input")`
|
|
1332
|
-
text-align: center;
|
|
1333
|
-
width: 100%;
|
|
1334
|
-
min-width: 24px;
|
|
1335
|
-
border: none;
|
|
1336
|
-
font-size: 14px;
|
|
1337
|
-
&:focus {
|
|
1338
|
-
outline: none;
|
|
1339
|
-
border: none;
|
|
1340
|
-
}
|
|
1341
|
-
`,lP=tc("div")`
|
|
1342
|
-
position: absolute;
|
|
1343
|
-
bottom: -6px;
|
|
1344
|
-
left: 50%;
|
|
1345
|
-
transform: translateX(-50%);
|
|
1346
|
-
width: 100%;
|
|
1347
|
-
`;function lM({min:e,max:i,onChange:o,minValue:n,maxValue:a,width:l,step:d,title:s,size:p}){let[c,h]=y(e),[u,m]=y(i),f=t=>{"Enter"===t.key&&o(c>=e&&c<=i?c:e,u>=e&&u<=i?u:i)};return g(()=>{h(n||e),m(a||i)},[n,a,e,i]),r(lC,{$width:l,children:[s&&t(lS,{variant:"caption",colorIntensity:"400",children:s}),r(lk,{$size:p,children:[t(lz,{children:"от"}),t(lF,{type:"text",name:"minVal",value:c,onChange:e=>{let{value:t}=e.target;Number.isNaN(+t)||h(+t)},onKeyDown:f}),t(lz,{children:"до"}),t(lF,{type:"text",name:"minVal",value:u,onChange:e=>{let{value:t}=e.target;Number.isNaN(+t)||m(+t)},onKeyDown:f}),t(lP,{children:t(lw,{min:e,max:i,step:d,value:[c,u],onChange:(e,t)=>{Array.isArray(t)&&(h(t[0]),m(t[1]))},onChangeCommitted:(e,t)=>{Array.isArray(t)&&o(t[0],t[1])},size:"small"})})]})]})}let lT=tc(B)`
|
|
1348
|
-
color: ${({theme:e})=>e.palette.grey[600]};
|
|
1349
|
-
`,lA=tc(rk,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
|
|
1350
|
-
opacity: ${({$isActive:e})=>+!!e};
|
|
1351
|
-
|
|
1352
|
-
&:hover {
|
|
1353
|
-
background-color: transparent;
|
|
1354
|
-
|
|
1355
|
-
svg {
|
|
1356
|
-
stroke: ${({theme:e})=>e.palette.grey["700"]};
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
`,lI=tc(iu)`
|
|
1360
|
-
& .MuiFormHelperText-root {
|
|
1361
|
-
display: none;
|
|
1362
|
-
}
|
|
1363
|
-
`,lD=tc(j)`
|
|
1364
|
-
width: 16px;
|
|
1365
|
-
height: 16px;
|
|
1366
|
-
stroke: ${({theme:e})=>e.palette.grey["500"]};
|
|
1367
|
-
`,lO=s(({margin:e="none",placeholder:r="Поиск",onChange:i,disabled:o,value:n,defaultValue:a,delay:l=600,...d},s)=>{let[p,c]=y(`${a||n||""}`),g=f(null),h=f(null),u=!!p.length;return t(lI,{margin:e,placeholder:r,startAdornment:t(lT,{onClick:()=>{h.current?.focus()}}),disabled:o,endAdornment:t(lA,{variant:"text",onClick:()=>{c(""),h.current&&(h.current.value=""),g.current&&clearTimeout(g.current);let e=new InputEvent("input",{bubbles:!0,cancelable:!0});Object.defineProperty(e,"target",{writable:!0,value:h.current}),i?.(e),h.current?.focus()},disabled:o||!u,$isActive:u,children:t(lD,{})}),onChange:e=>{c(e.target.value),g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{i?.(e)},l)},value:p,ref:s,inputRef:h,...d})}),lL=tc(t3,{shouldForwardProp:e=>!["active","collapsed"].includes(e.toString())})`
|
|
1368
|
-
height: 32px;
|
|
1369
|
-
width: 100%;
|
|
1370
|
-
display: grid;
|
|
1371
|
-
grid-template-columns: auto 1fr auto;
|
|
1372
|
-
align-items: center;
|
|
1373
|
-
background-color: ${({theme:e,active:t})=>t?e.palette.action.selected:"transparent"};
|
|
1374
|
-
color: inherit;
|
|
1375
|
-
font-size: inherit;
|
|
1376
|
-
gap: ${({collapsed:e,theme:t})=>e?0:t.spacing(2)};
|
|
1377
|
-
padding: ${({theme:e})=>e.spacing(1)};
|
|
1378
|
-
transition: ${({theme:e})=>e.transitions.create("gap",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})};
|
|
1379
|
-
&:hover {
|
|
1380
|
-
color: inherit;
|
|
1381
|
-
background-color: ${({theme:e,active:t})=>t?e.palette.action.selected:e.palette.action.hover};
|
|
1382
|
-
}
|
|
1383
|
-
span {
|
|
1384
|
-
margin: 0;
|
|
1385
|
-
}
|
|
1386
|
-
`,l_=tc(lL)`
|
|
1387
|
-
margin-left: ${({theme:e})=>e.spacing(10)};
|
|
1388
|
-
width: ${({theme:e})=>`calc(100% - ${e.spacing(10)})`};
|
|
1389
|
-
&:before {
|
|
1390
|
-
content: '';
|
|
1391
|
-
position: absolute;
|
|
1392
|
-
top: 0;
|
|
1393
|
-
left: -20px;
|
|
1394
|
-
width: 1px;
|
|
1395
|
-
height: 100%;
|
|
1396
|
-
background-color: ${({theme:e})=>e.palette.divider};
|
|
1397
|
-
z-index: 4;
|
|
1398
|
-
}
|
|
1399
|
-
`,lB=tc("p",{shouldForwardProp:e=>"collapsed"!==e})`
|
|
1400
|
-
margin: 0;
|
|
1401
|
-
overflow: hidden;
|
|
1402
|
-
width: ${({collapsed:e})=>e?0:"100%"};
|
|
1403
|
-
text-overflow: ellipsis;
|
|
1404
|
-
white-space: nowrap;
|
|
1405
|
-
text-align: left;
|
|
1406
|
-
transition: ${({theme:e})=>e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})};
|
|
1407
|
-
`,lR=tc("div")`
|
|
1408
|
-
display: flex;
|
|
1409
|
-
justify-content: center;
|
|
1410
|
-
align-items: center;
|
|
1411
|
-
width: 32px;
|
|
1412
|
-
height: 100%;
|
|
1413
|
-
svg {
|
|
1414
|
-
justify-self: center;
|
|
1415
|
-
max-width: 100%;
|
|
1416
|
-
max-height: 100%;
|
|
1417
|
-
}
|
|
1418
|
-
`,lE=({collapsed:e,icon:i,active:o,label:n,subItems:a,onClick:l,id:d,component:s="li"})=>{let[p,c]=y(!1);return a?r("li",{children:[t(r_,{withoutContainer:!0,placement:"right",title:e?n:void 0,children:r(lL,{active:o,collapsed:e,onClick:()=>c(!p),endIcon:!e&&t(ra,{isActive:p}),children:[t(lR,{children:i}),t(lB,{collapsed:e,children:n})]})}),t(rl,{in:p&&!e,children:t(aw,{disablePadding:!0,children:a.map(r=>t(l_,{collapsed:e,component:r.component||"li",onClick:r.onClick,active:r.active,children:t(lB,{collapsed:e,children:r.label})},r.id))})})]},d):t(r_,{withoutContainer:!0,placement:"right",title:e?n:void 0,children:r(lL,{collapsed:e,component:s,active:o,onClick:l,children:[t(lR,{children:i}),t(lB,{collapsed:e,children:n})]})},d)},lN=tc("nav")`
|
|
1419
|
-
width: auto;
|
|
1420
|
-
overflow: hidden auto;
|
|
1421
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
1422
|
-
font-size: ${({theme:e})=>e.typography.body1.fontSize};
|
|
1423
|
-
button {
|
|
1424
|
-
color: inherit;
|
|
1425
|
-
font-size: inherit;
|
|
1426
|
-
}
|
|
1427
|
-
`,lW=({items:e})=>{let{collapsed:r}=oX();return t(lN,{children:t(aw,{disablePadding:!0,children:e.map(e=>d(lE,{...e,key:e.id,collapsed:r}))})})},lH=tc(t3,{shouldForwardProp:e=>"collapsed"!==e})`
|
|
1428
|
-
font-size: ${({theme:e})=>e.typography.h5.fontSize};
|
|
1429
|
-
font-weight: ${({theme:e})=>e.typography.body1.fontWeight};
|
|
1430
|
-
justify-content: flex-start;
|
|
1431
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
1432
|
-
gap: 0;
|
|
1433
|
-
width: 100%;
|
|
1434
|
-
height: 36px;
|
|
1435
|
-
|
|
1436
|
-
&:hover,
|
|
1437
|
-
&:active {
|
|
1438
|
-
color: unset;
|
|
1439
|
-
background-color: unset;
|
|
1440
|
-
}
|
|
1441
|
-
svg {
|
|
1442
|
-
max-width: 24px;
|
|
1443
|
-
max-height: 24px;
|
|
1444
|
-
}
|
|
1445
|
-
`,lj=tc(rp)`
|
|
1446
|
-
overflow: hidden;
|
|
1447
|
-
text-overflow: ellipsis;
|
|
1448
|
-
white-space: nowrap;
|
|
1449
|
-
margin-left: ${({theme:e})=>e.spacing(3)};
|
|
1450
|
-
`,lV=e=>{let{logo:i,name:o,variant:n="text",...a}=e,{collapsed:l}=oX();return r(lH,{...a,variant:n,children:[t(i,{}),t(rl,{orientation:"horizontal",in:!l,children:t(lj,{variant:"h4",color:"grey",colorIntensity:"700",children:o})})]})},lG=tc(eE)`
|
|
1451
|
-
background-color: ${({theme:e})=>eJ(e.palette.grey[900],.12)};
|
|
1452
|
-
|
|
1453
|
-
&.${td.text} {
|
|
1454
|
-
border-radius: ${({theme:e})=>e.shape.medium};
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
&.${td.rounded} {
|
|
1458
|
-
border-radius: ${({theme:e})=>e.shape.medium};
|
|
1459
|
-
}
|
|
1460
|
-
`,lY=e=>t(lG,{...e}),lU=tc(eH)`
|
|
1461
|
-
.Mui-focusVisible {
|
|
1462
|
-
border: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
1463
|
-
}
|
|
1464
|
-
${`.${th.track}`}::before {
|
|
1465
|
-
display: none;
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
${`.${th.track}`}::after {
|
|
1469
|
-
display: none;
|
|
1470
|
-
}
|
|
1471
|
-
`,lK=s((e,r)=>t(lU,{ref:r,...e})),lq=tc(ej)`
|
|
1472
|
-
min-height: 36px;
|
|
1473
|
-
margin-right: ${({theme:e})=>e.spacing(4)};
|
|
1474
|
-
padding: 0;
|
|
1475
|
-
|
|
1476
|
-
line-height: 20px;
|
|
1477
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
1478
|
-
|
|
1479
|
-
&:last-child {
|
|
1480
|
-
margin-right: 0;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
&:hover {
|
|
1484
|
-
color: ${({theme:e})=>e.palette.primary[800]};
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
&:active {
|
|
1488
|
-
color: ${({theme:e})=>e.palette.primary[900]};
|
|
1489
|
-
}
|
|
1490
|
-
`,lJ=e=>t(lq,{...e}),lX=tc("div")`
|
|
1491
|
-
display: flex;
|
|
1492
|
-
flex-direction: column;
|
|
1493
|
-
align-items: flex-start;
|
|
1494
|
-
|
|
1495
|
-
width: 100%;
|
|
1496
|
-
`,lZ=tc("div")`
|
|
1497
|
-
position: relative;
|
|
1498
|
-
z-index: -1;
|
|
1499
|
-
bottom: 2px;
|
|
1500
|
-
|
|
1501
|
-
width: 100%;
|
|
1502
|
-
height: 2px;
|
|
1503
|
-
|
|
1504
|
-
background-color: ${e=>e.theme.palette.grey[200]};
|
|
1505
|
-
`,lQ=({nextFeatureFlags:e,...i})=>e?.hasBottomDivider?r(lX,{children:[t(eV,{...i}),t(lZ,{})]}):t(eV,{...i}),l0=tc(iC)`
|
|
1506
|
-
vertical-align: text-top;
|
|
1507
|
-
|
|
1508
|
-
&span.MuiBadge-badge {
|
|
1509
|
-
position: static;
|
|
1510
|
-
transform: none;
|
|
1511
|
-
|
|
1512
|
-
box-sizing: content-box;
|
|
1513
|
-
height: 16px;
|
|
1514
|
-
}
|
|
1515
|
-
`,l1=({color:e="primary",checked:r,disabled:i,checkedColor:o,...n})=>t(l0,{withBorder:!1,color:(({disabled:e,checked:t,checkedColor:r,color:i})=>e?"grey":t?r||"white":i)({disabled:i,checked:r,checkedColor:o,color:e}),...n}),l2=({rows:e=7,...r})=>t(iu,{multiline:!0,rows:e,...r}),l3=e=>{let{children:i,theme:o}=e;return r(eY,{theme:o,children:[t(ed,{}),i]})},l8=({form:e,children:r,...i})=>t(tL,{...e,children:t("form",{noValidate:!0,...i,children:r})}),l4=({control:e,name:r,...i})=>t(tO,{control:e,name:r,render:({field:e,fieldState:r})=>t(iy,{...i,...e,onChange:t=>e.onChange?.(t),onInputChange:(t,r,o)=>{i.freeSolo&&"input"===o&&e.onChange?.(r),i.onInputChange?.(t,r,o)},error:!!r.error,helperText:r.error?.message})}),l6=({name:e,control:r,...i})=>t(tO,{name:e,control:r,render:({field:e,fieldState:r})=>t(i0,{checked:!!e.value,...i,...e,isError:!!r.error,helperText:r.error?.message})});function l5({name:e,control:r,ref:i,...o}){return t(tO,{control:r,name:e,render:({field:e,fieldState:r})=>t(nj,{...o,...e,error:!!r.error,helperText:r.error?.message})})}let l9=({name:e,control:r,...i})=>t(tO,{name:e,control:r,render:({field:e,fieldState:r})=>t(nB,{...i,...e,error:!!r.error,helperText:r.error?.message})}),l7=({mode:e="onBlur",...t}={})=>tR({...t,mode:e}),de=({children:e,loading:r,...i})=>{let{formState:o}=tE();return t(t3,{type:"submit",loading:r||o.isSubmitting,...i,children:e})};function dt({name:e,control:r,gridArea:i,...o}){return t(tO,{control:r,name:e,render:({field:e,fieldState:r})=>t(iu,{...o,...e,style:{gridArea:i},value:e.value||"",error:!!r.error,helperText:r.error?.message})})}var dr=":",di="—",dn=44,da="notify",dl=36,dd=4;export{rm as Accordion,rN as ActionCell,rK as ActionGroup,rZ as Alert,ib as AsyncAutocomplete,iy as Autocomplete,iv as Avatar,iC as Badge,rM as BottomDrawer,q as Breadcrumbs,t3 as Button,X as ButtonBase,tJ as ButtonColors,Z as ButtonGroup,tZ as ButtonSizes,tQ as ButtonStates,tX as ButtonVariants,iI as Calendar,Q as Card,ee as CardActions,et as CardContent,er as CardHeader,iK as Carousel,rQ as Checkbox,i0 as CheckboxField,ra as Chevron,t0 as CircularProgress,rl as Collapse,i8 as ConfigContext,i4 as ConfigProvider,or as ConfirmAction,om as ConfirmDialog,r6 as Container,oE as ContentState,oH as CopyTypography,r3 as DEFAULT_ROWS_COUNT,nY as DESCRIPTION_ROOT_CLASSNAME,oJ as DashboardLayout,ny as DataGrid,nw as DataGridActionCell,nH as DataGridPagination,nG as DatePicker,n1 as Description,n5 as DescriptionList,n7 as DescriptionTooltip,ol as Dialog,os as DialogActions,oc as DialogContent,oh as DialogContentText,ar as DialogHeader,oi as DialogTitle,ai as Divider,rW as DropdownButton,oB as ErrorBoundary,al as Filename,l8 as Form,l4 as FormAutocomplete,l6 as FormCheckbox,iq as FormControl,iX as FormControlLabel,tO as FormController,ih as FormHelperText,ig as FormHelperTextContent,as as FormLabel,l5 as FormMaskField,tL as FormProvider,l9 as FormSelect,de as FormSubmitButton,dt as FormTextField,n2 as GuidTypography,nd as Head,rk as IconButton,rD as IconDropdownButton,ok as Image,ab as InputOTP,oD as InternalErrorPlaceholder,tH as LOADING_BUTTON_CLASSNAME,av as Link,aw as List,aS as ListItem,az as ListItemButton,aP as ListItemIcon,aM as ListItemText,aT as ListSubheader,nj as MaskField,rI as Menu,rB as MenuItem,rA as MenuList,aI as NOTIFICATION_POSITIONS,aD as Notification,aE as NotificationContainer,aA as NotificationVariantTypes,oO as OutdatedReleasePlaceholder,r8 as OverflowTypography,a0 as PageLayout,nC as Pagination,a1 as Paper,a7 as PeriodPicker,oI as Placeholder,i6 as Popover,ll as Profile,ld as ProgressBar,lu as Radio,lf as RadioField,lb as RadioGroup,ly as RadioGroupContext,l$ as RadioGroupField,lM as RangeInput,o6 as Row,lO as SearchField,nB as Select,lW as SidebarNav,lV as SidebarProduct,lY as Skeleton,lw as Slider,nt as SortStates,lK as Switch,lJ as Tab,lQ as Tabs,ia as Tag,l1 as TagBadge,nP as TagsList,l2 as TextArea,iu as TextField,l3 as ThemeProvider,r_ as Tooltip,rp as Typography,eZ as buttonClasses,eQ as cardActionsClasses,e0 as cardClasses,e1 as cardContentClasses,e2 as cardHeaderClasses,rt as componentsColors,ro as createTheme,re as elevation,rr as getPalette,tt as keyframes,aO as notification,oS as setDefaultImageStyles,ri as shape,tc as styled,oX as useDashboard,l7 as useForm,tE as useFormContext,t_ as useFormController,tB as useFormFieldArray,tN as useFormWatch,ry as useMenu,rx as usePopover,tf as useTheme,rb as useToggle,r$ as useViewportType,dr as DEFAULT_SEPARATOR,di as DEFAULT_SYMBOL,dn as MIN_ROW_HEIGHT,da as NOTIFY_CLASSNAME,dl as ROOT_ACTION_CELL_WIDTH,dd as SPACING};
|