@m4l/components 9.1.100 → 9.1.102
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/@types/export.d.ts +0 -6
- package/@types/types.d.ts +0 -23
- package/components/AccountPopover/AccountPopover.d.ts +0 -4
- package/components/AccountPopover/AccountPopover.styles.js +0 -64
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.d.ts +0 -4
- package/components/AccountPopover/subcomponents/MenuPopover/types.d.ts +0 -1
- package/components/AccountPopover/subcomponents/MyAvatar/MyAvatar.d.ts +0 -4
- package/components/AccountPopover/types.d.ts +0 -13
- package/components/AppBar/AppBar.d.ts +0 -4
- package/components/AppBar/styles.js +0 -33
- package/components/AppBar/types.d.ts +0 -8
- package/components/BaseModule/BaseModule.d.ts +0 -4
- package/components/Chip/Chip.d.ts +0 -4
- package/components/Chip/ChipStyles.js +0 -20
- package/components/Chip/types.d.ts +0 -15
- package/components/Color/Color.d.ts +0 -4
- package/components/Color/Color.styles.js +0 -4
- package/components/Color/types.d.ts +0 -8
- package/components/CommonActions/components/ActionCancel/ActionCancel.d.ts +0 -4
- package/components/CommonActions/components/ActionFormCancel/index.d.ts +0 -4
- package/components/CommonActions/components/ActionFormIntro/index.d.ts +0 -4
- package/components/CommonActions/components/ActionIntro/ActionIntro.d.ts +0 -4
- package/components/CommonActions/components/ActionsContainer/ActionsContainer.d.ts +0 -4
- package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +0 -4
- package/components/DataGrid/dictionary.d.ts +0 -4
- package/components/DataGrid/formatters/ColumnPointsFormatter/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -4
- package/components/DragResizeWindow/DragResizeWindow.d.ts +0 -4
- package/components/DragResizeWindow/DragResizeWindow.styles.d.ts +0 -1
- package/components/DragResizeWindow/DragResizeWindow.styles.js +0 -8
- package/components/DragResizeWindow/helpers/index.d.ts +0 -4
- package/components/DragResizeWindow/hooks/useDimensionEffects.d.ts +0 -4
- package/components/DragResizeWindow/hooks/useDragOptions.d.ts +0 -4
- package/components/DragResizeWindow/hooks/useResizeOptions.d.ts +0 -4
- package/components/DragResizeWindow/types.d.ts +0 -19
- package/components/DragResizeWindow/utils.d.ts +0 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.d.ts +0 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.d.ts +0 -4
- package/components/DynamicFilter/types.d.ts +0 -18
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.d.ts +0 -4
- package/components/GridLayout/styles.js +0 -11
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +0 -3
- package/components/GridLayout/subcomponents/withSizeProvider/index.d.ts +0 -4
- package/components/HelperError/HelperError.d.ts +0 -4
- package/components/HelperError/HelperError.styles.js +0 -8
- package/components/Icon/Icon.d.ts +0 -4
- package/components/Icon/Icon.styles.js +0 -12
- package/components/Image/Image.d.ts +0 -5
- package/components/Image/hoc/WithTrackWindowScroll.d.ts +0 -4
- package/components/Image/image.styles.js +0 -13
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +0 -5
- package/components/Image/utils/get-scroll-ancestor.d.ts +0 -4
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +0 -4
- package/components/Label/Label.d.ts +0 -4
- package/components/Label/Label.styles.js +0 -20
- package/components/LanguagePopover/LanguagePopover.d.ts +0 -5
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.d.ts +0 -4
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +0 -4
- package/components/Loadable/index.d.ts +0 -8
- package/components/LoadingError/LoadingError.d.ts +0 -5
- package/components/MFIsolationApp/MFIsolationApp.d.ts +0 -4
- package/components/MFLoader/MFLoader.d.ts +0 -6
- package/components/MFLoader/MFLoader.js +0 -3
- package/components/MenuActions/MenuActions.d.ts +0 -4
- package/components/MenuActions/MenuActions.styles.d.ts +0 -1
- package/components/MenuActions/MenuActions.styles.js +0 -24
- package/components/MenuActions/dictionary.d.ts +0 -14
- package/components/MenuActions/types.d.ts +0 -32
- package/components/ModalDialog/ModalDialog.d.ts +0 -6
- package/components/ModalDialog/ModalDialog.styles.js +0 -12
- package/components/ObjectLogs/index.d.ts +0 -4
- package/components/PDFViewer/PDFViewer.d.ts +0 -4
- package/components/Pager/Pager.d.ts +0 -4
- package/components/Pager/Pager.styles.js +0 -32
- package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.d.ts +0 -4
- package/components/Pager/subcomponents/CustomTablePagination/types.d.ts +0 -15
- package/components/Pager/subcomponents/PagerActions/PagerActions.d.ts +0 -4
- package/components/Pager/types.d.ts +0 -5
- package/components/PaperForm/PaperForm.d.ts +0 -4
- package/components/PaperForm/components/Header.d.ts +0 -4
- package/components/PaperForm/styles.js +0 -20
- package/components/PrintingSystem/types.d.ts +0 -23
- package/components/PrintingSystem/utils/PageRender/index.d.ts +0 -4
- package/components/PropertyValue/PropertyValue.d.ts +0 -4
- package/components/PropertyValue/PropertyValue.styles.js +0 -12
- package/components/SideBar/SideBar.d.ts +0 -4
- package/components/SideBar/context/sideBarContext/index.d.ts +0 -7
- package/components/SideBar/context/sideBarContext/types.d.ts +0 -5
- package/components/SideBar/helpers/getDataToSkeleton/index.d.ts +0 -4
- package/components/SideBar/helpers/getMenuDataWithState/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentComponent/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentComponent/style.js +0 -4
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentGroups/styles.js +0 -20
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +0 -8
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +0 -4
- package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +0 -4
- package/components/SideBar/subcomponents/FooterSidebar/styles.js +0 -4
- package/components/SideBar/subcomponents/HeaderSidebar/index.d.ts +0 -4
- package/components/SideBar/subcomponents/HeaderSidebar/styles.js +0 -8
- package/components/SideBar/subcomponents/SideBarDesktop/index.d.ts +0 -4
- package/components/SideBar/subcomponents/SideBarDesktop/styles.js +0 -12
- package/components/SideBar/subcomponents/SideBarMobile/index.d.ts +0 -4
- package/components/SideBar/subcomponents/SideBarMobile/styles.js +0 -4
- package/components/SideBar/subcomponents/SideBarMobile/subcomponents/Drawer.d.ts +0 -4
- package/components/SideBar/tests/utils.d.ts +0 -16
- package/components/SideBar/types.d.ts +0 -19
- package/components/ToastContainer/ToastContainer.d.ts +0 -4
- package/components/ToastContainer/ToastContainer.stories.d.ts +0 -4
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.d.ts +0 -4
- package/components/WindowBase/WindowBase.d.ts +0 -4
- package/components/WindowBase/WindowBase.styles.d.ts +0 -4
- package/components/WindowBase/WindowBase.styles.js +0 -52
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +0 -4
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +0 -4
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +0 -11
- package/components/WindowBase/types.d.ts +0 -27
- package/components/WindowConfirm/WindowConfirm.d.ts +0 -4
- package/components/WindowConfirm/WindowConfirm.styles.js +0 -32
- package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.d.ts +0 -4
- package/components/WindowConfirm/types.d.ts +0 -5
- package/components/areas/components/AreasAdmin/AreasAdmin.d.ts +0 -4
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +1 -77
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.d.ts +1 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/ChipActionsMobile.d.ts +0 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +0 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.d.ts +0 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts +0 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +0 -4
- package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/PanelWindowPopUp.d.ts +0 -4
- package/components/areas/components/AreasViewer/classes/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/styles.js +0 -13
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/InnerForHooks/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +0 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions/useHeaderActions.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions/useHeaderActions.js +0 -8
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow/useWindow.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +0 -36
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.d.ts +0 -4
- package/components/areas/contexts/AreasContext/helpers/generateModuleCount.d.ts +0 -4
- package/components/areas/contexts/AreasContext/helpers/getWindowForAreaTest.d.ts +33 -0
- package/components/areas/contexts/AreasContext/helpers/helper.d.ts +1 -36
- package/components/areas/contexts/AreasContext/helpers/helper.js +10 -7
- package/components/areas/contexts/AreasContext/index.d.ts +0 -5
- package/components/areas/contexts/AreasContext/store.d.ts +0 -4
- package/components/areas/contexts/AreasContext/store.js +30 -140
- package/components/areas/contexts/AreasContext/tests/fnNetworkImplementation.d.ts +1 -0
- package/components/areas/contexts/AreasContext/types.d.ts +0 -53
- package/components/areas/types.d.ts +0 -27
- package/components/commercial/HamburgerMenu/HamburgerMenu.d.ts +0 -6
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/index.d.ts +0 -4
- package/components/extended/React-Resizable/Resizable/Resizable.d.ts +0 -4
- package/components/extended/React-Resizable/ResizableBox/ResizableBox.d.ts +0 -4
- package/components/extended/React-Resizable/ResizableBox/ResizeableBox.styles.js +0 -4
- package/components/extended/React-Resizable/ResizableBox/types.d.ts +0 -4
- package/components/extended/React-Resizable/helpers.d.ts +0 -4
- package/components/extended/React-Resizable/hooks/useResizable.d.ts +0 -4
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.d.ts +0 -4
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +0 -8
- package/components/formatters/BooleanFormatter/BooleanFormatter.d.ts +0 -4
- package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +0 -4
- package/components/formatters/DateFormatter/DateFormatter.d.ts +0 -8
- package/components/formatters/DateFormatter/DateFormatter.styles.js +0 -4
- package/components/formatters/PeriodFormatter/PeriodFormatter.d.ts +0 -8
- package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +0 -8
- package/components/formatters/PeriodFormatter/dictionary.d.ts +0 -4
- package/components/formatters/PointsFormatter/PointsFormatter.d.ts +0 -8
- package/components/formatters/PointsFormatter/PointsFormatter.styles.js +0 -4
- package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +0 -8
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +0 -4
- package/components/hook-form/RHFAutocomplete/types.d.ts +0 -4
- package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +0 -4
- package/components/hook-form/RHFCheckbox/RHFCheckbox.d.ts +0 -5
- package/components/hook-form/RHFColorPicker/RFHColorPicker.d.ts +0 -4
- package/components/hook-form/RHFColorPicker/RHFColorPicker.styles.d.ts +0 -1
- package/components/hook-form/RHFColorPicker/RHFColorPicker.styles.js +0 -4
- package/components/hook-form/RHFDateTime/RHFDateTime.d.ts +0 -4
- package/components/hook-form/RHFDateTime/RHFDateTime.styles.js +0 -4
- package/components/hook-form/RHFNumberInput/RHFNumberInput.d.ts +0 -4
- package/components/hook-form/RHFPeriod/RHFPeriod.d.ts +0 -4
- package/components/hook-form/RHFPeriod/RHFPeriod.styles.js +0 -20
- package/components/hook-form/RHFPeriod/subcomponents/Period/Period.d.ts +0 -4
- package/components/hook-form/RHFPeriod/types.d.ts +0 -4
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +0 -4
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +0 -8
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.d.ts +0 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +0 -4
- package/components/maps/components/Map/Map.d.ts +0 -4
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -5
- package/components/maps/components/Map/contexts/MapContext/store.js +0 -424
- package/components/maps/components/Map/external/googleMutant/index.d.ts +0 -25
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +0 -4
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +0 -1
- package/components/maps/components/MapGpsTools/styles.js +0 -3
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
- package/components/modal/classes/index.d.ts +0 -4
- package/components/mui_extended/Accordion/Accordion.d.ts +0 -4
- package/components/mui_extended/Accordion/styles.js +0 -24
- package/components/mui_extended/Autocomplete/Autocomplete.styles.js +0 -41
- package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +0 -4
- package/components/mui_extended/Autocomplete/types.d.ts +0 -2
- package/components/mui_extended/Avatar/styles.js +0 -4
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +0 -4
- package/components/mui_extended/Badge/Badge.d.ts +0 -4
- package/components/mui_extended/Badge/Badge.styles.js +0 -4
- package/components/mui_extended/Button/Button.d.ts +0 -4
- package/components/mui_extended/Button/ButtonStyles.js +0 -12
- package/components/mui_extended/Button/classes/index.d.ts +0 -4
- package/components/mui_extended/CheckBox/CheckBox.d.ts +0 -4
- package/components/mui_extended/CircularProgress/CircularProgress.d.ts +0 -4
- package/components/mui_extended/DateTimePicker/DateTimePicker.d.ts +0 -4
- package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +0 -28
- package/components/mui_extended/Dialog/Dialog.d.ts +0 -4
- package/components/mui_extended/Dialog/Dialog.styles.js +0 -4
- package/components/mui_extended/Divider/Divider.d.ts +0 -4
- package/components/mui_extended/IconButton/IconButton.d.ts +0 -4
- package/components/mui_extended/IconButton/IconButton.styles.js +0 -12
- package/components/mui_extended/ImageButton/ImageButton.d.ts +0 -4
- package/components/mui_extended/LoadingButton/LoadingButton.d.ts +0 -4
- package/components/mui_extended/LoadingButton/LoadingButton.styles.d.ts +0 -1
- package/components/mui_extended/LoadingButton/LoadingButton.styles.js +0 -12
- package/components/mui_extended/MenuDivider/MenuDivider.d.ts +0 -4
- package/components/mui_extended/MenuDivider/MenuDivider.styles.js +0 -8
- package/components/mui_extended/MenuItem/MenuItem.d.ts +0 -4
- package/components/mui_extended/MenuItem/MenuItem.styles.js +0 -36
- package/components/mui_extended/NavLink/NavLink.d.ts +0 -4
- package/components/mui_extended/NavLink/NavLink.styles.js +2 -14
- package/components/mui_extended/Popover/Popover.d.ts +0 -5
- package/components/mui_extended/Popover/Popover.styles.js +0 -8
- package/components/mui_extended/Popper/Popper.d.ts +0 -4
- package/components/mui_extended/Popper/PopperStyles.js +0 -4
- package/components/mui_extended/Popper/types.d.ts +0 -4
- package/components/mui_extended/Select/Select.d.ts +0 -4
- package/components/mui_extended/Select/Select.styles.js +0 -32
- package/components/mui_extended/Select/types.d.ts +0 -11
- package/components/mui_extended/Skeleton/Skeleton.d.ts +0 -4
- package/components/mui_extended/Skeleton/skeleton.styles.js +0 -4
- package/components/mui_extended/Stack/Stack.d.ts +0 -4
- package/components/mui_extended/Tab/Tab.d.ts +0 -4
- package/components/mui_extended/Tab/Tab.styles.d.ts +0 -1
- package/components/mui_extended/Tab/Tab.styles.js +0 -10
- package/components/mui_extended/TextField/TextField.d.ts +0 -4
- package/components/mui_extended/TextField/TextField.styles.js +0 -8
- package/components/mui_extended/ToggleButton/ToggleButton.styles.js +0 -4
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +0 -4
- package/components/mui_extended/Tooltip/Tooltip.styles.js +0 -4
- package/components/mui_extended/Typography/Typography.d.ts +0 -4
- package/components/mui_extended/Typography/typography.styles.js +0 -8
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +0 -5
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +0 -132
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +0 -61
- package/contexts/ModalContext/index.d.ts +0 -4
- package/contexts/RealTimeContext/store.d.ts +0 -5
- package/contexts/RealTimeContext/store.js +0 -36
- package/hooks/useFormAddEdit/index.d.ts +0 -4
- package/hooks/useFormFocus/index.d.ts +0 -5
- package/hooks/useInterval/index.d.ts +0 -5
- package/hooks/useSizeContainer/index.d.ts +0 -4
- package/hooks/useStateRef/index.d.ts +0 -4
- package/package.json +1 -1
- package/test/HostThemeProviderMock.d.ts +0 -4
- package/test/TestAppWrapper.d.ts +0 -4
- package/test/TestFormAutoValidation.d.ts +0 -4
- package/test/utils.d.ts +0 -7
- package/utils/getComponentSlotRoot.d.ts +0 -4
- package/utils/getHeightSizeStyles.d.ts +0 -4
- package/utils/getTypographyStyles.d.ts +0 -4
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ArrowIconProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Render arrow icon in the sidebar
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-05 18:00:46 - automatic
|
|
6
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function ArrowIcon(props: ArrowIconProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,9 +5,5 @@ import { FooterSidebarProps } from './types';
|
|
|
5
5
|
* @param {VoidFunction} props.onToggleAnchored - Funcion que se encarga de activar el modo colapsado en desktop
|
|
6
6
|
* @param {VoidFunction} props.collapsed - Variable que guarda el estado de colapsado en desktop
|
|
7
7
|
* @returns
|
|
8
|
-
* @author Andrés Quintero - automatic
|
|
9
|
-
* @createdAt 2024-11-05 18:16:45 - automatic
|
|
10
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
11
|
-
* @updatedUser Andrés Quintero - automatic
|
|
12
8
|
*/
|
|
13
9
|
export default function FooterSidebar({ anchored }: FooterSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const footerSideBarStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Estilo aplicado al contenedor del footer
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-14 18:39:10 - automatic
|
|
6
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
containerFooter: ({ theme, ownerState }) => ({
|
|
10
6
|
height: "auto",
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { HeaderSidebarProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Component HeaderSidebar representa el encabezado de la barra lateral.<
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-13 09:15:52 - automatic
|
|
6
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
declare const HeaderSidebar: ({ srcIcon, title, subtitle }: HeaderSidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
6
|
export default HeaderSidebar;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const headerSidebarStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Container del header del sidebar
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-19 20:54:12 - automatic
|
|
6
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
containerHeaderSidebarRoot: ({ theme }) => ({
|
|
10
6
|
display: "flex",
|
|
@@ -15,10 +11,6 @@ const headerSidebarStyles = {
|
|
|
15
11
|
}),
|
|
16
12
|
/**
|
|
17
13
|
* Contenedor del título y subtítulo del sidebar
|
|
18
|
-
* @author Andrés Quintero - automatic
|
|
19
|
-
* @createdAt 2024-11-19 20:54:12 - automatic
|
|
20
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
21
|
-
* @updatedUser Andrés Quintero - automatic
|
|
22
14
|
*/
|
|
23
15
|
containerTitleSubtitle: ({ theme }) => ({
|
|
24
16
|
display: "flex",
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Renderiza el contenido que debe de tener los dispositipos desktop
|
|
3
|
-
* @author Andrés Quintero - automatic
|
|
4
|
-
* @createdAt 2024-11-05 18:16:45 - automatic
|
|
5
|
-
* @updatedAt 2025-01-03 11:04:54 - automatic
|
|
6
|
-
* @updatedUser Andrés Quintero - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare const SideBarDesktop: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const sideBarDesktopStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Styles applied to the root element of the `SideBar` component in desktop mode.
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-05 17:37:29 - automatic
|
|
6
|
-
* @updatedAt 2024-12-02 19:02:04 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
containerDesktopRoot: ({ theme, ownerState }) => ({
|
|
10
6
|
height: "100%",
|
|
@@ -26,10 +22,6 @@ const sideBarDesktopStyles = {
|
|
|
26
22
|
}),
|
|
27
23
|
/**
|
|
28
24
|
* Container button to achores the sidebar.
|
|
29
|
-
* @author Andrés Quintero - automatic
|
|
30
|
-
* @createdAt 2024-11-06 11:06:40 - automatic
|
|
31
|
-
* @updatedAt 2024-12-02 19:02:04 - automatic
|
|
32
|
-
* @updatedUser Andrés Quintero - automatic
|
|
33
25
|
*/
|
|
34
26
|
containerBtnAnchored: ({ theme }) => ({
|
|
35
27
|
position: "absolute",
|
|
@@ -57,10 +49,6 @@ const sideBarDesktopStyles = {
|
|
|
57
49
|
* Contenedor del sidebar en modo desktop, contiene el contenido del sidebar
|
|
58
50
|
* y el boton de anclaje. Permite poner el boton de anclaje en posicion absoluta
|
|
59
51
|
* sin que se oculte por el overflow hidden que tiene el contenido del sidebar
|
|
60
|
-
* @author Andrés Quintero - automatic
|
|
61
|
-
* @createdAt 2024-11-07 19:24:29 - automatic
|
|
62
|
-
* @updatedAt 2024-12-02 19:02:04 - automatic
|
|
63
|
-
* @updatedUser Andrés Quintero - automatic
|
|
64
52
|
*/
|
|
65
53
|
containerDesktopContent: () => ({
|
|
66
54
|
width: "fit-content",
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Renderiza el contenido que debe de tener los dispositipos Mobile
|
|
3
|
-
* @author Andrés Quintero - automatic
|
|
4
|
-
* @createdAt 2024-11-07 19:24:29 - automatic
|
|
5
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
6
|
-
* @updatedUser Andrés Quintero - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare const SideBarMobile: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const sideBarMobileStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Estilos del contenedor principal del sidebar en dispositivos móviles
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-19 20:54:12 - automatic
|
|
6
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
containerSideBarMobile: () => ({
|
|
10
6
|
height: "100%"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { DrawerProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-15 21:43:42 - automatic
|
|
6
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare const Drawer: (props: DrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,33 +2,17 @@ import { IMenuDataWithState, MenuDataType } from '../types';
|
|
|
2
2
|
export declare const getNameDataTestId: (KEY: string) => string;
|
|
3
3
|
/**
|
|
4
4
|
* Funcion que busca un item activo en el menu recursivamente
|
|
5
|
-
* @author Andrés Quintero - automatic
|
|
6
|
-
* @createdAt 2024-11-26 18:02:52 - automatic
|
|
7
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
8
|
-
* @updatedUser Andrés Quintero - automatic
|
|
9
5
|
*/
|
|
10
6
|
export declare function findItemActive(menuData: IMenuDataWithState[]): IMenuDataWithState | null;
|
|
11
7
|
/**
|
|
12
8
|
* Función que valida que solo los items superiores del item activo tengan itemIntreeActive activo
|
|
13
|
-
* @author Andrés Quintero - automatic
|
|
14
|
-
* @createdAt 2024-11-26 18:02:52 - automatic
|
|
15
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
16
|
-
* @updatedUser Andrés Quintero - automatic
|
|
17
9
|
*/
|
|
18
10
|
export declare function validateItemIntreeActive(menuData: IMenuDataWithState[]): boolean;
|
|
19
11
|
/**
|
|
20
12
|
* Función que cuenta los items de un menu recursivamente
|
|
21
|
-
* @author Andrés Quintero - automatic
|
|
22
|
-
* @createdAt 2024-11-26 18:02:52 - automatic
|
|
23
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
24
|
-
* @updatedUser Andrés Quintero - automatic
|
|
25
13
|
*/
|
|
26
14
|
export declare const countItems: (menuData: MenuDataType[]) => number;
|
|
27
15
|
/**
|
|
28
16
|
* Función que retorna la cantidad de items que no tienen hijos en el sidebar
|
|
29
|
-
* @author Andrés Quintero - automatic
|
|
30
|
-
* @createdAt 2024-11-26 18:02:52 - automatic
|
|
31
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
32
|
-
* @updatedUser Andrés Quintero - automatic
|
|
33
17
|
*/
|
|
34
18
|
export declare const countItemsWithoutChildren: (menuData: MenuDataType[]) => number;
|
|
@@ -5,7 +5,6 @@ import { SIDEBAR_KEY_COMPONENT } from './constants';
|
|
|
5
5
|
import { Theme } from '@mui/material/styles';
|
|
6
6
|
/**
|
|
7
7
|
* define la estructura de datos para un elemento de menú en la barra lateral.
|
|
8
|
-
* @createdAt 2024-11-01 10:51:01 - automatic
|
|
9
8
|
*/
|
|
10
9
|
export interface MenuDataType extends Record<string, any> {
|
|
11
10
|
title: string;
|
|
@@ -17,70 +16,52 @@ export interface MenuDataType extends Record<string, any> {
|
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
18
|
* Propiedades para el componente SideBar.
|
|
20
|
-
* @createdAt 2024-11-01 10:51:01 - automatic
|
|
21
19
|
*/
|
|
22
20
|
export interface SideBarProps {
|
|
23
21
|
/**
|
|
24
22
|
* Datos del menú de la barra lateral.
|
|
25
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
26
23
|
*/
|
|
27
24
|
menuData?: Array<MenuDataType>;
|
|
28
25
|
/**
|
|
29
26
|
* Indica si la barra lateral está anclada en desktop
|
|
30
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
31
27
|
*/
|
|
32
28
|
anchored: boolean;
|
|
33
29
|
/**
|
|
34
30
|
* Indica si la barra lateral está visible en mobile.
|
|
35
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
36
31
|
*/
|
|
37
32
|
visible: boolean;
|
|
38
33
|
/**
|
|
39
34
|
* Url del logo que está en la parte superior con el titulo en el sidebar
|
|
40
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
41
35
|
*/
|
|
42
36
|
companyLogoSmallUrl?: string;
|
|
43
37
|
/**
|
|
44
38
|
* Url del logo que está en el footer del sidebar
|
|
45
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
46
39
|
*/
|
|
47
40
|
companyLogoNormalUrl?: string;
|
|
48
41
|
/**
|
|
49
42
|
* Ancho de la barra lateral cuando está expandida
|
|
50
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
51
43
|
*/
|
|
52
44
|
expandedWidth?: string | number;
|
|
53
45
|
/**
|
|
54
46
|
* Nombre de la empresa
|
|
55
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
56
47
|
*/
|
|
57
48
|
companyName?: string;
|
|
58
49
|
/**
|
|
59
50
|
* Slogan de la empresa
|
|
60
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
61
51
|
*/
|
|
62
52
|
companySlogan?: string;
|
|
63
53
|
/**
|
|
64
54
|
* Indica la variación de estilo del componente
|
|
65
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
66
55
|
*/
|
|
67
56
|
variantStyle?: 'variantDefault' | 'variantComercial';
|
|
68
57
|
moduleSelectedId?: string | undefined;
|
|
69
58
|
onMenuItemClick: (item: MenuDataType) => void;
|
|
70
59
|
/**
|
|
71
60
|
* Función para alternar el estado colapsado de la barra lateral.
|
|
72
|
-
* @author Andrés Quintero - automatic
|
|
73
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
74
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
75
|
-
* @updatedUser Andrés Quintero - automatic
|
|
76
61
|
*/
|
|
77
62
|
onToggleAnchored: (anchored: boolean) => void;
|
|
78
63
|
/**
|
|
79
64
|
* Función para alternar la visibilidad de la barra lateral.
|
|
80
|
-
* @author Andrés Quintero - automatic
|
|
81
|
-
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
82
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
83
|
-
* @updatedUser Andrés Quintero - automatic
|
|
84
65
|
*/
|
|
85
66
|
onToggleVisible: (visible: boolean) => void;
|
|
86
67
|
/**
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ToastContainerProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2025-01-31 11:34:36 - automatic
|
|
6
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare const ToastContainer: (props: ToastContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -37,10 +37,6 @@ import { ToastContainer } from './ToastContainer';
|
|
|
37
37
|
* }
|
|
38
38
|
*
|
|
39
39
|
* ```
|
|
40
|
-
* @author SebastianM - automatic
|
|
41
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
42
|
-
* @updatedAt 2024-11-06 09:00:05 - automatic
|
|
43
|
-
* @updatedUser SebastianM - automatic
|
|
44
40
|
*/
|
|
45
41
|
declare const meta: Meta<typeof ToastContainer>;
|
|
46
42
|
export default meta;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { ToastMessageProps, ToastTypes } from '../../types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
-
* @author Bruce Escobar - automatic
|
|
5
|
-
* @createdAt 2024-10-22 19:08:59 - automatic
|
|
6
|
-
* @updatedAt 2024-10-22 19:09:00 - automatic
|
|
7
|
-
* @updatedUser Bruce Escobar - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function useToastMessage(props: ToastMessageProps): {
|
|
10
6
|
pinToast: () => void;
|
|
@@ -3,9 +3,5 @@ import { WindowBaseProps } from './types';
|
|
|
3
3
|
* Base Window Component.
|
|
4
4
|
* This component provides a basic structure for a modal window.
|
|
5
5
|
* It uses hooks like `useModal` and utility style classes.
|
|
6
|
-
* @author cesar - automatic
|
|
7
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
8
|
-
* @updatedAt 2025-02-07 11:59:47 - automatic
|
|
9
|
-
* @updatedUser cesar - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare const WindowBase: (props: WindowBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { WindowBaseStyles } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Calcula la altura del header de la ventana base.
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2024-11-18 11:10:16 - automatic
|
|
6
|
-
* @updatedAt 2024-11-21 09:46:45 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare const windowBaseStyles: WindowBaseStyles;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const windowBaseStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Styles for the window base wrapper component.
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
6
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
wrapperWindowBase: ({ theme, ownerState }) => ({
|
|
10
6
|
position: "relative",
|
|
@@ -26,10 +22,6 @@ const windowBaseStyles = {
|
|
|
26
22
|
//
|
|
27
23
|
/**
|
|
28
24
|
* Styles for the content of the window base component.
|
|
29
|
-
* @author cesar - automatic
|
|
30
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
31
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
32
|
-
* @updatedUser cesar - automatic
|
|
33
25
|
*/
|
|
34
26
|
contentWindowBase: ({ theme }) => ({
|
|
35
27
|
padding: theme.vars.size.baseSpacings.sp3,
|
|
@@ -39,10 +31,6 @@ const windowBaseStyles = {
|
|
|
39
31
|
}),
|
|
40
32
|
/**
|
|
41
33
|
* Styles for the header of the window base component.
|
|
42
|
-
* @author cesar - automatic
|
|
43
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
44
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
45
|
-
* @updatedUser cesar - automatic
|
|
46
34
|
*/
|
|
47
35
|
headerWindowComponent: ({ theme, ownerState }) => ({
|
|
48
36
|
width: "100%",
|
|
@@ -76,10 +64,6 @@ const windowBaseStyles = {
|
|
|
76
64
|
}),
|
|
77
65
|
/**
|
|
78
66
|
* Styles for the content of the header of the window base component.
|
|
79
|
-
* @author cesar - automatic
|
|
80
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
81
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
82
|
-
* @updatedUser cesar - automatic
|
|
83
67
|
*/
|
|
84
68
|
headerContentWindowBase: ({ theme }) => ({
|
|
85
69
|
width: "100%",
|
|
@@ -93,10 +77,6 @@ const windowBaseStyles = {
|
|
|
93
77
|
}),
|
|
94
78
|
/**
|
|
95
79
|
* Styles for the title of the header of the window base component.
|
|
96
|
-
* @author cesar - automatic
|
|
97
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
98
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
99
|
-
* @updatedUser cesar - automatic
|
|
100
80
|
*/
|
|
101
81
|
headerTitleWindowBase: ({ theme }) => ({
|
|
102
82
|
minWidth: "30px",
|
|
@@ -109,10 +89,6 @@ const windowBaseStyles = {
|
|
|
109
89
|
}),
|
|
110
90
|
/**
|
|
111
91
|
* Styles for the subtitle container of the header of the window base component.
|
|
112
|
-
* @author cesar - automatic
|
|
113
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
114
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
115
|
-
* @updatedUser cesar - automatic
|
|
116
92
|
*/
|
|
117
93
|
subtitleContainer: ({ theme }) => ({
|
|
118
94
|
display: "flex",
|
|
@@ -124,10 +100,6 @@ const windowBaseStyles = {
|
|
|
124
100
|
* @param theme The theme object.
|
|
125
101
|
* @param ownerState The owner state object.
|
|
126
102
|
* @returns An object containing the styles for the dot window base component.
|
|
127
|
-
* @author cesar - automatic
|
|
128
|
-
* @createdAt 2024-11-22 19:40:23 - automatic
|
|
129
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
130
|
-
* @updatedUser cesar - automatic
|
|
131
103
|
*/
|
|
132
104
|
pointWindowBase: ({ theme, ownerState }) => ({
|
|
133
105
|
display: "flex",
|
|
@@ -151,10 +123,6 @@ const windowBaseStyles = {
|
|
|
151
123
|
}),
|
|
152
124
|
/**
|
|
153
125
|
* Styles for the subtitle of the header of the window base component.
|
|
154
|
-
* @author cesar - automatic
|
|
155
|
-
* @createdAt 2024-11-15 18:08:44 - automatic
|
|
156
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
157
|
-
* @updatedUser cesar - automatic
|
|
158
126
|
*/
|
|
159
127
|
headerSubTitleWindowBase: ({ theme }) => ({
|
|
160
128
|
width: "auto !important",
|
|
@@ -163,10 +131,6 @@ const windowBaseStyles = {
|
|
|
163
131
|
}),
|
|
164
132
|
/**
|
|
165
133
|
* Styles for the icon of the header of the window base component.
|
|
166
|
-
* @author cesar - automatic
|
|
167
|
-
* @createdAt 2024-11-18 08:11:19 - automatic
|
|
168
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
169
|
-
* @updatedUser cesar - automatic
|
|
170
134
|
*/
|
|
171
135
|
headerIconWindowBase: ({ theme }) => ({
|
|
172
136
|
display: "flex",
|
|
@@ -177,10 +141,6 @@ const windowBaseStyles = {
|
|
|
177
141
|
}),
|
|
178
142
|
/**
|
|
179
143
|
* Styles for the icons wrapper of the window base component.
|
|
180
|
-
* @author cesar - automatic
|
|
181
|
-
* @createdAt 2024-11-18 08:11:19 - automatic
|
|
182
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
183
|
-
* @updatedUser cesar - automatic
|
|
184
144
|
*/
|
|
185
145
|
iconsWrapperWindowBase: () => ({
|
|
186
146
|
display: "flex",
|
|
@@ -192,10 +152,6 @@ const windowBaseStyles = {
|
|
|
192
152
|
}),
|
|
193
153
|
/**
|
|
194
154
|
* Styles for the dot icon of the window base component.
|
|
195
|
-
* @author cesar - automatic
|
|
196
|
-
* @createdAt 2024-11-22 19:40:23 - automatic
|
|
197
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
198
|
-
* @updatedUser cesar - automatic
|
|
199
155
|
*/
|
|
200
156
|
pointIcon: ({ theme, ownerState }) => ({
|
|
201
157
|
color: theme.vars.palette.text.primary,
|
|
@@ -217,20 +173,12 @@ const windowBaseStyles = {
|
|
|
217
173
|
}),
|
|
218
174
|
/**
|
|
219
175
|
* Styles for the menu actions of the window base component.
|
|
220
|
-
* @author cesar - automatic
|
|
221
|
-
* @createdAt 2024-12-05 07:49:27 - automatic
|
|
222
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
223
|
-
* @updatedUser cesar - automatic
|
|
224
176
|
*/
|
|
225
177
|
menuActionsWindowBase: () => ({
|
|
226
178
|
left: "-50px"
|
|
227
179
|
}),
|
|
228
180
|
/**
|
|
229
181
|
* Styles for the linear progress of the window base component.
|
|
230
|
-
* @author cesar - automatic
|
|
231
|
-
* @createdAt 2025-01-13 11:59:57 - automatic
|
|
232
|
-
* @updatedAt 2025-01-13 11:59:58 - automatic
|
|
233
|
-
* @updatedUser cesar - automatic
|
|
234
182
|
*/
|
|
235
183
|
linearProgressIndeterminate: ({ theme }) => ({
|
|
236
184
|
borderBottomRightRadius: theme.vars.size.borderRadius.r0,
|
|
@@ -38,9 +38,5 @@ import { WindowBaseOwnerState } from '../../types';
|
|
|
38
38
|
* selected={true}
|
|
39
39
|
* />
|
|
40
40
|
* ```
|
|
41
|
-
* @author cesar - automatic
|
|
42
|
-
* @createdAt 2024-11-20 09:38:37 - automatic
|
|
43
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
44
|
-
* @updatedUser cesar - automatic
|
|
45
41
|
*/
|
|
46
42
|
export declare const HeaderWindowBase: (props: HeaderProps & WindowBaseOwnerState) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,10 +5,6 @@ import { MemoizedIconButtonProps } from './types';
|
|
|
5
5
|
*
|
|
6
6
|
* This component renders an `IconButton` with an icon and tooltip.
|
|
7
7
|
* It is memoized to avoid unnecessary re-renders when the props do not change.
|
|
8
|
-
* @author cesar - automatic
|
|
9
|
-
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
10
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
11
|
-
* @updatedUser Andrés Quintero - automatic
|
|
12
8
|
*/
|
|
13
9
|
declare const MemoizedIconButton: React.MemoExoticComponent<({ iconUrl, label, disabled, onClick }: MemoizedIconButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
10
|
export default MemoizedIconButton;
|
|
@@ -1,32 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Props for the `MemoizedIconButton` component.
|
|
3
|
-
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
4
3
|
*/
|
|
5
4
|
export interface MemoizedIconButtonProps {
|
|
6
5
|
/**
|
|
7
6
|
* URL of the icon to display inside the button.
|
|
8
|
-
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
9
7
|
*/
|
|
10
8
|
iconUrl: string;
|
|
11
9
|
/**
|
|
12
10
|
* Tooltip text to show when hovering over the button.
|
|
13
|
-
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
14
11
|
*/
|
|
15
12
|
label: string;
|
|
16
13
|
/**
|
|
17
14
|
* Whether the button is disabled.
|
|
18
|
-
* @author cesar - automatic
|
|
19
|
-
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
20
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
21
|
-
* @updatedUser Andrés Quintero - automatic
|
|
22
15
|
*/
|
|
23
16
|
disabled?: boolean;
|
|
24
17
|
/**
|
|
25
18
|
* Callback function executed when the button is clicked.
|
|
26
|
-
* @author cesar - automatic
|
|
27
|
-
* @createdAt 2024-12-13 10:33:50 - automatic
|
|
28
|
-
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
29
|
-
* @updatedUser Andrés Quintero - automatic
|
|
30
19
|
*/
|
|
31
20
|
onClick: () => void;
|
|
32
21
|
}
|
|
@@ -6,10 +6,6 @@ import { Theme } from '@mui/material/styles';
|
|
|
6
6
|
import { ComponentPalletColor, Sizes } from '@m4l/styles';
|
|
7
7
|
/**
|
|
8
8
|
* Type representing a single action in the `WindowBase` component.
|
|
9
|
-
* @author cesar - automatic
|
|
10
|
-
* @createdAt 2024-12-23 09:48:25 - automatic
|
|
11
|
-
* @updatedAt 2025-02-07 11:59:47 - automatic
|
|
12
|
-
* @updatedUser cesar - automatic
|
|
13
9
|
*/
|
|
14
10
|
export interface WindowBaseAction {
|
|
15
11
|
place: 'left' | 'right' | 'inside';
|
|
@@ -53,34 +49,26 @@ export interface WindowBaseAction {
|
|
|
53
49
|
* onClose: () => console.log('Cancel Clicked'),
|
|
54
50
|
* };
|
|
55
51
|
* ```
|
|
56
|
-
* @author cesar - automatic
|
|
57
|
-
* @createdAt 2024-11-20 09:38:37 - automatic
|
|
58
|
-
* @updatedAt 2024-11-22 09:10:41 - automatic
|
|
59
|
-
* @updatedUser cesar - automatic
|
|
60
52
|
*/
|
|
61
53
|
export interface WindowBaseProps {
|
|
62
54
|
/**
|
|
63
55
|
* The main title of the window.
|
|
64
56
|
* This property is required and displayed prominently at the top of the window.
|
|
65
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
66
57
|
*/
|
|
67
58
|
title: string;
|
|
68
59
|
/**
|
|
69
60
|
* An optional subtitle for the window.
|
|
70
61
|
* Typically displayed below the main title to provide additional context or details.
|
|
71
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
72
62
|
*/
|
|
73
63
|
subTitle?: string;
|
|
74
64
|
/**
|
|
75
65
|
* The content to be rendered inside the window.
|
|
76
66
|
* This can include any valid React node or JSX.
|
|
77
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
78
67
|
*/
|
|
79
68
|
children: ReactNode;
|
|
80
69
|
/**
|
|
81
70
|
* URL of the icon displayed in the header of the window.
|
|
82
71
|
* This is optional and used to provide a visual identifier for the window.
|
|
83
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
84
72
|
*/
|
|
85
73
|
iconUrl?: string;
|
|
86
74
|
/**
|
|
@@ -88,7 +76,6 @@ export interface WindowBaseProps {
|
|
|
88
76
|
* - `'outlined'`: Displays the window with an outlined border.
|
|
89
77
|
* - `'text'`: Displays the window with minimal styling, emphasizing the content.
|
|
90
78
|
* Default is `'outlined'` if not specified.
|
|
91
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
92
79
|
*/
|
|
93
80
|
variant?: 'outlined' | 'text';
|
|
94
81
|
/**
|
|
@@ -96,67 +83,53 @@ export interface WindowBaseProps {
|
|
|
96
83
|
* - `'small'`: A compact window size.
|
|
97
84
|
* - `'medium'`: A standard window size.
|
|
98
85
|
* Default is `'medium'` if not specified.
|
|
99
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
100
86
|
*/
|
|
101
87
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
102
88
|
/**
|
|
103
89
|
* The color theme of the window.
|
|
104
90
|
* Restricted to `'default'`, which applies the default theme color.
|
|
105
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
106
91
|
*/
|
|
107
92
|
color?: Extract<ComponentPalletColor, 'default'>;
|
|
108
93
|
/**
|
|
109
94
|
* Indicates if the window is currently selected.
|
|
110
95
|
* When `true`, the window may display a visual indicator to denote selection.
|
|
111
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
112
96
|
*/
|
|
113
97
|
selected?: boolean;
|
|
114
98
|
/**
|
|
115
99
|
* The version label for the window.
|
|
116
100
|
* Useful for displaying version information (e.g., `1.0.0`) in the header or footer.
|
|
117
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
118
101
|
*/
|
|
119
102
|
version?: string;
|
|
120
103
|
/**
|
|
121
104
|
* A unique identifier for automated testing.
|
|
122
105
|
* Provides a `data-testid` attribute for querying this component in tests.
|
|
123
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
124
106
|
*/
|
|
125
107
|
dataTestId?: string;
|
|
126
108
|
/**
|
|
127
109
|
* Callback function executed when the window is closed.
|
|
128
110
|
* Typically triggered by a close button or similar action.
|
|
129
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
130
111
|
*/
|
|
131
112
|
onClose?: VoidFunction;
|
|
132
113
|
/**
|
|
133
114
|
* List of actions to display in the window.
|
|
134
115
|
* Each action defines its placement, icon, label, and other properties.
|
|
135
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
136
116
|
*/
|
|
137
117
|
actions?: WindowBaseAction[];
|
|
138
118
|
/**
|
|
139
119
|
* An optional class name to apply to the root element of the component.
|
|
140
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
141
120
|
*/
|
|
142
121
|
className?: string;
|
|
143
122
|
/**
|
|
144
123
|
* Indicates if the window is in a loading state.
|
|
145
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
146
124
|
*/
|
|
147
125
|
isLoading?: boolean;
|
|
148
126
|
/**
|
|
149
127
|
* A unique identifier for the window.
|
|
150
128
|
* This is used to identify and manage multiple windows.
|
|
151
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
152
129
|
*/
|
|
153
130
|
windowId?: string;
|
|
154
131
|
/**
|
|
155
132
|
* "onMouseDown" event handler for the window.
|
|
156
|
-
* @author cesar - automatic
|
|
157
|
-
* @createdAt 2025-02-07 11:56:13 - automatic
|
|
158
|
-
* @updatedAt 2025-02-07 11:56:13 - automatic
|
|
159
|
-
* @updatedUser cesar - automatic
|
|
160
133
|
*/
|
|
161
134
|
onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
|
|
162
135
|
}
|
|
@@ -20,9 +20,5 @@ import { WindowConfirmProps } from './types';
|
|
|
20
20
|
* onClickCancel={() => console.log("Cancelled")}
|
|
21
21
|
* onClickIntro={() => console.log("Confirmed")}
|
|
22
22
|
* />
|
|
23
|
-
* @author SebastianM - automatic
|
|
24
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
25
|
-
* @updatedAt 2024-12-13 15:19:53 - automatic
|
|
26
|
-
* @updatedUser cesar - automatic
|
|
27
23
|
*/
|
|
28
24
|
export declare const WindowConfirm: (props: WindowConfirmProps) => import("react/jsx-runtime").JSX.Element;
|