@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
|
@@ -7,65 +7,50 @@ import { ChipSlots } from './slots';
|
|
|
7
7
|
type ChipVariants = 'contained' | 'outlined';
|
|
8
8
|
/**
|
|
9
9
|
* Propiedades del componente `Chip`.
|
|
10
|
-
* @createdAt 2024-12-06 11:17:21 - automatic
|
|
11
10
|
*/
|
|
12
11
|
export interface ChipProps {
|
|
13
12
|
/**
|
|
14
13
|
* Optional prop for the icon on the left in the `Chip`. Can accept a URL as a string to render an image icon, or a React component to render it directly.
|
|
15
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
16
14
|
*/
|
|
17
15
|
startIcon?: ReactNode;
|
|
18
16
|
/**
|
|
19
17
|
* Optional prop for the icon on the right in the `Chip`. Can accept a URL as a string to render an image icon, or a React component to render it directly.
|
|
20
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
21
18
|
*/
|
|
22
19
|
endIcon?: ReactNode;
|
|
23
20
|
/**
|
|
24
21
|
* Size of the `Chip` (default 'medium').
|
|
25
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
26
22
|
*/
|
|
27
23
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
28
24
|
/**
|
|
29
25
|
* Text describing the `Chip`.
|
|
30
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
31
26
|
*/
|
|
32
27
|
label?: string;
|
|
33
28
|
/**
|
|
34
29
|
* Defines the variant of the `Chip` (default 'contained').
|
|
35
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
36
30
|
*/
|
|
37
31
|
variant?: ChipVariants;
|
|
38
32
|
/**
|
|
39
33
|
* Defines the color of the `Chip`.
|
|
40
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
41
34
|
*/
|
|
42
35
|
color?: Exclude<ComponentPalletColor, 'primary'> | 'forest' | 'disabled';
|
|
43
36
|
/**
|
|
44
37
|
* Alternative color for the `Chip`.
|
|
45
|
-
* @createdAt 2025-01-31 16:49:27 - automatic
|
|
46
38
|
*/
|
|
47
39
|
externalColor?: ChipColor;
|
|
48
40
|
/**
|
|
49
41
|
* Define el with of skeleton mode
|
|
50
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
51
42
|
*/
|
|
52
43
|
skeletonWidth?: string | number;
|
|
53
44
|
/**
|
|
54
45
|
* OPtion prop to render the close icon
|
|
55
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
56
46
|
*/
|
|
57
47
|
hasIconClose?: boolean;
|
|
58
48
|
/**
|
|
59
49
|
* Opacity of the `Chip`.
|
|
60
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
61
50
|
*/
|
|
62
51
|
opacity?: boolean;
|
|
63
52
|
/**
|
|
64
53
|
* Function to be executed when the `Chip` is clicked.
|
|
65
|
-
* @author Andrés Quintero - automatic
|
|
66
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
67
|
-
* @updatedAt 2025-01-31 16:52:06 - automatic
|
|
68
|
-
* @updatedUser cesar - automatic
|
|
69
54
|
*/
|
|
70
55
|
onClick?: () => void;
|
|
71
56
|
/**
|
|
@@ -3,9 +3,5 @@ import { ColorProps } from './types';
|
|
|
3
3
|
* Componente `Color`
|
|
4
4
|
*
|
|
5
5
|
* Este componente muestra un color específico (si se pasa un valor en la propiedad `value`) o un ícono predeterminado
|
|
6
|
-
* @author Andrés Quintero - automatic
|
|
7
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
8
|
-
* @updatedAt 2025-01-08 10:36:40 - automatic
|
|
9
|
-
* @updatedUser Andrés Quintero - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare const Color: (props: ColorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const colorStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Establece los estilos para el contenedor raíz del selector de color.
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
6
|
-
* @updatedAt 2025-01-08 10:36:40 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
root: ({ theme, ownerState }) => ({
|
|
10
6
|
// Estructura y layout básico
|
|
@@ -8,32 +8,24 @@ import { ColorSlots } from './slots';
|
|
|
8
8
|
* Propiedades del componente `Color`
|
|
9
9
|
*
|
|
10
10
|
* Esta interfaz define las propiedades que el componente `Color` acepta. Se basa en las propiedades de `MUIIconButtonProps`.
|
|
11
|
-
* @createdAt 2025-01-31 11:34:36 - automatic
|
|
12
11
|
*/
|
|
13
12
|
export interface ColorProps extends Omit<MUIIconButtonProps, 'size' | 'value' | 'onChange'> {
|
|
14
13
|
/**
|
|
15
14
|
* Define el color que tendrá el componente.
|
|
16
15
|
* Puede ser un color en formato de string o `null`/`undefined` para mostrar un ícono predeterminado.
|
|
17
|
-
* @createdAt 2025-01-31 11:34:36 - automatic
|
|
18
16
|
*/
|
|
19
17
|
value?: string | null | undefined;
|
|
20
18
|
/**
|
|
21
19
|
* Define el tamaño del componente.
|
|
22
20
|
* Puede ser 'small', 'medium', o 'large'.
|
|
23
|
-
* @createdAt 2025-01-31 11:34:36 - automatic
|
|
24
21
|
*/
|
|
25
22
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
26
23
|
/**
|
|
27
24
|
* Indica si el componente está en estado de error
|
|
28
|
-
* @createdAt 2025-01-31 11:34:36 - automatic
|
|
29
25
|
*/
|
|
30
26
|
error?: boolean;
|
|
31
27
|
/**
|
|
32
28
|
* Evento que se dispara cuando el color del componente cambia.
|
|
33
|
-
* @author cesar - automatic
|
|
34
|
-
* @createdAt 2025-01-31 11:34:36 - automatic
|
|
35
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
36
|
-
* @updatedUser cesar - automatic
|
|
37
29
|
*/
|
|
38
30
|
onChange: (color: string | null) => void;
|
|
39
31
|
/**
|
|
@@ -3,9 +3,5 @@ import { ActionCancelProps } from './types';
|
|
|
3
3
|
* This component renders a cancel button with a label from the module dictionary.
|
|
4
4
|
* Extends ButtonProps - The props for the button component.
|
|
5
5
|
* @param props
|
|
6
|
-
* @author SebastianM - automatic
|
|
7
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
8
|
-
* @updatedAt 2024-11-13 08:44:55 - automatic
|
|
9
|
-
* @updatedUser SebastianM - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare const ActionCancel: import('react').ForwardRefExoticComponent<Omit<Omit<ActionCancelProps, "label">, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author SebastianM - automatic
|
|
4
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
5
|
-
* @updatedAt 2024-11-06 10:39:53 - automatic
|
|
6
|
-
* @updatedUser SebastianM - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare function ActionFormCancel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ActionsFormIntroProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-12-31 11:23:50 - automatic
|
|
6
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function ActionFormIntro(props: ActionsFormIntroProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,9 +4,5 @@ import { ActionIntroProps } from './types';
|
|
|
4
4
|
* It supports different sizes, colors, and states such as disabled.
|
|
5
5
|
* @param props
|
|
6
6
|
* @returns
|
|
7
|
-
* @author SebastianM - automatic
|
|
8
|
-
* @createdAt 2024-11-08 10:59:45 - automatic
|
|
9
|
-
* @updatedAt 2024-11-13 09:11:08 - automatic
|
|
10
|
-
* @updatedUser SebastianM - automatic
|
|
11
7
|
*/
|
|
12
8
|
export declare const ActionIntro: import('react').ForwardRefExoticComponent<Omit<Omit<ActionIntroProps, "label">, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -3,9 +3,5 @@ import { ActionsContainerProps } from './types';
|
|
|
3
3
|
* ActionsContainer component that renders its children within an ActionsContainerRoot.
|
|
4
4
|
* @param {ActionsContainerProps} props - The properties for the ActionsContainer component.
|
|
5
5
|
* @returns {JSX.Element} The rendered ActionsContainer component.
|
|
6
|
-
* @author SebastianM - automatic
|
|
7
|
-
* @createdAt 2024-11-01 12:34:48 - automatic
|
|
8
|
-
* @updatedAt 2024-11-05 08:51:39 - automatic
|
|
9
|
-
* @updatedUser SebastianM - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare const ActionsContainer: import('react').ForwardRefExoticComponent<ActionsContainerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const actionsContainerStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Styles for the actions container root element.
|
|
4
|
-
* @author SebastianM - automatic
|
|
5
|
-
* @createdAt 2024-11-01 14:08:46 - automatic
|
|
6
|
-
* @updatedAt 2024-11-01 16:09:44 - automatic
|
|
7
|
-
* @updatedUser SebastianM - automatic
|
|
8
4
|
*/
|
|
9
5
|
actionsContainerRoot: ({ theme }) => ({
|
|
10
6
|
display: "flex",
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author cesar - automatic
|
|
4
|
-
* @createdAt 2024-11-24 17:06:31 - automatic
|
|
5
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
6
|
-
* @updatedUser cesar - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare function getDataGridComponentsDictionary(): string[];
|
|
9
5
|
export declare const dictionary: {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ColumnPointsFormatterProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2025-01-03 10:00:52 - automatic
|
|
6
|
-
* @updatedAt 2025-01-03 10:00:52 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function ColumnPointsFormatter(props: ColumnPointsFormatterProps): (obProps: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { InternalActionsProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2025-01-15 17:01:04 - automatic
|
|
6
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function Actions(props: InternalActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author Andrés Quintero - automatic
|
|
4
|
-
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
5
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
6
|
-
* @updatedUser cesar - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare function Density(): import("react/jsx-runtime").JSX.Element;
|
package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author Andrés Quintero - automatic
|
|
4
|
-
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
5
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
6
|
-
* @updatedUser cesar - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare const MobileMenuActions: () => import("react/jsx-runtime").JSX.Element;
|
package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author SebastianM - automatic
|
|
4
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
5
|
-
* @updatedAt 2024-11-25 15:36:27 - automatic
|
|
6
|
-
* @updatedUser cesar - automatic
|
|
7
3
|
*/
|
|
8
4
|
declare const useModalSettings: () => () => void;
|
|
9
5
|
export default useModalSettings;
|
|
@@ -15,10 +15,6 @@ import { DragResizeWindowProps } from './types';
|
|
|
15
15
|
* Consideraciones:
|
|
16
16
|
* @param props
|
|
17
17
|
* @returns
|
|
18
|
-
* @author cesar - automatic
|
|
19
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
20
|
-
* @updatedAt 2024-11-13 10:42:04 - automatic
|
|
21
|
-
* @updatedUser cesar - automatic
|
|
22
18
|
*/
|
|
23
19
|
export declare const DragResizeWindow: React.ForwardRefExoticComponent<DragResizeWindowProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
20
|
export default DragResizeWindow;
|
|
@@ -7,10 +7,6 @@ const dragResizeWindowStyles = {
|
|
|
7
7
|
* @param {Object} params.ownerState - Object holding the component's current state.
|
|
8
8
|
* @param {boolean} [params.ownerState.hidden] - Controls visibility; if true, sets the component to be hidden and disables pointer events.
|
|
9
9
|
* @returns {Object} - Style object for the root container.
|
|
10
|
-
* @author cesar - automatic
|
|
11
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
12
|
-
* @updatedAt 2024-11-08 12:13:10 - automatic
|
|
13
|
-
* @updatedUser cesar - automatic
|
|
14
10
|
*/
|
|
15
11
|
root: ({ theme, ownerState }) => ({
|
|
16
12
|
containerName: CONTAINER_QUERY_NAME,
|
|
@@ -34,10 +30,6 @@ const dragResizeWindowStyles = {
|
|
|
34
30
|
* like position, size, and default background color. Adjustments for cursor style
|
|
35
31
|
* and additional customization are also defined here.
|
|
36
32
|
* @returns {Object} - Style object for the icon formatter container.
|
|
37
|
-
* @author cesar - automatic
|
|
38
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
39
|
-
* @updatedAt 2024-11-08 12:13:10 - automatic
|
|
40
|
-
* @updatedUser cesar - automatic
|
|
41
33
|
*/
|
|
42
34
|
iconResizeFormatterRoot: () => ({
|
|
43
35
|
containerName: CONTAINER_QUERY_NAME,
|
|
@@ -11,9 +11,5 @@ import { CurrentState, DefaultPosition } from '../types';
|
|
|
11
11
|
* @param {ContainerSize | undefined} containerSize - Object containing `containerHeight` and `containerWidth`. Defaults to 200 for both if not provided.
|
|
12
12
|
* @param {DefaultPosition} defaultPosition - Object defining the default vertical and horizontal positions (`top`, `bottom`, `height`, `left`, `right`, `width`).
|
|
13
13
|
* @returns {CurrentState} - The initial size and position of the element with `top`, `left`, `width`, and `height` properties.
|
|
14
|
-
* @author cesar - automatic
|
|
15
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
16
|
-
* @updatedAt 2024-11-08 12:13:10 - automatic
|
|
17
|
-
* @updatedUser cesar - automatic
|
|
18
14
|
*/
|
|
19
15
|
export declare const getInitialSize: (containerSize: ContainerSize | undefined, defaultPosition: DefaultPosition) => CurrentState;
|
|
@@ -16,10 +16,6 @@ type useOnDragStartProps = {
|
|
|
16
16
|
* "useDimensionEffects" Redimensiona la ventana si el contenedor padre es desbordado por ella.
|
|
17
17
|
* Guarda las posiciones de la ventana cuando se encoge el contenedor padre, para recuperarlas cuando se expanda.
|
|
18
18
|
* @param props
|
|
19
|
-
* @author cesar - automatic
|
|
20
|
-
* @createdAt 2024-11-12 08:41:21 - automatic
|
|
21
|
-
* @updatedAt 2024-12-02 17:50:36 - automatic
|
|
22
|
-
* @updatedUser cesar - automatic
|
|
23
19
|
*/
|
|
24
20
|
export declare const useDimensionEffects: (props: useOnDragStartProps) => void;
|
|
25
21
|
export {};
|
|
@@ -12,10 +12,6 @@ type useDragOptionsProps = {
|
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* "useDragOptions" hook que maneja las opciones de dragging
|
|
15
|
-
* @author Juan Escobar - automatic
|
|
16
|
-
* @createdAt 2024-10-07 16:10:36 - automatic
|
|
17
|
-
* @updatedAt 2024-12-02 19:35:08 - automatic
|
|
18
|
-
* @updatedUser cesar - automatic
|
|
19
15
|
*/
|
|
20
16
|
export declare const useDragOptions: (props: useDragOptionsProps) => {
|
|
21
17
|
localOnDragStart: (e: DraggableEvent, draggableData: DraggableData) => false | undefined;
|
|
@@ -25,10 +25,6 @@ type useResizeOptionsProps = {
|
|
|
25
25
|
* stateRef,
|
|
26
26
|
* setCurrentState,
|
|
27
27
|
* });
|
|
28
|
-
* @author cesar - automatic
|
|
29
|
-
* @createdAt 2024-11-07 15:30:05 - automatic
|
|
30
|
-
* @updatedAt 2024-12-02 19:35:08 - automatic
|
|
31
|
-
* @updatedUser cesar - automatic
|
|
32
28
|
*/
|
|
33
29
|
export declare const useResizeOptions: (props: useResizeOptionsProps) => {
|
|
34
30
|
localOnResize: (e: SyntheticEvent, callbackData: ResizeCallbackData) => void;
|
|
@@ -11,7 +11,6 @@ import { ResizeCallbackData, ResizeHandle } from '../extended/React-Resizable';
|
|
|
11
11
|
* - nCorrection: Cantidad de corrección
|
|
12
12
|
* - x: Coordenada x
|
|
13
13
|
* - y: Coordenada y
|
|
14
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
15
14
|
*/
|
|
16
15
|
export type CorrectionPosition = {
|
|
17
16
|
nCorrection: number;
|
|
@@ -24,7 +23,6 @@ export type CorrectionPosition = {
|
|
|
24
23
|
* - top: Coordenada y
|
|
25
24
|
* - width: Ancho
|
|
26
25
|
* - height: Alto
|
|
27
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
28
26
|
*/
|
|
29
27
|
export type Position = {
|
|
30
28
|
left: number;
|
|
@@ -35,7 +33,6 @@ export type Position = {
|
|
|
35
33
|
export interface CurrentState extends Position {
|
|
36
34
|
/**
|
|
37
35
|
* "dragging" indica la posición actual cuando se está moviendo el ventana
|
|
38
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
39
36
|
*/
|
|
40
37
|
dragging?: {
|
|
41
38
|
top: number;
|
|
@@ -43,7 +40,6 @@ export interface CurrentState extends Position {
|
|
|
43
40
|
};
|
|
44
41
|
/**
|
|
45
42
|
* "resizing" indica el tamaño actual cuando se está redimensionando el ventana
|
|
46
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
47
43
|
*/
|
|
48
44
|
resizing?: {
|
|
49
45
|
width: number;
|
|
@@ -52,27 +48,22 @@ export interface CurrentState extends Position {
|
|
|
52
48
|
};
|
|
53
49
|
/**
|
|
54
50
|
* Posición inicial antes de comenzar el dragging o resizing
|
|
55
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
56
51
|
*/
|
|
57
52
|
initialPosition?: Position;
|
|
58
53
|
/**
|
|
59
54
|
* "shrinkLeftAt" Indica en que valor estaba el left antes de compactar padre en un resize
|
|
60
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
61
55
|
*/
|
|
62
56
|
shrinkLeftAt?: number;
|
|
63
57
|
/**
|
|
64
58
|
* "shrinkTopAt" Indica en que valor estaba el top antes de compactar padre en un resize
|
|
65
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
66
59
|
*/
|
|
67
60
|
shrinkTopAt?: number;
|
|
68
61
|
/**
|
|
69
62
|
* "overflowWidthAt" Indica en que valor estaba el width antes de compactar padre en un resize
|
|
70
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
71
63
|
*/
|
|
72
64
|
overflowWidthAt?: number;
|
|
73
65
|
/**
|
|
74
66
|
* "overflowHeightAt" Indica en que valor estaba el Height antes de compactar padre en un resize
|
|
75
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
76
67
|
*/
|
|
77
68
|
overflowHeightAt?: number;
|
|
78
69
|
}
|
|
@@ -80,7 +71,6 @@ export interface CurrentState extends Position {
|
|
|
80
71
|
* Representa una posición parcial, solo incluye las propiedades left y top.
|
|
81
72
|
* - left: Coordenada x
|
|
82
73
|
* - top: Coordenada y
|
|
83
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
84
74
|
*/
|
|
85
75
|
export type PartialPosition = {
|
|
86
76
|
left: number;
|
|
@@ -88,7 +78,6 @@ export type PartialPosition = {
|
|
|
88
78
|
};
|
|
89
79
|
/**
|
|
90
80
|
* Tipo que define los límites de movimiento de la ventana arrastrable.
|
|
91
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
92
81
|
*/
|
|
93
82
|
export type DraggableWindowBounds = {
|
|
94
83
|
left?: number;
|
|
@@ -98,18 +87,10 @@ export type DraggableWindowBounds = {
|
|
|
98
87
|
};
|
|
99
88
|
/**
|
|
100
89
|
* Tipo de callback para el evento de redimensionamiento.
|
|
101
|
-
* @author cesar - automatic
|
|
102
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
103
|
-
* @updatedAt 2024-11-13 10:42:04 - automatic
|
|
104
|
-
* @updatedUser cesar - automatic
|
|
105
90
|
*/
|
|
106
91
|
export type ResizeCallback = ((e: React.SyntheticEvent, data: ResizeCallbackData) => any) | undefined;
|
|
107
92
|
/**
|
|
108
93
|
* Tipo para el componente o la función que define el handle para redimensionar la ventana.
|
|
109
|
-
* @author cesar - automatic
|
|
110
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
111
|
-
* @updatedAt 2024-11-13 10:42:04 - automatic
|
|
112
|
-
* @updatedUser cesar - automatic
|
|
113
94
|
*/
|
|
114
95
|
export type ResizeHandleComponente = React.ReactNode | ((resizeHandle: ResizeHandle, ref: React.RefObject<any>) => React.ReactNode) | undefined;
|
|
115
96
|
/**
|
|
@@ -8,9 +8,5 @@ import { Position } from './types';
|
|
|
8
8
|
* across browsers.
|
|
9
9
|
* @param {Position} position - An object containing `top`, `left`, `width`, and `height` properties.
|
|
10
10
|
* @returns {Record<string, any>} A style object with applied transform, dimension, and positioning properties.
|
|
11
|
-
* @author cesar - automatic
|
|
12
|
-
* @createdAt 2024-11-08 12:13:10 - automatic
|
|
13
|
-
* @updatedAt 2024-11-13 10:42:04 - automatic
|
|
14
|
-
* @updatedUser cesar - automatic
|
|
15
11
|
*/
|
|
16
12
|
export declare function setTransform({ top, left, width, height }: Position): Record<string, any>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Subcomponente encargado de los filtros con el tipo de dato "boolean"
|
|
3
3
|
* @returns
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
6
|
-
* @updatedAt 2025-01-08 10:36:40 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function SelectFilter(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author SebastianM - automatic
|
|
4
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
5
|
-
* @updatedAt 2024-11-12 12:57:56 - automatic
|
|
6
|
-
* @updatedUser SebastianM - automatic
|
|
7
3
|
*/
|
|
8
4
|
declare function PopoverFilter(): import("react/jsx-runtime").JSX.Element | null;
|
|
9
5
|
export default PopoverFilter;
|
|
@@ -17,10 +17,6 @@ export type FieldPresence = 'initialized' | 'fixed' | 'optional';
|
|
|
17
17
|
export type FormOperandSelect = Record<string, any>;
|
|
18
18
|
/**
|
|
19
19
|
* Posibles valores para el operandsArray para el caso del select o otros fields
|
|
20
|
-
* @author Andrés Quintero - automatic
|
|
21
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
22
|
-
* @updatedAt 2025-01-08 10:36:40 - automatic
|
|
23
|
-
* @updatedUser Andrés Quintero - automatic
|
|
24
20
|
*/
|
|
25
21
|
export type OperandsArrayValues = Array<FormOperandSelect>;
|
|
26
22
|
export type FieldTypeOperator<T extends FieldType> = T extends 'boolean' ? BooleanOperator : T extends 'datetime' ? DateTimeOperator : T extends 'number' ? NumberOperator : T extends 'select' ? SelectOperator : T extends 'string' ? StringOperator : T;
|
|
@@ -62,7 +58,6 @@ export interface BaseApplyFilter<T extends FieldType = FieldType> {
|
|
|
62
58
|
}
|
|
63
59
|
/**
|
|
64
60
|
* Base para el tipado de overloading de los valores de un filtro
|
|
65
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
66
61
|
*/
|
|
67
62
|
export interface FilterValueBase {
|
|
68
63
|
fieldType: FieldType;
|
|
@@ -112,19 +107,14 @@ export interface FilterValueSelect extends FilterValueBase {
|
|
|
112
107
|
}
|
|
113
108
|
/**
|
|
114
109
|
* Valor de un filtro sobrecargado para cada tipo de dato
|
|
115
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
116
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
117
110
|
*/
|
|
118
111
|
export type FilterValue = FilterValueBoolean | FilterValueDateTime | FilterValueNumber | FilterValueString | FilterValueSelect;
|
|
119
112
|
/**
|
|
120
113
|
* Estado del Filtro + Valor valor del filtro.
|
|
121
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
122
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
123
114
|
*/
|
|
124
115
|
export type FilterFieldApplied<T extends FieldType = FieldType> = BaseApplyFilter<T> & FilterValue;
|
|
125
116
|
/**
|
|
126
117
|
* RawFilterFieldApply Formato para enviar los filtros a las APIs.
|
|
127
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
128
118
|
*/
|
|
129
119
|
export interface RawFilterFieldApply {
|
|
130
120
|
n: string;
|
|
@@ -141,7 +131,6 @@ export interface DataTypeFilerLabels {
|
|
|
141
131
|
}
|
|
142
132
|
/**
|
|
143
133
|
* Tipado de los filtros a inicializar el componente DynamicFilter
|
|
144
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
145
134
|
*/
|
|
146
135
|
export type InitialFilterApplied = {
|
|
147
136
|
name: string;
|
|
@@ -164,7 +153,6 @@ export type FormOperandString = string;
|
|
|
164
153
|
export type FormOperand = FormOperandBoolean | FormOperandDateTime | FormOperandNumber | FormOperandString | FormOperandSelect;
|
|
165
154
|
/**
|
|
166
155
|
* Base para el tipado de overloading de los valor de un filtro
|
|
167
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
168
156
|
*/
|
|
169
157
|
export interface FormFilterValueBase {
|
|
170
158
|
fieldType: FieldType;
|
|
@@ -207,21 +195,15 @@ export type FormFilterValue = FormFilterValueBoolean | FormFilterValueDateTime |
|
|
|
207
195
|
export type FormFilterFieldApplied<T extends FieldType = FieldType> = BaseApplyFilter<T> & FormFilterValue;
|
|
208
196
|
/**
|
|
209
197
|
* Tipado del handler cuando se ejecuta el filtro
|
|
210
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
211
198
|
*/
|
|
212
199
|
export type OnChangeFilters = (
|
|
213
200
|
/**
|
|
214
201
|
* "filters" Vector de filtros aplicados, los cuales pueden servir como entrada del campo "i"nitialApplyedFilters" en un refresh,
|
|
215
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
216
202
|
*/
|
|
217
203
|
filters: Array<InitialFilterApplied>,
|
|
218
204
|
/**
|
|
219
205
|
* "rawFilters" Vector de filtros aplicados, en el formato que puede ser llevado a un endpoint.
|
|
220
206
|
* ver: https://www.notion.so/made4labs/Filtrado-de-listas-55afdd8ac92e483abd34e5365b74ee29
|
|
221
|
-
* @author Andrés Quintero - automatic
|
|
222
|
-
* @createdAt 2025-01-08 10:36:39 - automatic
|
|
223
|
-
* @updatedAt 2025-01-08 10:36:40 - automatic
|
|
224
|
-
* @updatedUser Andrés Quintero - automatic
|
|
225
207
|
*/
|
|
226
208
|
rawFilters: Array<RawFilterFieldApply>) => void;
|
|
227
209
|
/**
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: Documentar
|
|
3
|
-
* @author SebastianM - automatic
|
|
4
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
5
|
-
* @updatedAt 2024-11-12 12:57:56 - automatic
|
|
6
|
-
* @updatedUser SebastianM - automatic
|
|
7
3
|
*/
|
|
8
4
|
declare function PopoverSort(): import("react/jsx-runtime").JSX.Element | null;
|
|
9
5
|
export default PopoverSort;
|
|
@@ -5,7 +5,6 @@ const GridLayoutRoot = styled("div")`
|
|
|
5
5
|
overflow: auto;
|
|
6
6
|
position: relative;
|
|
7
7
|
transition: height 200ms ease;
|
|
8
|
-
|
|
9
8
|
.${gridLayoutClasses.gridItemRoot} {
|
|
10
9
|
transition: all 200ms ease;
|
|
11
10
|
transition-property: left, top;
|
|
@@ -21,7 +20,6 @@ const GridLayoutRoot = styled("div")`
|
|
|
21
20
|
.${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.maximizeOther} {
|
|
22
21
|
display: none;
|
|
23
22
|
}
|
|
24
|
-
|
|
25
23
|
.${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.gridItemFreeMove} {
|
|
26
24
|
z-index: 1;
|
|
27
25
|
will-change: width, height;
|
|
@@ -30,17 +28,14 @@ const GridLayoutRoot = styled("div")`
|
|
|
30
28
|
z-index: 2000;
|
|
31
29
|
will-change: width, height;
|
|
32
30
|
}
|
|
33
|
-
|
|
34
31
|
.${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.dragging} {
|
|
35
32
|
transition: none;
|
|
36
33
|
z-index: 4000;
|
|
37
34
|
will-change: transform;
|
|
38
35
|
}
|
|
39
|
-
|
|
40
36
|
.${gridLayoutClasses.gridItemRoot}.dropping {
|
|
41
37
|
visibility: hidden;
|
|
42
38
|
}
|
|
43
|
-
|
|
44
39
|
.${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.gridItemPlaceholder} {
|
|
45
40
|
background: ${(props) => props.theme.vars.palette.primary?.toneOpacity};
|
|
46
41
|
opacity: 0.5;
|
|
@@ -52,13 +47,11 @@ const GridLayoutRoot = styled("div")`
|
|
|
52
47
|
-o-user-select: none;
|
|
53
48
|
user-select: none;
|
|
54
49
|
}
|
|
55
|
-
|
|
56
50
|
.${gridLayoutClasses.gridItemRoot} > .react-resizable-handle {
|
|
57
51
|
position: absolute;
|
|
58
52
|
width: 7px;
|
|
59
53
|
height: 7px;
|
|
60
54
|
background-image: unset;
|
|
61
|
-
|
|
62
55
|
& .M4LIcon-icon {
|
|
63
56
|
width: 10px;
|
|
64
57
|
height: 10px;
|
|
@@ -67,7 +60,6 @@ const GridLayoutRoot = styled("div")`
|
|
|
67
60
|
background-color: ${(props) => alpha(props.theme.colorSchemes.finalTheme.palette.text.primary, 0.3)};
|
|
68
61
|
}
|
|
69
62
|
}
|
|
70
|
-
|
|
71
63
|
/* .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle::after {
|
|
72
64
|
content: '';
|
|
73
65
|
position: absolute;
|
|
@@ -78,12 +70,10 @@ const GridLayoutRoot = styled("div")`
|
|
|
78
70
|
border-right: 2px solid rgba(0, 0, 0, 0.4);
|
|
79
71
|
border-bottom: 2px solid rgba(0, 0, 0, 0.4);
|
|
80
72
|
} */
|
|
81
|
-
|
|
82
73
|
.react-resizable-hide > .react-resizable-handle {
|
|
83
74
|
display: none;
|
|
84
75
|
border-color: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
|
|
85
76
|
}
|
|
86
|
-
|
|
87
77
|
.${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-sw {
|
|
88
78
|
bottom: 3px;
|
|
89
79
|
left: 3px;
|
|
@@ -154,7 +144,6 @@ const GridLayoutRoot = styled("div")`
|
|
|
154
144
|
.${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.invisible} {
|
|
155
145
|
display: none;
|
|
156
146
|
}
|
|
157
|
-
|
|
158
147
|
${react_resizable_css}
|
|
159
148
|
${(props) => props.theme.components?.M4LGridLayout?.styleOverrides}
|
|
160
149
|
`;
|
|
@@ -4,9 +4,6 @@ import { GridItemProps } from './types';
|
|
|
4
4
|
* An individual item within a ReactGridLayout.
|
|
5
5
|
* En el GridItem es realmente donde se generan los tamaños y posiciones denependiendo si se está
|
|
6
6
|
* en Dragging o en Resizing
|
|
7
|
-
* @author Juan Escobar - automatic
|
|
8
|
-
* @updatedAt 2024-10-07 16:10:37 - automatic
|
|
9
|
-
* @updatedUser Juan Escobar - automatic
|
|
10
7
|
*/
|
|
11
8
|
export declare function GridItem(props: GridItemProps): import("react/jsx-runtime").JSX.Element;
|
|
12
9
|
export declare const MemonizedGridItem: React.MemoExoticComponent<typeof GridItem>;
|
|
@@ -13,10 +13,6 @@ export interface ComponentResponsiveReactGridLayoutProps extends Omit<Responsive
|
|
|
13
13
|
type MinimalParameters = Pick<CoreProps, 'containerWidth' | 'containerHeight' | 'innerRef' | 'style' | 'className'>;
|
|
14
14
|
/**
|
|
15
15
|
* TODO: Documentar
|
|
16
|
-
* @author Juan Escobar - automatic
|
|
17
|
-
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
18
|
-
* @updatedUser Bruce Escobar - automatic
|
|
19
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
20
16
|
*/
|
|
21
17
|
export declare function withSizeProvider<T extends MinimalParameters>(ComposedComponent: FunctionComponent<T>): (props: Omit<T, "containerWidth" | "containerHeight" | "innerRef"> & HOCProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
18
|
export {};
|