@m4l/components 9.1.101 → 9.1.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/network-mocks.d.ts +1 -0
- 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/AppliedFilters/AppliedFilters.d.ts +4 -0
- 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/AppliedSorts/AppliedSorts.d.ts +4 -0
- 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/components/DetailDialog/index.d.ts +4 -0
- 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/ScrollBar/ScrollBar.d.ts +4 -0
- package/components/ScrollBar/ScrollBar.styles.js +8 -0
- 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/helper.d.ts +0 -36
- 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 +0 -136
- package/components/areas/contexts/AreasContext/tests/fnNetworkImplementation.d.ts +4 -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.js +1 -1
- 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 +5 -3
- 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/mockServiceWorker.js +307 -0
- package/package.json +6 -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
- /package/components/mui_extended/Autocomplete/{slots → slots}/AutocompleteEnum.d.ts +0 -0
- /package/components/mui_extended/Autocomplete/{slots → slots}/AutocompleteEnum.js +0 -0
- /package/components/mui_extended/Autocomplete/{slots → slots}/AutocompleteSlots.d.ts +0 -0
- /package/components/mui_extended/Autocomplete/{slots → slots}/AutocompleteSlots.js +0 -0
- /package/components/mui_extended/Autocomplete/{slots → slots}/index.d.ts +0 -0
- /package/components/mui_extended/Autocomplete/{slots → slots}/index.js +0 -0
|
@@ -26,7 +26,6 @@ export interface Area {
|
|
|
26
26
|
loadWindows: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* "containerHeight" Altura del contendor de area, se deja en cada área porque solo llegan en eventos de resize cuando está diferente a display "none"
|
|
29
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
30
29
|
*/
|
|
31
30
|
containerHeight?: number;
|
|
32
31
|
currentBreakpoint?: Breakpoint;
|
|
@@ -40,24 +39,19 @@ export interface Area {
|
|
|
40
39
|
}
|
|
41
40
|
/**
|
|
42
41
|
* estado de carga de las areaS de trabajo.
|
|
43
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
44
42
|
*/
|
|
45
43
|
export type AreasStatus = 'init' | 'loading' | 'loaded' | 'error';
|
|
46
44
|
export type OwnerState = {
|
|
47
45
|
/**
|
|
48
46
|
* "isSkeleton" indica si el componente está en skeleton.
|
|
49
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
50
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
51
47
|
*/
|
|
52
48
|
status: AreasStatus;
|
|
53
49
|
/**
|
|
54
50
|
* "readyForHooks" indica si el componente ejecutó el efecto de carga y se suscrubió al eventemitter. Utilizado normalmente en storybook
|
|
55
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
56
51
|
*/
|
|
57
52
|
readyForHooks: boolean;
|
|
58
53
|
/**
|
|
59
54
|
* "isMobile" cuando el navegador está en modo celular
|
|
60
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
61
55
|
*/
|
|
62
56
|
isMobile: boolean;
|
|
63
57
|
/**
|
|
@@ -66,88 +60,69 @@ export type OwnerState = {
|
|
|
66
60
|
isSkeleton: boolean;
|
|
67
61
|
/**
|
|
68
62
|
* focus: Estado de selección asignado por el usuario.
|
|
69
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
70
63
|
*/
|
|
71
64
|
focus: boolean;
|
|
72
65
|
};
|
|
73
66
|
/**
|
|
74
67
|
* Estados que se actulizan por fuera del store, a través de hooks
|
|
75
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
76
68
|
*/
|
|
77
69
|
export type ExternalOwnerState = Pick<OwnerState, 'isMobile' | 'isSkeleton' | 'readyForHooks'>;
|
|
78
70
|
/**
|
|
79
71
|
* Interface que define el estado del componente (variables y funciones )
|
|
80
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
81
72
|
*/
|
|
82
73
|
export interface AreasState {
|
|
83
74
|
/**
|
|
84
75
|
* "loadAreasFromNetwork" Indica si se deben cargar/grabar las áreas de trabajo en la API
|
|
85
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
86
76
|
*/
|
|
87
77
|
loadAreasFromNetwork: boolean;
|
|
88
78
|
/**
|
|
89
79
|
* "loadCookiesFromNetwork" Indica si se deben cargar/grabar las cookies en la API
|
|
90
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
91
80
|
*/
|
|
92
81
|
loadCookiesFromNetwork: boolean;
|
|
93
82
|
/**
|
|
94
83
|
* "currentAreaId" Area de trabajo seleccionada
|
|
95
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
96
84
|
*/
|
|
97
85
|
currentAreaId: string;
|
|
98
86
|
/**
|
|
99
87
|
* "currentModuleId" Módulo seleccionado
|
|
100
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
101
88
|
*/
|
|
102
89
|
currentModuleId: string;
|
|
103
90
|
/**
|
|
104
91
|
* "ownerState" enfocado al funcionamiento de las clases
|
|
105
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
106
92
|
*/
|
|
107
93
|
ownerState: OwnerState;
|
|
108
94
|
/**
|
|
109
95
|
* "viwerClasses" enfocado al funcionamiento de las clases a nivel de viewer
|
|
110
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
111
96
|
*/
|
|
112
97
|
viwerClasses: ViwerClasses;
|
|
113
98
|
/**
|
|
114
99
|
* "adminClasses" enfocado al funcionamiento de las clases a nivel de Admin
|
|
115
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
116
100
|
*/
|
|
117
101
|
adminClasses: AdminClasses;
|
|
118
102
|
/**
|
|
119
103
|
* "windowsModals" id de ventans modales abiertas
|
|
120
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
121
104
|
*/
|
|
122
105
|
windowsModals: string[];
|
|
123
106
|
hashWindowsModals: HashWindowsByModals;
|
|
124
107
|
windowModal?: ModalStateProps;
|
|
125
108
|
/**
|
|
126
109
|
* "areasIds" Areas de trabajo para saber en que orden se muestran en el AreasAdmin
|
|
127
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
128
110
|
*/
|
|
129
111
|
areasIds: string[];
|
|
130
112
|
/**
|
|
131
113
|
* "hashAreas" Areas de trabajo
|
|
132
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
133
114
|
*/
|
|
134
115
|
hashAreas: Record<string, Area>;
|
|
135
116
|
/**
|
|
136
117
|
* "hashWindows" Todas las ventanas de todas las áreas cagadas
|
|
137
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
138
118
|
*/
|
|
139
119
|
hashWindows: Record<string, WindowStateProps>;
|
|
140
120
|
/**
|
|
141
121
|
* "networkOperation" funcion que usará el Store para enviar las peticiones de red
|
|
142
|
-
* @author cesar - automatic
|
|
143
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
144
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
145
|
-
* @updatedUser cesar - automatic
|
|
146
122
|
*/
|
|
147
123
|
networkOperation: (props: NetworkProps) => Promise<any>;
|
|
148
124
|
/**
|
|
149
125
|
* "getLabel" funcion que usará para traducir las etiquetas de diccionario
|
|
150
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
151
126
|
*/
|
|
152
127
|
getLabel: GetLabelType;
|
|
153
128
|
}
|
|
@@ -157,30 +132,18 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
157
132
|
* inicializa el store cargando las áreas de trabajo.
|
|
158
133
|
* Una vez termina el proceso, actualiza el estado de carga (ownerState.status) a "loaded".
|
|
159
134
|
* Normalmente es asyncrono en producción por el llamado al endpoint áreas.
|
|
160
|
-
* @author cesar - automatic
|
|
161
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
162
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
163
|
-
* @updatedUser cesar - automatic
|
|
164
135
|
*/
|
|
165
136
|
init: () => void;
|
|
166
137
|
/**
|
|
167
138
|
* Arega un area de trabajo y la selecciona. Adiconalmente limpia el currentModuleId
|
|
168
139
|
* Si esta habilitado "loadAreasFromNetwork" invoca al endpoint de POST de areas
|
|
169
140
|
* @returns id del ara de trabajo
|
|
170
|
-
* @author cesar - automatic
|
|
171
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
172
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
173
|
-
* @updatedUser cesar - automatic
|
|
174
141
|
*/
|
|
175
142
|
addArea: () => string;
|
|
176
143
|
/**
|
|
177
144
|
* Edita el nombre del área de trabajo.
|
|
178
145
|
* Si está habilitado y sincroniza los cambios en la API.
|
|
179
146
|
* @returns nombre del area de trabajo
|
|
180
|
-
* @author cesar - automatic
|
|
181
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
182
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
183
|
-
* @updatedUser cesar - automatic
|
|
184
147
|
*/
|
|
185
148
|
editArea: (idArea: string, newName: string) => void;
|
|
186
149
|
/**
|
|
@@ -190,20 +153,12 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
190
153
|
* Carga adicionalmente las ventanas cuando se seleccione por primera vez si eestá habilitado el uso de API (loadAreasFromNetwork)
|
|
191
154
|
* @param newAreaId Id de area a seleccionar
|
|
192
155
|
* @returns
|
|
193
|
-
* @author cesar - automatic
|
|
194
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
195
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
196
|
-
* @updatedUser cesar - automatic
|
|
197
156
|
*/
|
|
198
157
|
selectArea: (newAreaId: string) => void;
|
|
199
158
|
/**
|
|
200
159
|
* Borra un area de trabajo, si esta activa "loadAreasFromNetwork" llama a la API.
|
|
201
160
|
* @param areaId Id de area a borrar
|
|
202
161
|
* @returns void
|
|
203
|
-
* @author cesar - automatic
|
|
204
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
205
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
206
|
-
* @updatedUser cesar - automatic
|
|
207
162
|
*/
|
|
208
163
|
deleteArea: (areaId: string) => void;
|
|
209
164
|
/**
|
|
@@ -211,20 +166,12 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
211
166
|
* @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
|
|
212
167
|
* cambia por el useCallback, cuando el diccionario se carga.
|
|
213
168
|
* @returns void
|
|
214
|
-
* @author cesar - automatic
|
|
215
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
216
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
217
|
-
* @updatedUser cesar - automatic
|
|
218
169
|
*/
|
|
219
170
|
setHandlerGetLabel: (newHandler: GetLabelType) => void;
|
|
220
171
|
/**
|
|
221
172
|
* Modifica los estados que se actualizan externamente al Store
|
|
222
173
|
* @param newIsMobile
|
|
223
174
|
* @returns
|
|
224
|
-
* @author cesar - automatic
|
|
225
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
226
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
227
|
-
* @updatedUser cesar - automatic
|
|
228
175
|
*/
|
|
229
176
|
setExternalState: (newExternalState: Partial<ExternalOwnerState>) => void;
|
|
230
177
|
};
|
|
@@ -9,75 +9,61 @@ export interface AreaWindowAction extends Extract<MenuAction, {
|
|
|
9
9
|
}> {
|
|
10
10
|
/**
|
|
11
11
|
* Tipo de visibilidad de la acción de ventana.
|
|
12
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
13
12
|
*/
|
|
14
13
|
visibility: WindowActionType;
|
|
15
14
|
/**
|
|
16
15
|
* Clave única de la acción de ventana.
|
|
17
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
18
16
|
*/
|
|
19
17
|
key: string;
|
|
20
18
|
/**
|
|
21
19
|
* Etiqueta opcional para la acción de ventana.
|
|
22
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
23
20
|
*/
|
|
24
21
|
tag?: any;
|
|
25
22
|
/**
|
|
26
23
|
* Clase CSS opcional para la acción de ventana.
|
|
27
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
28
24
|
*/
|
|
29
25
|
className?: string;
|
|
30
26
|
/**
|
|
31
27
|
* Icono opcional para la acción de ventana.
|
|
32
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
33
28
|
*/
|
|
34
29
|
iconUrl?: string;
|
|
35
30
|
}
|
|
36
31
|
/**
|
|
37
32
|
* Tipo que representa el tipo de ventana: microfrontend o componente.
|
|
38
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
39
33
|
*/
|
|
40
34
|
export type WinType = 'microfrontend' | 'component';
|
|
41
35
|
/**
|
|
42
36
|
* Tipo que representa el tipo de emergencia de la ventana: diseño, popup o modal.
|
|
43
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
44
37
|
*/
|
|
45
38
|
export type EmergeType = 'layout' | 'popup' | 'modal';
|
|
46
39
|
/**
|
|
47
40
|
* Tipo que representa el tipo de apertura de la ventana: normal o maximizado.
|
|
48
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
49
41
|
*/
|
|
50
42
|
export type OpenType = 'normal' | 'maximized';
|
|
51
43
|
/**
|
|
52
44
|
* Propiedades base de un microfrontend.
|
|
53
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
54
45
|
*/
|
|
55
46
|
export interface MFBaseProps {
|
|
56
47
|
/**
|
|
57
48
|
* Puerto de depuración utilizado para cargar el microfrontend en entornos locales.
|
|
58
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
59
49
|
*/
|
|
60
50
|
debugPort: number;
|
|
61
51
|
/**
|
|
62
52
|
* Indica si se debe almacenar en caché el microfrontend para futuros usos.
|
|
63
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
64
53
|
*/
|
|
65
54
|
cache?: boolean;
|
|
66
55
|
/**
|
|
67
56
|
* Prefijo utilizado para identificar los microfrontends. Por ejemplo, "m4labs", "guardian", etc.
|
|
68
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
69
57
|
*/
|
|
70
58
|
prefix: string;
|
|
71
59
|
}
|
|
72
60
|
export type JSX_REACT_NODE = ((props?: any) => JSX.Element) | ReactNode;
|
|
73
61
|
/**
|
|
74
62
|
* Tipo que representa el tipo de cookie: ventana o módulo.
|
|
75
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
76
63
|
*/
|
|
77
64
|
export type CookieType = 'window' | 'module';
|
|
78
65
|
/**
|
|
79
66
|
* Objeto que contiene las cookies de un módulo y de una ventana.
|
|
80
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
81
67
|
*/
|
|
82
68
|
export type Cookies = {
|
|
83
69
|
moduleCookies: Record<string, any>;
|
|
@@ -85,63 +71,50 @@ export type Cookies = {
|
|
|
85
71
|
};
|
|
86
72
|
/**
|
|
87
73
|
* Tipo que representa el estado de la ventana: inicialización, carga, cargado o error.
|
|
88
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
89
74
|
*/
|
|
90
75
|
export type WindowStatus = 'init' | 'loading' | 'loaded' | 'error';
|
|
91
76
|
export type WindowState = {
|
|
92
77
|
/**
|
|
93
78
|
* status Indica el proceso de cargado de la ventana
|
|
94
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
95
79
|
*/
|
|
96
80
|
status: WindowStatus;
|
|
97
81
|
dynamicMFStore: DynamicMFStore;
|
|
98
82
|
/**
|
|
99
83
|
* loading indica si la barra de progress aparece o no
|
|
100
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
101
84
|
*/
|
|
102
85
|
loading: boolean;
|
|
103
86
|
version?: string;
|
|
104
87
|
/**
|
|
105
88
|
* Acciones del módulo.
|
|
106
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
107
89
|
*/
|
|
108
90
|
moduleActions: AreaWindowAction[];
|
|
109
91
|
cookies: Cookies;
|
|
110
92
|
/**
|
|
111
93
|
* "fnQueryClose" función que reemplaza la opción de cerrado normal de la ventana
|
|
112
94
|
* @returns void
|
|
113
|
-
* @author Andrés Quintero - automatic
|
|
114
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
115
|
-
* @updatedAt 2025-02-07 08:26:22 - automatic
|
|
116
|
-
* @updatedUser cesar - automatic
|
|
117
95
|
*/
|
|
118
96
|
fnQueryClose?: () => void;
|
|
119
97
|
/**
|
|
120
98
|
* moduleCount representa el identificador de
|
|
121
99
|
* la ventana cuando se repite un módulo en una misma área
|
|
122
|
-
* @createdAt 2025-02-07 08:26:22 - automatic
|
|
123
100
|
*/
|
|
124
101
|
moduleCount?: number;
|
|
125
102
|
};
|
|
126
103
|
/**
|
|
127
104
|
* Opciones para la ventana.
|
|
128
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
129
105
|
*/
|
|
130
106
|
export type WindowOptions = {
|
|
131
107
|
/**
|
|
132
108
|
* Indica si se permitirá persistir las cookies.
|
|
133
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
134
109
|
*/
|
|
135
110
|
allowPersistCookies: boolean;
|
|
136
111
|
};
|
|
137
112
|
/**
|
|
138
113
|
* Propiedades base para una ventana en la aplicación.
|
|
139
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
140
114
|
*/
|
|
141
115
|
export interface WindowBaseProps {
|
|
142
116
|
/**
|
|
143
117
|
* Tipo de ventana ('microfrontend' o 'component').
|
|
144
|
-
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
145
118
|
*/
|
|
146
119
|
winType: WinType;
|
|
147
120
|
emergeType: EmergeType;
|
|
@@ -6,7 +6,6 @@ import { HamburguerMenuProps } from './types';
|
|
|
6
6
|
* @example
|
|
7
7
|
* // Ejemplo de uso:
|
|
8
8
|
* <HamburgerMenu />
|
|
9
|
-
* @createdAt 2024-11-27 16:46:47 - automatic
|
|
10
9
|
*/
|
|
11
10
|
/**
|
|
12
11
|
* Función para manejar la visibilidad alternada.
|
|
@@ -22,13 +21,8 @@ import { HamburguerMenuProps } from './types';
|
|
|
22
21
|
* const toggleVisibility = () => {
|
|
23
22
|
* setVisible(val => !val);
|
|
24
23
|
* };
|
|
25
|
-
* @createdAt 2024-11-27 16:46:47 - automatic
|
|
26
24
|
*/
|
|
27
25
|
/**
|
|
28
26
|
* TODO: Documentar
|
|
29
|
-
* @author Andrés Quintero - automatic
|
|
30
|
-
* @createdAt 2024-11-27 16:46:47 - automatic
|
|
31
|
-
* @updatedAt 2024-11-27 16:46:47 - automatic
|
|
32
|
-
* @updatedUser Andrés Quintero - automatic
|
|
33
27
|
*/
|
|
34
28
|
export declare const HamburgerMenu: (props: HamburguerMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,9 +5,5 @@ import { NavItemRootProps } from './types';
|
|
|
5
5
|
* @param {TopBarMenuDataType} props.itemRootData - Array de tipo TopBarMenuDataType
|
|
6
6
|
* @returns Boton con o sin accordion
|
|
7
7
|
* @example <NavItemRoot key={group.id} itemRootData={group} />
|
|
8
|
-
* @author SebastianM - automatic
|
|
9
|
-
* @createdAt 2024-11-06 09:00:05 - automatic
|
|
10
|
-
* @updatedAt 2024-11-06 17:18:27 - automatic
|
|
11
|
-
* @updatedUser SebastianM - automatic
|
|
12
8
|
*/
|
|
13
9
|
export declare const NavItemRoot: (props: NavItemRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,9 +6,5 @@ import { ResizableProps } from 'react-resizable';
|
|
|
6
6
|
* Resizable es un componente controlado, por lo que se debe pasar el width y height y darle manejo
|
|
7
7
|
* a los handlers de onResizeStart, onResize y onResizeStop. Estos handlers son implementados en el componente
|
|
8
8
|
* DragResizeWindow
|
|
9
|
-
* @author cesar - automatic
|
|
10
|
-
* @createdAt 2024-11-05 13:00:52 - automatic
|
|
11
|
-
* @updatedAt 2024-11-06 10:50:22 - automatic
|
|
12
|
-
* @updatedUser cesar - automatic
|
|
13
9
|
*/
|
|
14
10
|
export declare const Resizable: (props: ResizableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,9 +8,5 @@ import { ResizableProps } from './types';
|
|
|
8
8
|
* del componente lanzan el onResize cuando cambia el tamaño, para que se re-inserten como props.
|
|
9
9
|
*
|
|
10
10
|
* Este componente no tiene implementado la correción del resize a la izquierda o hacia arriba. Usar DragResizeWindow.
|
|
11
|
-
* @author cesar - automatic
|
|
12
|
-
* @createdAt 2024-11-01 12:04:19 - automatic
|
|
13
|
-
* @updatedAt 2024-11-12 13:32:58 - automatic
|
|
14
|
-
* @updatedUser cesar - automatic
|
|
15
11
|
*/
|
|
16
12
|
export declare function ResizableBox(props: ResizableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,10 +2,6 @@ import { g as getReactResizableStyles } from "../helpers.js";
|
|
|
2
2
|
const resizableBoxStyles = {
|
|
3
3
|
/**
|
|
4
4
|
* Styles for the ResizableBox component.
|
|
5
|
-
* @author cesar - automatic
|
|
6
|
-
* @createdAt 2024-11-01 12:04:19 - automatic
|
|
7
|
-
* @updatedAt 2024-11-01 12:04:20 - automatic
|
|
8
|
-
* @updatedUser cesar - automatic
|
|
9
5
|
*/
|
|
10
6
|
root: ({ theme, ownerState }) => ({
|
|
11
7
|
...getReactResizableStyles(theme, ownerState || {}),
|
|
@@ -9,10 +9,6 @@ import { COMPONET_KEY_COMPONENT } from './constants';
|
|
|
9
9
|
* [maxHeight] - Maximum height allowed for the component.
|
|
10
10
|
* [onResize] - Callback function called
|
|
11
11
|
* when the component is resized, providing the event and resize data.
|
|
12
|
-
* @author cesar - automatic
|
|
13
|
-
* @createdAt 2024-11-01 16:20:26 - automatic
|
|
14
|
-
* @updatedAt 2024-11-05 10:30:25 - automatic
|
|
15
|
-
* @updatedUser cesar - automatic
|
|
16
12
|
*/
|
|
17
13
|
type InternalResizableProps = {
|
|
18
14
|
maxWidth?: number;
|
|
@@ -10,10 +10,6 @@ import { Theme } from '@mui/material';
|
|
|
10
10
|
* - Specific styles are applied for each handle position (`sw`, `se`, `nw`, etc.) with rotational adjustments.
|
|
11
11
|
*
|
|
12
12
|
* Note: If resizing is not enabled, handles are hidden.
|
|
13
|
-
* @author cesar - automatic
|
|
14
|
-
* @createdAt 2024-11-01 08:30:26 - automatic
|
|
15
|
-
* @updatedAt 2024-11-06 10:50:22 - automatic
|
|
16
|
-
* @updatedUser cesar - automatic
|
|
17
13
|
*/
|
|
18
14
|
export declare const getReactResizableStyles: (theme: Theme, ownerState: {
|
|
19
15
|
disabled?: boolean;
|
|
@@ -4,10 +4,6 @@ import { ResizeCallbackData } from 'react-resizable';
|
|
|
4
4
|
* @param {Function} onResizeStart - Callback for when resizing starts.
|
|
5
5
|
* @param {Function} onResizeStop - Callback for when resizing stops.
|
|
6
6
|
* @returns {Object} - Contains resizing state and handlers.
|
|
7
|
-
* @author cesar - automatic
|
|
8
|
-
* @createdAt 2024-11-05 13:00:52 - automatic
|
|
9
|
-
* @updatedAt 2024-11-12 13:32:58 - automatic
|
|
10
|
-
* @updatedUser cesar - automatic
|
|
11
7
|
*/
|
|
12
8
|
export declare const useResizable: (onResizeStart?: (e: React.SyntheticEvent, data: ResizeCallbackData) => void, onResizeStop?: (e: React.SyntheticEvent, data: ResizeCallbackData) => void) => {
|
|
13
9
|
isResizing: boolean;
|
package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.d.ts
CHANGED
|
@@ -3,9 +3,5 @@ import { PropagateLoaderSpinnerProps } from './types';
|
|
|
3
3
|
* Un componente de cargador que muestra un propagador de carga.
|
|
4
4
|
* Utiliza React Spinners bajo el nombre de `PropagateLoader`.
|
|
5
5
|
* @returns Un componente de cargador que muestra un propagador de carga.
|
|
6
|
-
* @author cesar - automatic
|
|
7
|
-
* @createdAt 2025-01-07 11:39:01 - automatic
|
|
8
|
-
* @updatedAt 2025-01-14 14:13:30 - automatic
|
|
9
|
-
* @updatedUser cesar - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare const PropagateLoaderSpinner: React.FC<PropagateLoaderSpinnerProps>;
|
package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js
CHANGED
|
@@ -2,10 +2,6 @@ import { g as getHeightSizeStyles } from "../../../../utils/getHeightSizeStyles.
|
|
|
2
2
|
const propagateLoaderSpinnerStyles = {
|
|
3
3
|
/**
|
|
4
4
|
* Estilos del componente raíz del contenedor de la ventana.
|
|
5
|
-
* @author cesar - automatic
|
|
6
|
-
* @createdAt 2024-11-21 08:55:01 - automatic
|
|
7
|
-
* @updatedAt 2025-01-14 14:13:30 - automatic
|
|
8
|
-
* @updatedUser cesar - automatic
|
|
9
5
|
*/
|
|
10
6
|
root: () => ({
|
|
11
7
|
height: "100%",
|
|
@@ -15,10 +11,6 @@ const propagateLoaderSpinnerStyles = {
|
|
|
15
11
|
}),
|
|
16
12
|
/**
|
|
17
13
|
* Estilos del loader.
|
|
18
|
-
* @author cesar - automatic
|
|
19
|
-
* @createdAt 2025-01-14 14:13:30 - automatic
|
|
20
|
-
* @updatedAt 2025-01-14 14:13:30 - automatic
|
|
21
|
-
* @updatedUser cesar - automatic
|
|
22
14
|
*/
|
|
23
15
|
loader: ({ theme, ownerState }) => ({
|
|
24
16
|
display: "flex",
|
|
@@ -24,9 +24,5 @@ import { BooleanFormatterProps } from './types';
|
|
|
24
24
|
* <BooleanFormatter presentationType="check" value={false} />
|
|
25
25
|
* // Renders a false icon
|
|
26
26
|
* @returns JSX.Element
|
|
27
|
-
* @author cesar - automatic
|
|
28
|
-
* @createdAt 2024-12-06 15:57:50 - automatic
|
|
29
|
-
* @updatedAt 2024-12-10 14:11:20 - automatic
|
|
30
|
-
* @updatedUser cesar - automatic
|
|
31
27
|
*/
|
|
32
28
|
export declare function BooleanFormatter<T extends React.ElementType>(props: BooleanFormatterProps<T>): string | import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const booleanFormatterStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Modal Dialog Root style
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2024-12-10 14:11:55 - automatic
|
|
6
|
-
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
root: ({ theme }) => ({
|
|
10
6
|
"& .MuiSkeleton-text": {
|
|
@@ -7,10 +7,6 @@ declare type Maybe<T> = T | undefined | null;
|
|
|
7
7
|
* @param value Valor a convertir
|
|
8
8
|
* @param format Formato
|
|
9
9
|
* @returns string
|
|
10
|
-
* @author cesar - automatic
|
|
11
|
-
* @createdAt 2025-01-15 15:48:39 - automatic
|
|
12
|
-
* @updatedAt 2025-01-15 15:48:39 - automatic
|
|
13
|
-
* @updatedUser cesar - automatic
|
|
14
10
|
*/
|
|
15
11
|
export declare function useFormatDate(presentationType: PresentationType, value: Maybe<Date | string | number>, format?: string): string;
|
|
16
12
|
/**
|
|
@@ -29,10 +25,6 @@ export declare function useFormatDate(presentationType: PresentationType, value:
|
|
|
29
25
|
* <DateFormatter presentationType="datetime" value={new Date()} />
|
|
30
26
|
* // Renders "2024-12-06 15:57:50"
|
|
31
27
|
* @returns JSX.Element
|
|
32
|
-
* @author cesar
|
|
33
|
-
* @createdAt 2025-01-15 15:48:39 - automatic
|
|
34
|
-
* @updatedAt 2025-01-15 15:48:39 - automatic
|
|
35
|
-
* @updatedUser cesar - automatic
|
|
36
28
|
*/
|
|
37
29
|
export declare function DateFormatter<T extends React.ElementType>(props: DateFormatterProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
38
30
|
export {};
|
|
@@ -6,10 +6,6 @@ import { PeriodFormatterProps } from './types';
|
|
|
6
6
|
* @param months Cantidad de meses
|
|
7
7
|
* @param days Cantidad de días
|
|
8
8
|
* @returns string
|
|
9
|
-
* @author cesar - automatic
|
|
10
|
-
* @createdAt 2025-01-02 15:08:06 - automatic
|
|
11
|
-
* @updatedAt 2025-01-07 15:14:22 - automatic
|
|
12
|
-
* @updatedUser cesar - automatic
|
|
13
9
|
*/
|
|
14
10
|
export declare function useFormatPeriod(years: number, months: number, days: number): string;
|
|
15
11
|
/**
|
|
@@ -17,9 +13,5 @@ export declare function useFormatPeriod(years: number, months: number, days: num
|
|
|
17
13
|
* Si el componente está en skeleton, muestra un placeholder de carga.
|
|
18
14
|
* @param props
|
|
19
15
|
* @returns JSX.Element.
|
|
20
|
-
* @author cesar - automatic
|
|
21
|
-
* @createdAt 2025-01-02 15:08:06 - automatic
|
|
22
|
-
* @updatedAt 2025-01-07 15:14:22 - automatic
|
|
23
|
-
* @updatedUser cesar - automatic
|
|
24
16
|
*/
|
|
25
17
|
export declare function PeriodFormatter<T extends React.ElementType>(props: PeriodFormatterProps<T>): JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const periodFormatterStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Root container of the window
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2025-01-02 15:08:06 - automatic
|
|
6
|
-
* @updatedAt 2025-01-02 15:08:07 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
root: ({ theme }) => ({
|
|
10
6
|
display: "flex",
|
|
@@ -14,10 +10,6 @@ const periodFormatterStyles = {
|
|
|
14
10
|
}),
|
|
15
11
|
/**
|
|
16
12
|
* Skeleton container
|
|
17
|
-
* @author cesar - automatic
|
|
18
|
-
* @createdAt 2025-01-02 15:08:06 - automatic
|
|
19
|
-
* @updatedAt 2025-01-02 15:08:07 - automatic
|
|
20
|
-
* @updatedUser cesar - automatic
|
|
21
13
|
*/
|
|
22
14
|
skeleton: ({ theme }) => ({
|
|
23
15
|
width: "100%",
|
|
@@ -9,10 +9,6 @@ export declare const dictionary: {
|
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Returns the dictionary of the formatters components
|
|
12
|
-
* @author cesar - automatic
|
|
13
|
-
* @createdAt 2025-01-02 15:08:06 - automatic
|
|
14
|
-
* @updatedAt 2025-01-02 15:08:07 - automatic
|
|
15
|
-
* @updatedUser cesar - automatic
|
|
16
12
|
*/
|
|
17
13
|
export declare function getFormattersComponentsDictionary(): string[];
|
|
18
14
|
export declare const PERIOD_FORMATTER_DICTIONARY_LABELS: string[];
|
|
@@ -3,10 +3,6 @@ import { default as React } from 'react';
|
|
|
3
3
|
import { PointsFormatterRootStyled } from './slots/ointsFormatterSlots';
|
|
4
4
|
/**
|
|
5
5
|
* getFormatPoints function that receives the properties and returns the formatted points.
|
|
6
|
-
* @author cesar - automatic
|
|
7
|
-
* @createdAt 2025-01-03 10:00:52 - automatic
|
|
8
|
-
* @updatedAt 2025-01-07 10:49:09 - automatic
|
|
9
|
-
* @updatedUser cesar - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare function getFormatPoints(obProps: any, fieldValue: string, fieldUnit: string, chainPoint?: string): string;
|
|
12
8
|
/**
|
|
@@ -14,9 +10,5 @@ export declare function getFormatPoints(obProps: any, fieldValue: string, fieldU
|
|
|
14
10
|
* Componente para formatear puntos de calibración en una representación visual o textual.
|
|
15
11
|
* @param props Propiedades del componente.
|
|
16
12
|
* @returns JSX.Element
|
|
17
|
-
* @author cesar - automatic
|
|
18
|
-
* @createdAt 2025-01-03 10:00:52 - automatic
|
|
19
|
-
* @updatedAt 2025-01-07 10:49:09 - automatic
|
|
20
|
-
* @updatedUser cesar - automatic
|
|
21
13
|
*/
|
|
22
14
|
export declare function PointsFormatter<T extends React.ElementType = typeof PointsFormatterRootStyled>(props: PointsFormatterProps<T>): JSX.Element;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
const rhfAutocompleteSyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Styles for the root component.
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
6
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
4
|
*/
|
|
9
5
|
autocompleteRoot: ({ theme }) => ({
|
|
10
6
|
display: "flex",
|
|
@@ -17,10 +13,6 @@ const rhfAutocompleteSyles = {
|
|
|
17
13
|
* @param {object} theme - The theme object.
|
|
18
14
|
* @param {object} ownerState - The state of the owner component.
|
|
19
15
|
* @returns {object} The styles for the label.
|
|
20
|
-
* @author Andrés Quintero - automatic
|
|
21
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
22
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
23
|
-
* @updatedUser cesar - automatic
|
|
24
16
|
*/
|
|
25
17
|
label: ({ theme, ownerState }) => ({
|
|
26
18
|
...ownerState.disabled === true && {
|
|
@@ -3,9 +3,5 @@ import { RHFAutocompleteProps } from './types';
|
|
|
3
3
|
* RHFAutocomplete component renders an autocomplete input field with various customization options.
|
|
4
4
|
* @param props - The properties for the RHFAutocomplete component.
|
|
5
5
|
* @returns The RHFAutocomplete component.
|
|
6
|
-
* @author Andrés Quintero - automatic
|
|
7
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
8
|
-
* @updatedAt 2025-01-31 11:37:44 - automatic
|
|
9
|
-
* @updatedUser cesar - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare function RHFAutocomplete<T>(props: RHFAutocompleteProps<T>): import("react/jsx-runtime").JSX.Element;
|