@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
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
export declare const AreasAdminRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
-
ownerState
|
|
2
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const AreasContainerChipIconStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
-
ownerState
|
|
5
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const AreasContainerContentChipsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
-
ownerState
|
|
8
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
9
9
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
export declare const AreaContentChipStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
11
|
-
ownerState
|
|
11
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
12
12
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
13
|
export declare const AreaChipRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
14
|
-
ownerState
|
|
14
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
15
15
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
16
16
|
export declare const AreaContainerChipEditButtonStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
17
|
-
ownerState
|
|
17
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
18
18
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
19
19
|
export declare const AreasAdminContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
20
|
-
ownerState
|
|
20
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
22
|
export declare const ChipAreasStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Chip').ChipProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../../../Chip').ChipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
23
|
-
ownerState
|
|
23
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
24
24
|
}, {}, {}>;
|
|
25
|
-
export declare const IconButtonAddAreaStyled: 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" | "
|
|
26
|
-
ownerState
|
|
25
|
+
export declare const IconButtonAddAreaStyled: 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" | "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" | "onResize" | "onResizeCapture" | "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> & Record<string, unknown> & {
|
|
26
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
27
27
|
}, {}, {}>;
|
|
28
28
|
export declare const MenuActionsChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../MenuActions/types').MenuActionsProps, keyof import('../../../../MenuActions/types').MenuActionsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
29
|
-
ownerState
|
|
29
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
30
30
|
}, {}, {}>;
|
|
31
31
|
export declare const ContainerAdminWindowsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
32
|
-
ownerState
|
|
32
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
33
33
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
34
34
|
export declare const AreaChipMobileRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
35
|
-
ownerState
|
|
35
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
36
36
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
37
37
|
export declare const ChipMobileRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
38
|
-
ownerState
|
|
38
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
39
39
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
40
40
|
export declare const ChipMobileContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
41
|
-
ownerState
|
|
41
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
42
42
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
43
43
|
export declare const AddAreasMobileContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
44
|
-
ownerState
|
|
44
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
45
45
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
46
46
|
export declare const MenuActionsAreaChipMobileStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../MenuActions/types').MenuActionsProps, keyof import('../../../../MenuActions/types').MenuActionsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
47
|
-
ownerState
|
|
47
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
48
48
|
}, {}, {}>;
|
|
49
|
-
export declare const ButtonAddAreaStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "label" | "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" | "
|
|
50
|
-
ownerState
|
|
49
|
+
export declare const ButtonAddAreaStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "label" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
50
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
51
51
|
}, {}, {}>;
|
|
52
52
|
export declare const EditAreaChipContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
53
|
-
ownerState
|
|
53
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
54
54
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
55
55
|
export declare const EditAreaHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
56
|
-
ownerState
|
|
56
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
57
57
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
58
58
|
export declare const EditAreaChipMobileContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
59
|
-
ownerState
|
|
59
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
60
60
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
61
61
|
export declare const NameChipMobileStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
62
|
-
ownerState
|
|
62
|
+
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
63
63
|
}, {}, {}>;
|
|
@@ -100,6 +100,7 @@ const AreaChip = (props) => {
|
|
|
100
100
|
/* @__PURE__ */ jsx(
|
|
101
101
|
AreaChipRootStyled,
|
|
102
102
|
{
|
|
103
|
+
ownerState: {},
|
|
103
104
|
role: "presentation",
|
|
104
105
|
ref: anchorRef,
|
|
105
106
|
onMouseUp: onRippleStop,
|
|
@@ -109,6 +110,7 @@ const AreaChip = (props) => {
|
|
|
109
110
|
children: !isMobile ? /* @__PURE__ */ jsx(
|
|
110
111
|
AreaContainerChipEditButtonStyled,
|
|
111
112
|
{
|
|
113
|
+
ownerState: {},
|
|
112
114
|
children: /* @__PURE__ */ jsx(
|
|
113
115
|
ChipAreasStyled,
|
|
114
116
|
{
|
|
@@ -142,6 +144,7 @@ const AreaChip = (props) => {
|
|
|
142
144
|
/* @__PURE__ */ jsx(
|
|
143
145
|
EditAreaChipContainerStyled,
|
|
144
146
|
{
|
|
147
|
+
ownerState: {},
|
|
145
148
|
role: "presentation",
|
|
146
149
|
onClick: (e) => {
|
|
147
150
|
e.stopPropagation();
|
|
@@ -164,7 +167,7 @@ const AreaChip = (props) => {
|
|
|
164
167
|
values: initialValues,
|
|
165
168
|
validationSchema,
|
|
166
169
|
children: [
|
|
167
|
-
/* @__PURE__ */ jsx(EditAreaHeaderStyled, { children: /* @__PURE__ */ jsx(Typography, { children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area)) }) }),
|
|
170
|
+
/* @__PURE__ */ jsx(EditAreaHeaderStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Typography, { children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area)) }) }),
|
|
168
171
|
/* @__PURE__ */ jsx(
|
|
169
172
|
RHFTextField,
|
|
170
173
|
{
|
|
@@ -76,10 +76,11 @@ const ChipMobile = (props) => {
|
|
|
76
76
|
color: "error"
|
|
77
77
|
}
|
|
78
78
|
];
|
|
79
|
-
return /* @__PURE__ */ jsxs(ChipMobileRootStyled, { selected, disabled, children: [
|
|
79
|
+
return /* @__PURE__ */ jsxs(ChipMobileRootStyled, { selected, disabled, ownerState: {}, children: [
|
|
80
80
|
/* @__PURE__ */ jsxs(
|
|
81
81
|
ChipMobileContentStyled,
|
|
82
82
|
{
|
|
83
|
+
ownerState: {},
|
|
83
84
|
role: "presentation",
|
|
84
85
|
ref: anchorRef,
|
|
85
86
|
onMouseUp: onRippleStop,
|
|
@@ -88,7 +89,7 @@ const ChipMobile = (props) => {
|
|
|
88
89
|
},
|
|
89
90
|
children: [
|
|
90
91
|
/* @__PURE__ */ jsx(TouchRipple, { ref: rippleRef, center: false }),
|
|
91
|
-
/* @__PURE__ */ jsx(NameChipMobileStyled, { variant: "body", children: `${areaName}` }),
|
|
92
|
+
/* @__PURE__ */ jsx(NameChipMobileStyled, { ownerState: {}, variant: "body", children: `${areaName}` }),
|
|
92
93
|
/* @__PURE__ */ jsx(
|
|
93
94
|
MenuActions,
|
|
94
95
|
{
|
|
@@ -131,7 +132,7 @@ const ChipMobile = (props) => {
|
|
|
131
132
|
values: initialValues,
|
|
132
133
|
validationSchema,
|
|
133
134
|
children: [
|
|
134
|
-
/* @__PURE__ */ jsx(EditAreaChipMobileContainerStyled, { children: /* @__PURE__ */ jsx(Typography, { children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area)) }) }),
|
|
135
|
+
/* @__PURE__ */ jsx(EditAreaChipMobileContainerStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Typography, { children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area)) }) }),
|
|
135
136
|
/* @__PURE__ */ jsx(
|
|
136
137
|
RHFTextField,
|
|
137
138
|
{
|
|
@@ -2,7 +2,7 @@ import { Theme } from '@mui/material';
|
|
|
2
2
|
import { AreasAdminSlots } from './slots/AreasAdminEnum';
|
|
3
3
|
import { AREAS_ADMIN_KEY_COMPONENT } from './constants';
|
|
4
4
|
import { ComponentPalletColor, Sizes } from '@m4l/styles';
|
|
5
|
-
import { M4LOverridesStyleRules } from '
|
|
5
|
+
import { M4LOverridesStyleRules } from '../../../../../src/@types/augmentations';
|
|
6
6
|
export type AreasAdminType = keyof typeof AreasAdminSlots;
|
|
7
7
|
export interface AreasAdminProps {
|
|
8
8
|
/**
|
|
@@ -21,7 +21,7 @@ const AreasViewer = forwardRef((props, ref) => {
|
|
|
21
21
|
const areas = useAreasStore((state) => state.areasIds, shallow);
|
|
22
22
|
const windowsModals = useAreasStore((state) => state.windowsModalsIds);
|
|
23
23
|
const currentArea = useAreasStore((state) => state.currentAreaId);
|
|
24
|
-
const status = useAreasStore((state) => state.ownerState
|
|
24
|
+
const status = useAreasStore((state) => state.ownerState.status);
|
|
25
25
|
const { init } = useAreasStore((state) => state.areasActions);
|
|
26
26
|
const ownerState = {
|
|
27
27
|
selected: !!currentArea
|
|
@@ -8,7 +8,7 @@ const areasViewerStyles = {
|
|
|
8
8
|
height: "100%",
|
|
9
9
|
overflow: "hidden",
|
|
10
10
|
position: "relative",
|
|
11
|
-
background: theme.vars.palette.background.
|
|
11
|
+
background: theme.vars.palette.background.neutral,
|
|
12
12
|
// areaGridLayout
|
|
13
13
|
"& .M4LAreasViewer-areaGridLayout": {
|
|
14
14
|
height: "100% !important",
|
|
@@ -33,7 +33,7 @@ const areasViewerStyles = {
|
|
|
33
33
|
justifyContent: "top",
|
|
34
34
|
alignItems: "flex-start",
|
|
35
35
|
visibility: "hidden",
|
|
36
|
-
...ownerState
|
|
36
|
+
...ownerState.selected && {
|
|
37
37
|
display: "block",
|
|
38
38
|
visibility: "visible"
|
|
39
39
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const AreasViewerRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
-
ownerState
|
|
2
|
+
ownerState: Partial<import('../types').AreasViewerOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const AreaRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
-
ownerState
|
|
5
|
+
ownerState: Partial<import('../types').AreasViewerOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const BaseAreaStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
-
ownerState
|
|
8
|
+
ownerState: Partial<import('../types').AreasViewerOwnerState> & Record<string, unknown>;
|
|
9
9
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
export declare const WrapperWindowModalStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
11
|
-
ownerState
|
|
11
|
+
ownerState: Partial<import('../types').AreasViewerOwnerState> & Record<string, unknown>;
|
|
12
12
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
13
|
export declare const WindowBaseStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../WindowBase/types').WindowBaseProps, keyof import('../../../../WindowBase/types').WindowBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
14
|
-
ownerState
|
|
14
|
+
ownerState: Partial<import('../types').AreasViewerOwnerState> & Record<string, unknown>;
|
|
15
15
|
}, {}, {}>;
|
|
@@ -6,7 +6,7 @@ import { B as BaseAreaStyled } from "../../../../slots/AreasViewerSlots.js";
|
|
|
6
6
|
const BaseArea = (props) => {
|
|
7
7
|
const { areaId } = props;
|
|
8
8
|
const status = useAreasStore((state) => state.hashAreas[areaId].status);
|
|
9
|
-
return /* @__PURE__ */ jsx(BaseAreaStyled, { children: status === "loaded" ? /* @__PURE__ */ jsx(AreaGridLayout, { areaId }) : /* @__PURE__ */ jsx(LoadingError, { status, action: () => {
|
|
9
|
+
return /* @__PURE__ */ jsx(BaseAreaStyled, { ownerState: {}, children: status === "loaded" ? /* @__PURE__ */ jsx(AreaGridLayout, { areaId }) : /* @__PURE__ */ jsx(LoadingError, { status, action: () => {
|
|
10
10
|
} }) });
|
|
11
11
|
};
|
|
12
12
|
export {
|
package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js
CHANGED
|
@@ -7,8 +7,6 @@ import { a as getNameDataTestId } from "../../../../../../../../test/getNameData
|
|
|
7
7
|
import { A as AREAS_VIEWER_CLASS_NAME } from "../../../../../../constants.js";
|
|
8
8
|
import { u as useWindow } from "./hooks/useWindow.js";
|
|
9
9
|
import { W as WindowBaseStyled } from "../../../../slots/AreasViewerSlots.js";
|
|
10
|
-
import { shallow } from "zustand/shallow";
|
|
11
|
-
import { u as useAreasStore } from "../../../../../../hooks/useAreas/index.js";
|
|
12
10
|
const Window = (props) => {
|
|
13
11
|
const { areaId, windowId } = props;
|
|
14
12
|
const {
|
|
@@ -30,16 +28,13 @@ const Window = (props) => {
|
|
|
30
28
|
onTouch,
|
|
31
29
|
memoizedActions
|
|
32
30
|
} = useWindow(windowId, areaId);
|
|
33
|
-
const maximizedId = useAreasStore(
|
|
34
|
-
(state) => areaId ? state.hashAreas[areaId]?.maximizedId : void 0,
|
|
35
|
-
shallow
|
|
36
|
-
);
|
|
37
31
|
if (status === void 0) {
|
|
38
32
|
return null;
|
|
39
33
|
}
|
|
40
34
|
return /* @__PURE__ */ jsx(
|
|
41
35
|
WindowBaseStyled,
|
|
42
36
|
{
|
|
37
|
+
ownerState: {},
|
|
43
38
|
title: `${title}${moduleCount ? `:${moduleCount}` : ""}`,
|
|
44
39
|
iconUrl,
|
|
45
40
|
isLoading: loading,
|
|
@@ -50,8 +45,6 @@ const Window = (props) => {
|
|
|
50
45
|
windowId,
|
|
51
46
|
selected,
|
|
52
47
|
onMouseDown: onTouch,
|
|
53
|
-
type: emergeType,
|
|
54
|
-
variant: maximizedId ? "text" : "outlined",
|
|
55
48
|
...process.env.NODE_ENV !== "production" ? {
|
|
56
49
|
[TEST_PROP_ID]: getNameDataTestId(
|
|
57
50
|
AREAS_VIEWER_CLASS_NAME,
|
|
@@ -46,14 +46,12 @@ const useRightActions = ({
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
disabled: false
|
|
50
|
-
color: "info",
|
|
51
|
-
className: "expand-toggle window-actions"
|
|
49
|
+
disabled: false
|
|
52
50
|
});
|
|
53
51
|
actions.push({
|
|
54
52
|
place: "right",
|
|
55
53
|
key: "collapseToggle",
|
|
56
|
-
iconUrl: !collapsed ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.
|
|
54
|
+
iconUrl: !collapsed ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.COLAPSE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.UNCOLPASE}`,
|
|
57
55
|
label: !collapsed ? getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_collapse_window)) : getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_uncollapse_window)),
|
|
58
56
|
/**
|
|
59
57
|
* Acción de collapse/expand.
|
|
@@ -67,9 +65,7 @@ const useRightActions = ({
|
|
|
67
65
|
}
|
|
68
66
|
}
|
|
69
67
|
},
|
|
70
|
-
disabled: !(maximizedId === void 0)
|
|
71
|
-
color: "warning",
|
|
72
|
-
className: "collapse-toggle window-actions"
|
|
68
|
+
disabled: !(maximizedId === void 0)
|
|
73
69
|
});
|
|
74
70
|
return actions;
|
|
75
71
|
}, [
|
|
@@ -62,6 +62,7 @@ const AreaWindowModal = (props) => {
|
|
|
62
62
|
children: /* @__PURE__ */ jsx(
|
|
63
63
|
WrapperWindowModalStyled,
|
|
64
64
|
{
|
|
65
|
+
ownerState: {},
|
|
65
66
|
ref: setContainerRef,
|
|
66
67
|
children: !isMobile ? /* @__PURE__ */ jsx(DraggableComponent, {}) : /* @__PURE__ */ jsx(Window, { ...props })
|
|
67
68
|
}
|
|
@@ -48,7 +48,7 @@ function AreasProvider(props) {
|
|
|
48
48
|
}, storeDevtoolsEnabled);
|
|
49
49
|
areasStoreRef.current?.getState().areasActions.init();
|
|
50
50
|
}
|
|
51
|
-
const status = useStore(areasStoreRef.current, (state) => state.ownerState
|
|
51
|
+
const status = useStore(areasStoreRef.current, (state) => state.ownerState.status, shallow);
|
|
52
52
|
const currentModuleId = useStore(areasStoreRef.current, (state) => state.currentModuleId);
|
|
53
53
|
const refCurrentModuleId = useRef("");
|
|
54
54
|
const { setHandlerGetLabel, setExternalState } = useStore(
|
|
@@ -37,7 +37,7 @@ const createAreasStore = (initProps, storeDevtoolsEnabled = false) => {
|
|
|
37
37
|
* Inicializa el store de areas
|
|
38
38
|
*/
|
|
39
39
|
init: () => {
|
|
40
|
-
if (get().ownerState
|
|
40
|
+
if (get().ownerState.status !== "init") {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
43
|
if (!get().loadAreasFromNetwork) {
|
|
@@ -162,7 +162,7 @@ export interface AreasStoreStateWithActions extends AreasStoreState {
|
|
|
162
162
|
areasActions: {
|
|
163
163
|
/**
|
|
164
164
|
* inicializa el store cargando las áreas de trabajo.
|
|
165
|
-
* Una vez termina el proceso, actualiza el estado de carga (ownerState
|
|
165
|
+
* Una vez termina el proceso, actualiza el estado de carga (ownerState.status) a "loaded".
|
|
166
166
|
* Normalmente es asyncrono en producción por el llamado al endpoint áreas.
|
|
167
167
|
*/
|
|
168
168
|
init: () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const ICONS = {
|
|
2
|
-
MAXIMIZE: "
|
|
3
|
-
NORMALIZE: "
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
MAXIMIZE: "maximize.svg",
|
|
3
|
+
NORMALIZE: "normalize.svg",
|
|
4
|
+
COLAPSE: "colapse.svg",
|
|
5
|
+
UNCOLPASE: "uncolapse.svg",
|
|
6
6
|
RESET_COOKIES: "reset_cookies.svg",
|
|
7
7
|
SAVE_COOKIES: "save_cookies.svg",
|
|
8
8
|
DELETE_AREA: "delete_area.svg",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AppBarComercialClassesType } from './types';
|
|
2
|
-
import {
|
|
2
|
+
import { OnwerState } from './../types';
|
|
3
3
|
export declare const appBarComercialClasses: AppBarComercialClassesType;
|
|
4
4
|
export declare function getAppBarComercialUtilityClass(slot: string): string;
|
|
5
5
|
/**
|
|
6
6
|
* TODO: Documentar
|
|
7
7
|
*/
|
|
8
|
-
export declare const useAppBarComercialUtilityClasses: (ownerState:
|
|
8
|
+
export declare const useAppBarComercialUtilityClasses: (ownerState: OnwerState) => Record<"root", string>;
|
|
@@ -17,9 +17,9 @@ const useAppBarComercialUtilityClasses = (ownerState) => {
|
|
|
17
17
|
const slots = {
|
|
18
18
|
root: [
|
|
19
19
|
"root",
|
|
20
|
-
ownerState
|
|
21
|
-
ownerState
|
|
22
|
-
ownerState
|
|
20
|
+
ownerState.contentWith === "fullWidth" && "fullWidth",
|
|
21
|
+
ownerState.contentWith === "boxed" && "boxed",
|
|
22
|
+
ownerState.columnReverse && "columnReverse"
|
|
23
23
|
]
|
|
24
24
|
};
|
|
25
25
|
return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
@@ -5,4 +5,4 @@ export interface SectionComercialProps extends StackProps {
|
|
|
5
5
|
contentWith?: 'fullWidth' | 'boxed';
|
|
6
6
|
columnReverse?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export type
|
|
8
|
+
export type OnwerState = Pick<SectionComercialProps, 'contentWith' | 'columnReverse'>;
|
|
@@ -20,8 +20,15 @@ export declare const getReactResizableStyles: (theme: Theme, ownerState: {
|
|
|
20
20
|
'&.react-resizable': {
|
|
21
21
|
position: string;
|
|
22
22
|
'& .react-resizable-handle': {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
display: string;
|
|
24
|
+
};
|
|
25
|
+
'&:hover:not(.react-resizable-hide) .react-resizable-handle': {
|
|
26
|
+
display: string;
|
|
27
|
+
prop1: number;
|
|
28
|
+
};
|
|
29
|
+
'&.M4L-resizing .react-resizable-handle': {
|
|
30
|
+
display: string;
|
|
31
|
+
prop1: number;
|
|
25
32
|
};
|
|
26
33
|
};
|
|
27
34
|
'& .react-resizable-handle-sw': {
|
|
@@ -5,7 +5,7 @@ const getReactResizableStyles = (theme, ownerState) => {
|
|
|
5
5
|
height: theme.vars.size.baseSpacings.sp3,
|
|
6
6
|
borderStyle: "solid",
|
|
7
7
|
borderWidth: `${borderWith}px`,
|
|
8
|
-
display: ownerState
|
|
8
|
+
display: ownerState.disabled ? "none" : "block",
|
|
9
9
|
borderColor: theme.palette.border.default,
|
|
10
10
|
borderRadius: "0%",
|
|
11
11
|
backgroundImage: "none",
|
|
@@ -16,24 +16,22 @@ const getReactResizableStyles = (theme, ownerState) => {
|
|
|
16
16
|
};
|
|
17
17
|
return {
|
|
18
18
|
position: "absolute",
|
|
19
|
-
backgroundColor:
|
|
20
|
-
cursor: ownerState
|
|
19
|
+
backgroundColor: theme.palette.background.default,
|
|
20
|
+
cursor: ownerState.disabled ? "default" : void 0,
|
|
21
21
|
"&.react-resizable": {
|
|
22
22
|
position: "relative",
|
|
23
|
-
//propuesta de diseño con el resizable oculto
|
|
24
23
|
"& .react-resizable-handle": {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
prop1: 3,
|
|
24
|
+
display: "none"
|
|
25
|
+
},
|
|
26
|
+
// Show handles only when not disabled and add resizing styles
|
|
27
|
+
"&:hover:not(.react-resizable-hide) .react-resizable-handle": {
|
|
28
|
+
display: ownerState.disabled ? "none" : "block",
|
|
29
|
+
prop1: 3
|
|
32
30
|
},
|
|
33
|
-
|
|
34
|
-
display: ownerState
|
|
35
|
-
prop1: 2
|
|
36
|
-
}
|
|
31
|
+
"&.M4L-resizing .react-resizable-handle": {
|
|
32
|
+
display: ownerState.disabled ? "none" : "block",
|
|
33
|
+
prop1: 2
|
|
34
|
+
}
|
|
37
35
|
},
|
|
38
36
|
// '&.react-resizable-hide > .react-resizable-handle': {
|
|
39
37
|
// display: 'none',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const PropagateLoaderSpinnerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
|
-
ownerState
|
|
1
|
+
export declare const PropagateLoaderSpinnerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').PropagateLoaderSpinnerOwnerState> & Record<string, unknown> & {
|
|
2
|
+
ownerState: Partial<import('../types').PropagateLoaderSpinnerOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
|
-
export declare const LoaderStyled: import('@emotion/styled').StyledComponent<Pick<import('react-spinners/helpers/props').LoaderSizeProps, keyof import('react-spinners/helpers/props').LoaderSizeProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
|
-
ownerState
|
|
4
|
+
export declare const LoaderStyled: import('@emotion/styled').StyledComponent<Pick<import('react-spinners/helpers/props').LoaderSizeProps, keyof import('react-spinners/helpers/props').LoaderSizeProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').PropagateLoaderSpinnerOwnerState> & Record<string, unknown> & {
|
|
5
|
+
ownerState: Partial<import('../types').PropagateLoaderSpinnerOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, {}, {}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { PropagateLoaderSpinnerSlots } from './slots/PropagateLoaderSpinnerEnum';
|
|
3
3
|
import { PROPAGATE_LOADER_SPINNER_KEY_COMPONENT } from './constants';
|
|
4
|
+
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
4
5
|
import { Theme } from '@mui/material';
|
|
5
6
|
import { Sizes } from '@m4l/styles';
|
|
6
|
-
import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
|
|
7
7
|
export type PropagateLoaderSpinnerType = keyof typeof PropagateLoaderSpinnerSlots;
|
|
8
8
|
/**
|
|
9
9
|
* Propiedades comunes para configurar el loader.
|
|
@@ -55,4 +55,4 @@ export interface PropagateLoaderSpinnerOwnerState {
|
|
|
55
55
|
*/
|
|
56
56
|
[key: string]: unknown;
|
|
57
57
|
}
|
|
58
|
-
export type PropagateLoaderSpinnerStyles =
|
|
58
|
+
export type PropagateLoaderSpinnerStyles = OverridesStyleRules<PropagateLoaderSpinnerType, typeof PROPAGATE_LOADER_SPINNER_KEY_COMPONENT, Theme>;
|