@m4l/components 9.1.83 → 9.1.84

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.
Files changed (59) hide show
  1. package/components/Color/slots/ColorSlots.js +1 -1
  2. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  3. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  4. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +2 -2
  5. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.js +3 -0
  6. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +2 -2
  7. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.js +5 -0
  8. package/components/MenuActions/MenuActions.d.ts +2 -2
  9. package/components/MenuActions/MenuActions.js +59 -60
  10. package/components/MenuActions/MenuActions.styles.js +42 -6
  11. package/components/MenuActions/constants.js +1 -3
  12. package/components/MenuActions/slots/MenuActionsEnum.d.ts +3 -1
  13. package/components/MenuActions/slots/MenuActionsEnum.js +2 -0
  14. package/components/MenuActions/slots/MenuActionsSlots.d.ts +6 -0
  15. package/components/MenuActions/slots/MenuActionsSlots.js +13 -2
  16. package/components/MenuActions/types.d.ts +64 -13
  17. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
  18. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +2 -2
  19. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +3 -0
  20. package/components/WindowBase/subcomponents/Header/types.d.ts +13 -2
  21. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +2 -2
  22. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +2 -2
  23. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.js +4 -2
  24. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +2 -2
  25. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.js +4 -3
  26. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +2 -2
  27. package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.d.ts +2 -2
  28. package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.js +1 -0
  29. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +12 -0
  30. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.js +3 -0
  31. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +2 -2
  32. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +2 -2
  33. package/components/areas/types.d.ts +5 -3
  34. package/components/extended/React-Resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
  35. package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
  36. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  37. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  38. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  39. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  40. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  41. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +2 -2
  42. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +1 -0
  43. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +2 -2
  44. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +2 -0
  45. package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +1 -1
  46. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  47. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  48. package/components/mui_extended/MenuDivider/MenuDivider.js +48 -0
  49. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +51 -0
  50. package/components/mui_extended/MenuDivider/constants.js +4 -0
  51. package/components/mui_extended/MenuDivider/slots/MenuDividerEnum.js +8 -0
  52. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.js +17 -0
  53. package/components/mui_extended/MenuItem/MenuItem.styles.js +16 -12
  54. package/components/mui_extended/MenuItem/types.d.ts +1 -1
  55. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  56. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
  57. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  58. package/package.json +1 -1
  59. /package/components/MenuActions/{MenuActions.test.d.ts → tests/MenuActions.test.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { Sizes } from '@m4l/styles';
2
+ import { ComponentPalletColor, Sizes } from '@m4l/styles';
3
3
  import { ComponentNameToClassKey, PaperProps, SxProps } from '@mui/material';
4
4
  import { OverridesStyleRules } from '@mui/material/styles/overrides';
5
5
  import { Theme } from '@mui/material/styles';
@@ -13,26 +13,54 @@ 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 2025-01-03 11:42:14 - automatic
17
- * @updatedUser Andrés Quintero - automatic
16
+ * @updatedAt 2025-01-22 08:48:47 - automatic
17
+ * @updatedUser cesar - automatic
18
18
  */
19
19
  export interface ComponentActionProps {
20
20
  description?: string;
21
21
  onClick: (props?: any) => void;
22
22
  }
23
+ export type MenuTypes = 'menuItem' | 'divider' | 'loader' | 'customNode';
24
+ interface BaseMenuAction {
25
+ type: MenuTypes;
26
+ }
27
+ interface MenuItemAction extends BaseMenuAction, Pick<MenuItemProps, 'startIcon' | 'endIcon' | 'label' | 'selected' | 'componentPaletteColor' | 'color' | 'disabled' | 'checkable' | 'checked'> {
28
+ type: 'menuItem';
29
+ onClick?: (arg?: any) => void;
30
+ customNode?: never;
31
+ error?: boolean;
32
+ }
33
+ interface DividerAction extends BaseMenuAction {
34
+ type: 'divider';
35
+ label?: never;
36
+ onClick?: never;
37
+ customNode?: never;
38
+ error?: never;
39
+ }
40
+ interface LoaderAction extends BaseMenuAction {
41
+ type: 'loader';
42
+ label?: never;
43
+ onClick?: never;
44
+ customNode?: never;
45
+ error?: never;
46
+ }
47
+ interface CustomNodeAction extends BaseMenuAction {
48
+ type: 'customNode';
49
+ customNode: ReactNode;
50
+ label?: never;
51
+ onClick?: never;
52
+ error?: never;
53
+ }
23
54
  /**
24
55
  * Define una acción del menú, con propiedades heredadas de `MenuItemProps`.
25
56
  * [onClick] - Función opcional a ejecutar al hacer clic en la acción del menú.
26
57
  * [error] - Indicador de error en la acción del menú.
27
58
  * @author Andrés Quintero - automatic
28
59
  * @createdAt 2024-12-27 08:27:30 - automatic
29
- * @updatedAt 2025-01-03 11:42:14 - automatic
30
- * @updatedUser Andrés Quintero - automatic
60
+ * @updatedAt 2025-01-21 15:12:48 - automatic
61
+ * @updatedUser cesar - automatic
31
62
  */
32
- export interface MenuAction extends Pick<MenuItemProps, 'startIcon' | 'endIcon' | 'label' | 'selected' | 'componentPaletteColor' | 'color' | 'disabled'> {
33
- onClick?: (arg?: any) => void;
34
- error?: boolean;
35
- }
63
+ export type MenuAction = MenuItemAction | DividerAction | LoaderAction | CustomNodeAction;
36
64
  /**
37
65
  * Propiedades del componente `MenuActions`.
38
66
  * @createdAt 2024-12-27 08:27:30 - automatic
@@ -68,8 +96,8 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open' | 'anchorEl'
68
96
  * Acciones del menú, puede ser un array o una función que genere acciones.
69
97
  * @author Andrés Quintero - automatic
70
98
  * @createdAt 2024-12-27 08:27:30 - automatic
71
- * @updatedAt 2025-01-03 11:42:14 - automatic
72
- * @updatedUser Andrés Quintero - automatic
99
+ * @updatedAt 2025-01-22 08:48:47 - automatic
100
+ * @updatedUser cesar - automatic
73
101
  */
74
102
  menuActions: MenuAction[] | ((row: any) => MenuAction[]);
75
103
  /**
@@ -131,8 +159,8 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open' | 'anchorEl'
131
159
  * Función externa para cerrar el menú.
132
160
  * @author Andrés Quintero - automatic
133
161
  * @createdAt 2024-12-27 08:27:30 - automatic
134
- * @updatedAt 2025-01-03 11:42:14 - automatic
135
- * @updatedUser Andrés Quintero - automatic
162
+ * @updatedAt 2025-01-22 08:48:47 - automatic
163
+ * @updatedUser cesar - automatic
136
164
  */
137
165
  externalClose?: (element: null | HTMLDivElement) => void;
138
166
  /**
@@ -143,6 +171,26 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open' | 'anchorEl'
143
171
  * Propiedad objeto que se usa para poder editar las propiedades del paper o agregar estilos desde su sx
144
172
  */
145
173
  paperProps?: PaperProps;
174
+ /**
175
+ * Propiedad checked
176
+ */
177
+ checked?: boolean;
178
+ /**
179
+ * Propiedad checkable para el menú
180
+ */
181
+ checkable?: boolean;
182
+ /**
183
+ * Propiedad para agregar un node al menú
184
+ */
185
+ customNode?: ReactNode;
186
+ /**
187
+ * Define el color del componente.
188
+ */
189
+ color?: Extract<ComponentPalletColor, 'primary'>;
190
+ /**
191
+ * Define la clave de la acción.
192
+ */
193
+ actionKey?: string;
146
194
  }
