@m4l/components 9.1.43 → 9.1.45
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/AppBar/AppBar.d.ts +5 -1
- package/components/AppBar/styles.js +17 -7
- package/components/AppBar/types.d.ts +33 -4
- 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.styles.js +2 -2
- 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/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
|
@@ -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;
|
|
@@ -4,6 +4,10 @@ import { AppBarProps } from './types';
|
|
|
4
4
|
* Por lo general, contiene elementos de navegación, como botones para ir hacia atrás o hacia adelante, un botón de menú para
|
|
5
5
|
* acceder a opciones adicionales y un campo de búsqueda.
|
|
6
6
|
* También puede mostrar información relevante, como el título de la página actual o el nombre del usuario conectado.
|
|
7
|
+
* ### Dependencias:
|
|
8
|
+
* - **`useEnviroment:`** Hook que permite acceder a los recursos de archivos del cliente.
|
|
9
|
+
* - **`useModuleDictionary:`** Hook que permite acceder a las etiquetas de los módulos para el i18n
|
|
10
|
+
* - **`useIsMobile:`** Hook que permite saber si el dispositivo es móvil.
|
|
7
11
|
* @param {AppBarProps} props - Propiedades del componente.
|
|
8
12
|
* @returns {JSX.Element} Elemento que se retorna.
|
|
9
13
|
* @example
|
|
@@ -16,7 +20,7 @@ import { AppBarProps } from './types';
|
|
|
16
20
|
* >
|
|
17
21
|
* @author Andrés Quintero - automatic
|
|
18
22
|
* @createdAt 2024-11-29 14:26:18 - automatic
|
|
19
|
-
* @updatedAt 2024-
|
|
23
|
+
* @updatedAt 2024-12-27 23:20:48 - automatic
|
|
20
24
|
* @updatedUser Andrés Quintero - automatic
|
|
21
25
|
*/
|
|
22
26
|
export declare const AppBar: (props: AppBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,15 +5,16 @@ const appBarStyles = {
|
|
|
5
5
|
* ****************************************************
|
|
6
6
|
* @author Andrés Quintero - automatic
|
|
7
7
|
* @createdAt 2024-11-30 00:04:06 - automatic
|
|
8
|
-
* @updatedAt 2024-
|
|
8
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
9
9
|
* @updatedUser Andrés Quintero - automatic
|
|
10
10
|
*/
|
|
11
11
|
appBarRoot: ({ theme }) => ({
|
|
12
12
|
display: "flex",
|
|
13
13
|
flexDirection: "row",
|
|
14
14
|
flexWrap: "nowrap",
|
|
15
|
+
alignItems: theme.generalSettings.isMobile ? "center" : "initial",
|
|
15
16
|
height: theme.vars.size.baseSpacings.sp12,
|
|
16
|
-
padding: `0 ${theme.vars.size.baseSpacings.sp4}`,
|
|
17
|
+
padding: `0 ${theme.generalSettings.isMobile ? theme.vars.size.baseSpacings.sp2 : theme.vars.size.baseSpacings.sp4}`,
|
|
17
18
|
borderBottom: `1px solid ${theme.vars.palette.border.default}`,
|
|
18
19
|
gap: theme.vars.size.baseSpacings.sp3
|
|
19
20
|
}),
|
|
@@ -23,7 +24,7 @@ const appBarStyles = {
|
|
|
23
24
|
* ****************************************************
|
|
24
25
|
* @author Andrés Quintero - automatic
|
|
25
26
|
* @createdAt 2024-11-30 00:04:06 - automatic
|
|
26
|
-
* @updatedAt 2024-
|
|
27
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
27
28
|
* @updatedUser Andrés Quintero - automatic
|
|
28
29
|
*/
|
|
29
30
|
containerIsotypeName: ({ theme }) => ({
|
|
@@ -35,6 +36,7 @@ const appBarStyles = {
|
|
|
35
36
|
padding: `${theme.vars.size.baseSpacings.sp3} 0`,
|
|
36
37
|
/**
|
|
37
38
|
* Se pone los px directamente porque no existe un token con este valor
|
|
39
|
+
* @createdAt 2024-12-30 16:27:25 - automatic
|
|
38
40
|
*/
|
|
39
41
|
width: "204px",
|
|
40
42
|
minWidth: "204px"
|
|
@@ -45,7 +47,7 @@ const appBarStyles = {
|
|
|
45
47
|
* ****************************************************
|
|
46
48
|
* @author Andrés Quintero - automatic
|
|
47
49
|
* @createdAt 2024-11-30 00:04:06 - automatic
|
|
48
|
-
* @updatedAt 2024-
|
|
50
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
49
51
|
* @updatedUser Andrés Quintero - automatic
|
|
50
52
|
*/
|
|
51
53
|
imageIsotype: ({ theme }) => ({
|
|
@@ -59,7 +61,7 @@ const appBarStyles = {
|
|
|
59
61
|
* ****************************************************
|
|
60
62
|
* @author Andrés Quintero - automatic
|
|
61
63
|
* @createdAt 2024-11-30 00:04:06 - automatic
|
|
62
|
-
* @updatedAt 2024-
|
|
64
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
63
65
|
* @updatedUser Andrés Quintero - automatic
|
|
64
66
|
*/
|
|
65
67
|
companyName: ({ theme }) => ({
|
|
@@ -74,7 +76,7 @@ const appBarStyles = {
|
|
|
74
76
|
* ****************************************************
|
|
75
77
|
* @author Andrés Quintero - automatic
|
|
76
78
|
* @createdAt 2024-11-30 00:04:06 - automatic
|
|
77
|
-
* @updatedAt 2024-
|
|
79
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
78
80
|
* @updatedUser Andrés Quintero - automatic
|
|
79
81
|
*/
|
|
80
82
|
menuIconButton: ({ theme }) => ({
|
|
@@ -87,7 +89,7 @@ const appBarStyles = {
|
|
|
87
89
|
* **************************************************************
|
|
88
90
|
* @author Andrés Quintero - automatic
|
|
89
91
|
* @createdAt 2024-11-30 00:04:06 - automatic
|
|
90
|
-
* @updatedAt 2024-
|
|
92
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
91
93
|
* @updatedUser Andrés Quintero - automatic
|
|
92
94
|
*/
|
|
93
95
|
content: ({ theme }) => ({
|
|
@@ -103,6 +105,10 @@ const appBarStyles = {
|
|
|
103
105
|
* **************************************************************
|
|
104
106
|
* Estilos para el contenedor del contenido del logotipo y nombre
|
|
105
107
|
* **************************************************************
|
|
108
|
+
* @author Andrés Quintero - automatic
|
|
109
|
+
* @createdAt 2024-12-30 16:27:25 - automatic
|
|
110
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
111
|
+
* @updatedUser Andrés Quintero - automatic
|
|
106
112
|
*/
|
|
107
113
|
contentIsoType: ({ theme }) => ({
|
|
108
114
|
display: "flex",
|
|
@@ -115,6 +121,10 @@ const appBarStyles = {
|
|
|
115
121
|
* **************************************************************
|
|
116
122
|
* Estilos para el divisor entre el logotipo y el contenido
|
|
117
123
|
* **************************************************************
|
|
124
|
+
* @author Andrés Quintero - automatic
|
|
125
|
+
* @createdAt 2024-12-30 16:27:25 - automatic
|
|
126
|
+
* @updatedAt 2024-12-30 16:27:27 - automatic
|
|
127
|
+
* @updatedUser Andrés Quintero - automatic
|
|
118
128
|
*/
|
|
119
129
|
divider: ({ theme, ownerState }) => ({
|
|
120
130
|
height: "100%",
|
|
@@ -6,23 +6,52 @@ import { Theme } from '@mui/material/styles';
|
|
|
6
6
|
import { ComponentPalletColor, Sizes } from '@m4l/styles';
|
|
7
7
|
/**
|
|
8
8
|
* Propiedades de estilo para el componente raíz de la barra de aplicaciones.
|
|
9
|
+
* @createdAt 2024-12-27 23:20:47 - automatic
|
|
9
10
|
*/
|
|
10
11
|
export type RootStyleProps = {
|
|
11
|
-
/** Indica si la barra de aplicaciones está colapsada. */
|
|
12
12
|
isCollapse: boolean;
|
|
13
|
-
/** Indica si hay un desplazamiento (offset) aplicado a la barra de aplicaciones. */
|
|
14
13
|
isOffset: boolean;
|
|
15
|
-
/** Indica si la barra lateral está visible.*/
|
|
16
14
|
isSideBarVisible: boolean;
|
|
17
15
|
};
|
|
18
16
|
export interface AppBarProps {
|
|
17
|
+
/**
|
|
18
|
+
* Color de la barra de aplicaciones.
|
|
19
|
+
* @createdAt 2024-12-27 23:20:47 - automatic
|
|
20
|
+
*/
|
|
19
21
|
color?: Extract<ComponentPalletColor, 'default'>;
|
|
22
|
+
/**
|
|
23
|
+
* Opción de tamaño de la barra de aplicaciones.
|
|
24
|
+
* @createdAt 2024-12-27 23:20:47 - automatic
|
|
25
|
+
*/
|
|
20
26
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
27
|
+
/**
|
|
28
|
+
* Opción de aparición de la barra de aplicaciones.
|
|
29
|
+
* @createdAt 2024-12-27 23:20:47 - automatic
|
|
30
|
+
*/
|
|
21
31
|
variant?: 'standard';
|
|
22
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Función que activa la visualización del menú de la aplicación en la vista móvil.
|
|
34
|
+
* @author Andrés Quintero - automatic
|
|
35
|
+
* @createdAt 2024-12-31 08:24:48 - automatic
|
|
36
|
+
* @updatedAt 2024-12-31 08:24:49 - automatic
|
|
37
|
+
* @updatedUser Andrés Quintero - automatic
|
|
38
|
+
*/
|
|
39
|
+
onToggleVisible: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* Elementos secundarios de la barra de aplicaciones.
|
|
42
|
+
*/
|
|
23
43
|
children: ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* URL de la imagen del logotipo de la compañía.
|
|
46
|
+
*/
|
|
24
47
|
companyLogo?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Nombre de la compañía.
|
|
50
|
+
*/
|
|
25
51
|
companyName?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Identificador de prueba.
|
|
54
|
+
*/
|
|
26
55
|
dataTestid?: string;
|
|
27
56
|
}
|
|
28
57
|
export type AppBarOwnerState = Pick<AppBarProps, 'size'> & {
|
|
@@ -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;
|