@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
|
@@ -17,138 +17,6 @@ const createPopupsStore = (initProps) => {
|
|
|
17
17
|
popupsActions: {
|
|
18
18
|
/**
|
|
19
19
|
* TODO: Documentar
|
|
20
|
-
* @updatedUser Bruce Escobar - automatic
|
|
21
|
-
* @updatedUser Bruce Escobar - automatic
|
|
22
|
-
* @updatedUser Bruce Escobar - automatic
|
|
23
|
-
* @updatedUser Bruce Escobar - automatic
|
|
24
|
-
* @updatedUser Bruce Escobar - automatic
|
|
25
|
-
* @updatedUser Bruce Escobar - automatic
|
|
26
|
-
* @updatedUser Bruce Escobar - automatic
|
|
27
|
-
* @updatedUser Bruce Escobar - automatic
|
|
28
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
29
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
30
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
31
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
32
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
33
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
34
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
35
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
36
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
37
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
38
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
39
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
40
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
41
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
42
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
43
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
44
|
-
* @author Bruce Escobar - automatic
|
|
45
|
-
* @author Bruce Escobar - automatic
|
|
46
|
-
* @author Bruce Escobar - automatic
|
|
47
|
-
* @author Bruce Escobar - automatic
|
|
48
|
-
* @author Bruce Escobar - automatic
|
|
49
|
-
* @author Bruce Escobar - automatic
|
|
50
|
-
* @author Bruce Escobar - automatic
|
|
51
|
-
* @author Bruce Escobar - automatic
|
|
52
|
-
* @updatedUser Bruce Escobar - automatic
|
|
53
|
-
* @updatedUser Bruce Escobar - automatic
|
|
54
|
-
* @updatedUser Bruce Escobar - automatic
|
|
55
|
-
* @updatedUser Bruce Escobar - automatic
|
|
56
|
-
* @updatedUser Bruce Escobar - automatic
|
|
57
|
-
* @updatedUser Bruce Escobar - automatic
|
|
58
|
-
* @updatedUser Bruce Escobar - automatic
|
|
59
|
-
* @updatedUser Bruce Escobar - automatic
|
|
60
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
61
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
62
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
63
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
64
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
65
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
66
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
67
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
68
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
69
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
70
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
71
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
72
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
73
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
74
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
75
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
76
|
-
* @author Bruce Escobar - automatic
|
|
77
|
-
* @author Bruce Escobar - automatic
|
|
78
|
-
* @author Bruce Escobar - automatic
|
|
79
|
-
* @author Bruce Escobar - automatic
|
|
80
|
-
* @author Bruce Escobar - automatic
|
|
81
|
-
* @author Bruce Escobar - automatic
|
|
82
|
-
* @author Bruce Escobar - automatic
|
|
83
|
-
* @author Bruce Escobar - automatic
|
|
84
|
-
* @updatedUser Bruce Escobar - automatic
|
|
85
|
-
* @updatedUser Bruce Escobar - automatic
|
|
86
|
-
* @updatedUser Bruce Escobar - automatic
|
|
87
|
-
* @updatedUser Bruce Escobar - automatic
|
|
88
|
-
* @updatedUser Bruce Escobar - automatic
|
|
89
|
-
* @updatedUser Bruce Escobar - automatic
|
|
90
|
-
* @updatedUser Bruce Escobar - automatic
|
|
91
|
-
* @updatedUser Bruce Escobar - automatic
|
|
92
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
93
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
94
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
95
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
96
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
97
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
98
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
99
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
100
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
101
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
102
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
103
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
104
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
105
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
106
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
107
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
108
|
-
* @author Bruce Escobar - automatic
|
|
109
|
-
* @author Bruce Escobar - automatic
|
|
110
|
-
* @author Bruce Escobar - automatic
|
|
111
|
-
* @author Bruce Escobar - automatic
|
|
112
|
-
* @author Bruce Escobar - automatic
|
|
113
|
-
* @author Bruce Escobar - automatic
|
|
114
|
-
* @author Bruce Escobar - automatic
|
|
115
|
-
* @author Bruce Escobar - automatic
|
|
116
|
-
* @updatedUser Bruce Escobar - automatic
|
|
117
|
-
* @updatedUser Bruce Escobar - automatic
|
|
118
|
-
* @updatedUser Bruce Escobar - automatic
|
|
119
|
-
* @updatedUser Bruce Escobar - automatic
|
|
120
|
-
* @updatedUser Bruce Escobar - automatic
|
|
121
|
-
* @updatedUser Bruce Escobar - automatic
|
|
122
|
-
* @updatedUser Bruce Escobar - automatic
|
|
123
|
-
* @updatedUser Bruce Escobar - automatic
|
|
124
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
125
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
126
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
127
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
128
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
129
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
130
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
131
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
132
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
133
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
134
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
135
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
136
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
137
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
138
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
139
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
140
|
-
* @author Juan Escobar - automatic
|
|
141
|
-
* @author Juan Escobar - automatic
|
|
142
|
-
* @author Juan Escobar - automatic
|
|
143
|
-
* @author Juan Escobar - automatic
|
|
144
|
-
* @author Juan Escobar - automatic
|
|
145
|
-
* @author Juan Escobar - automatic
|
|
146
|
-
* @author Juan Escobar - automatic
|
|
147
|
-
* @author Juan Escobar - automatic
|
|
148
|
-
* @author Juan Escobar - automatic
|
|
149
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
150
|
-
* @updatedUser Bruce Escobar - automatic
|
|
151
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
152
20
|
*/
|
|
153
21
|
init: (initialPopups) => {
|
|
154
22
|
set((state) => {
|
|
@@ -6,113 +6,86 @@ export type PopupVariantType = 'normal' | 'small' | 'large';
|
|
|
6
6
|
export interface PopupStoreProps extends Pick<DragResizeWindowProps, 'bounds' | 'defaultPosition'> {
|
|
7
7
|
/**
|
|
8
8
|
* "popupId" Indetificador del popupId
|
|
9
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
10
9
|
*/
|
|
11
10
|
popupId: string;
|
|
12
11
|
/**
|
|
13
12
|
* "status" Estado del popup
|
|
14
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
15
13
|
*/
|
|
16
14
|
status: PopupStatus;
|
|
17
15
|
/**
|
|
18
16
|
* "variant" Variante del popup
|
|
19
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
20
17
|
*/
|
|
21
18
|
variant?: PopupVariantType;
|
|
22
19
|
/**
|
|
23
20
|
* "iconUrl" Icono de la ventan
|
|
24
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
25
21
|
*/
|
|
26
22
|
iconUrl: string;
|
|
27
23
|
/**
|
|
28
24
|
* "title" Titulo de la ventan
|
|
29
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
30
25
|
*/
|
|
31
26
|
title: string;
|
|
32
27
|
/**
|
|
33
28
|
* "subTitle" Subtitulo de la ventan
|
|
34
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
35
29
|
*/
|
|
36
30
|
subTitle?: string;
|
|
37
31
|
/**
|
|
38
32
|
* "editionInfo" Mensaje que muestra el registro que se está editando.
|
|
39
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
40
33
|
*/
|
|
41
34
|
editionInfo?: string;
|
|
42
35
|
/**
|
|
43
36
|
* draggable Indica si el popup es arrastrable, default true
|
|
44
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
45
37
|
*/
|
|
46
38
|
draggable?: boolean;
|
|
47
39
|
/**
|
|
48
40
|
* resizable Indica si el popup es redimensionable, default true
|
|
49
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
50
41
|
*/
|
|
51
42
|
resizable?: boolean;
|
|
52
43
|
/**
|
|
53
44
|
* "zIndex" Zindex del popup, tener en cuenta que se usa el baseZindex como offset para el zIndex
|
|
54
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
55
45
|
*/
|
|
56
46
|
zIndex: number;
|
|
57
47
|
/**
|
|
58
48
|
* "componentProps" Propiedades que se le pasan al componente que se va a mostrar en el popup.
|
|
59
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
60
49
|
*/
|
|
61
50
|
componentProps?: Record<string, any>;
|
|
62
51
|
/**
|
|
63
52
|
* functionComponent retorna el componente que se va a mostrar en el popup.
|
|
64
53
|
*
|
|
65
54
|
* Lo unico que necesita es guardar la referencia la función que retorna el componente.
|
|
66
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
67
55
|
*/
|
|
68
56
|
functionComponent?: React.FC<Record<string, any>>;
|
|
69
57
|
/**
|
|
70
58
|
* "onMouseDown" Evento nativo del Draggable, para tomar acciones externamente
|
|
71
|
-
* @author cesar - automatic
|
|
72
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
73
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
74
|
-
* @updatedUser cesar - automatic
|
|
75
59
|
*/
|
|
76
60
|
onMouseDown?: (e: MouseEvent) => void;
|
|
77
61
|
}
|
|
78
62
|
/**
|
|
79
63
|
* Interface que define el store del componente (variables y funciones )
|
|
80
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
81
64
|
*/
|
|
82
65
|
export interface PopupsStore {
|
|
83
66
|
/**
|
|
84
67
|
* Id del store, para identificarlo en las herramientas de redux.
|
|
85
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
86
68
|
*/
|
|
87
69
|
storeId?: string;
|
|
88
70
|
/**
|
|
89
71
|
* "poupsIds" Poups para saber en que orden se muestran
|
|
90
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
91
72
|
*/
|
|
92
73
|
popupsIds: string[];
|
|
93
74
|
/**
|
|
94
75
|
* "hashPoups" Poups
|
|
95
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
96
76
|
*/
|
|
97
77
|
hashPopups: Record<string, PopupStoreProps>;
|
|
98
78
|
/**
|
|
99
79
|
* "baseZindex" zIndex donde empieza el primer popup
|
|
100
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
101
80
|
*/
|
|
102
81
|
baseZindex: number;
|
|
103
82
|
/**
|
|
104
83
|
* "currentZindex" Zindex actual, cada vez que se lance un popup se incrementa en 1,
|
|
105
84
|
* si se cierran todos, vuelve a baseZindex.
|
|
106
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
107
85
|
*/
|
|
108
86
|
currentZindex: number;
|
|
109
87
|
/**
|
|
110
88
|
* "getLabel" funcion que usará para traducir las etiquetas de diccionario
|
|
111
|
-
* @updatedUser cesar - automatic
|
|
112
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
113
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
114
|
-
* @author cesar - automatic
|
|
115
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
116
89
|
*/
|
|
117
90
|
getLabel: GetLabelType;
|
|
118
91
|
/**
|
|
@@ -123,7 +96,6 @@ export interface PopupsStore {
|
|
|
123
96
|
export type OpenPopupOptions = {
|
|
124
97
|
/**
|
|
125
98
|
* Indica si se deben cerrar primero los otros propus.
|
|
126
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
127
99
|
*/
|
|
128
100
|
closeOthers: boolean;
|
|
129
101
|
};
|
|
@@ -131,63 +103,34 @@ export interface PopupsStateWithActions extends PopupsStore {
|
|
|
131
103
|
popupsActions: {
|
|
132
104
|
/**
|
|
133
105
|
* @description
|
|
134
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
135
106
|
*/
|
|
136
107
|
init(layersStore: PopupStoreProps[]): void;
|
|
137
108
|
/**
|
|
138
109
|
* Agrega una un poupup nuevo al hash de popups y al array de ids,
|
|
139
|
-
* @author cesar - automatic
|
|
140
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
141
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
142
|
-
* @updatedUser cesar - automatic
|
|
143
110
|
*/
|
|
144
111
|
addPopup: (popupProps: Omit<PopupStoreProps, 'status' | 'zIndex'>, options?: OpenPopupOptions) => void;
|
|
145
112
|
/**
|
|
146
113
|
* Remueve el poupup del hash de poups y de arrays de ids
|
|
147
|
-
* @author cesar - automatic
|
|
148
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
149
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
150
|
-
* @updatedUser cesar - automatic
|
|
151
114
|
*/
|
|
152
115
|
removePopup: (popupId: string) => void;
|
|
153
116
|
/**
|
|
154
117
|
* pasa el status a closing para que las las transiciones se ejecuten.
|
|
155
|
-
* @author cesar - automatic
|
|
156
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
157
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
158
|
-
* @updatedUser cesar - automatic
|
|
159
118
|
*/
|
|
160
119
|
closePopup: (popupId: string) => void;
|
|
161
120
|
/**
|
|
162
121
|
* Modifica un popup espeficio
|
|
163
|
-
* @author cesar - automatic
|
|
164
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
165
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
166
|
-
* @updatedUser cesar - automatic
|
|
167
122
|
*/
|
|
168
123
|
updatePopup: (popupId: string, popupProps: Partial<Omit<PopupStoreProps, 'status'>>) => void;
|
|
169
124
|
/**
|
|
170
125
|
* pasa el status a init, no se ejecutan las transiciones, porque el popup viene de estar hide .
|
|
171
|
-
* @author cesar - automatic
|
|
172
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
173
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
174
|
-
* @updatedUser cesar - automatic
|
|
175
126
|
*/
|
|
176
127
|
showPopup: (popupId: string) => void;
|
|
177
128
|
/**
|
|
178
129
|
* pasa el status a hide, no se ejecutan las transiciones, porque el popup se esconde inmediatamente.
|
|
179
|
-
* @author cesar - automatic
|
|
180
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
181
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
182
|
-
* @updatedUser cesar - automatic
|
|
183
130
|
*/
|
|
184
131
|
hidePopup: (popupId: string) => void;
|
|
185
132
|
/**
|
|
186
133
|
* Pone el popup con zIndex igual a currentIndex y lo amuneta en uno.
|
|
187
|
-
* @author cesar - automatic
|
|
188
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
189
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
190
|
-
* @updatedUser cesar - automatic
|
|
191
134
|
*/
|
|
192
135
|
setPopupOnFront: (popupId: string) => void;
|
|
193
136
|
/**
|
|
@@ -195,10 +138,6 @@ export interface PopupsStateWithActions extends PopupsStore {
|
|
|
195
138
|
* @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
|
|
196
139
|
* cambia por el useCallback, cuando el diccionario se carga.
|
|
197
140
|
* @returns void
|
|
198
|
-
* @author cesar - automatic
|
|
199
|
-
* @createdAt 2024-11-07 08:06:15 - automatic
|
|
200
|
-
* @updatedAt 2024-11-07 08:06:15 - automatic
|
|
201
|
-
* @updatedUser cesar - automatic
|
|
202
141
|
*/
|
|
203
142
|
setHandlerGetLabel: (newHandler: GetLabelType) => void;
|
|
204
143
|
};
|
|
@@ -2,10 +2,6 @@ import { ModalContextProps, ModalProviderProps } from './types';
|
|
|
2
2
|
declare const ModalContext: import('react').Context<ModalContextProps | null>;
|
|
3
3
|
/**
|
|
4
4
|
* TODO: Documentar
|
|
5
|
-
* @author cesar - automatic
|
|
6
|
-
* @createdAt 2024-11-01 16:56:18 - automatic
|
|
7
|
-
* @updatedAt 2024-11-24 21:55:49 - automatic
|
|
8
|
-
* @updatedUser cesar - automatic
|
|
9
5
|
*/
|
|
10
6
|
declare function ModalProvider({ children }: ModalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
7
|
export { ModalProvider, ModalContext };
|
|
@@ -3,14 +3,9 @@ import { RealTimeStateWithActions, InitialRealTimeStoreProps } from './types';
|
|
|
3
3
|
* Crea el Store, por defecto inicia en estado 'init'
|
|
4
4
|
* @param initProps propiedades iniciales del store
|
|
5
5
|
* @returns
|
|
6
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
7
6
|
*/
|
|
8
7
|
/**
|
|
9
8
|
* TODO: Documentar
|
|
10
|
-
* @author Juan Escobar - automatic
|
|
11
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
12
|
-
* @updatedUser Bruce Escobar - automatic
|
|
13
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
14
9
|
*/
|
|
15
10
|
export declare function createRealTimeStore(initProps: InitialRealTimeStoreProps): Omit<Omit<import('zustand').StoreApi<RealTimeStateWithActions>, "setState"> & {
|
|
16
11
|
setState<A extends string | {
|
|
@@ -15,42 +15,6 @@ function createRealTimeStore(initProps) {
|
|
|
15
15
|
realTimeActions: {
|
|
16
16
|
/**
|
|
17
17
|
* TODO: Documentar
|
|
18
|
-
* @updatedUser Bruce Escobar - automatic
|
|
19
|
-
* @updatedUser Bruce Escobar - automatic
|
|
20
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
21
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
22
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
23
|
-
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
24
|
-
* @author Bruce Escobar - automatic
|
|
25
|
-
* @author Bruce Escobar - automatic
|
|
26
|
-
* @updatedUser Bruce Escobar - automatic
|
|
27
|
-
* @updatedUser Bruce Escobar - automatic
|
|
28
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
29
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
30
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
31
|
-
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
32
|
-
* @author Bruce Escobar - automatic
|
|
33
|
-
* @author Bruce Escobar - automatic
|
|
34
|
-
* @updatedUser Bruce Escobar - automatic
|
|
35
|
-
* @updatedUser Bruce Escobar - automatic
|
|
36
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
37
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
38
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
39
|
-
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
40
|
-
* @author Bruce Escobar - automatic
|
|
41
|
-
* @author Bruce Escobar - automatic
|
|
42
|
-
* @updatedUser Bruce Escobar - automatic
|
|
43
|
-
* @updatedUser Bruce Escobar - automatic
|
|
44
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
45
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
46
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
47
|
-
* @createdAt 2024-10-15 18:01:45 - automatic
|
|
48
|
-
* @author Juan Escobar - automatic
|
|
49
|
-
* @author Juan Escobar - automatic
|
|
50
|
-
* @author Juan Escobar - automatic
|
|
51
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
52
|
-
* @updatedUser Bruce Escobar - automatic
|
|
53
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
54
18
|
*/
|
|
55
19
|
init: () => {
|
|
56
20
|
set((state) => {
|
|
@@ -3,10 +3,6 @@ import { UseFormAddEditProps } from './types';
|
|
|
3
3
|
import { FieldValues } from 'react-hook-form';
|
|
4
4
|
/**
|
|
5
5
|
* TODO: Documentar
|
|
6
|
-
* @author cesar - automatic
|
|
7
|
-
* @createdAt 2024-11-25 08:27:55 - automatic
|
|
8
|
-
* @updatedAt 2024-11-25 08:27:55 - automatic
|
|
9
|
-
* @updatedUser cesar - automatic
|
|
10
6
|
*/
|
|
11
7
|
export declare function useFormAddEdit<TValues extends FieldValues = FieldValues, TEndpointValues extends FieldValues = FieldValues>(props: UseFormAddEditProps<TValues, TEndpointValues>): {
|
|
12
8
|
formValues: TValues;
|
|
@@ -2,14 +2,9 @@ import { FormFocusHookReturnType } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* useFormFocus: Custom hook creado para facilitar el manejo de estado de interacción de usuario para los
|
|
4
4
|
* componentes de formulario. Aporta los estados Focus, TabSelected y
|
|
5
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
6
5
|
*/
|
|
7
6
|
/**
|
|
8
7
|
* TODO: Documentar
|
|
9
8
|
* @deprecated no se debe usar, esto era para una metodologia donde en js se manejaba el estado de los componentes
|
|
10
|
-
* @author Andrés Quintero - automatic
|
|
11
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
12
|
-
* @updatedAt 2025-01-08 10:36:41 - automatic
|
|
13
|
-
* @updatedUser Andrés Quintero - automatic
|
|
14
9
|
*/
|
|
15
10
|
export declare const useFormFocus: <ElmentType extends HTMLElement>() => FormFocusHookReturnType<ElmentType>;
|
|
@@ -4,9 +4,5 @@ import { ContainerSize } from '../../utils/types';
|
|
|
4
4
|
* TODO: Usar throttle para evitar llamadas innecesarias
|
|
5
5
|
* @param containerElement
|
|
6
6
|
* @returns un objeto con el ancho y alto del contenedor
|
|
7
|
-
* @author Juan Escobar - automatic
|
|
8
|
-
* @updatedAt 2024-10-22 19:27:24 - automatic
|
|
9
|
-
* @updatedUser Bruce Escobar - automatic
|
|
10
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
11
7
|
*/
|
|
12
8
|
export declare function useSizeContainer(containerElement?: HTMLElement | undefined | null): ContainerSize | undefined;
|
|
@@ -4,9 +4,5 @@
|
|
|
4
4
|
* donde se usa refState
|
|
5
5
|
* @param initialValue
|
|
6
6
|
* @returns
|
|
7
|
-
* @author Andrés Quintero - automatic
|
|
8
|
-
* @createdAt 2024-12-11 15:36:25 - automatic
|
|
9
|
-
* @updatedAt 2024-12-11 15:36:26 - automatic
|
|
10
|
-
* @updatedUser Andrés Quintero - automatic
|
|
11
7
|
*/
|
|
12
8
|
export declare function useStateRef<T>(initialValue: T | null): [T | null, (node: T | null) => void];
|
package/package.json
CHANGED
|
@@ -5,10 +5,6 @@ interface HostThemeProviderMockProps {
|
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* TODO: Documentar
|
|
8
|
-
* @author Andrés Quintero - automatic
|
|
9
|
-
* @createdAt 2024-12-31 11:23:51 - automatic
|
|
10
|
-
* @updatedAt 2025-01-03 11:42:15 - automatic
|
|
11
|
-
* @updatedUser Andrés Quintero - automatic
|
|
12
8
|
*/
|
|
13
9
|
declare const HostThemeProviderMock: (props: HostThemeProviderMockProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
10
|
export default HostThemeProviderMock;
|
package/test/TestAppWrapper.d.ts
CHANGED
|
@@ -24,10 +24,6 @@ interface TestAppWrapperProps {
|
|
|
24
24
|
* <MyComponent />
|
|
25
25
|
* </TestWrapper>
|
|
26
26
|
* );
|
|
27
|
-
* @author Cesar Garces - automatic
|
|
28
|
-
* @createdAt 2024-10-25 14:12:46 - automatic
|
|
29
|
-
* @updatedAt 2025-01-03 11:42:15 - automatic
|
|
30
|
-
* @updatedUser Andrés Quintero - automatic
|
|
31
27
|
*/
|
|
32
28
|
declare const TestAppWrapper: FC<TestAppWrapperProps>;
|
|
33
29
|
export default TestAppWrapper;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Envoltorio para el estado de error
|
|
3
|
-
* @author Andrés Quintero - automatic
|
|
4
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
5
|
-
* @updatedAt 2025-01-08 10:36:41 - automatic
|
|
6
|
-
* @updatedUser Andrés Quintero - automatic
|
|
7
3
|
*/
|
|
8
4
|
export declare const TestFormAutoValidation: () => import("react/jsx-runtime").JSX.Element;
|
package/test/utils.d.ts
CHANGED
|
@@ -5,10 +5,6 @@ import { ReactElement } from 'react';
|
|
|
5
5
|
import { describe, expect } from 'vitest';
|
|
6
6
|
/**
|
|
7
7
|
* TODO: Documentar
|
|
8
|
-
* @author Juan Escobar - automatic
|
|
9
|
-
* @createdAt 2024-10-09 14:12:46 - automatic
|
|
10
|
-
* @updatedAt 2024-10-09 14:12:46 - automatic
|
|
11
|
-
* @updatedUser Juan Escobar - automatic
|
|
12
8
|
*/
|
|
13
9
|
declare const customRender: (ui: ReactElement, options?: {}) => RenderResult & {
|
|
14
10
|
user: ReturnType<typeof userEvent.setup>;
|
|
@@ -26,9 +22,6 @@ declare const customRender: (ui: ReactElement, options?: {}) => RenderResult & {
|
|
|
26
22
|
* @example
|
|
27
23
|
* // Usage example
|
|
28
24
|
* const { renderUI, user } = renderMaterialUI(<MyComponent />);
|
|
29
|
-
* @author Andrés Quintero - automatic
|
|
30
|
-
* @createdAt 2024-10-09 14:12:46 - automatic
|
|
31
|
-
* @updatedAt 2024-10-09 14:12:46 - automatic
|
|
32
25
|
*/
|
|
33
26
|
declare const renderMaterialUI: (ui: ReactElement, options?: {}) => RenderResult & {
|
|
34
27
|
user: UserEvent;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Función para construir el nombre del slot root de un componente.
|
|
3
3
|
* Esta función es utilizada para asignar un asignar un className a un componente
|
|
4
|
-
* @author Andrés Quintero - automatic
|
|
5
|
-
* @createdAt 2024-11-22 11:01:03 - automatic
|
|
6
|
-
* @updatedAt 2024-11-26 18:02:53 - automatic
|
|
7
|
-
* @updatedUser Andrés Quintero - automatic
|
|
8
4
|
*/
|
|
9
5
|
export declare function getComponentSlotRoot(componentKey: string): string;
|
|
10
6
|
/**
|
|
@@ -8,10 +8,6 @@ import { Sizes, SizesComponentsTypes } from '@m4l/styles';
|
|
|
8
8
|
* @param variantSize - Variante de tamaño que se desea aplicar al componente.
|
|
9
9
|
* @param css - Estilos css adicionales o una función que devuelve un objeto de estilos. Si es una función, recibe `heightSize` como argumento.
|
|
10
10
|
* @returns Objeto con los estilos calculados.
|
|
11
|
-
* @author Andrés Quintero - automatic
|
|
12
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
13
|
-
* @updatedAt 2025-01-08 10:36:41 - automatic
|
|
14
|
-
* @updatedUser Andrés Quintero - automatic
|
|
15
11
|
*/
|
|
16
12
|
export declare const getHeightSizeStyles: (isMobile: boolean, size: Extract<Sizes, "small" | "medium">, variantSize: SizesComponentsTypes, css?: Record<string, any> | ((heightSize: string | number) => Record<string, any>)) => any;
|
|
17
13
|
/**
|
|
@@ -7,9 +7,5 @@ import { FontProperties, Sizes, TypographyVariants } from '@m4l/styles';
|
|
|
7
7
|
* theme.generalSettings.isMobile.
|
|
8
8
|
* [size]: Formato de tamaño definido por el componente o el contexto de AppearanceComponentProvider, puede ser small,
|
|
9
9
|
* medium o large.
|
|
10
|
-
* @author Andrés Quintero - automatic
|
|
11
|
-
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
12
|
-
* @updatedAt 2025-01-08 10:36:41 - automatic
|
|
13
|
-
* @updatedUser Andrés Quintero - automatic
|
|
14
10
|
*/
|
|
15
11
|
export declare const getTypographyStyles: (isMobile: boolean, size: Extract<Sizes, "small" | "medium">, variant: TypographyVariants) => FontProperties;
|