147
195
  /**
148
196
  * Estado del propietario para `MenuActions`.
@@ -150,6 +198,8 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open' | 'anchorEl'
150
198
  */
151
199
  export interface MenuActionsOwnerState {
152
200
  iconSize: Sizes;
201
+ selected: boolean;
202
+ paletteColor?: MenuActionsProps['color'];
153
203
  }
154
204
  /**
155
205
  * Tipo de slots disponibles para `MenuActions`.
@@ -159,3 +209,4 @@ export type MenuActionsSlotsType = keyof typeof MenuActionsSlots;
159
209
  * Estilos para `MenuActions`.
160
210
  */
161
211
  export type MenuActionsStyles = OverridesStyleRules<MenuActionsSlots, typeof MENU_ACTIONS_KEY_COMPONENT, Theme>;
212
+ export {};
@@ -1,7 +1,7 @@
1
1
  export declare const ModalDialogRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
3
  }, "children" | "style" | "square" | "variant" | "sx" | "classes" | "className" | "elevation">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "square" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "elevation"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
4
- export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "transitionDuration" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "slotProps" | "slots" | "TransitionComponent" | "TransitionProps" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "dataTestId" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "fullScreen" | "fullWidth" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
4
+ export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "transitionDuration" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "slotProps" | "slots" | "TransitionComponent" | "TransitionProps" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "dataTestId" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "fullWidth" | "fullScreen" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
5
5
  export declare const ContentComponent: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
