@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
@@ -3,8 +3,8 @@ import { styled } from "@mui/material/styles";
3
3
  import { C as COLOR_KEY_COMPONENT } from "../constants.js";
4
4
  import { c as colorStyles } from "../Color.styles.js";
5
5
  import { C as ColorSlots } from "./ColorEnum.js";
6
- import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
7
6
  import { P as Popover } from "../../mui_extended/Popover/Popover.js";
7
+ import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
8
8
  const IconButtonRootStyled = styled(IconButton, {
9
9
  name: COLOR_KEY_COMPONENT,
10
10
  slot: ColorSlots.root
@@ -1,4 +1,4 @@
1
- declare const ActionCancelRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "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" | "label" | "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('..').ActionCancelOwnerState> & Record<string, unknown> & {
1
+ declare const ActionCancelRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "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" | "label" | "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('..').ActionCancelOwnerState> & Record<string, unknown> & {
2
2
  ownerState: Partial<import('..').ActionCancelOwnerState> & Record<string, unknown>;
3
3
  }, {}, {}>;
4
4
  export { ActionCancelRootStyled };
@@ -1,4 +1,4 @@
1
- declare const ActionIntroRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "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" | "label" | "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('..').ActionIntroOwnerState> & Record<string, unknown> & {
1
+ declare const ActionIntroRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "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" | "label" | "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('..').ActionIntroOwnerState> & Record<string, unknown> & {
2
2
  ownerState: Partial<import('..').ActionIntroOwnerState> & Record<string, unknown>;
3
3
  }, {}, {}>;
4
4
  export { ActionIntroRootStyled };
@@ -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-30 14:36:08 - 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 function Density(): import("react/jsx-runtime").JSX.Element;
@@ -14,18 +14,21 @@ function Density() {
14
14
  }
