@m4l/components 9.1.44 → 9.1.46
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/components/AccountPopover/AccountPopover.d.ts +9 -12
- package/components/AccountPopover/AccountPopover.styles.js +15 -15
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.d.ts +1 -1
- package/components/AccountPopover/subcomponents/MyAvatar/MyAvatar.d.ts +1 -1
- package/components/AccountPopover/types.d.ts +36 -0
- package/components/ControlIncrement/ControlIncrement.d.ts +4 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +1 -1
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +1 -1
- package/components/Image/Image.d.ts +1 -1
- package/components/Image/hoc/WithTrackWindowScroll.d.ts +1 -1
- package/components/Image/image.styles.js +3 -3
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +1 -1
- package/components/Image/utils/get-scroll-ancestor.d.ts +1 -1
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +1 -1
- package/components/InputNumberSpinner/InputNumberSpinner.d.ts +2 -2
- package/components/LanguagePopover/LanguagePopover.d.ts +1 -1
- package/components/MFLoader/MFLoader.d.ts +2 -2
- package/components/MenuActions/MenuActions.d.ts +1 -1
- package/components/MenuActions/MenuActions.styles.js +2 -2
- package/components/MenuActions/dictionary.d.ts +3 -3
- package/components/MenuActions/types.d.ts +4 -4
- package/components/ModalDialog/ModalDialog.styles.js +6 -6
- package/components/PaperForm/components/Header.d.ts +1 -1
- package/components/SideBar/SideBar.d.ts +9 -29
- package/components/SideBar/subcomponents/ContentComponent/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +7 -5
- package/components/SideBar/subcomponents/ContentGroups/index.js +2 -2
- package/components/SideBar/subcomponents/ContentGroups/styles.js +5 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/types.d.ts +4 -0
- package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +1 -1
- package/components/SideBar/subcomponents/FooterSidebar/styles.js +1 -1
- package/components/SideBar/types.d.ts +50 -0
- package/components/WindowBase/WindowBase.d.ts +1 -1
- package/components/WindowBase/WindowBase.styles.js +12 -12
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +2 -2
- package/components/WindowBase/types.d.ts +1 -1
- package/components/WindowConfirm/WindowConfirm.styles.js +16 -16
- package/components/WindowConfirm/types.d.ts +2 -2
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.js +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.js +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +1 -1
- package/components/areas/contexts/AreasContext/index.d.ts +5 -0
- package/components/areas/contexts/AreasContext/store.d.ts +2 -2
- package/components/areas/contexts/AreasContext/store.js +134 -2
- package/components/areas/types.d.ts +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.d.ts +5 -2
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +22 -19
- package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +11 -6
- package/components/formatters/BooleanFormatter/dictionary.d.ts +1 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterEnum.d.ts +2 -4
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterEnum.js +2 -4
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -7
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +6 -17
- package/components/formatters/BooleanFormatter/types.d.ts +9 -4
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.js +4 -0
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.d.ts +4 -0
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +1 -1
- package/components/mui_extended/Accordion/Accordion.d.ts +1 -1
- package/components/mui_extended/Accordion/styles.js +6 -6
- package/components/mui_extended/Avatar/styles.js +1 -1
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +1 -1
- package/components/mui_extended/Button/Button.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -0
- package/components/mui_extended/Dialog/Dialog.styles.js +1 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.styles.js +4 -4
- package/components/mui_extended/ImageButton/ImageButton.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.styles.js +9 -5
- package/components/mui_extended/Popover/Popover.d.ts +1 -1
- package/components/mui_extended/Popover/Popover.styles.js +2 -2
- package/components/mui_extended/Tab/Tab.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.styles.js +2 -2
- package/components/mui_extended/TextField/TextField.d.ts +1 -1
- package/components/mui_extended/TextField/TextField.styles.js +2 -2
- package/components/mui_extended/ToggleButton/ToggleButton.styles.js +1 -1
- package/components/mui_extended/Tooltip/Tooltip.styles.js +4 -0
- package/components/mui_extended/Typography/types.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +1 -1
- package/package.json +2 -1
- package/components/StorybookTest/StorybookTest.d.ts +0 -9
- package/components/StorybookTest/base.stories.d.ts +0 -9
- package/components/formatters/FormatterRoot/index.js +0 -10
- package/components/formatters/FormatterRoot/styles.js +0 -7
- package/components/formatters/classes/index.js +0 -13
- package/components/formatters/constants.js +0 -4
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { AccountPopoverProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* El componente AccountPopover es un componente que permite visualizar la información del usuario
|
|
4
|
+
* y las opciones de menú disponibles para el usuario.
|
|
5
|
+
* Generalmente se utiliza en la barra de navegación de la aplicación.
|
|
6
|
+
* Este componente muestra el avatar del usuario, la versión de la aplicación, el nombre del usuario y las opciones de menú.
|
|
7
|
+
* ### Dependencias:
|
|
8
|
+
* - **`useNetwork:`** Hook que permite realizar solicitudes de red en la aplicación.
|
|
9
|
+
* - **`useEnviroment:`** Hook que permite acceder a los valores del entorno de la aplicación.
|
|
4
10
|
* @param {AccountPopoverProps} props - Propiedades del componente.
|
|
5
11
|
* @param {Function} props.handleClick - Manejador para hacer clic en el componente.
|
|
6
12
|
* @param {string} props.version - Versión de la aplicación.
|
|
@@ -9,18 +15,9 @@ import { AccountPopoverProps } from './types';
|
|
|
9
15
|
* @param {string} props.className - Clases CSS adicionales para el componente.
|
|
10
16
|
* @returns {JSX.Element} Elemento JSX que representa el componente.
|
|
11
17
|
* @example
|
|
12
|
-
* // Ejemplo de uso:
|
|
13
|
-
*
|
|
14
|
-
* <AccountPopover
|
|
15
|
-
* handleClick={handleClick}
|
|
16
|
-
* version="1.0"
|
|
17
|
-
* handleLogOut={handleLogOut}
|
|
18
|
-
* userData={userData}
|
|
19
|
-
* className="mi-clase-css"
|
|
20
|
-
* />
|
|
21
18
|
* @author Andrés Quintero - automatic
|
|
22
|
-
* @createdAt 2024-12-
|
|
23
|
-
* @updatedAt 2024-12-
|
|
19
|
+
* @createdAt 2024-12-23 09:15:44 - automatic
|
|
20
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
24
21
|
* @updatedUser Andrés Quintero - automatic
|
|
25
22
|
*/
|
|
26
23
|
export declare const AccountPopover: (props: AccountPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,7 @@ const accountPopoverStyles = {
|
|
|
5
5
|
* ***************************************************************
|
|
6
6
|
* @author Andrés Quintero - automatic
|
|
7
7
|
* @createdAt 2024-12-10 17:27:34 - automatic
|
|
8
|
-
* @updatedAt 2024-12-
|
|
8
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
9
9
|
* @updatedUser Andrés Quintero - automatic
|
|
10
10
|
*/
|
|
11
11
|
iconButtonRoot: ({ theme }) => ({
|
|
@@ -26,7 +26,7 @@ const accountPopoverStyles = {
|
|
|
26
26
|
* ******************************************************************
|
|
27
27
|
* @author Andrés Quintero - automatic
|
|
28
28
|
* @createdAt 2024-12-10 08:05:25 - automatic
|
|
29
|
-
* @updatedAt 2024-12-
|
|
29
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
30
30
|
* @updatedUser Andrés Quintero - automatic
|
|
31
31
|
*/
|
|
32
32
|
avatar: () => ({
|
|
@@ -52,7 +52,7 @@ const accountPopoverStyles = {
|
|
|
52
52
|
* *******************************************************************
|
|
53
53
|
* @author Andrés Quintero - automatic
|
|
54
54
|
* @createdAt 2024-12-10 17:27:34 - automatic
|
|
55
|
-
* @updatedAt 2024-12-
|
|
55
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
56
56
|
* @updatedUser Andrés Quintero - automatic
|
|
57
57
|
*/
|
|
58
58
|
popoverRoot: ({ theme }) => ({
|
|
@@ -67,7 +67,7 @@ const accountPopoverStyles = {
|
|
|
67
67
|
* ********************************************************************
|
|
68
68
|
* @author Andrés Quintero - automatic
|
|
69
69
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
70
|
-
* @updatedAt 2024-12-
|
|
70
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
71
71
|
* @updatedUser Andrés Quintero - automatic
|
|
72
72
|
*/
|
|
73
73
|
userDataContainer: ({ theme }) => ({
|
|
@@ -92,7 +92,7 @@ const accountPopoverStyles = {
|
|
|
92
92
|
* ************************************************************************
|
|
93
93
|
* @author Andrés Quintero - automatic
|
|
94
94
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
95
|
-
* @updatedAt 2024-12-
|
|
95
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
96
96
|
* @updatedUser Andrés Quintero - automatic
|
|
97
97
|
*/
|
|
98
98
|
userNameEmail: ({ theme }) => ({
|
|
@@ -107,7 +107,7 @@ const accountPopoverStyles = {
|
|
|
107
107
|
* ***********************************************************
|
|
108
108
|
* @author Andrés Quintero - automatic
|
|
109
109
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
110
|
-
* @updatedAt 2024-12-
|
|
110
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
111
111
|
* @updatedUser Andrés Quintero - automatic
|
|
112
112
|
*/
|
|
113
113
|
fullName: () => ({}),
|
|
@@ -117,7 +117,7 @@ const accountPopoverStyles = {
|
|
|
117
117
|
* ********************************************************
|
|
118
118
|
* @author Andrés Quintero - automatic
|
|
119
119
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
120
|
-
* @updatedAt 2024-12-
|
|
120
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
121
121
|
* @updatedUser Andrés Quintero - automatic
|
|
122
122
|
*/
|
|
123
123
|
email: ({ theme }) => ({
|
|
@@ -131,7 +131,7 @@ const accountPopoverStyles = {
|
|
|
131
131
|
* ***********************************************************************
|
|
132
132
|
* @author Andrés Quintero - automatic
|
|
133
133
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
134
|
-
* @updatedAt 2024-12-
|
|
134
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
135
135
|
* @updatedUser Andrés Quintero - automatic
|
|
136
136
|
*/
|
|
137
137
|
versionContainer: ({ theme }) => ({
|
|
@@ -149,7 +149,7 @@ const accountPopoverStyles = {
|
|
|
149
149
|
* ************************************************************
|
|
150
150
|
* @author Andrés Quintero - automatic
|
|
151
151
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
152
|
-
* @updatedAt 2024-12-
|
|
152
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
153
153
|
* @updatedUser Andrés Quintero - automatic
|
|
154
154
|
*/
|
|
155
155
|
version: ({ theme }) => ({
|
|
@@ -164,7 +164,7 @@ const accountPopoverStyles = {
|
|
|
164
164
|
* ******************************************************************
|
|
165
165
|
* @author Andrés Quintero - automatic
|
|
166
166
|
* @createdAt 2024-12-11 15:39:20 - automatic
|
|
167
|
-
* @updatedAt 2024-12-
|
|
167
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
168
168
|
* @updatedUser Andrés Quintero - automatic
|
|
169
169
|
*/
|
|
170
170
|
menuItemSetting: ({ theme }) => ({
|
|
@@ -176,7 +176,7 @@ const accountPopoverStyles = {
|
|
|
176
176
|
* ****************************************************************
|
|
177
177
|
* @author Andrés Quintero - automatic
|
|
178
178
|
* @createdAt 2024-12-09 17:45:48 - automatic
|
|
179
|
-
* @updatedAt 2024-12-
|
|
179
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
180
180
|
* @updatedUser Andrés Quintero - automatic
|
|
181
181
|
*/
|
|
182
182
|
versionIcon: ({ theme }) => ({
|
|
@@ -191,7 +191,7 @@ const accountPopoverStyles = {
|
|
|
191
191
|
* ********************************************************
|
|
192
192
|
* @author Andrés Quintero - automatic
|
|
193
193
|
* @createdAt 2024-12-11 15:39:20 - automatic
|
|
194
|
-
* @updatedAt 2024-12-
|
|
194
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
195
195
|
* @updatedUser Andrés Quintero - automatic
|
|
196
196
|
*/
|
|
197
197
|
menuItem: ({ theme }) => ({
|
|
@@ -203,7 +203,7 @@ const accountPopoverStyles = {
|
|
|
203
203
|
* ********************************************************
|
|
204
204
|
* @author Andrés Quintero - automatic
|
|
205
205
|
* @createdAt 2024-12-10 08:05:25 - automatic
|
|
206
|
-
* @updatedAt 2024-12-
|
|
206
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
207
207
|
* @updatedUser Andrés Quintero - automatic
|
|
208
208
|
*/
|
|
209
209
|
divider: ({ theme }) => ({
|
|
@@ -228,7 +228,7 @@ const accountPopoverStyles = {
|
|
|
228
228
|
* *************************************************************
|
|
229
229
|
* @author Andrés Quintero - automatic
|
|
230
230
|
* @createdAt 2024-12-11 15:39:20 - automatic
|
|
231
|
-
* @updatedAt 2024-12-
|
|
231
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
232
232
|
* @updatedUser Andrés Quintero - automatic
|
|
233
233
|
*/
|
|
234
234
|
circularPropress: () => ({}),
|
|
@@ -238,7 +238,7 @@ const accountPopoverStyles = {
|
|
|
238
238
|
* ********************************************************
|
|
239
239
|
* @author Andrés Quintero - automatic
|
|
240
240
|
* @createdAt 2024-12-11 15:39:20 - automatic
|
|
241
|
-
* @updatedAt 2024-12-
|
|
241
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
242
242
|
* @updatedUser Andrés Quintero - automatic
|
|
243
243
|
*/
|
|
244
244
|
menuItemLogout: ({ theme }) => ({
|
|
@@ -5,7 +5,7 @@ import { MenuPopoverProps } from './types';
|
|
|
5
5
|
* @param props
|
|
6
6
|
* @author Andrés Quintero - automatic
|
|
7
7
|
* @createdAt 2024-12-06 17:26:21 - automatic
|
|
8
|
-
* @updatedAt 2024-12-
|
|
8
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
9
9
|
* @updatedUser Andrés Quintero - automatic
|
|
10
10
|
*/
|
|
11
11
|
export declare const MenuPopover: (props: MenuPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import { MyAvatarProps } from './types';
|
|
|
7
7
|
* @returns {JSX.Element} El componente MyAvatar.
|
|
8
8
|
* @author Andrés Quintero - automatic
|
|
9
9
|
* @createdAt 2024-12-11 15:39:20 - automatic
|
|
10
|
-
* @updatedAt 2024-12-
|
|
10
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
11
11
|
* @updatedUser Andrés Quintero - automatic
|
|
12
12
|
*/
|
|
13
13
|
export default function MyAvatar(props: MyAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -40,14 +40,50 @@ export interface MenuDataProvider {
|
|
|
40
40
|
value: RightMenuData;
|
|
41
41
|
}
|
|
42
42
|
export interface AccountPopoverProps {
|
|
43
|
+
/**
|
|
44
|
+
* Procedimiento definido desde la instancia, va a ser activado por alguno de elementos del listado dinámico por medio del evento click.
|
|
45
|
+
* @author Andrés Quintero - automatic
|
|
46
|
+
* @createdAt 2024-12-23 09:15:45 - automatic
|
|
47
|
+
* @updatedAt 2024-12-23 09:15:46 - automatic
|
|
48
|
+
* @updatedUser Andrés Quintero - automatic
|
|
49
|
+
*/
|
|
43
50
|
itemHandleClick: (item: RightMenuData) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Procedimiento encargado finalizar la sesión del cliente autenticado.
|
|
53
|
+
* @createdAt 2024-12-23 09:15:45 - automatic
|
|
54
|
+
*/
|
|
44
55
|
handleLogOut: VoidFunction;
|
|
56
|
+
/**
|
|
57
|
+
* Procedimiento definido desde la instancia, el cual tiene como propósito permitir visualizar el configurador de apariencia
|
|
58
|
+
* @author Andrés Quintero - automatic
|
|
59
|
+
* @createdAt 2024-12-23 09:15:45 - automatic
|
|
60
|
+
* @updatedAt 2024-12-23 09:15:46 - automatic
|
|
61
|
+
* @updatedUser Andrés Quintero - automatic
|
|
62
|
+
*/
|
|
45
63
|
settingsHandleOpen: () => void;
|
|
64
|
+
/**
|
|
65
|
+
* Dato que representa la versión actual de la aplicación web.
|
|
66
|
+
*/
|
|
46
67
|
version: string;
|
|
68
|
+
/**
|
|
69
|
+
* Es una colección de datos relacionados al cliente autenticado, puede contener datos como: nombre, apellido, módulos activos entre otros.
|
|
70
|
+
*/
|
|
47
71
|
userData: UserAuth | null | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Opción de apariencia del componente.
|
|
74
|
+
*/
|
|
48
75
|
variant?: 'standard';
|
|
76
|
+
/**
|
|
77
|
+
* Opción de color que pinta al componente.
|
|
78
|
+
*/
|
|
49
79
|
color?: Extract<ComponentPalletColor, 'default'>;
|
|
80
|
+
/**
|
|
81
|
+
* Opciones de tamaño usado en las configuraciones de css del componente.
|
|
82
|
+
*/
|
|
50
83
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
84
|
+
/**
|
|
85
|
+
* Test id para pruebas automatizadas.
|
|
86
|
+
*/
|
|
51
87
|
dataTestid?: string;
|
|
52
88
|
}
|
|
53
89
|
export type AccountPopoverSlotsType = keyof typeof AccountPopoverSlots;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ControlIncrementProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Componente Para Incrementar o Decrementar
|
|
4
|
+
* @author Andrés Quintero - automatic
|
|
5
|
+
* @createdAt 2024-12-30 14:36:05 - automatic
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
7
|
+
* @updatedUser Andrés Quintero - automatic
|
|
4
8
|
*/
|
|
5
9
|
export declare const ControlIncrement: (props: ControlIncrementProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* TODO: Documentar
|
|
3
3
|
* @author Andrés Quintero - automatic
|
|
4
4
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
5
|
-
* @updatedAt 2024-12-
|
|
5
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
6
6
|
* @updatedUser Andrés Quintero - automatic
|
|
7
7
|
*/
|
|
8
8
|
export declare function Density(): import("react/jsx-runtime").JSX.Element;
|
package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* TODO: Documentar
|
|
3
3
|
* @author Andrés Quintero - automatic
|
|
4
4
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
5
|
-
* @updatedAt 2024-12-
|
|
5
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
6
6
|
* @updatedUser Andrés Quintero - automatic
|
|
7
7
|
*/
|
|
8
8
|
export declare const MobileMenuActions: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,7 +9,7 @@ import { ImageProps } from './types';
|
|
|
9
9
|
* Image: Componente que permite visualizar una imagen en la plataforma web.
|
|
10
10
|
* @author Andrés Quintero - automatic
|
|
11
11
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
12
|
-
* @updatedAt 2024-12-
|
|
12
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
13
13
|
* @updatedUser Andrés Quintero - automatic
|
|
14
14
|
*/
|
|
15
15
|
export declare function Image(props: ImageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ interface withTrackWindowScrollProps {
|
|
|
6
6
|
* HOC que se encarga de añadir la funcionalidad de trackear el scroll de la ventana
|
|
7
7
|
* @author Andrés Quintero - automatic
|
|
8
8
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
9
|
-
* @updatedAt 2024-12-
|
|
9
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
10
10
|
* @updatedUser Andrés Quintero - automatic
|
|
11
11
|
*/
|
|
12
12
|
export declare function WithTrackWindowScroll<P extends IntersectComponentScrollProps>(BaseComponent: ComponentType<P>): (props: P & withTrackWindowScrollProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,7 +12,7 @@ const imageStyles = {
|
|
|
12
12
|
* Estilos para el intersectComponente o para el 'span'
|
|
13
13
|
* @author Andrés Quintero - automatic
|
|
14
14
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
15
|
-
* @updatedAt 2024-12-
|
|
15
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
16
16
|
* @updatedUser Andrés Quintero - automatic
|
|
17
17
|
*/
|
|
18
18
|
intersectComponent: () => ({
|
|
@@ -27,7 +27,7 @@ const imageStyles = {
|
|
|
27
27
|
* Estilos para el contenedor del componente Skeleton.
|
|
28
28
|
* @author Andrés Quintero - automatic
|
|
29
29
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
30
|
-
* @updatedAt 2024-12-
|
|
30
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
31
31
|
* @updatedUser Andrés Quintero - automatic
|
|
32
32
|
*/
|
|
33
33
|
divContainerSkeleton: ({ theme }) => ({
|
|
@@ -48,7 +48,7 @@ const imageStyles = {
|
|
|
48
48
|
* Estilos para el Skeleton del componente.
|
|
49
49
|
* @author Andrés Quintero - automatic
|
|
50
50
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
51
|
-
* @updatedAt 2024-12-
|
|
51
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
52
52
|
* @updatedUser Andrés Quintero - automatic
|
|
53
53
|
*/
|
|
54
54
|
imgSkeleton: ({ theme }) => ({
|
|
@@ -9,7 +9,7 @@ import { LazyLoadComponentProps } from '../../types';
|
|
|
9
9
|
* LazyLoadComponent: Componente que permite visualizar una imagen en la plataforma web.
|
|
10
10
|
* @author Andrés Quintero - automatic
|
|
11
11
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
12
|
-
* @updatedAt 2024-12-
|
|
12
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
13
13
|
* @updatedUser Andrés Quintero - automatic
|
|
14
14
|
*/
|
|
15
15
|
export declare function LazyLoadComponent(props: LazyLoadComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Función que se encarga de obtener el ancestro de desplazamiento de un elemento
|
|
3
3
|
* @author Andrés Quintero - automatic
|
|
4
4
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
5
|
-
* @updatedAt 2024-12-
|
|
5
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
6
6
|
* @updatedUser Andrés Quintero - automatic
|
|
7
7
|
*/
|
|
8
8
|
export declare const getScrollAncestor: (element: Node) => HTMLElement | Window;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* de la funcionalidad IntersectionObserver a nivel de navegador web.
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare function isIntersectionObserverAvailable(): boolean;
|
|
@@ -3,7 +3,7 @@ import { InputNumberSpinnerProps } from './types';
|
|
|
3
3
|
* Componente que permite la selección de un número a través de un input y dos botones de incremento y decremento.
|
|
4
4
|
* @author Bruce Escobar - automatic
|
|
5
5
|
* @createdAt 2024-10-22 19:12:22 - automatic
|
|
6
|
-
* @updatedAt 2024-
|
|
7
|
-
* @updatedUser
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
7
|
+
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare const InputNumberSpinner: (props: InputNumberSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ import { LanguagePopoverProps } from './types';
|
|
|
10
10
|
* TODO: Documentar
|
|
11
11
|
* @author Andrés Quintero - automatic
|
|
12
12
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
13
|
-
* @updatedAt 2024-12-
|
|
13
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
14
14
|
* @updatedUser Andrés Quintero - automatic
|
|
15
15
|
*/
|
|
16
16
|
export declare function LanguagePopover(props: LanguagePopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,8 +21,8 @@ declare global {
|
|
|
21
21
|
* TODO: Documentar
|
|
22
22
|
* @author Bruce Escobar - automatic
|
|
23
23
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
24
|
-
* @updatedAt 2024-
|
|
25
|
-
* @updatedUser
|
|
24
|
+
* @updatedAt 2024-12-30 14:36:08 - automatic
|
|
25
|
+
* @updatedUser Andrés Quintero - automatic
|
|
26
26
|
*/
|
|
27
27
|
export declare function MFLoader(props: MFLoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
export default MFLoader;
|
|
@@ -7,7 +7,7 @@ import { MenuActionsProps } from './types';
|
|
|
7
7
|
* y estilos configurables.
|
|
8
8
|
* @author cesar - automatic
|
|
9
9
|
* @createdAt 2024-12-17 15:41:39 - automatic
|
|
10
|
-
* @updatedAt 2024-12-
|
|
10
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
11
11
|
* @updatedUser Andrés Quintero - automatic
|
|
12
12
|
*/
|
|
13
13
|
export declare function MenuActions(props: MenuActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ const menuActionsStyles = {
|
|
|
3
3
|
* Estilos para el contenedor raíz del menú.
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
root: () => ({
|
|
@@ -13,7 +13,7 @@ const menuActionsStyles = {
|
|
|
13
13
|
* Estilos para el MenuList
|
|
14
14
|
* @author Andrés Quintero - automatic
|
|
15
15
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
16
|
-
* @updatedAt 2024-12-
|
|
16
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
17
17
|
* @updatedUser Andrés Quintero - automatic
|
|
18
18
|
*/
|
|
19
19
|
menuList: ({ theme }) => ({
|
|
@@ -7,7 +7,7 @@ export declare const MENU_ACTIONS_DICTIONARY_ID = "menu_actions";
|
|
|
7
7
|
* Devuelve un array que contiene el identificador del diccionario de `MenuActions`.
|
|
8
8
|
* @author Andrés Quintero - automatic
|
|
9
9
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
10
|
-
* @updatedAt 2024-12-
|
|
10
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
11
11
|
* @updatedUser Andrés Quintero - automatic
|
|
12
12
|
*/
|
|
13
13
|
export declare function getMenuActionsComponentsDictionary(): string[];
|
|
@@ -22,7 +22,7 @@ export declare const DICTIONARY: {
|
|
|
22
22
|
* Tipo que representa las claves del diccionario de `MenuActions`.
|
|
23
23
|
* @author Andrés Quintero - automatic
|
|
24
24
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
25
|
-
* @updatedAt 2024-12-
|
|
25
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
26
26
|
* @updatedUser Andrés Quintero - automatic
|
|
27
27
|
*/
|
|
28
28
|
export type TypeDictionary = typeof DICTIONARY;
|
|
@@ -30,7 +30,7 @@ export type TypeDictionary = typeof DICTIONARY;
|
|
|
30
30
|
* Función que obtiene el valor completo de una clave del diccionario de `MenuActions` utilizando su identificador.
|
|
31
31
|
* @author Andrés Quintero - automatic
|
|
32
32
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
33
|
-
* @updatedAt 2024-12-
|
|
33
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
34
34
|
* @updatedUser Andrés Quintero - automatic
|
|
35
35
|
*/
|
|
36
36
|
export declare const getMenuActionsDictionary: (key: keyof TypeDictionary) => string;
|
|
@@ -13,7 +13,7 @@ import { MENU_ACTIONS_KEY_COMPONENT } from './constants';
|
|
|
13
13
|
* onClick - Función a ejecutar al hacer clic en la acción.
|
|
14
14
|
* @author Andrés Quintero - automatic
|
|
15
15
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
16
|
-
* @updatedAt 2024-12-
|
|
16
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
17
17
|
* @updatedUser Andrés Quintero - automatic
|
|
18
18
|
*/
|
|
19
19
|
export interface ComponentActionProps {
|
|
@@ -26,7 +26,7 @@ export interface ComponentActionProps {
|
|
|
26
26
|
* [error] - Indicador de error en la acción del menú.
|
|
27
27
|
* @author Andrés Quintero - automatic
|
|
28
28
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
29
|
-
* @updatedAt 2024-12-
|
|
29
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
30
30
|
* @updatedUser Andrés Quintero - automatic
|
|
31
31
|
*/
|
|
32
32
|
export interface MenuAction extends Pick<MenuItemProps, 'startIcon' | 'endIcon' | 'label' | 'selected' | 'componentPaletteColor' | 'color' | 'disabled'> {
|
|
@@ -68,7 +68,7 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open' | 'anchorEl'
|
|
|
68
68
|
* Acciones del menú, puede ser un array o una función que genere acciones.
|
|
69
69
|
* @author Andrés Quintero - automatic
|
|
70
70
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
71
|
-
* @updatedAt 2024-12-
|
|
71
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
72
72
|
* @updatedUser Andrés Quintero - automatic
|
|
73
73
|
*/
|
|
74
74
|
menuActions: MenuAction[] | ((row: any) => MenuAction[]);
|
|
@@ -131,7 +131,7 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open' | 'anchorEl'
|
|
|
131
131
|
* Función externa para cerrar el menú.
|
|
132
132
|
* @author Andrés Quintero - automatic
|
|
133
133
|
* @createdAt 2024-12-27 08:27:30 - automatic
|
|
134
|
-
* @updatedAt 2024-12-
|
|
134
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
135
135
|
* @updatedUser Andrés Quintero - automatic
|
|
136
136
|
*/
|
|
137
137
|
externalClose?: (element: null | HTMLDivElement) => void;
|
|
@@ -3,8 +3,8 @@ const modalDialogStyles = {
|
|
|
3
3
|
* Modal Dialog Root style
|
|
4
4
|
* @author cesar - automatic
|
|
5
5
|
* @createdAt 2024-11-26 08:22:10 - automatic
|
|
6
|
-
* @updatedAt 2024-
|
|
7
|
-
* @updatedUser
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
7
|
+
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
modalDialogRoot: () => ({
|
|
10
10
|
position: "absolute",
|
|
@@ -17,8 +17,8 @@ const modalDialogStyles = {
|
|
|
17
17
|
* Modal Dialog Content style
|
|
18
18
|
* @author cesar - automatic
|
|
19
19
|
* @createdAt 2024-11-29 07:54:20 - automatic
|
|
20
|
-
* @updatedAt 2024-
|
|
21
|
-
* @updatedUser
|
|
20
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
21
|
+
* @updatedUser Andrés Quintero - automatic
|
|
22
22
|
*/
|
|
23
23
|
contentComponent: () => ({
|
|
24
24
|
width: "100%",
|
|
@@ -28,8 +28,8 @@ const modalDialogStyles = {
|
|
|
28
28
|
* Modal Dialog Paper style
|
|
29
29
|
* @author cesar - automatic
|
|
30
30
|
* @createdAt 2024-11-27 15:21:40 - automatic
|
|
31
|
-
* @updatedAt 2024-
|
|
32
|
-
* @updatedUser
|
|
31
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
32
|
+
* @updatedUser Andrés Quintero - automatic
|
|
33
33
|
*/
|
|
34
34
|
paperModalDialog: () => ({
|
|
35
35
|
height: "100%",
|
|
@@ -6,7 +6,7 @@ import { HeaderProps } from '../types';
|
|
|
6
6
|
* @param props - Propiedades del componente
|
|
7
7
|
* @returns JSX.Element
|
|
8
8
|
* @createdAt 2024-11-21 11:29:19 - automatic
|
|
9
|
-
* @updatedAt 2024-12-
|
|
9
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
10
10
|
* @updatedUser Andrés Quintero - automatic
|
|
11
11
|
*/
|
|
12
12
|
export declare const Header: (props: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
import { SideBarProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
* Componente SideBar.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* visible={true}
|
|
11
|
-
* onToggleAnchored={() => {}}
|
|
12
|
-
* onToggleVisible={() => {}}
|
|
13
|
-
* menuData={[]}
|
|
14
|
-
* onMenuItemClick={() => {}}
|
|
15
|
-
* companyLogoNormalUrl=""
|
|
16
|
-
* companyLogoSmallUrl=""
|
|
17
|
-
* moduleSelectedId=""
|
|
18
|
-
* expandedWidth="230px"
|
|
19
|
-
* companyName=""
|
|
20
|
-
* companySlogan=""
|
|
21
|
-
* />
|
|
22
|
-
* ```
|
|
3
|
+
* Componente SideBar, representa una barra lateral que contiene un menú de opciones.
|
|
4
|
+
* Este componente se encarga de renderizar el menú de opciones y representar su estado
|
|
5
|
+
* de selección y activación. Además, permite alternar la visibilidad y el anclaje de la barra lateral.
|
|
6
|
+
* ### Dependencias:
|
|
7
|
+
* - **`useMobile:`** Hook que devuelve un valor booleano indicando si la aplicación se está ejecutando en un entorno de escritorio.
|
|
8
|
+
* - **`useEnvironmen:`** Hook que devuelve el estado del entorno de la aplicación.
|
|
9
|
+
* - **`useFirstRender:`** Hook que devuelve un valor booleano indicando si el componente se está renderizando por primera vez.
|
|
23
10
|
* @author Andrés Quintero - automatic
|
|
24
|
-
* @createdAt 2024-
|
|
25
|
-
* @updatedAt 2024-
|
|
26
|
-
* @updatedUser Andrés Quintero - automatic
|
|
27
|
-
*/
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @author Andrés Quintero - automatic
|
|
31
|
-
* @createdAt 2024-11-15 21:43:42 - automatic
|
|
32
|
-
* @updatedAt 2024-12-02 19:02:04 - automatic
|
|
11
|
+
* @createdAt 2024-12-23 07:24:16 - automatic
|
|
12
|
+
* @updatedAt 2024-12-23 07:24:18 - automatic
|
|
33
13
|
* @updatedUser Andrés Quintero - automatic
|
|
34
14
|
*/
|
|
35
15
|
export declare const SideBar: import('react').MemoExoticComponent<(props: SideBarProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Contiene el header, body y footer
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-11-15 21:43:42 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
declare const ContentComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ContentGroupsProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Renderiza el contenido de los grupos
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-11-05 17:43:01 - automatic
|
|
6
|
-
*
|
|
6
|
+
* <<<<<<< HEAD
|
|
7
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
8
|
+
* =======
|
|
9
|
+
* @updatedAt 2024-12-30 14:36:09 - automatic
|
|
10
|
+
* >>>>>>> main
|
|
7
11
|
* @updatedUser Andrés Quintero - automatic
|
|
8
12
|
*/
|
|
9
|
-
export declare const ContentGroups: (
|
|
10
|
-
size: Sizes;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const ContentGroups: (contentGroupsProps: ContentGroupsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,10 +8,10 @@ import { C as ContainerMenuItemsMain } from "./subcomponents/ContainerMenuItemsM
|
|
|
8
8
|
import { u as useComponentSize } from "../../../../hooks/useComponentSize/useComponentSize.js";
|
|
9
9
|
import { T as Typography } from "../../../mui_extended/Typography/Typography.js";
|
|
10
10
|
import { M as MenuItem } from "../../../mui_extended/MenuItem/MenuItem.js";
|
|
11
|
-
const ContentGroups = (
|
|
12
|
-
const { size } = props;
|
|
11
|
+
const ContentGroups = (contentGroupsProps) => {
|
|
13
12
|
const { menuData } = useSideBar();
|
|
14
13
|
const { getLabel } = useModuleDictionary();
|
|
14
|
+
const { size } = contentGroupsProps;
|
|
15
15
|
const { currentSize } = useComponentSize(size);
|
|
16
16
|
const ownerState = {
|
|
17
17
|
noItems: menuData.length === 0
|