6
6
  export declare const DragResizeWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../DragResizeWindow/types').DragResizeWindowProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../DragResizeWindow/types').DragResizeWindowProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
7
7
  export declare const PaperModalDialogStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
@@ -40,7 +40,7 @@ import { WindowBaseOwnerState } from '../../types';
40
40
  * ```
41
41
  * @author cesar - automatic
42
42
  * @createdAt 2024-11-20 09:38:37 - automatic
43
- * @updatedAt 2024-12-30 14:36:09 - automatic
44
- * @updatedUser Andrés Quintero - automatic
43
+ * @updatedAt 2025-01-21 14:45:38 - automatic
44
+ * @updatedUser cesar - automatic
45
45
  */
46
46
  export declare const HeaderWindowBase: (props: HeaderProps & WindowBaseOwnerState) => import("react/jsx-runtime").JSX.Element;
@@ -40,6 +40,7 @@ const HeaderWindowBase = (props) => {
40
40
  const menuActions = useMemo(() => {
41
41
  const memoizedActions = [
42
42
  ...localActions.inside.map((action) => ({
43
+ type: "menuItem",
43
44
  startIcon: action.iconUrl,
44
45
  label: action.label,
45
46
  onClick: action.onClick,
@@ -48,6 +49,7 @@ const HeaderWindowBase = (props) => {
48
49
  ];
49
50
  if (version) {
50
51
  memoizedActions.push({
52
+ type: "menuItem",
51
53
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/menu_actions/assets/icons/${ICONS.VERSION}`,
52
54
  label: version,