15
15
  return [
16
16
  {
17
+ type: "menuItem",
17
18
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
18
19
  onClick: () => setRowHeightVariant("compact"),
19
20
  disabled: currentRowHeightVariant === "compact",
20
21
  label: "data_grid.density_compact"
21
22
  },
22
23
  {
24
+ type: "menuItem",
23
25
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
24
26
  onClick: () => setRowHeightVariant("standard"),
25
27
  disabled: currentRowHeightVariant === "standard",
26
28
  label: "data_grid.density_standard"
27
29
  },
28
30
  {
31
+ type: "menuItem",
29
32
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
30
33
  onClick: () => setRowHeightVariant("confortable"),
31
34
  disabled: currentRowHeightVariant === "confortable",
@@ -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-30 14:36:08 - 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 MobileMenuActions: () => import("react/jsx-runtime").JSX.Element;
@@ -14,29 +14,34 @@ const MobileMenuActions = () => {
14
14
  };
15
15
  const menuActions = [
16
16
  {
17
+ type: "menuItem",
17
18
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
18
19
  onClick: () => setRowHeightVariant("compact"),
19
20
  disabled: currentRowHeightVariant === "compact",
20
21
  label: "data_grid.density_compact"
21
22
  },
22
23
  {
24
+ type: "menuItem",
23
25
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
24
26
  onClick: () => setRowHeightVariant("standard"),
25
27
  disabled: currentRowHeightVariant === "standard",
26
28
  label: "data_grid.density_standard"
27
29
  },
28
30
  {
31
+ type: "menuItem",
29
32
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
30
33
  onClick: () => setRowHeightVariant("confortable"),
31
34
  disabled: currentRowHeightVariant === "confortable",
32
35
  label: "data_grid.density_confortable"
33
36
  },
34
37
  {
38
+ type: "menuItem",
35
39
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/filter.svg`,
36
40
  onClick: () => toggleIcon(),
37
41
  label: activeFilters ? "data_grid.tooltip_filter_hide" : "data_grid.tooltip_filter_show"
38
42
  },
39
43
  {
44
+ type: "menuItem",
40
45
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`,
41
46
  onClick: () => modalSettings(),
42
47
  label: "data_grid.tooltip_settings"
@@ -7,8 +7,8 @@ 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 2025-01-03 11:42:14 - automatic
11
- * @updatedUser Andrés Quintero - automatic
10
+ * @updatedAt 2025-01-22 09:40:57 - automatic
11
+ * @updatedUser cesar - automatic
12
12
  */
13
13
  export declare function MenuActions(props: MenuActionsProps): import("react/jsx-runtime").JSX.Element;
14
14
  /**
@@ -1,13 +1,14 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import React, { useState, useMemo, createElement } from "react";
2
+ import React, { useState, useMemo } from "react";
3
3
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
4
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
5
5
  import { P as Popover } from "../mui_extended/Popover/Popover.js";
6
- import { I as IconButton } from "../mui_extended/IconButton/IconButton.js";
7
6
  import { M as MenuItem } from "../mui_extended/MenuItem/MenuItem.js";
8
- import { I as ICON_PATH, a as ICONS, M as MENU_ACTIONS_, b as MENU_ACTIONS_EMPTY } from "./constants.js";
7
+ import { I as ICON_PATH, a as ICONS, M as MENU_ACTIONS_ } from "./constants.js";
9
8
  import { g as getMenuActionsDictionary, D as DICTIONARY } from "./dictionary.js";
10
- import { R as RootStyled, M as MenuListStyled } from "./slots/MenuActionsSlots.js";
9
+ import { M as MenuDivider } from "../mui_extended/MenuDivider/MenuDivider.js";
10
+ import { R as RootStyled, I as IconButtonStyled, M as MenuListStyled, a as MenuLoaderStyled } from "./slots/MenuActionsSlots.js";
11
+ import { C as CircularProgress } from "../mui_extended/CircularProgress/CircularProgress.js";
11
12
  function MenuActions(props) {
12
13
  const {
13
14
  menuActions,
@@ -18,11 +19,6 @@ function MenuActions(props) {
18
19
  urlIcon,
19
20
  icon,
20
21
  toolTip = "",
21
- marginTop,
22
- marginBottom,
23
- marginLeft,
24
- marginRight,
25
- width = 200,
26
22
  badgeContent,
27
23
  arrowType = "right-top",
28
24
  externalOpen = null,
@@ -30,30 +26,25 @@ function MenuActions(props) {
30
26
  size = "medium",
31
27
  disabled = false,
32
28
  paperProps = {},
29
+ color = "primary",
30
+ actionKey,
33
31
  ...other
34
32
  } = props;
35
33
  const { currentSize } = useComponentSize(size);
36
- const paperDepractedStyleProps = {
37
- marginTop: marginTop ? typeof marginTop === "string" ? `${marginTop}` : `${marginTop}px` : "0px",
38
- marginBottom: marginBottom ? typeof marginBottom === "string" ? `${marginBottom}` : `${marginBottom}px` : "0px",
39
- marginLeft: marginLeft ? typeof marginLeft === "string" ? `${marginLeft}` : `${marginLeft}px` : "0px",
40
- marginRight: marginRight ? typeof marginRight === "string" ? `${marginRight}` : `${marginRight}px` : "0px",
41
- width: width !== 200 ? `${width}px !important` : "200px !important"
42
- };
43
- const ownerState = {
44
- iconSize: currentSize
45
- };
46
34
  const { host_static_assets, environment_assets } = useEnvironment();
47
35
  const { getLabel } = useModuleDictionary();
48
36
  const [anchorEl, setAnchorEl] = useState(null);
37
+ const open = Boolean(externalOpen ?? anchorEl);
38
+ const ownerState = {
39
+ iconSize: currentSize,
40
+ selected: open,
41
+ paletteColor: color
42
+ };
49
43
  const handleOpenClose = () => {
50
44
  setAnchorEl(null);
51
45
  };
52
46
  const finalIcon = useMemo(() => {
53
- if (icon || urlIcon) {
54
- return icon || urlIcon;
55
- }
56
- return `${host_static_assets}/${environment_assets}/${ICON_PATH}/${ICONS.MENU}`;
47
+ return icon || urlIcon || `${host_static_assets}/${environment_assets}/${ICON_PATH}/${ICONS.MENU}`;
57
48
  }, [urlIcon, icon, host_static_assets, environment_assets]);
58
49
  const handleClick = (e, menuAction) => {
59
50
  e.stopPropagation();
@@ -65,19 +56,52 @@ function MenuActions(props) {
65
56
  setAnchorEl(e.currentTarget);
66
57
  };
67
58
  const finalActions = useMemo(() => {
68
- let ret;
69
- if (typeof menuActions !== "function") {
70
- ret = menuActions;
71
- } else {
72
- ret = menuActions(objItem);
59
+ if (!menuActions) {
60
+ return [];
61
+ }
62
+ const processedActions = typeof menuActions === "function" ? menuActions(objItem) : menuActions;
63
+ if (!Array.isArray(processedActions)) {
64
+ return [];
73
65
  }
74
- return ret;
66
+ return processedActions.filter((action) => !!action.type);
75
67
  }, [menuActions, objItem]);
76
- const open = Boolean(externalOpen ?? anchorEl);
68
+ const renderMenuContent = () => {
69
+ if (!finalActions.length) {
70
+ return /* @__PURE__ */ jsx(MenuItem, { disabled: true, role: "menu-no-actions", label: getLabel(getMenuActionsDictionary(DICTIONARY.no_actions_label)) });
71
+ }
72
+ return /* @__PURE__ */ jsxs(MenuListStyled, { ownerState: { ownerState }, children: [
73
+ finalActions.map((menuAction, index) => {
74
+ const key = actionKey ?? index;
75
+ switch (menuAction.type) {
76
+ case "divider":
77
+ return /* @__PURE__ */ jsx(MenuDivider, { variant: "solid", size }, `divider-${key}`);
78
+ case "loader":
79
+ return /* @__PURE__ */ jsx(MenuLoaderStyled, { size, ownerState: { ownerState }, children: /* @__PURE__ */ jsx(CircularProgress, { size }) }, `loader-${key}`);
80
+ case "customNode":
81
+ return /* @__PURE__ */ jsx(React.Fragment, { children: menuAction.customNode }, `customNode-${key}`);
82
+ case "menuItem":
83
+ return /* @__PURE__ */ jsx(
84
+ MenuItem,
85
+ {
86
+ size,
87
+ ...menuAction,
88
+ label: menuAction.label ?? getLabel(getMenuActionsDictionary(DICTIONARY.no_actions_label)),
89
+ onClick: menuAction.onClick ? (e) => handleClick(e, menuAction) : void 0
90
+ },
91
+ `${MENU_ACTIONS_}${menuAction.label ?? key}`
92
+ );
93
+ default:
94
+ return null;
95
+ }
96
+ }),
97
+ endListElement && endListElement
98
+ ] });
99
+ };
77
100
  return /* @__PURE__ */ jsxs(RootStyled, { ownerState: { ownerState }, children: [
78
101
  /* @__PURE__ */ jsx(
79
- IconButton,
102
+ IconButtonStyled,
80
103
  {
104
+ ownerState: { ...ownerState },
81
105
  tooltipContent: toolTip,
82
106
  size,
83
107
  icon: finalIcon,
@@ -90,42 +114,17 @@ function MenuActions(props) {
90
114
  badgeContent
91
115
  }
92
116
  ),
93
- open && /* @__PURE__ */ jsxs(
117
+ open && /* @__PURE__ */ jsx(
94
118
  Popover,
95
119
  {
96
120
  id: "Popover",
97
121
  open,
98
122
  anchorEl: externalOpen ?? anchorEl,
99
- onClose: () => handleOpenClose(),
123
+ onClose: handleOpenClose,
100
124
  arrowType,
101
- slotProps: {
102
- paper: { ...paperProps, sx: { ...paperDepractedStyleProps, ...paperProps?.sx } }
103
- },
125
+ slotProps: { paper: { ...paperProps } },
104
126
  ...other,
105
- children: [
106
- finalActions.length > 0 ? /* @__PURE__ */ jsx(MenuListStyled, { ownerState: { ownerState }, children: finalActions.map((menuAction, index) => {
107
- return /* @__PURE__ */ createElement(
108
- MenuItem,
109
- {
110
- size,
111
- ...menuAction,
112
- onClick: (e) => {
113
- handleClick(e, menuAction);
114
- },
115
- key: `${MENU_ACTIONS_}${menuAction.label ?? index}`
116
- }
117
- );
118
- }) }) : /* @__PURE__ */ jsx(
119
- MenuItem,
120
- {
121
- size,
122
- disabled: true,
123
- label: getLabel(getMenuActionsDictionary(DICTIONARY.no_actions_label))
124
- },
125
- MENU_ACTIONS_EMPTY
126
- ),
127
- endListElement ? endListElement : null
128
- ]
127
+ children: renderMenuContent()
129
128
  }
130
129
  )
131
130
  ] });
@@ -3,8 +3,8 @@ 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-30 14:36:09 - automatic
7
- * @updatedUser Andrés Quintero - automatic
6
+ * @updatedAt 2025-01-21 10:09:20 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  root: () => ({
10
10
  width: "fit-content"
@@ -13,14 +13,50 @@ 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-30 14:36:09 - automatic
17
- * @updatedUser Andrés Quintero - automatic
16
+ * @updatedAt 2025-01-21 10:09:20 - automatic
17
+ * @updatedUser cesar - automatic
18
18
  */
19
19
  menuList: ({ theme }) => ({
20
- padding: 0,
20
+ paddingTop: theme.vars.size.baseSpacings.sp3,
21
+ paddingBottom: theme.vars.size.baseSpacings.sp3,
21
22
  display: "flex",
22
23
  flexDirection: "column",
23
- gap: theme.vars.size.baseSpacings.sp1
24
+ gap: theme.vars.size.baseSpacings.sp1,
25
+ "& > div": {
26
+ paddingLeft: theme.vars.size.baseSpacings.sp4,
27
+ paddingRight: theme.vars.size.baseSpacings.sp4
28
+ }
29
+ }),
30
+ /**
31
+ * Estilos para el MenuLoader
32
+ * @author cesar - automatic
33
+ * @createdAt 2025-01-20 15:47:07 - automatic
34
+ * @updatedAt 2025-01-21 10:09:20 - automatic
35
+ * @updatedUser cesar - automatic
36
+ */
37
+ menuLoader: () => ({
38
+ display: "flex",
39
+ alignContent: "center"
40
+ }),
41
+ /**
42
+ * Estilos para el IconButton
43
+ * @author cesar - automatic
44
+ * @createdAt 2025-01-20 16:37:00 - automatic
45
+ * @updatedAt 2025-01-21 10:09:20 - automatic
46
+ * @updatedUser cesar - automatic
47
+ */
48
+ iconButton: ({ theme, ownerState }) => ({
49
+ backgroundColor: ownerState.selected ? theme.vars.palette[ownerState.paletteColor ?? "default"].selectedOpacity : "transparent",
50
+ outline: "none",
51
+ "& hover": {
52
+ backgroundColor: theme.vars.palette[ownerState.paletteColor ?? "default"].selected
53
+ },
54
+ "& active": {
55
+ backgroundColor: theme.vars.palette[ownerState.paletteColor ?? "default"].selectedOpacity
56
+ },
57
+ '& [class*="M4LIcon-icon"]': {
58
+ backgroundColor: ownerState.selected ? theme.vars.palette[ownerState.paletteColor ?? "default"].selected : void 0
59
+ }
24
60
  })
25
61
  };
26
62
  export {
@@ -3,12 +3,10 @@ const ICONS = {
3
3
  MENU: "menu.svg"
4
4
  };
5
5
  const MENU_ACTIONS_KEY_COMPONENT = "M4LMenuActions";
6
- const MENU_ACTIONS_EMPTY = "menu_action_empty";
7
6
  const MENU_ACTIONS_ = "menu_action_";
8
7
  export {
9
8
  ICON_PATH as I,
10
9
  MENU_ACTIONS_ as M,
11
10
  ICONS as a,
12
- MENU_ACTIONS_EMPTY as b,
13
- MENU_ACTIONS_KEY_COMPONENT as c
11
+ MENU_ACTIONS_KEY_COMPONENT as b
14
12
  };
@@ -6,5 +6,7 @@
6
6
  */
7
7
  export declare enum MenuActionsSlots {
8
8
  root = "root",
9
- menuList = "menuList"
9
+ menuList = "menuList",
10
+ menuLoader = "menuLoader",
11
+ iconButton = "iconButton"
10
12
  }
@@ -1,6 +1,8 @@
1
1
  var MenuActionsSlots = /* @__PURE__ */ ((MenuActionsSlots2) => {
2
2
  MenuActionsSlots2["root"] = "root";
3
3
  MenuActionsSlots2["menuList"] = "menuList";
4
+ MenuActionsSlots2["menuLoader"] = "menuLoader";
5
+ MenuActionsSlots2["iconButton"] = "iconButton";
4
6
  return MenuActionsSlots2;
5
7
  })(MenuActionsSlots || {});
6
8
  export {
@@ -18,3 +18,9 @@ export declare const MenuListStyled: import('@emotion/styled').StyledComponent<P
18
18
  }, "children" | "dense" | "variant" | "sx" | "autoFocus" | keyof import('@mui/material/OverridableComponent').CommonProps | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "disablePadding" | "subheader">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "dense" | "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" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "disablePadding" | "subheader"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown> & {
19
19
  ownerState: Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown>;
20
20
  }, {}, {}>;
21
+ export declare const MenuLoaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown> & {
22
+ ownerState: Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown>;
23
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
24
+ export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "selected" | "action" | "hidden" | "content" | "style" | "icon" | "tooltip" | "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" | "placement" | "form" | "src" | "rotationAngle" | "tooltipContent" | "instaceDataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "componentPaletteColor" | "badgeContent" | "dictionaryTooltipId" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown> & {
25
+ ownerState: Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown>;
26
+ }, {}, {}>;
@@ -1,8 +1,9 @@
1
1
  import { MenuList } from "@mui/material";
2
2
  import { styled } from "@mui/material/styles";
3
- import { c as MENU_ACTIONS_KEY_COMPONENT } from "../constants.js";
3
+ import { b as MENU_ACTIONS_KEY_COMPONENT } from "../constants.js";
4
4
  import { m as menuActionsStyles } from "../MenuActions.styles.js";
5
5
  import { M as MenuActionsSlots } from "./MenuActionsEnum.js";
6
+ import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
6
7
  const RootStyled = styled("div", {
7
8
  name: MENU_ACTIONS_KEY_COMPONENT,
8
9
  slot: MenuActionsSlots.root
@@ -11,7 +12,17 @@ const MenuListStyled = styled(MenuList, {
11
12
  name: MENU_ACTIONS_KEY_COMPONENT,
12
13
  slot: MenuActionsSlots.menuList
13
14
  })(menuActionsStyles?.menuList);
15
+ const MenuLoaderStyled = styled("div", {
16
+ name: MENU_ACTIONS_KEY_COMPONENT,
17
+ slot: MenuActionsSlots.menuLoader
18
+ })(menuActionsStyles?.menuLoader);
19
+ const IconButtonStyled = styled(IconButton, {
20
+ name: MENU_ACTIONS_KEY_COMPONENT,
21
+ slot: MenuActionsSlots.iconButton
22
+ })(menuActionsStyles?.iconButton);
14
23
  export {
24
+ IconButtonStyled as I,
15
25
  MenuListStyled as M,
16
- RootStyled as R
26
+ RootStyled as R,
27
+ MenuLoaderStyled as a
17
28
  };