@m4l/components 9.2.56-beta.2 → 9.2.57
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/decorators/WithWindowsToolsContext/WithContextWindowTools.d.ts +5 -0
- package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
- package/@types/augmentations.d.ts +1 -1
- package/@types/types.d.ts +9 -10
- package/components/AccountPopover/AccountPopover.js +4 -3
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +14 -13
- package/components/AccountPopover/types.d.ts +2 -2
- package/components/AppBar/AppBar.js +9 -6
- package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
- package/components/AppBar/styles.js +1 -2
- 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/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +1 -0
- package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
- package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/DataGrid/DataGrid.js +8 -29
- package/components/DataGrid/constants.d.ts +0 -1
- package/components/DataGrid/constants.js +0 -2
- package/components/DataGrid/contexts/DataGridContext/index.js +44 -31
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +1 -6
- package/components/DataGrid/dictionary.d.ts +2 -1
- package/components/DataGrid/dictionary.js +22 -21
- package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +2 -0
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
- package/components/DataGrid/icons.d.ts +0 -1
- package/components/DataGrid/icons.js +3 -4
- package/components/DataGrid/slots/DataGridEnum.d.ts +0 -6
- package/components/DataGrid/slots/DataGridEnum.js +2 -10
- package/components/DataGrid/slots/DataGridSlot.d.ts +0 -9
- package/components/DataGrid/slots/DataGridSlot.js +14 -35
- package/components/DataGrid/styles.js +484 -0
- package/components/DataGrid/subcomponents/Actions/index.d.ts +5 -0
- package/components/DataGrid/subcomponents/Actions/index.js +49 -0
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.js +7 -8
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.js +2 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +7 -0
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/MobileMenuActions/index.js +4 -4
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.js +4 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +5 -0
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/index.js +4 -6
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +47 -57
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +3 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/types.d.ts +4 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
- package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/index.js +7 -11
- package/components/DataGrid/subcomponents/Actions/types.d.ts +16 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -5
- package/components/DataGrid/subcomponents/Table/index.js +4 -4
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +3 -12
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +13 -28
- package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +2 -4
- package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
- package/components/DataGrid/types.d.ts +3 -20
- package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
- package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +5 -3
- package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
- package/components/DynamicFilter/dictionary.d.ts +1 -0
- package/components/DynamicFilter/dictionary.js +2 -1
- 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 +3 -2
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +4 -3
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -0
- package/components/DynamicFilter/types.d.ts +1 -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 +1 -0
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +5 -4
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +3 -2
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
- package/components/GridLayout/styles.js +82 -4
- 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 +1 -0
- package/components/Image/types.d.ts +2 -2
- package/components/Label/Label.styles.js +11 -11
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
- package/components/LoadingError/LoadingError.js +2 -1
- package/components/MenuActions/MenuActions.js +3 -3
- 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/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
- package/components/NoItemSelected/NoItemSelected.js +5 -3
- 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/hooks/useNumberInput/useNumberInput.js +2 -0
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/hooks/useDetailFormatter.js +2 -3
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +3 -1
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +3 -1
- package/components/ObjectLogs/types.d.ts +2 -2
- package/components/Pager/Pager.js +3 -2
- package/components/Pager/Pager.styles.js +12 -13
- package/components/Pager/slots/PagerEnum.d.ts +1 -2
- package/components/Pager/slots/PagerEnum.js +0 -1
- package/components/Pager/slots/PagerSlots.d.ts +0 -1
- package/components/Pager/slots/PagerSlots.js +2 -7
- package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +18 -16
- package/components/Pager/subcomponents/PagerActions/PagerActions.js +2 -4
- package/components/Pager/subcomponents/PagerActions/types.d.ts +0 -1
- 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 +1 -0
- package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -0
- package/components/PrintingSystem/subcomponents/DividerNode/index.js +1 -0
- package/components/PrintingSystem/subcomponents/FooterNode/index.js +1 -0
- package/components/PrintingSystem/subcomponents/GridNode/index.js +5 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/index.js +1 -0
- package/components/PrintingSystem/subcomponents/PageNode/index.js +1 -0
- package/components/PrintingSystem/subcomponents/PaperNode/index.js +5 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +2 -0
- package/components/PrintingSystem/subcomponents/SectionNode/index.js +1 -0
- package/components/PrintingSystem/types.d.ts +2 -2
- package/components/PropertyValue/PropertyValue.js +4 -3
- 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 +45 -5
- package/components/ScrollBar/ScrollBar.styles.js +52 -5
- package/components/ScrollBar/constants.d.ts +2 -4
- package/components/ScrollBar/constants.js +5 -2
- package/components/ScrollBar/slots/ScrollBarEnum.d.ts +4 -0
- package/components/ScrollBar/slots/ScrollBarEnum.js +8 -0
- package/components/ScrollBar/slots/ScrollBarSlots.d.ts +6 -1
- package/components/ScrollBar/slots/ScrollBarSlots.js +13 -7
- package/components/ScrollBar/slots/index.d.ts +2 -0
- package/components/ScrollBar/types.d.ts +42 -12
- 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 +2 -11
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +10 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +1 -0
- 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 +1 -0
- package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
- package/components/SideBar/types.d.ts +2 -9
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowBase/WindowBase.js +6 -8
- package/components/WindowBase/WindowBase.styles.js +107 -208
- 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 +23 -18
- package/components/WindowBase/slots/WindowBaseSlots.js +12 -13
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +12 -22
- package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +2 -5
- 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 +0 -9
- package/components/WindowBase/types.d.ts +0 -10
- package/components/WindowConfirm/WindowConfirm.js +3 -2
- package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
- package/components/areas/components/AreasAdmin/AreasAdmin.js +17 -12
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +21 -13
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +4 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +4 -3
- 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 +1 -8
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +3 -7
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +1 -0
- 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 +9 -2
- package/components/extended/React-Resizable/helpers.js +13 -15
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +1 -0
- 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 +8 -8
- 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/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +2 -1
- package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +7 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +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 +10 -9
- 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 +22 -22
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +7 -2
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +6 -5
- package/components/hook-form/RHFormContext/index.d.ts +1 -1
- package/components/index.d.ts +0 -2
- package/components/mui_extended/Accordion/Accordion.js +21 -31
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
- package/components/mui_extended/Accordion/styles.js +33 -56
- package/components/mui_extended/Accordion/types.d.ts +6 -39
- 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/renderOptions/index.d.ts +3 -1
- package/components/mui_extended/Autocomplete/renderOptions/index.js +3 -2
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
- package/components/mui_extended/Avatar/Avatar.js +1 -1
- package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
- package/components/mui_extended/Avatar/styles.js +3 -3
- package/components/mui_extended/Badge/Badge.js +2 -1
- package/components/mui_extended/Badge/Badge.styles.js +9 -9
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
- package/components/mui_extended/Badge/types.d.ts +2 -2
- package/components/mui_extended/Button/ButtonStyles.js +25 -25
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- 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 +12 -12
- package/components/mui_extended/Divider/Divider.js +2 -1
- package/components/mui_extended/Divider/Divider.styles.js +9 -9
- package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.js +2 -3
- package/components/mui_extended/IconButton/IconButton.styles.js +21 -21
- 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 -5
- package/components/mui_extended/IconButton/types.d.ts +1 -1
- package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
- package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/mui_extended/MenuDivider/MenuDivider.js +2 -1
- package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
- package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
- package/components/mui_extended/MenuItem/types.d.ts +3 -8
- package/components/mui_extended/NavLink/NavLink.js +2 -1
- 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 +1 -0
- 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 +3 -2
- 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/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
- package/components/mui_extended/Stack/Stack.styles.js +3 -3
- package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.js +0 -2
- package/components/mui_extended/Tab/Tab.styles.js +48 -26
- package/components/mui_extended/Tab/types.d.ts +0 -4
- package/components/mui_extended/TabContent/TabContent.js +1 -1
- package/components/mui_extended/TabContent/TabContent.styles.js +4 -2
- 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 +1 -2
- package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -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 +9 -9
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- 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/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +7 -7
- package/components/mui_extended/index.d.ts +2 -0
- package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +9 -7
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +0 -2
- package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
- package/hooks/useComponentSize/useComponentSize.js +2 -5
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
- package/hooks/useDynamicFilterAndSort/styles.js +7 -8
- package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +15 -8
- package/index.js +24 -24
- package/package.json +3 -3
- package/storybook/components/Chip/Chip.stories.d.ts +0 -4
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +0 -16
- package/storybook/components/Icon/Icon.stories.d.ts +0 -4
- package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +2 -2
- package/storybook/components/WindowBase/windowBase.stories.d.ts +7 -60
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +20 -72
- package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
- package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +7 -0
- package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +11 -0
- package/.storybook/utils/flattenDeep.d.ts +0 -8
- package/components/DataGrid/Datagrid.styles.js +0 -598
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +0 -5
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +0 -30
- package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +0 -2
- package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +0 -7
- package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +0 -5
- package/components/DataGrid/subcomponents/HeaderActions/index.js +0 -39
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +0 -7
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/types.d.ts +0 -2
- package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +0 -4
- package/components/Pager/index.d.ts +0 -2
- package/components/ScrollBar/index.d.ts +0 -2
- package/components/ScrollBar/index.js +0 -1
- package/components/ScrollBar/slots/ScrollbarEnum.d.ts +0 -3
- package/components/ScrollBar/slots/ScrollbarEnum.js +0 -7
- package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +0 -9
- package/storybook/tootls/WrapperLineGuide/styles.d.ts +0 -1
- package/storybook/tootls/WrapperLineGuide/types.d.ts +0 -5
- /package/components/DataGrid/{Datagrid.styles.d.ts → styles.d.ts} +0 -0
- /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/types.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
- /package/components/{Pager → ScrollBar/slots}/index.js +0 -0
package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/index.js
RENAMED
|
@@ -3,11 +3,10 @@ import { I as IconButton } from "../../../../../mui_extended/IconButton/IconButt
|
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { u as useModalSettings } from "../hooks/useModalSettings/index.js";
|
|
5
5
|
import { p as pathIcons } from "../../../../icons.js";
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
function Settings(props) {
|
|
7
|
+
const { columns } = props;
|
|
8
8
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
9
|
-
const
|
|
10
|
-
const modalSettings = useModalSettings(size);
|
|
9
|
+
const modalSettings = useModalSettings(columns);
|
|
11
10
|
const { getLabel } = useModuleDictionary();
|
|
12
11
|
return /* @__PURE__ */ jsx(
|
|
13
12
|
IconButton,
|
|
@@ -15,8 +14,7 @@ function Settings() {
|
|
|
15
14
|
tooltip: getLabel("data_grid.tooltip_settings"),
|
|
16
15
|
onClick: modalSettings,
|
|
17
16
|
"aria-label": "settings",
|
|
18
|
-
icon: `${host_static_assets}/${environment_assets}/${pathIcons.configuration}
|
|
19
|
-
"data-testid": "settings-button"
|
|
17
|
+
icon: `${host_static_assets}/${environment_assets}/${pathIcons.configuration}`
|
|
20
18
|
}
|
|
21
19
|
);
|
|
22
20
|
}
|
|
@@ -4,35 +4,28 @@ import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
|
4
4
|
import DataGrid from "react-data-grid";
|
|
5
5
|
import { I as IconButton } from "../../../../../../../mui_extended/IconButton/IconButton.js";
|
|
6
6
|
import { p as pathIcons } from "../../../../../../icons.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { d as ColumnsConfigWrapperStyled, e as ColumnsConfigSelColumnsStyled, f as ColumnsConfigDataGridStyled, T as TableWrapperDataGridStyled, g as ColumnsConfigActiosStyled } from "../../../../../../slots/DataGridSlot.js";
|
|
8
|
+
import { D as DICTIONARY } from "../../../../../../dictionary.js";
|
|
9
9
|
import { C as ColumnInteractiveCheckFormatter } from "../../../../../../formatters/ColumnInteractiveCheckFormatter/formatter.js";
|
|
10
|
-
function getRowsFromColumnsConfig(columnsConfig) {
|
|
11
|
-
return columnsConfig.filter((
|
|
12
|
-
(
|
|
13
|
-
key:
|
|
14
|
-
name:
|
|
15
|
-
visible:
|
|
16
|
-
frozen:
|
|
17
|
-
originalIndex:
|
|
18
|
-
originalFrozen:
|
|
19
|
-
originalVisible:
|
|
10
|
+
function getRowsFromColumnsConfig(columnsConfig, columns) {
|
|
11
|
+
return columnsConfig.filter((cConfig) => !cConfig.hidden).map(
|
|
12
|
+
(cConfig) => ({
|
|
13
|
+
key: cConfig.key,
|
|
14
|
+
name: columns.find((c) => c.key === cConfig.key)?.name,
|
|
15
|
+
visible: cConfig.visible === void 0 ? true : cConfig.visible,
|
|
16
|
+
frozen: cConfig.frozen === void 0 ? false : cConfig.frozen,
|
|
17
|
+
originalIndex: cConfig.originalIndex,
|
|
18
|
+
originalFrozen: cConfig.originalFrozen,
|
|
19
|
+
originalVisible: cConfig.originalVisible
|
|
20
20
|
})
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const getAlignClass = (align) => {
|
|
24
|
-
const cellClass = align !== void 0 ? `rdg-cell-align-${align}` : "";
|
|
25
|
-
return {
|
|
26
|
-
cellClass,
|
|
27
|
-
headerCellClass: cellClass
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
23
|
const ColumnsConfig = forwardRef((props, ref) => {
|
|
31
24
|
const refdata_grid = useRef(null);
|
|
32
|
-
const { onCloseSettings, columnsConfig, onChangeColumnsConfig, rowHeight,
|
|
25
|
+
const { onCloseSettings, columnsConfig, onChangeColumnsConfig, rowHeight, columns } = props;
|
|
33
26
|
const { getLabel } = useModuleDictionary();
|
|
34
27
|
const [isInit, setIsInit] = useState(true);
|
|
35
|
-
const [rows, setRows] = useState(getRowsFromColumnsConfig(columnsConfig));
|
|
28
|
+
const [rows, setRows] = useState(getRowsFromColumnsConfig(columnsConfig, columns));
|
|
36
29
|
const [selRows, setSelRows] = useState(() => /* @__PURE__ */ new Set());
|
|
37
30
|
const divRef = useRef(null);
|
|
38
31
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -44,34 +37,33 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
44
37
|
() => [
|
|
45
38
|
{
|
|
46
39
|
key: "name",
|
|
47
|
-
name: getLabel(
|
|
40
|
+
name: getLabel(DICTIONARY.SETTINGS_COLUMN_NAME),
|
|
48
41
|
width: 220,
|
|
49
42
|
resizable: true,
|
|
50
|
-
type: "string"
|
|
51
|
-
...getAlignClass("left")
|
|
43
|
+
type: "string"
|
|
52
44
|
},
|
|
53
45
|
{
|
|
54
46
|
key: "originalIndex",
|
|
55
|
-
name: getLabel(
|
|
47
|
+
name: getLabel(DICTIONARY.SETTINGS_COLUMN_POSITION),
|
|
56
48
|
width: 50,
|
|
57
49
|
type: "number",
|
|
58
|
-
|
|
50
|
+
cellClass: "rdg-cell-align-center"
|
|
59
51
|
},
|
|
60
52
|
{
|
|
61
53
|
key: "visible",
|
|
62
|
-
name: getLabel(
|
|
54
|
+
name: getLabel(DICTIONARY.SETTINGS_COLUMN_VISIBLE),
|
|
63
55
|
width: 80,
|
|
64
56
|
type: "boolean",
|
|
65
57
|
formatter: ColumnInteractiveCheckFormatter,
|
|
66
|
-
|
|
58
|
+
cellClass: "rdg-cell-align-center"
|
|
67
59
|
},
|
|
68
60
|
{
|
|
69
61
|
key: "frozen",
|
|
70
|
-
name: getLabel(
|
|
62
|
+
name: getLabel(DICTIONARY.SETTINGS_COLUMNS_FROZEN),
|
|
71
63
|
width: 80,
|
|
72
64
|
type: "boolean",
|
|
73
65
|
formatter: ColumnInteractiveCheckFormatter,
|
|
74
|
-
|
|
66
|
+
cellClass: "rdg-cell-align-center"
|
|
75
67
|
}
|
|
76
68
|
],
|
|
77
69
|
[getLabel]
|
|
@@ -94,7 +86,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
94
86
|
};
|
|
95
87
|
useEffect(() => {
|
|
96
88
|
if (isInit === false) {
|
|
97
|
-
setRows(getRowsFromColumnsConfig(columnsConfig));
|
|
89
|
+
setRows(getRowsFromColumnsConfig(columnsConfig, columns));
|
|
98
90
|
}
|
|
99
91
|
setIsInit(false);
|
|
100
92
|
}, [columnsConfig]);
|
|
@@ -184,30 +176,28 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
184
176
|
setSelRows(mySet);
|
|
185
177
|
};
|
|
186
178
|
return /* @__PURE__ */ jsxs(ColumnsConfigWrapperStyled, { ref: divRef, children: [
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
) })
|
|
205
|
-
] }),
|
|
179
|
+
/* @__PURE__ */ jsx(ColumnsConfigSelColumnsStyled, { children: getLabel(DICTIONARY.SETTINGS_SEL_COLUMNS) }),
|
|
180
|
+
/* @__PURE__ */ jsx(ColumnsConfigDataGridStyled, { children: /* @__PURE__ */ jsx(TableWrapperDataGridStyled, { children: /* @__PURE__ */ jsx(
|
|
181
|
+
DataGrid,
|
|
182
|
+
{
|
|
183
|
+
ref: refdata_grid,
|
|
184
|
+
rowHeight,
|
|
185
|
+
columns: columnsdata_grid,
|
|
186
|
+
rows,
|
|
187
|
+
onRowsChange: onInternalRowsChange,
|
|
188
|
+
selectedRows: selRows,
|
|
189
|
+
onSelectedRowsChange: onInternalSelectedRowsChange,
|
|
190
|
+
onRowClick,
|
|
191
|
+
rowKeyGetter: (row) => row.key,
|
|
192
|
+
cellNavigationMode: "CHANGE_ROW",
|
|
193
|
+
defaultColumnOptions: { resizable: true, sortable: true }
|
|
194
|
+
}
|
|
195
|
+
) }) }),
|
|
206
196
|
/* @__PURE__ */ jsxs(ColumnsConfigActiosStyled, { children: [
|
|
207
197
|
/* @__PURE__ */ jsx(
|
|
208
198
|
IconButton,
|
|
209
199
|
{
|
|
210
|
-
tooltip: getLabel(
|
|
200
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_MOVE_FIRST),
|
|
211
201
|
onClick: handleMoveFirst,
|
|
212
202
|
"aria-label": "move first place",
|
|
213
203
|
disabled: rowSelectedIndex < 1,
|
|
@@ -217,7 +207,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
217
207
|
/* @__PURE__ */ jsx(
|
|
218
208
|
IconButton,
|
|
219
209
|
{
|
|
220
|
-
tooltip: getLabel(
|
|
210
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_MOVE_UP),
|
|
221
211
|
onClick: () => handleMoveUpDownd(-1),
|
|
222
212
|
"aria-label": "move up place",
|
|
223
213
|
disabled: rowSelectedIndex < 1,
|
|
@@ -227,7 +217,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
227
217
|
/* @__PURE__ */ jsx(
|
|
228
218
|
IconButton,
|
|
229
219
|
{
|
|
230
|
-
tooltip: getLabel(
|
|
220
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_MOVE_LAST),
|
|
231
221
|
onClick: handleMoveLast,
|
|
232
222
|
"aria-label": "move last place",
|
|
233
223
|
disabled: !!(rowSelectedIndex === rows.length - 1 || rowSelectedIndex === -1),
|
|
@@ -237,7 +227,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
237
227
|
/* @__PURE__ */ jsx(
|
|
238
228
|
IconButton,
|
|
239
229
|
{
|
|
240
|
-
tooltip: getLabel(
|
|
230
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_MOVE_DOWN),
|
|
241
231
|
onClick: () => handleMoveUpDownd(1),
|
|
242
232
|
"aria-label": "move down place",
|
|
243
233
|
disabled: !!(rowSelectedIndex === rows.length - 1 || rowSelectedIndex === -1),
|
|
@@ -247,7 +237,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
247
237
|
/* @__PURE__ */ jsx(
|
|
248
238
|
IconButton,
|
|
249
239
|
{
|
|
250
|
-
tooltip: getLabel(
|
|
240
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_VISIBLE_ALL),
|
|
251
241
|
onClick: checkAll,
|
|
252
242
|
"aria-label": "check visible all",
|
|
253
243
|
icon: `${host_static_assets}/${environment_assets}/${pathIcons.checkAll}`
|
|
@@ -256,7 +246,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
256
246
|
/* @__PURE__ */ jsx(
|
|
257
247
|
IconButton,
|
|
258
248
|
{
|
|
259
|
-
tooltip: getLabel(
|
|
249
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_NO_VISIBLE_ALL),
|
|
260
250
|
onClick: unCheckAll,
|
|
261
251
|
"aria-label": "un check all",
|
|
262
252
|
icon: `${host_static_assets}/${environment_assets}/${pathIcons.uncheckAll}`
|
|
@@ -265,7 +255,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
265
255
|
/* @__PURE__ */ jsx(
|
|
266
256
|
IconButton,
|
|
267
257
|
{
|
|
268
|
-
tooltip: getLabel(
|
|
258
|
+
tooltip: getLabel(DICTIONARY.SETTINGS_RESTORE),
|
|
269
259
|
onClick: restoreAll,
|
|
270
260
|
"aria-label": "Restore columns",
|
|
271
261
|
icon: `${host_static_assets}/${environment_assets}/${pathIcons.restoreColumns}`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Column } from 'react-data-grid';
|
|
2
|
+
import { IConfigColumn } from '../../../../../../contexts/DataGridContext/types';
|
|
3
3
|
export interface Row {
|
|
4
4
|
key: string;
|
|
5
5
|
name: string;
|
|
@@ -17,11 +17,10 @@ export type ColumnsConfigRef = {
|
|
|
17
17
|
};
|
|
18
18
|
export interface ConfigProps {
|
|
19
19
|
onCloseSettings: () => void;
|
|
20
|
+
columns: readonly Column<any, any>[];
|
|
20
21
|
columnsConfig: IConfigColumn[];
|
|
21
22
|
onChangeColumnsConfig: (newColumnsConfig: IConfigColumn[]) => void;
|
|
22
23
|
rowHeight: number;
|
|
23
|
-
classes: DataGridContextProps<unknown, unknown>['classes'];
|
|
24
|
-
size: GridProps<unknown, unknown>['size'];
|
|
25
24
|
}
|
|
26
25
|
export interface CheckFormatterProps {
|
|
27
26
|
key: string;
|
|
@@ -5,15 +5,15 @@ import { useRef, useCallback } from "react";
|
|
|
5
5
|
import { u as useDataGrid } from "../../../../../hooks/useDataGrid.js";
|
|
6
6
|
import { u as useModal } from "../../../../../../../hooks/useModal/index.js";
|
|
7
7
|
import { C as ColumnsConfig } from "../../Settings/subcomponents/ColumnsConfig/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { h as ContentModalSettingStyled, D as DataGridRootStyled, i as TableContainerStyled, T as TableWrapperDataGridStyled } from "../../../../../slots/DataGridSlot.js";
|
|
9
9
|
import { p as pathIcons } from "../../../../../icons.js";
|
|
10
10
|
import { A as ActionsContainer } from "../../../../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
11
11
|
import { W as WindowBase } from "../../../../../../WindowBase/WindowBase.js";
|
|
12
12
|
import { A as ActionCancel } from "../../../../../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
13
13
|
import { A as ActionIntro } from "../../../../../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
14
|
-
const useModalSettings = (
|
|
14
|
+
const useModalSettings = (columns) => {
|
|
15
15
|
const { openModal, closeModal } = useModal();
|
|
16
|
-
const { columnsConfig, onChangeColumnsConfig, currentRowHeight
|
|
16
|
+
const { columnsConfig, onChangeColumnsConfig, currentRowHeight } = useDataGrid();
|
|
17
17
|
const { getLabel } = useModuleDictionary();
|
|
18
18
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
19
19
|
const isMobile = useIsMobile();
|
|
@@ -40,11 +40,8 @@ const useModalSettings = (size) => {
|
|
|
40
40
|
title: getLabel("data_grid.settings_title"),
|
|
41
41
|
iconUrl: `${host_static_assets}/${environment_assets}/${pathIcons.configuration}`,
|
|
42
42
|
onClose: closeModal,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
type: "modal",
|
|
46
|
-
children: /* @__PURE__ */ jsxs(ContentModalSettingStyled, { classes: classes?.contentModalSetting, children: [
|
|
47
|
-
/* @__PURE__ */ jsx(DataGridRootStyled, { children: /* @__PURE__ */ jsx(
|
|
43
|
+
children: /* @__PURE__ */ jsxs(ContentModalSettingStyled, { children: [
|
|
44
|
+
/* @__PURE__ */ jsx(DataGridRootStyled, { children: /* @__PURE__ */ jsx(TableContainerStyled, { children: /* @__PURE__ */ jsx(TableWrapperDataGridStyled, { children: /* @__PURE__ */ jsx(
|
|
48
45
|
ColumnsConfig,
|
|
49
46
|
{
|
|
50
47
|
ref,
|
|
@@ -52,10 +49,9 @@ const useModalSettings = (size) => {
|
|
|
52
49
|
columnsConfig,
|
|
53
50
|
onChangeColumnsConfig: handleColumnsSetting,
|
|
54
51
|
onCloseSettings,
|
|
55
|
-
|
|
56
|
-
size
|
|
52
|
+
columns
|
|
57
53
|
}
|
|
58
|
-
) }),
|
|
54
|
+
) }) }) }),
|
|
59
55
|
/* @__PURE__ */ jsxs(ActionsContainer, { children: [
|
|
60
56
|
/* @__PURE__ */ jsx(ActionCancel, { onClick: closeModal }),
|
|
61
57
|
/* @__PURE__ */ jsx(ActionIntro, { onClick: onClickIntro })
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PagerProps } from '../../../Pager/types';
|
|
2
|
+
import { SettingsProps } from './subcomponents/Settings/types';
|
|
3
|
+
import { Column } from 'react-data-grid';
|
|
4
|
+
export interface ActionsProps {
|
|
5
|
+
withSettings?: boolean;
|
|
6
|
+
settingsProps?: SettingsProps;
|
|
7
|
+
withRowsCount?: boolean;
|
|
8
|
+
withPager?: boolean;
|
|
9
|
+
pagerOptions?: PagerProps;
|
|
10
|
+
withLocalFilters?: boolean;
|
|
11
|
+
leftActions?: React.ReactNode;
|
|
12
|
+
rightActions?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export type InternalActionsProps = ActionsProps & {
|
|
15
|
+
columns: readonly Column<any, any>[];
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect, useMemo } from "react";
|
|
2
2
|
import { g as getDragHeaderRenderer } from "./getDragHeaderRenderer.js";
|
|
3
3
|
import { A as ActionsColumn } from "../subcomponents/ActionsColumn.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as filterColumnClassName, S as SelectColumn } from "../subcomponents/SelectColumn.js";
|
|
5
5
|
import { useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
6
6
|
import { u as useFilters } from "../../../hooks/useFilters.js";
|
|
7
7
|
import { u as useDataGrid } from "../../../hooks/useDataGrid.js";
|
|
@@ -17,6 +17,7 @@ function getComparator(columns, sortColumn) {
|
|
|
17
17
|
return column.customSort;
|
|
18
18
|
}
|
|
19
19
|
switch (typeOrder) {
|
|
20
|
+
//Si el tipo de dato de la columna es un numerico, retorna una función de ordenamiento numérica
|
|
20
21
|
case "number":
|
|
21
22
|
return (a, b) => {
|
|
22
23
|
try {
|
|
@@ -25,6 +26,7 @@ function getComparator(columns, sortColumn) {
|
|
|
25
26
|
return -1;
|
|
26
27
|
}
|
|
27
28
|
};
|
|
29
|
+
//Por defecto retorna una función de ordenamiento de string
|
|
28
30
|
default:
|
|
29
31
|
return (a, b) => {
|
|
30
32
|
try {
|
|
@@ -119,11 +121,9 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
119
121
|
const finalColumns = useMemo(() => {
|
|
120
122
|
const DragAndDropHeaderRenderer = getDragHeaderRenderer(onChangeColumnsOrder);
|
|
121
123
|
return columns.map((c) => {
|
|
122
|
-
const cellClass = c.align !== void 0 ? `rdg-cell-align-${c.align}` : `rdg-cell-align-${getAligByType(c.type)}`;
|
|
123
124
|
const newColumn = {
|
|
124
125
|
...c,
|
|
125
|
-
cellClass
|
|
126
|
-
headerCellClass: cellClass
|
|
126
|
+
cellClass: c.align !== void 0 ? `rdg-cell-align-${c.align}` : `rdg-cell-align-${getAligByType(c.type)}`
|
|
127
127
|
};
|
|
128
128
|
if (newColumn.key === DATAGRID_SELECT_COLUMN_KEY || newColumn.isDraggable !== void 0 && newColumn.isDraggable === false) {
|
|
129
129
|
return newColumn;
|
|
@@ -136,7 +136,7 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
136
136
|
newColumn.withinHeaderRenderer = newColumn.headerRenderer;
|
|
137
137
|
}
|
|
138
138
|
if ((newColumn?.withFilter === void 0 || newColumn.withFilter === true) && activeFilters) {
|
|
139
|
-
newColumn.headerCellClass =
|
|
139
|
+
newColumn.headerCellClass = filterColumnClassName;
|
|
140
140
|
}
|
|
141
141
|
newColumn.headerRenderer = DragAndDropHeaderRenderer;
|
|
142
142
|
return newColumn;
|
|
@@ -4,11 +4,11 @@ import DataGrid from "react-data-grid";
|
|
|
4
4
|
import { DndProvider } from "react-dnd";
|
|
5
5
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
6
6
|
import { C as CheckboxFormatter } from "./subcomponents/CheckboxFormatter.js";
|
|
7
|
-
import {
|
|
7
|
+
import { f as filterHeight } from "./subcomponents/SelectColumn.js";
|
|
8
8
|
import { u as useSortColumnsRows } from "./hooks/useSortColumnsRows.js";
|
|
9
9
|
import { u as useFilters } from "../../hooks/useFilters.js";
|
|
10
10
|
import { u as useDataGrid } from "../../hooks/useDataGrid.js";
|
|
11
|
-
import {
|
|
11
|
+
import { i as TableContainerStyled, T as TableWrapperDataGridStyled } from "../../slots/DataGridSlot.js";
|
|
12
12
|
function Table(props) {
|
|
13
13
|
const { columns, rows, onRowsChange, rowKeyGetter, selectedRows, onSelectedRowsChange } = props;
|
|
14
14
|
const { finalColumns, sortColumns, setSortColumns, finalRows } = useSortColumnsRows(
|
|
@@ -16,7 +16,7 @@ function Table(props) {
|
|
|
16
16
|
rows
|
|
17
17
|
);
|
|
18
18
|
const { activeFilters } = useFilters();
|
|
19
|
-
const { onChangeColumnWidth, setRowsCount, currentRowHeight, currentRowHeaderHeight
|
|
19
|
+
const { onChangeColumnWidth, setRowsCount, currentRowHeight, currentRowHeaderHeight } = useDataGrid();
|
|
20
20
|
const ref_data_grid = useRef(null);
|
|
21
21
|
const onRowClick = (row) => {
|
|
22
22
|
if (selectedRows && onSelectedRowsChange) {
|
|
@@ -50,7 +50,7 @@ function Table(props) {
|
|
|
50
50
|
const onChangeSort = (newSortColumns) => {
|
|
51
51
|
setSortColumns(newSortColumns);
|
|
52
52
|
};
|
|
53
|
-
return /* @__PURE__ */ jsx(TableContainerStyled, { id: "WrapperTable", children: /* @__PURE__ */ jsx(TableWrapperDataGridStyled, {
|
|
53
|
+
return /* @__PURE__ */ jsx(TableContainerStyled, { id: "WrapperTable", children: /* @__PURE__ */ jsx(TableWrapperDataGridStyled, { children: /* @__PURE__ */ jsx(DndProvider, { backend: HTML5Backend, context: window, children: /* @__PURE__ */ jsx(
|
|
54
54
|
DataGrid,
|
|
55
55
|
{
|
|
56
56
|
className: "rdg-light",
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { SvgIcon } from "@mui/material";
|
|
3
3
|
function CheckboxIcon(props) {
|
|
4
|
-
return /* @__PURE__ */ jsx(SvgIcon, { ...props,
|
|
5
|
-
/* @__PURE__ */ jsx("g", { "clip-path": "url(#clip0_13395_49048)", children: /* @__PURE__ */ jsx("path", { d: "M13.0156 2.5H3.01562C2.75041 2.5 2.49605 2.60536 2.30852 2.79289C2.12098 2.98043 2.01563 3.23478 2.01562 3.5V13.5C2.01563 13.7652 2.12098 14.0196 2.30852 14.2071C2.49605 14.3946 2.75041 14.5 3.01562 14.5H13.0156C13.2808 14.5 13.5352 14.3946 13.7227 14.2071C13.9103 14.0196 14.0156 13.7652 14.0156 13.5V3.5C14.0156 3.23478 13.9103 2.98043 13.7227 2.79289C13.5352 2.60536 13.2808 2.5 13.0156 2.5ZM3.01562 13.5V3.5H13.0156V13.5H3.01562Z", fill: "#323B3B" }) }),
|
|
6
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_13395_49048", children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "white", transform: "translate(0 0.5)" }) }) })
|
|
7
|
-
] }) });
|
|
4
|
+
return /* @__PURE__ */ jsx(SvgIcon, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M17 3a4 4 0 014 4v10a4 4 0 01-4 4H7a4 4 0 01-4-4V7a4 4 0 014-4h10zm0 2H7a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2z" }) });
|
|
8
5
|
}
|
|
9
6
|
function CheckboxCheckedIcon(props) {
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */ jsxs("g", { "clip-path": "url(#clip0_13395_49057)", children: [
|
|
12
|
-
/* @__PURE__ */ jsx("path", { d: "M13.4323 2H2.59896C2.31164 2 2.03609 2.11414 1.83293 2.3173C1.62976 2.52047 1.51563 2.79602 1.51562 3.08333V13.9167C1.51563 14.204 1.62976 14.4795 1.83293 14.6827C2.03609 14.8859 2.31164 15 2.59896 15H13.4323C13.7196 15 13.9952 14.8859 14.1983 14.6827C14.4015 14.4795 14.5156 14.204 14.5156 13.9167V3.08333C14.5156 2.79602 14.4015 2.52047 14.1983 2.3173C13.9952 2.11414 13.7196 2 13.4323 2Z", fill: "#323B3B" }),
|
|
13
|
-
/* @__PURE__ */ jsx("path", { d: "M6.92119 11.6245L4.10001 8.8274L4.99759 7.95696L6.92119 9.84467L11.1014 5.70001L11.9996 6.58993L6.92119 11.6245Z", fill: "#F3F5F7" })
|
|
14
|
-
] }),
|
|
15
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_13395_49057", children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "white", transform: "translate(0 0.5)" }) }) })
|
|
16
|
-
] });
|
|
7
|
+
return /* @__PURE__ */ jsx(SvgIcon, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M17 3a4 4 0 014 4v10a4 4 0 01-4 4H7a4 4 0 01-4-4V7a4 4 0 014-4h10zm-1.372 4.972a1.006 1.006 0 00-.928.388l-3.78 5-1.63-2.08a1.001 1.001 0 00-1.58 1.23l2.44 3.11a1 1 0 001.58-.01l4.57-6v-.03a1.006 1.006 0 00-.672-1.608z" }) });
|
|
17
8
|
}
|
|
18
9
|
function CheckboxIndeterminateIcon(props) {
|
|
19
10
|
return /* @__PURE__ */ jsx(SvgIcon, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M17 3a4 4 0 014 4v10a4 4 0 01-4 4H7a4 4 0 01-4-4V7a4 4 0 014-4h10zm-1.75 8h-6.5a.75.75 0 00-.75.75v.5c0 .414.336.75.75.75h6.5a.75.75 0 00.75-.75v-.5a.75.75 0 00-.75-.75z" }) });
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import { useModuleDictionary
|
|
3
|
+
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useDrag, useDrop } from "react-dnd";
|
|
5
5
|
import { HeaderRenderer } from "react-data-grid";
|
|
6
6
|
import { u as useFocusRef } from "../hooks/useFocusRef.js";
|
|
7
7
|
import { u as useFilters } from "../../../hooks/useFilters.js";
|
|
8
|
-
import {
|
|
9
|
-
import { p as pathIcons } from "../../../icons.js";
|
|
10
|
-
import { u as useDataGrid } from "../../../hooks/useDataGrid.js";
|
|
8
|
+
import { j as DraggableHeaderRootStyled, k as DraggableWrapperInputBaseStyled, H as HeaderInputBaseStyled } from "../../../slots/DataGridSlot.js";
|
|
11
9
|
function DraggableHeaderRenderer(props) {
|
|
12
10
|
const { onColumnsReorder, column, isCellSelected, ...others } = props;
|
|
13
11
|
const { ref, tabIndex } = useFocusRef(isCellSelected);
|
|
14
12
|
const { getLabel } = useModuleDictionary();
|
|
15
|
-
const { size, classes } = useDataGrid();
|
|
16
|
-
const { host_static_assets, environment_assets } = useEnvironment();
|
|
17
13
|
const { activeFilters, filters, onChangeFilter } = useFilters();
|
|
18
14
|
const [filter, setFilter] = useState(filters?.get(column.key) || "");
|
|
19
15
|
const [{ isDragging }, drag] = useDrag({
|
|
@@ -56,7 +52,6 @@ function DraggableHeaderRenderer(props) {
|
|
|
56
52
|
return /* @__PURE__ */ jsxs(
|
|
57
53
|
DraggableHeaderRootStyled,
|
|
58
54
|
{
|
|
59
|
-
className: classes?.draggableHeaderRoot,
|
|
60
55
|
ref: (newRef) => {
|
|
61
56
|
drag(newRef);
|
|
62
57
|
drop(newRef);
|
|
@@ -67,27 +62,17 @@ function DraggableHeaderRenderer(props) {
|
|
|
67
62
|
},
|
|
68
63
|
children: [
|
|
69
64
|
/* @__PURE__ */ jsx(HeaderRenderer, { column: newColumn, isCellSelected, ...others }),
|
|
70
|
-
activeFilters && (column?.withFilter === void 0 || column.withFilter === true) && /* @__PURE__ */
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
inputRef: ref,
|
|
83
|
-
placeholder: getLabel("data_grid.filter_holder"),
|
|
84
|
-
tabIndex,
|
|
85
|
-
type: "text",
|
|
86
|
-
onChange: handleChange,
|
|
87
|
-
value: filter
|
|
88
|
-
}
|
|
89
|
-
)
|
|
90
|
-
] })
|
|
65
|
+
activeFilters && (column?.withFilter === void 0 || column.withFilter === true) && /* @__PURE__ */ jsx(DraggableWrapperInputBaseStyled, { children: /* @__PURE__ */ jsx(
|
|
66
|
+
HeaderInputBaseStyled,
|
|
67
|
+
{
|
|
68
|
+
inputRef: ref,
|
|
69
|
+
placeholder: getLabel("data_grid.filter_holder"),
|
|
70
|
+
tabIndex,
|
|
71
|
+
type: "text",
|
|
72
|
+
onChange: handleChange,
|
|
73
|
+
value: filter
|
|
74
|
+
}
|
|
75
|
+
) })
|
|
91
76
|
]
|
|
92
77
|
}
|
|
93
78
|
);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { S as Skeleton } from "../../../../../mui_extended/Skeleton/Skeleton.js";
|
|
2
|
+
import { Skeleton } from "@mui/material";
|
|
4
3
|
import { W as WrapperSkeletonStyled } from "../../../../slots/DataGridSlot.js";
|
|
5
4
|
function SkeletonFormatter() {
|
|
6
|
-
|
|
7
|
-
return /* @__PURE__ */ jsx(WrapperSkeletonStyled, { ownerState: { size }, children: /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: "100%" }) });
|
|
5
|
+
return /* @__PURE__ */ jsx(WrapperSkeletonStyled, { children: /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: "100%", height: "12px" }) });
|
|
8
6
|
}
|
|
9
7
|
export {
|
|
10
8
|
SkeletonFormatter as S
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { I as InputTextEditorStyled } from "../../../slots/DataGridSlot.js";
|
|
3
3
|
function autoFocusAndSelect(input) {
|
|
4
4
|
input?.focus();
|
|
5
5
|
input?.select();
|
|
@@ -2,13 +2,11 @@ import { Maybe } from '@m4l/core';
|
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
3
|
import { Column, RowsChangeData, FormatterProps } from 'react-data-grid';
|
|
4
4
|
import { MenuAction } from '../MenuActions/types';
|
|
5
|
-
import {
|
|
5
|
+
import { ActionsProps } from './subcomponents/Actions/types';
|
|
6
|
+
import { ActionsSlots, ColumnsConfigSlots, DataGridSlots, RowsCountSlots, TableSlots, TextEditorSlots } from './slots/DataGridEnum';
|
|
6
7
|
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
7
8
|
import { DATAGRID_PREFIX_NAME } from './constants';
|
|
8
9
|
import { IGridConfig } from './contexts/DataGridContext/types';
|
|
9
|
-
import { Sizes } from '@m4l/styles';
|
|
10
|
-
import { SettingsProps } from './subcomponents/HeaderActions/subcomponents/types';
|
|
11
|
-
import { PagerProps } from '../Pager';
|
|
12
10
|
export type GridFormatterPropss<T, SR> = FormatterProps<T, SR>;
|
|
13
11
|
export type { ColumnUncertaintyFormatter, ColumnPointsFormatter, ColumnNestedValueFormatter, } from './formatters';
|
|
14
12
|
export declare type ColumnType = 'string' | 'date' | 'number' | 'boolean' | 'custom';
|
|
@@ -85,11 +83,6 @@ export interface GridProps<TRow, TSummaryRow, TKey extends RowKey = RowKey> {
|
|
|
85
83
|
* las configuraciones de las columnas.
|
|
86
84
|
*/
|
|
87
85
|
onChangeUserColumns?: OnChangeUserColumns;
|
|
88
|
-
/**
|
|
89
|
-
* Tamaño del componente
|
|
90
|
-
* @default 'medium'
|
|
91
|
-
*/
|
|
92
|
-
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
93
86
|
}
|
|
94
87
|
export declare const DATAGRID_TEST_ID = "m4ldatagrid";
|
|
95
88
|
export declare const PREFIX_TEST_ATTRIBUTE = "data-testid";
|
|
@@ -100,16 +93,6 @@ export declare interface DataGridProps<TRow, TSummaryRow, TKey extends RowKey =
|
|
|
100
93
|
customHeader?: React.ReactNode;
|
|
101
94
|
visibleCustomHeader?: boolean;
|
|
102
95
|
}
|
|
103
|
-
export interface ActionsProps {
|
|
104
|
-
withSettings?: boolean;
|
|
105
|
-
settingsProps?: SettingsProps;
|
|
106
|
-
withRowsCount?: boolean;
|
|
107
|
-
withPager?: boolean;
|
|
108
|
-
pagerOptions?: PagerProps;
|
|
109
|
-
withLocalFilters?: boolean;
|
|
110
|
-
leftActions?: React.ReactNode;
|
|
111
|
-
rightActions?: React.ReactNode;
|
|
112
|
-
}
|
|
113
96
|
export type DataGridOwnerState<TRow, TSummaryRow, TKey extends RowKey = RowKey> = Pick<DataGridProps<TRow, TSummaryRow, TKey>, 'visibleCustomHeader'>;
|
|
114
|
-
export type DataGridSlotsType = DataGridSlots | TextEditorSlots | ActionsSlots | RowsCountSlots | ColumnsConfigSlots | TableSlots
|
|
97
|
+
export type DataGridSlotsType = DataGridSlots | TextEditorSlots | ActionsSlots | RowsCountSlots | ColumnsConfigSlots | TableSlots;
|
|
115
98
|
export type DataGridStyles = OverridesStyleRules<DataGridSlotsType, typeof DATAGRID_PREFIX_NAME, Theme>;
|
|
@@ -5,7 +5,7 @@ const dragResizeWindowStyles = {
|
|
|
5
5
|
* @param {Object} params - Object containing theme and ownerState properties.
|
|
6
6
|
* @param {Object} params.theme - Theme object for accessing theme variables.
|
|
7
7
|
* @param {Object} params.ownerState - Object holding the component's current state.
|
|
8
|
-
* @param {boolean} [params.ownerState
|
|
8
|
+
* @param {boolean} [params.ownerState.hidden] - Controls visibility; if true, sets the component to be hidden and disables pointer events.
|
|
9
9
|
* @returns {Object} - Style object for the root container.
|
|
10
10
|
*/
|
|
11
11
|
root: ({ theme, ownerState }) => ({
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Rnd } from 'react-rnd';
|
|
2
2
|
export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
3
|
-
ownerState
|
|
3
|
+
ownerState: any;
|
|
4
4
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
5
5
|
export declare const IconResizeFormatterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
6
|
-
ownerState
|
|
6
|
+
ownerState: any;
|
|
7
7
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
8
|
-
export declare const RndStyled: import('@emotion/styled').StyledComponent<Pick<import('react-rnd').Props, keyof import('react-rnd').Props> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme
|
|
8
|
+
export declare const RndStyled: import('@emotion/styled').StyledComponent<Pick<import('react-rnd').Props, keyof import('react-rnd').Props> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
9
|
+
ownerState: any;
|
|
10
|
+
}, {}, {
|
|
9
11
|
ref?: import('react').Ref<Rnd> | undefined;
|
|
10
12
|
}>;
|