53
55
  onClick: () => {
@@ -100,6 +102,7 @@ const HeaderWindowBase = (props) => {
100
102
  menuActions.length > 1 && /* @__PURE__ */ jsx(
101
103
  MenuActionsWindowsStyled,
102
104
  {
105
+ type: "menuItem",
103
106
  ownerState,
104
107
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/window_base/assets/icons/${ICONS.MORE_VERTICAL}`,
105
108
  arrowType: "no-arrow",
@@ -1,5 +1,5 @@
1
- import { MenuAction } from '../../../MenuActions/types';
2
1
  import { WindowBaseAction, WindowBaseProps } from '../../types';
2
+ import { MenuAction } from 'src/components/MenuActions/types';
3
3
  /**
4
4
  * Properties used by the `Header` component.
5
5
  *
@@ -40,6 +40,17 @@ export type HeaderProps = Pick<WindowBaseProps, 'title' | 'subTitle' | 'iconUrl'
40
40
  * Defines the visibility types for window actions.
41
41
  */
42
42
  export type WindowActionType = 'main' | 'allways' | 'normal';
43
+ /**
44
+ * Define una acción de ventana basada en `MenuAction`, pero restringida solo a `menuItem`.
45
+ */
46
+ export interface WindowAction extends Extract<MenuAction, {
47
+ type: 'menuItem';
48
+ }> {
49
+ visibility: WindowActionType;
50
+ key: string;
51
+ tag?: any;
52
+ className?: string;
53
+ }
43
54
  /**
44
55
  * Defines the structure of a window action, extending the `MenuAction` type.
45
56
  * This includes additional properties for visibility, a unique key, an optional tag, and a custom class name.
@@ -61,7 +72,7 @@ export type WindowActionType = 'main' | 'allways' | 'normal';
61
72
  * };
62
73
  * ```
63
74
  */
64
- export interface windowWindowAction extends MenuAction {
75
+ export interface windowWindowAction {
65
76
  /**
66
77
  * Defines the visibility type of the window action.
67
78
  * This determines when and how the action is displayed, based on its visibility setting.
@@ -16,10 +16,10 @@ export declare const MessageIllustrationStyled: import('@emotion/styled').Styled
16
16
  export declare const ActionsContainerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../CommonActions/components/ActionsContainer').ActionsContainerProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../CommonActions/components/ActionsContainer').ActionsContainerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
17
17
  ownerState: Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown>;
18
18
  }, {}, {}>;
19
- export declare const ActionCancelStyled: import('@emotion/styled').StyledComponent<Pick<Omit<Omit<import('../../CommonActions/components/ActionCancel').ActionCancelProps, "label">, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "dataTestid" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "startIcon" | "endIcon" | "skeletonWidth" | "fullWidth" | "disableElevation" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
19
+ export declare const ActionCancelStyled: import('@emotion/styled').StyledComponent<Pick<Omit<Omit<import('../../CommonActions/components/ActionCancel').ActionCancelProps, "label">, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "dataTestid" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "startIcon" | "endIcon" | "skeletonWidth" | "disableElevation" | "fullWidth" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
20
20
  ownerState: Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown>;
21
21
  }, {}, {}>;
22
- export declare const ActionIntroStyled: import('@emotion/styled').StyledComponent<Pick<Omit<Omit<import('../../CommonActions/components/ActionIntro').ActionIntroProps, "label">, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "dataTestid" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "startIcon" | "endIcon" | "skeletonWidth" | "fullWidth" | "disableElevation" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
22
+ export declare const ActionIntroStyled: import('@emotion/styled').StyledComponent<Pick<Omit<Omit<import('../../CommonActions/components/ActionIntro').ActionIntroProps, "label">, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "dataTestid" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "startIcon" | "endIcon" | "skeletonWidth" | "disableElevation" | "fullWidth" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
23
23
  ownerState: Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown>;
24
24
  }, {}, {}>;
25
25
  export declare const IllustrationIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Image/types').ImageProps, keyof import('../../Image/types').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
@@ -3,7 +3,7 @@ import { ChipActionsMobileProps } from './types';
3
3
  * TODO: Documentar
4
4
  * @author Andrés Quintero - automatic
5
5
  * @createdAt 2024-12-27 08:27:31 - automatic
6
- * @updatedAt 2024-12-30 14:36:09 - automatic
7
- * @updatedUser Andrés Quintero - automatic
6
+ * @updatedAt 2025-01-22 08:48:47 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  export declare const ChipActionsMobile: (props: ChipActionsMobileProps) => import("react/jsx-runtime").JSX.Element;
@@ -14,6 +14,7 @@ const ChipActionsMobile = (props) => {
14
14
  const { getLabel } = useModuleDictionary();
15
15
  const menuActions = [
16
16
  {
17
+ type: "menuItem",
17
18
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.EDIT_AREA}`,
18
19
  onClick: handlerOpenPopoverEditArea,
19
20
  label: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area))
@@ -21,13 +22,14 @@ const ChipActionsMobile = (props) => {
21
22
  ];
22
23
  if (listAreas.length > 1) {
23
24
  menuActions.push({
25
+ type: "menuItem",
24
26
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
25
27
  /**
26
28
  * OnClick
27
29
  * @author Andrés Quintero - automatic
28
30
  * @createdAt 2024-12-27 08:27:31 - automatic
29
- * @updatedAt 2024-12-30 14:36:09 - automatic
30
- * @updatedUser Andrés Quintero - automatic
31
+ * @updatedAt 2025-01-22 08:48:47 - automatic
32
+ * @updatedUser cesar - automatic
31
33
  */
32
34
  onClick: () => {
33
35
  deleteArea(areaId);
@@ -2,7 +2,7 @@
2
2
  * TODO: Documentar
3
3
  * @author SebastianM - automatic
4
4
  * @createdAt 2024-11-06 09:00:05 - automatic
5
- * @updatedAt 2024-12-30 14:36:09 - automatic
6
- * @updatedUser Andrés Quintero - automatic
5
+ * @updatedAt 2025-01-22 08:50:39 - automatic
6
+ * @updatedUser cesar - automatic
7
7
  */
8
8
  export declare const AreaChipMobile: () => import("react/jsx-runtime").JSX.Element;
@@ -32,14 +32,15 @@ const AreaChipMobile = () => {
32
32
  * OnClick
33
33
  * @author SebastianM - automatic
34
34
  * @createdAt 2024-11-06 09:00:05 - automatic
35
- * @updatedAt 2024-12-30 14:36:09 - automatic
36
- * @updatedUser Andrés Quintero - automatic
35
+ * @updatedAt 2025-01-22 08:50:39 - automatic
36
+ * @updatedUser cesar - automatic
37
37
  */
38
38
  onClick: () => {
39
39
  selectArea(area.id);
40
40
  setFocus(false);
41
41
  },
42
- label: area.name
42
+ label: area.name,
43
+ type: "menuItem"
43
44
  };
44
45
  }),
45
46
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -3,7 +3,7 @@ import { PanelWindowPopUpProps } from './types';
3
3
  * TODO: Documentar
4
4
  * @author Andrés Quintero - automatic
5
5
  * @createdAt 2024-12-27 08:27:31 - automatic
6
- * @updatedAt 2024-12-30 14:36:09 - automatic
7
- * @updatedUser Andrés Quintero - automatic
6
+ * @updatedAt 2025-01-22 08:50:39 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  export declare const PanelWindowPopUp: (props: PanelWindowPopUpProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { PanelWindowPopUpProps } from './types';
3
3
  * TODO: Documentar
4
4
  * @author Andrés Quintero - automatic
5
5
  * @createdAt 2024-12-27 08:27:31 - automatic
6
- * @updatedAt 2024-12-30 14:36:09 - automatic
7
- * @updatedUser Andrés Quintero - automatic
6
+ * @updatedAt 2025-01-22 08:50:39 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  export declare const PanelWindowPopUp: (props: PanelWindowPopUpProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -27,6 +27,7 @@ const PanelWindowPopUp = (props) => {
27
27
  };
28
28
  const menuActions = windowsLayouts.map((element) => {
29
29
  return {
30
+ type: "menuItem",
30
31
  onClick: () => onTouched(element.i),
31
32
  label: element.title,
32
33
  urlIcon: element.url_icon
@@ -2,6 +2,18 @@ import { GetLabelType } from '@m4l/core';
2
2
  import { AreaWindowAction, WindowOptions } from '../../../../../../../../types';
3
3
  /**
4
4
  * TODO: Documentar
5
+ * @updatedUser cesar - automatic
6
+ * @updatedAt 2025-01-21 14:45:38 - automatic
7
+ * @createdAt 2025-01-21 14:45:38 - automatic
8
+ * @author cesar - automatic
9
+ * @updatedUser cesar - automatic
10
+ * @updatedAt 2025-01-21 14:45:38 - automatic
11
+ * @createdAt 2025-01-18 21:23:13 - automatic
12
+ * @author cesar - automatic
13
+ * @author cesar - automatic
14
+ * @createdAt 2025-01-18 21:23:13 - automatic
15
+ * @updatedAt 2025-01-21 14:45:38 - automatic
16
+ * @updatedUser cesar - automatic
5
17
  */
6
18
  export declare function getMainActions(isDesktop: boolean | undefined, moduleActions: AreaWindowAction[]): AreaWindowAction[];
7
19
  type GetMenuActionsType = {
@@ -26,6 +26,7 @@ function getMenuActions(options) {
26
26
  }
27
27
  if (windowOptions.allowPersistCookies) {
28
28
  const saveCookiesAction = {
29
+ type: "menuItem",
29
30
  startIcon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.SAVE_COOKIES}`,
30
31
  onClick: () => saveModuleCookies(windowId),
31
32
  disabled: false,
@@ -36,6 +37,7 @@ function getMenuActions(options) {
36
37
  };
37
38
  menuActions.push(saveCookiesAction);
38
39
  const resetCookiesAction = {
40
+ type: "menuItem",
39
41
  startIcon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.RESET_COOKIES}`,
40
42
  onClick: () => resetModuleCookies(windowId),
41
43
  disabled: false,
@@ -48,6 +50,7 @@ function getMenuActions(options) {
48
50
  }
49
51
  if (version) {
50
52
  const versionAction = {
53
+ type: "menuItem",
51
54
  startIcon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.VERSION}`,
52
55
  onClick: () => {
53
56
  },
@@ -3,7 +3,7 @@ import { HeaderProps } from './types';
3
3
  * TODO: Documentar
4
4
  * @author Andrés Quintero - automatic
5
5
  * @createdAt 2024-12-27 08:27:31 - automatic
6
- * @updatedAt 2024-12-30 14:36:09 - automatic
7
- * @updatedUser Andrés Quintero - automatic
6
+ * @updatedAt 2025-01-22 08:48:47 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  export declare function Header(props: HeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { WindowPopUpsListProps } from './types';
3
3
  * TODO: Documentar
4
4
  * @author Andrés Quintero - automatic
5
5
  * @createdAt 2024-12-27 08:27:31 - automatic
6
- * @updatedAt 2024-12-30 14:36:09 - automatic
7
- * @updatedUser Andrés Quintero - automatic
6
+ * @updatedAt 2025-01-21 14:45:38 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  export declare const WindowPopUpsList: (props: WindowPopUpsListProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -4,7 +4,9 @@ import { DynamicMFStore } from './contexts/DynamicMFParmsContext/store';
4
4
  import { MenuAction } from '../MenuActions/types';
5
5
  import { LayoutItem } from '../GridLayout';
6
6
  export type WindowActionType = 'main' | 'allways' | 'normal';
7
- export interface AreaWindowAction extends MenuAction {
7
+ export interface AreaWindowAction extends Extract<MenuAction, {
8
+ type: 'menuItem';
9
+ }> {
8
10
  /**
9
11
  * Tipo de visibilidad de la acción de ventana.
10
12
  * @createdAt 2024-12-27 08:27:31 - automatic
@@ -105,8 +107,8 @@ export type WindowState = {
105
107
  * @returns void
106
108
  * @author Andrés Quintero - automatic
107
109
  * @createdAt 2024-12-27 08:27:31 - automatic
108
- * @updatedAt 2024-12-30 14:36:10 - automatic
109
- * @updatedUser Andrés Quintero - automatic
110
+ * @updatedAt 2025-01-22 08:30:17 - automatic
111
+ * @updatedUser cesar - automatic
110
112
  */
111
113
  fnQueryClose?: () => void;
112
114
  };
@@ -1,4 +1,4 @@
1
1
  import { Resizable } from 'react-resizable';
2
- export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<import('react-resizable').ResizableProps, "children" | "width" | "height" | "className" | "onResize" | "resizeHandles" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "transformScale" | "axis"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {
2
+ export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<import('react-resizable').ResizableProps, "children" | "width" | "height" | "className" | "onResize" | "axis" | "resizeHandles" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "transformScale"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {
3
3
  ref?: import('react').Ref<Resizable> | undefined;
4
4
  }>;
@@ -1,4 +1,4 @@
1
1
  import { ResizableBox } from 'react-resizable';
2
- export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<import('react-resizable').ResizableBoxProps, "children" | "style" | "width" | "height" | "className" | "onResize" | "resizeHandles" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "transformScale" | "axis"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {
2
+ export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<import('react-resizable').ResizableBoxProps, "children" | "style" | "width" | "height" | "className" | "onResize" | "axis" | "resizeHandles" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "transformScale"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {
3
3
  ref?: import('react').Ref<ResizableBox> | undefined;
4
4
  }>;