@m4l/components 9.2.55 → 9.2.56-beta.2
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/.storybook/utils/flattenDeep.d.ts +8 -0
- package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
- package/@types/augmentations.d.ts +1 -1
- package/@types/types.d.ts +10 -9
- package/components/AccountPopover/AccountPopover.js +3 -4
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +13 -14
- package/components/AccountPopover/types.d.ts +2 -2
- package/components/AppBar/AppBar.js +6 -9
- package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
- package/components/AppBar/styles.js +2 -1
- package/components/AppBar/types.d.ts +2 -2
- package/components/Chip/ChipStyles.js +12 -12
- package/components/Chip/slots/ChipSlots.d.ts +6 -6
- package/components/Color/Color.styles.js +11 -11
- package/components/Color/slots/ColorSlots.d.ts +5 -5
- package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +0 -1
- package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
- package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
- package/components/DataGrid/DataGrid.js +29 -7
- package/components/DataGrid/Datagrid.styles.js +598 -0
- package/components/DataGrid/constants.d.ts +1 -0
- package/components/DataGrid/constants.js +2 -0
- package/components/DataGrid/contexts/DataGridContext/index.js +23 -5
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +4 -0
- package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +0 -2
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
- package/components/DataGrid/icons.d.ts +1 -0
- package/components/DataGrid/icons.js +4 -3
- package/components/DataGrid/slots/DataGridEnum.d.ts +6 -0
- package/components/DataGrid/slots/DataGridEnum.js +10 -2
- package/components/DataGrid/slots/DataGridSlot.d.ts +9 -0
- package/components/DataGrid/slots/DataGridSlot.js +35 -14
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +5 -0
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +30 -0
- package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +2 -0
- package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +7 -0
- package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +5 -0
- package/components/DataGrid/subcomponents/HeaderActions/index.js +39 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.js +4 -3
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +3 -2
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +5 -2
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +33 -23
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +4 -1
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +12 -7
- package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +4 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -3
- package/components/DataGrid/subcomponents/Table/index.js +4 -4
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +12 -3
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +28 -13
- package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +4 -2
- package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
- package/components/DataGrid/types.d.ts +20 -3
- package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
- package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +3 -5
- package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
- package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -3
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -4
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
- package/components/DynamicSort/DynamicSort.styles.js +13 -13
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
- package/components/DynamicSort/store/DynamicSortStore.js +2 -2
- package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +4 -5
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -3
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
- package/components/GridLayout/styles.js +4 -82
- package/components/HelperError/HelperError.styles.js +4 -4
- package/components/Icon/Icon.js +1 -1
- package/components/Icon/Icon.styles.js +10 -10
- package/components/Image/Image.js +1 -1
- package/components/Image/image.styles.js +1 -1
- package/components/Image/slots/ImageSlots.d.ts +12 -12
- package/components/Image/subcomponents/IntersectComponent/index.js +0 -1
- package/components/Image/types.d.ts +2 -2
- package/components/Label/Label.styles.js +11 -11
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
- package/components/LoadingError/LoadingError.js +1 -2
- package/components/MenuActions/MenuActions.js +4 -4
- package/components/MenuActions/MenuActions.styles.js +4 -4
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
- package/components/MenuActions/types.d.ts +3 -3
- package/components/NoItemSelected/NoItemSelected.js +3 -5
- package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
- package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
- package/components/NumberInput/NumberInput.styles.js +20 -20
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/hooks/useDetailFormatter.js +3 -2
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -3
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -3
- package/components/ObjectLogs/types.d.ts +2 -2
- package/components/Pager/Pager.js +2 -3
- package/components/Pager/Pager.styles.js +13 -12
- package/components/Pager/index.d.ts +2 -0
- package/components/Pager/slots/PagerEnum.d.ts +2 -1
- package/components/Pager/slots/PagerEnum.js +1 -0
- package/components/Pager/slots/PagerSlots.d.ts +1 -0
- package/components/Pager/slots/PagerSlots.js +7 -2
- package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +16 -18
- package/components/Pager/subcomponents/PagerActions/PagerActions.js +4 -2
- package/components/Pager/subcomponents/PagerActions/types.d.ts +1 -0
- package/components/PaperForm/components/Header.js +2 -2
- package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
- package/components/PaperForm/styles.js +7 -7
- package/components/PaperForm/types.d.ts +2 -2
- package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
- package/components/PrintingSystem/subcomponents/BodyNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/ChartNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/DividerNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/FooterNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/GridNode/index.js +0 -5
- package/components/PrintingSystem/subcomponents/HeaderNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/PageNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/PaperNode/index.js +0 -5
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +0 -2
- package/components/PrintingSystem/subcomponents/SectionNode/index.js +0 -1
- package/components/PrintingSystem/types.d.ts +2 -2
- package/components/PropertyValue/PropertyValue.js +3 -4
- package/components/PropertyValue/PropertyValue.styles.js +3 -3
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
- package/components/ScrollBar/ScrollBar.d.ts +3 -3
- package/components/ScrollBar/ScrollBar.js +5 -45
- package/components/ScrollBar/ScrollBar.styles.js +5 -52
- package/components/ScrollBar/constants.d.ts +4 -2
- package/components/ScrollBar/constants.js +2 -5
- package/components/ScrollBar/index.d.ts +2 -0
- package/components/ScrollBar/index.js +1 -0
- package/components/ScrollBar/slots/ScrollBarSlots.d.ts +1 -6
- package/components/ScrollBar/slots/ScrollBarSlots.js +7 -13
- package/components/ScrollBar/slots/ScrollbarEnum.d.ts +3 -0
- package/components/ScrollBar/slots/ScrollbarEnum.js +7 -0
- package/components/ScrollBar/types.d.ts +12 -42
- package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
- package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
- package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentGroups/styles.js +11 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -10
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +0 -1
- package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
- package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
- package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -1
- package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
- package/components/SideBar/types.d.ts +9 -2
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowBase/WindowBase.js +8 -6
- package/components/WindowBase/WindowBase.styles.js +208 -107
- package/components/WindowBase/icons.js +2 -2
- package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
- package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +18 -23
- package/components/WindowBase/slots/WindowBaseSlots.js +13 -12
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +22 -12
- package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +5 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +9 -0
- package/components/WindowBase/types.d.ts +10 -0
- package/components/WindowConfirm/WindowConfirm.js +2 -3
- package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
- package/components/areas/components/AreasAdmin/AreasAdmin.js +12 -17
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +13 -21
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +22 -22
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +3 -4
- package/components/areas/components/AreasAdmin/types.d.ts +1 -1
- package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
- package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
- package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +8 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +7 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +0 -1
- package/components/areas/contexts/AreasContext/index.js +1 -1
- package/components/areas/contexts/AreasContext/store.js +1 -1
- package/components/areas/contexts/AreasContext/types.d.ts +1 -1
- package/components/areas/icons.d.ts +2 -2
- package/components/areas/icons.js +4 -4
- package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
- package/components/commercial/SectionCommercial/classes/index.js +3 -3
- package/components/commercial/SectionCommercial/types.d.ts +1 -1
- package/components/extended/React-Resizable/helpers.d.ts +2 -9
- package/components/extended/React-Resizable/helpers.js +15 -13
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +0 -1
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
- package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
- package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
- package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
- package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +7 -7
- package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
- package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
- package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
- package/components/hook-form/RHFDateTime/types.d.ts +1 -1
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
- package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
- package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
- package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +9 -10
- package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +21 -21
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +2 -7
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +5 -6
- package/components/index.d.ts +2 -0
- package/components/mui_extended/Accordion/Accordion.js +31 -21
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
- package/components/mui_extended/Accordion/styles.js +56 -33
- package/components/mui_extended/Accordion/types.d.ts +39 -6
- package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
- package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +16 -16
- package/components/mui_extended/Avatar/Avatar.js +1 -1
- package/components/mui_extended/Avatar/styles.js +3 -3
- package/components/mui_extended/Badge/Badge.js +14 -8
- package/components/mui_extended/Badge/Badge.styles.js +23 -33
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
- package/components/mui_extended/Badge/slots/BadgeSlots.js +2 -2
- package/components/mui_extended/Badge/types.d.ts +4 -3
- package/components/mui_extended/Button/ButtonStyles.js +25 -25
- package/components/mui_extended/CheckBox/CheckBox.js +2 -2
- package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
- package/components/mui_extended/CheckBox/types.d.ts +2 -2
- package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
- package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +10 -10
- package/components/mui_extended/Divider/Divider.js +1 -2
- package/components/mui_extended/Divider/Divider.styles.js +9 -9
- package/components/mui_extended/IconButton/IconButton.js +39 -12
- package/components/mui_extended/IconButton/IconButton.styles.js +64 -54
- package/components/mui_extended/IconButton/helpers/evalIconColor.d.ts +1 -1
- package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
- package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -7
- package/components/mui_extended/IconButton/slots/IconButtonSlots.js +4 -3
- package/components/mui_extended/IconButton/types.d.ts +10 -8
- package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
- package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
- package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
- package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
- package/components/mui_extended/MenuItem/types.d.ts +8 -3
- package/components/mui_extended/NavLink/NavLink.js +1 -2
- package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
- package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
- package/components/mui_extended/Popover/Popover.js +0 -1
- package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
- package/components/mui_extended/Popover/types.d.ts +3 -3
- package/components/mui_extended/Popper/PopperStyles.js +1 -1
- package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/mui_extended/Select/Select.js +2 -3
- package/components/mui_extended/Select/Select.styles.js +10 -10
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
- package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
- package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
- package/components/mui_extended/Stack/Stack.js +4 -2
- package/components/mui_extended/Stack/Stack.styles.js +7 -4
- package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.js +2 -0
- package/components/mui_extended/Tab/Tab.styles.js +26 -48
- package/components/mui_extended/Tab/types.d.ts +4 -0
- package/components/mui_extended/TabContent/TabContent.js +1 -1
- package/components/mui_extended/TabContent/TabContent.styles.js +2 -4
- package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
- package/components/mui_extended/TabContent/types.d.ts +2 -2
- package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
- package/components/mui_extended/TextField/TextField.styles.js +22 -22
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +8 -8
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +12 -5
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +21 -11
- package/components/mui_extended/ToggleIconButton/constants.d.ts +7 -0
- package/components/mui_extended/ToggleIconButton/constants.js +3 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/types.d.ts +9 -3
- package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
- package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
- package/components/mui_extended/Typography/typography.styles.js +7 -7
- package/components/mui_extended/index.d.ts +0 -2
- package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +7 -9
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +2 -0
- package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
- package/hooks/useComponentSize/useComponentSize.js +5 -2
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
- package/hooks/useDynamicFilterAndSort/styles.js +7 -13
- package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +4 -21
- package/index.js +43 -42
- package/package.json +3 -3
- package/storybook/components/Chip/Chip.stories.d.ts +4 -0
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +16 -0
- package/storybook/components/Icon/Icon.stories.d.ts +4 -0
- package/storybook/components/WindowBase/windowBase.stories.d.ts +60 -7
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
- package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +4 -0
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +12 -0
- package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
- package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +12 -0
- package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +9 -0
- package/storybook/tootls/WrapperLineGuide/styles.d.ts +1 -0
- package/storybook/tootls/WrapperLineGuide/types.d.ts +5 -0
- package/components/DataGrid/styles.js +0 -484
- package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -5
- package/components/DataGrid/subcomponents/Actions/index.js +0 -48
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -6
- package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -13
- package/components/ScrollBar/slots/ScrollBarEnum.d.ts +0 -4
- package/components/ScrollBar/slots/ScrollBarEnum.js +0 -8
- package/components/ScrollBar/slots/index.d.ts +0 -2
- package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +0 -7
- package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +0 -11
- /package/components/DataGrid/{styles.d.ts → Datagrid.styles.d.ts} +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/types.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/types.d.ts +0 -0
- /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
|
@@ -1,49 +1,19 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/material';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
* Props for the ScrollBar component.
|
|
9
|
-
*/
|
|
10
|
-
export interface ScrollBarProps extends SimpleProps {
|
|
2
|
+
import { ScrollbarSlots } from './slots/ScrollbarEnum';
|
|
3
|
+
import { SCROLL_BAR_KEY_COMPONENTS } from './constants';
|
|
4
|
+
import { Theme } from '@mui/material';
|
|
5
|
+
import { M4LOverridesStyleRules } from '../../@types/augmentations';
|
|
6
|
+
export interface ScrollBarProps {
|
|
11
7
|
/**
|
|
12
|
-
*
|
|
8
|
+
* ScrollBar children
|
|
13
9
|
*/
|
|
14
10
|
children: ReactNode;
|
|
15
11
|
/**
|
|
16
|
-
*
|
|
12
|
+
* ScrollBar hide tracks
|
|
13
|
+
* @deprecated
|
|
17
14
|
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The orientation of the ScrollBar.
|
|
21
|
-
* @default 'vertical'
|
|
22
|
-
*/
|
|
23
|
-
orientation?: 'vertical' | 'horizontal';
|
|
24
|
-
/**
|
|
25
|
-
* The class name of the ScrollBar.
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The data-testid attribute for testing purposes.
|
|
30
|
-
*/
|
|
31
|
-
dataTestId?: string;
|
|
15
|
+
autoHide?: boolean;
|
|
32
16
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export type ownerState = ScrollBarProps;
|
|
37
|
-
/**
|
|
38
|
-
* The owner state for the ScrollBar component.
|
|
39
|
-
* @deprecated This type is redundant and can be removed.
|
|
40
|
-
*/
|
|
41
|
-
export type ScrollBarOwnerState = ScrollBarProps & {};
|
|
42
|
-
/**
|
|
43
|
-
* The type for the ScrollBar slots.
|
|
44
|
-
*/
|
|
45
|
-
export type ScrollBarSlotsType = keyof typeof ScrollBarSlots;
|
|
46
|
-
/**
|
|
47
|
-
* The styles for the ScrollBar component.
|
|
48
|
-
*/
|
|
49
|
-
export type ScrollBarStyles = OverridesStyleRules<ScrollBarSlots, typeof SCROLL_KEY_COMPONENT, Theme>;
|
|
17
|
+
export type ScrollBarSlotsType = keyof typeof ScrollbarSlots;
|
|
18
|
+
export type ScrollBarOwnerState = {};
|
|
19
|
+
export type ScrollBarStyles = M4LOverridesStyleRules<ScrollbarSlots, typeof SCROLL_BAR_KEY_COMPONENTS, Theme>;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
export declare const ContainerDesktopRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
2
|
-
ownerState
|
|
1
|
+
export declare const ContainerDesktopRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
|
|
4
|
-
export declare const ContainerDesktopContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
5
|
-
ownerState
|
|
4
|
+
export declare const ContainerDesktopContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
6
6
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
|
-
export declare const ContainerBtnAnchoredStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
8
|
-
ownerState
|
|
7
|
+
export declare const ContainerBtnAnchoredStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
9
9
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
|
-
export declare const ContainerContentGroupsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
11
|
-
ownerState
|
|
10
|
+
export declare const ContainerContentGroupsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
11
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
12
12
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
|
|
13
|
-
export declare const ContainerContentGroupsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
14
|
-
ownerState
|
|
13
|
+
export declare const ContainerContentGroupsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
14
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
15
15
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
|
|
16
|
-
export declare const ContainerContentTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
17
|
-
ownerState
|
|
16
|
+
export declare const ContainerContentTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
17
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
18
18
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
19
|
-
export declare const ContainerContentNavItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
20
|
-
ownerState
|
|
19
|
+
export declare const ContainerContentNavItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
20
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
|
|
22
|
-
export declare const ContainerContentItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
23
|
-
ownerState
|
|
22
|
+
export declare const ContainerContentItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
23
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
24
24
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
25
|
-
export declare const ContainerArrowIconRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
26
|
-
ownerState
|
|
25
|
+
export declare const ContainerArrowIconRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
26
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
27
27
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
28
|
-
export declare const ContainerHeaderSidebarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
29
|
-
ownerState
|
|
28
|
+
export declare const ContainerHeaderSidebarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
29
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
30
30
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
|
|
31
|
-
export declare const ContainerTitleSubtitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
32
|
-
ownerState
|
|
31
|
+
export declare const ContainerTitleSubtitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
32
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
33
33
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
34
|
-
export declare const ContainerFooterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
35
|
-
ownerState
|
|
34
|
+
export declare const ContainerFooterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
35
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
36
36
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
37
|
-
export declare const ContainerSideBarMobileStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
38
|
-
ownerState
|
|
37
|
+
export declare const ContainerSideBarMobileStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
38
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
39
39
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
40
|
-
export declare const ContentComponentRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
41
|
-
ownerState
|
|
40
|
+
export declare const ContentComponentRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
41
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
42
42
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
43
|
-
export declare const ContentComponentHideStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
44
|
-
ownerState
|
|
43
|
+
export declare const ContentComponentHideStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
44
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
45
45
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
46
|
-
export declare const ContainerComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
47
|
-
ownerState
|
|
46
|
+
export declare const ContainerComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
47
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
48
48
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
49
|
-
export declare const ContainerMenuItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
50
|
-
ownerState
|
|
49
|
+
export declare const ContainerMenuItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
50
|
+
ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
|
|
51
51
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const contentComponentStyles:
|
|
1
|
+
import { ContentComponentStyles } from '../../types';
|
|
2
|
+
export declare const contentComponentStyles: ContentComponentStyles;
|
|
@@ -18,11 +18,11 @@ const contentComponentStyles = {
|
|
|
18
18
|
height: "100%",
|
|
19
19
|
overflow: "hidden",
|
|
20
20
|
transition: "all 0.5s",
|
|
21
|
-
...!ownerState
|
|
22
|
-
width: ownerState?.anchored && ownerState
|
|
21
|
+
...!ownerState?.anchored && {
|
|
22
|
+
width: ownerState?.anchored && ownerState?.isDesktop ? ownerState?.expandedWidth : !ownerState?.isDesktop ? "100%" : theme.vars.size.baseSpacings.sp4,
|
|
23
23
|
"&:hover": {
|
|
24
24
|
transition: "all 0.5s",
|
|
25
|
-
width: ownerState
|
|
25
|
+
width: ownerState?.expandedWidth,
|
|
26
26
|
contentVisibility: "visible",
|
|
27
27
|
'& [class*="containerFooter"]': {
|
|
28
28
|
borderWidth: theme.vars.size.baseSpacings["sp0-5"]
|
|
@@ -35,7 +35,7 @@ const contentComponentStyles = {
|
|
|
35
35
|
*/
|
|
36
36
|
containerComponent: ({ ownerState }) => ({
|
|
37
37
|
height: "100%",
|
|
38
|
-
width: ownerState
|
|
38
|
+
width: ownerState?.expandedWidth
|
|
39
39
|
})
|
|
40
40
|
};
|
|
41
41
|
export {
|
|
@@ -17,10 +17,10 @@ const ContentGroups = (contentGroupsProps) => {
|
|
|
17
17
|
noItems: menuData.length === 0
|
|
18
18
|
};
|
|
19
19
|
const renderTitle = (title) => {
|
|
20
|
-
return /* @__PURE__ */ jsx(ContainerContentTitleStyled, {
|
|
20
|
+
return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { children: /* @__PURE__ */ jsx(Typography, { variant: "bodyDens", skeletonWidth: "100px", children: title }) });
|
|
21
21
|
};
|
|
22
22
|
const renderItems = (item) => {
|
|
23
|
-
return /* @__PURE__ */ jsx(ContainerContentNavItemsStyled, {
|
|
23
|
+
return /* @__PURE__ */ jsx(ContainerContentNavItemsStyled, { children: item?.map((list) => /* @__PURE__ */ jsx(ContainerMenuItemsMain, { item: list, openSubItem: true, size: currentSize }, list.title)) });
|
|
24
24
|
};
|
|
25
25
|
const renderItemsDisabled = () => {
|
|
26
26
|
return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { ownerState: { disabled: true }, children: /* @__PURE__ */ jsx(
|
|
@@ -39,7 +39,7 @@ const ContentGroups = (contentGroupsProps) => {
|
|
|
39
39
|
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("content-groups") } : {},
|
|
40
40
|
children: menuData.length > 0 ? menuData.map((itemGroup) => (
|
|
41
41
|
/* Render title section in menusidebar */
|
|
42
|
-
/* @__PURE__ */ jsxs(ContainerContentGroupsStyled, {
|
|
42
|
+
/* @__PURE__ */ jsxs(ContainerContentGroupsStyled, { children: [
|
|
43
43
|
renderTitle(itemGroup.title),
|
|
44
44
|
renderItems(itemGroup.children)
|
|
45
45
|
] }, itemGroup.title)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const contentGroupStyles:
|
|
1
|
+
import { ContentGroupsStyles } from '../../types';
|
|
2
|
+
export declare const contentGroupStyles: ContentGroupsStyles;
|
|
@@ -10,7 +10,7 @@ const contentGroupStyles = {
|
|
|
10
10
|
overflowY: "auto",
|
|
11
11
|
padding: `${theme.vars.size.baseSpacings.sp3} 0px 0px 0px`,
|
|
12
12
|
alignItems: "center",
|
|
13
|
-
justifyContent: ownerState
|
|
13
|
+
justifyContent: ownerState?.noItems ? "center" : "flex-start"
|
|
14
14
|
}),
|
|
15
15
|
/**
|
|
16
16
|
* Wrapper for every principal item group in the sidebar
|
|
@@ -29,7 +29,7 @@ const contentGroupStyles = {
|
|
|
29
29
|
color: theme.vars.palette.text.primary,
|
|
30
30
|
textAlign: "left",
|
|
31
31
|
"& .MuiTypography-root": {
|
|
32
|
-
color: !ownerState
|
|
32
|
+
color: !ownerState?.disabled ? theme.vars.palette.text.primary : `${theme.vars.palette.text.primary} !important`
|
|
33
33
|
}
|
|
34
34
|
}),
|
|
35
35
|
/**
|
|
@@ -52,6 +52,15 @@ const contentGroupStyles = {
|
|
|
52
52
|
alignItems: "center",
|
|
53
53
|
cursor: "pointer",
|
|
54
54
|
padding: theme.spacing(0.5)
|
|
55
|
+
}),
|
|
56
|
+
/**
|
|
57
|
+
*Style para el contenedor del icono de flecha que indica si el item está colapsado o descolapsado para los items padres
|
|
58
|
+
*/
|
|
59
|
+
containerArrowIconRoot: () => ({
|
|
60
|
+
display: "flex",
|
|
61
|
+
alignSelf: "center",
|
|
62
|
+
lineHeight: 0,
|
|
63
|
+
marginLeft: "auto"
|
|
55
64
|
})
|
|
56
65
|
};
|
|
57
66
|
export {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const containerMenuItemsMainStyles:
|
|
1
|
+
import { ContainerMenuItemsMainStyles } from '../../../../types';
|
|
2
|
+
export declare const containerMenuItemsMainStyles: ContainerMenuItemsMainStyles;
|
|
@@ -11,7 +11,7 @@ const containerMenuItemsMainStyles = {
|
|
|
11
11
|
gap: theme.vars.size.baseSpacings["sp0-5"],
|
|
12
12
|
...getHeightSizeStyles(
|
|
13
13
|
theme.generalSettings.isMobile,
|
|
14
|
-
ownerState
|
|
14
|
+
ownerState?.size || "medium",
|
|
15
15
|
"container",
|
|
16
16
|
(height) => {
|
|
17
17
|
return {
|
|
@@ -40,15 +40,6 @@ const containerMenuItemsMainStyles = {
|
|
|
40
40
|
flexDirection: "column",
|
|
41
41
|
gap: theme.vars.size.baseSpacings["sp0-5"]
|
|
42
42
|
}
|
|
43
|
-
}),
|
|
44
|
-
/**
|
|
45
|
-
*Style para el contenedor del icono de flecha que indica si el item está colapsado o descolapsado para los items padres
|
|
46
|
-
*/
|
|
47
|
-
containerArrowIconRoot: () => ({
|
|
48
|
-
display: "flex",
|
|
49
|
-
alignSelf: "center",
|
|
50
|
-
lineHeight: 0,
|
|
51
|
-
marginLeft: "auto"
|
|
52
43
|
})
|
|
53
44
|
};
|
|
54
45
|
export {
|
|
@@ -11,7 +11,6 @@ function ArrowIcon(props) {
|
|
|
11
11
|
return /* @__PURE__ */ jsx(
|
|
12
12
|
ContainerArrowIconRootStyled,
|
|
13
13
|
{
|
|
14
|
-
ownerState: {},
|
|
15
14
|
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("arrowIconRoot") } : {},
|
|
16
15
|
children: /* @__PURE__ */ jsx(
|
|
17
16
|
IconButton,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const footerSideBarStyles:
|
|
1
|
+
import { SideBarFooterStyles } from '../../types';
|
|
2
|
+
export declare const footerSideBarStyles: SideBarFooterStyles;
|
|
@@ -3,7 +3,7 @@ import { k as ContainerHeaderSidebarRootStyled, l as ContainerTitleSubtitleStyle
|
|
|
3
3
|
import { T as Typography } from "../../../mui_extended/Typography/Typography.js";
|
|
4
4
|
import { I as Image } from "../../../Image/Image.js";
|
|
5
5
|
const HeaderSidebar = ({ srcIcon, title, subtitle }) => {
|
|
6
|
-
return /* @__PURE__ */ jsxs(ContainerHeaderSidebarRootStyled, {
|
|
6
|
+
return /* @__PURE__ */ jsxs(ContainerHeaderSidebarRootStyled, { role: "heading", children: [
|
|
7
7
|
/* @__PURE__ */ jsx(
|
|
8
8
|
Image,
|
|
9
9
|
{
|
|
@@ -14,7 +14,7 @@ const HeaderSidebar = ({ srcIcon, title, subtitle }) => {
|
|
|
14
14
|
},
|
|
15
15
|
"Logo"
|
|
16
16
|
),
|
|
17
|
-
/* @__PURE__ */ jsxs(ContainerTitleSubtitleStyled, {
|
|
17
|
+
/* @__PURE__ */ jsxs(ContainerTitleSubtitleStyled, { children: [
|
|
18
18
|
/* @__PURE__ */ jsx(Typography, { variant: "subtitleDens", size: "medium", skeletonWidth: 120, children: title }),
|
|
19
19
|
/* @__PURE__ */ jsx(Typography, { variant: "paragraph", size: "medium", margin: 0, skeletonWidth: 150, children: subtitle })
|
|
20
20
|
] })
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const headerSidebarStyles:
|
|
1
|
+
import { HeaderSidebarStyles } from '../../types';
|
|
2
|
+
export declare const headerSidebarStyles: HeaderSidebarStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const sideBarDesktopStyles:
|
|
1
|
+
import { SideBarDesktopStyles } from '../../types';
|
|
2
|
+
export declare const sideBarDesktopStyles: SideBarDesktopStyles;
|
|
@@ -5,7 +5,7 @@ const sideBarDesktopStyles = {
|
|
|
5
5
|
* sin que se oculte por el overflow hidden que tiene el contenido del sidebar
|
|
6
6
|
*/
|
|
7
7
|
containerDesktopContent: ({ theme, ownerState }) => {
|
|
8
|
-
const width = ownerState?.anchored ? ownerState
|
|
8
|
+
const width = ownerState?.anchored ? ownerState?.expandedWidth : theme.vars.size.baseSpacings.sp4;
|
|
9
9
|
return {
|
|
10
10
|
height: "100%",
|
|
11
11
|
position: "relative",
|
|
@@ -22,7 +22,7 @@ const sideBarDesktopStyles = {
|
|
|
22
22
|
width: "fit-content",
|
|
23
23
|
overflow: "visible",
|
|
24
24
|
borderRight: `1px solid ${theme.vars.palette.border.default}`,
|
|
25
|
-
position: !ownerState
|
|
25
|
+
position: !ownerState?.anchored ? "absolute" : "relative",
|
|
26
26
|
inset: 0,
|
|
27
27
|
//add hover effect
|
|
28
28
|
zIndex: 999
|
|
@@ -23,7 +23,6 @@ const SideBarMobile = () => {
|
|
|
23
23
|
children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
24
24
|
ContainerSideBarMobileStyled,
|
|
25
25
|
{
|
|
26
|
-
ownerState: {},
|
|
27
26
|
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("contentMobile") } : {},
|
|
28
27
|
children: /* @__PURE__ */ jsx(ContentComponent, {})
|
|
29
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const sideBarMobileStyles:
|
|
1
|
+
import { SideBarMobileStyles } from '../../types';
|
|
2
|
+
export declare const sideBarMobileStyles: SideBarMobileStyles;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Sizes } from '@m4l/styles';
|
|
2
2
|
import { ContainerMenuItemsMainSlots, ContentComponentSlots, ContentGroupsSlots, HeaderSidebarSlots, SideBarDesktopSlots, SideBarFooterSlots, SideBarMobileSlots } from './slots/SideBarEnum';
|
|
3
|
-
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
4
3
|
import { SIDEBAR_KEY_COMPONENT } from './constants';
|
|
5
4
|
import { Theme } from '@mui/material/styles';
|
|
5
|
+
import { M4LOverridesStyleRules } from '../../@types/augmentations';
|
|
6
6
|
/**
|
|
7
7
|
* define la estructura de datos para un elemento de menú en la barra lateral.
|
|
8
8
|
*/
|
|
@@ -88,4 +88,11 @@ export type SideBarSlotsType = ContainerMenuItemsMainSlots | SideBarDesktopSlots
|
|
|
88
88
|
export type SideBarOwnerState = Pick<IMenuDataWithState, 'active' | 'itemInTreeActive'> & {
|
|
89
89
|
[key: string]: any;
|
|
90
90
|
};
|
|
91
|
-
export type SideBarStyles =
|
|
91
|
+
export type SideBarStyles = M4LOverridesStyleRules<SideBarSlotsType, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
92
|
+
export type ContainerMenuItemsMainStyles = M4LOverridesStyleRules<ContainerMenuItemsMainSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
93
|
+
export type SideBarDesktopStyles = M4LOverridesStyleRules<SideBarDesktopSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
94
|
+
export type ContentGroupsStyles = M4LOverridesStyleRules<ContentGroupsSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
95
|
+
export type HeaderSidebarStyles = M4LOverridesStyleRules<HeaderSidebarSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
96
|
+
export type SideBarFooterStyles = M4LOverridesStyleRules<SideBarFooterSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
97
|
+
export type SideBarMobileStyles = M4LOverridesStyleRules<SideBarMobileSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
98
|
+
export type ContentComponentStyles = M4LOverridesStyleRules<ContentComponentSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
|
|
@@ -22,9 +22,9 @@ export declare const MessageDescriptionStyled: import('@emotion/styled').StyledC
|
|
|
22
22
|
export declare const MessageIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
23
23
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
24
24
|
}, {}, {}>;
|
|
25
|
-
export declare const MessageCloseButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "
|
|
25
|
+
export declare const MessageCloseButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
26
26
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
27
27
|
}, {}, {}>;
|
|
28
|
-
export declare const MessagePinButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "
|
|
28
|
+
export declare const MessagePinButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
|
|
29
29
|
ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
|
|
30
30
|
}, {}, {}>;
|
|
@@ -7,9 +7,8 @@ import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { H as HeaderWindowBase } from "./subcomponents/Header/HeaderWindowBase.js";
|
|
9
9
|
import { E as EditionInfo } from "./subcomponents/EditionInfo/EditionInfo.js";
|
|
10
|
-
import { W as WindowBaseStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
|
|
10
|
+
import { W as WindowBaseStyled, T as ToastContainerStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
|
|
11
11
|
import { W as WindowBaseSlots } from "./slots/WindowBaseEnum.js";
|
|
12
|
-
import { T as ToastContainer } from "../ToastContainer/ToastContainer.js";
|
|
13
12
|
const WindowBase = (props) => {
|
|
14
13
|
const {
|
|
15
14
|
children,
|
|
@@ -25,14 +24,15 @@ const WindowBase = (props) => {
|
|
|
25
24
|
windowId,
|
|
26
25
|
onMouseDown,
|
|
27
26
|
editionInfo,
|
|
27
|
+
type = "layout",
|
|
28
28
|
...other
|
|
29
29
|
} = props;
|
|
30
30
|
const { currentSize } = useComponentSize(size);
|
|
31
|
-
const normalizedSize = currentSize === "large" ? "medium" : currentSize;
|
|
32
31
|
const ownerState = {
|
|
33
32
|
selected,
|
|
34
33
|
variant,
|
|
35
|
-
size:
|
|
34
|
+
size: currentSize,
|
|
35
|
+
type
|
|
36
36
|
};
|
|
37
37
|
return /* @__PURE__ */ jsx(AppearanceComponentProvider, { defaultSize: currentSize, children: /* @__PURE__ */ jsxs(
|
|
38
38
|
WindowBaseStyled,
|
|
@@ -49,12 +49,14 @@ const WindowBase = (props) => {
|
|
|
49
49
|
version,
|
|
50
50
|
buildTime,
|
|
51
51
|
size,
|
|
52
|
+
variant,
|
|
52
53
|
selected,
|
|
53
54
|
onClose,
|
|
55
|
+
type,
|
|
54
56
|
...other
|
|
55
57
|
}
|
|
56
58
|
),
|
|
57
|
-
/* @__PURE__ */ jsx(
|
|
59
|
+
/* @__PURE__ */ jsx(ToastContainerStyled, { fixed: false, position: "top-right", containerId: windowId }),
|
|
58
60
|
editionInfo && /* @__PURE__ */ jsx(EditionInfo, { editionInfo }),
|
|
59
61
|
/* @__PURE__ */ jsx(
|
|
60
62
|
ContentWindowStyled,
|
|
@@ -64,7 +66,7 @@ const WindowBase = (props) => {
|
|
|
64
66
|
children
|
|
65
67
|
}
|
|
66
68
|
),
|
|
67
|
-
isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, {
|
|
69
|
+
isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, {})
|
|
68
70
|
]
|
|
69
71
|
}
|
|
70
72
|
) });
|