@m4l/components 8.2.0-beta.devDaniel.MenuActionsBug → 8.2.0-beta.devDaniel.RHFInputNumberSpinner

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 (52) hide show
  1. package/@types/export.d.ts +3 -0
  2. package/@types/types.d.ts +8 -0
  3. package/components/AccountPopover/classes/index.d.ts +1 -1
  4. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.js +3 -3
  5. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.js +10 -10
  6. package/components/SideBar/classes/index.d.ts +1 -1
  7. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.js +2 -2
  8. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  9. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.js +3 -3
  10. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.js +3 -3
  11. package/components/extended/react-resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
  12. package/components/extended/react-resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
  13. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.js +1 -1
  14. package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.d.ts +5 -0
  15. package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.styles.d.ts +8 -0
  16. package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +4 -0
  17. package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerEnum.d.ts +10 -0
  18. package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +28 -0
  19. package/components/hook-form/RHFInputNumberSpinner/stories/RHFInputNumberSpinner.defaultProps.stories.d.ts +26 -0
  20. package/components/hook-form/RHFInputNumberSpinner/stories/RHFInputNumberSpinner.error.stories.d.ts +13 -0
  21. package/components/hook-form/RHFInputNumberSpinner/stories/RHFInputNumberSpinner.variants.stories.d.ts +23 -0
  22. package/components/hook-form/RHFInputNumberSpinner/types.d.ts +71 -0
  23. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  24. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +2 -2
  25. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +5 -5
  26. package/components/modal/classes/index.d.ts +2 -2
  27. package/components/mui_extended/MenuActions/MenuActions.d.ts +1 -8
  28. package/components/mui_extended/MenuActions/MenuActions.js +77 -55
  29. package/components/mui_extended/MenuActions/MenuActions.stories.d.ts +25 -0
  30. package/components/mui_extended/MenuActions/MenuActions.styles.d.ts +0 -4
  31. package/components/mui_extended/MenuActions/MenuActions.styles.js +38 -11
  32. package/components/mui_extended/MenuActions/constants.d.ts +0 -17
  33. package/components/mui_extended/MenuActions/constants.js +2 -6
  34. package/components/mui_extended/MenuActions/dictionary.d.ts +0 -15
  35. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +5 -8
  36. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.js +4 -1
  37. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +16 -29
  38. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.js +33 -16
  39. package/components/mui_extended/MenuActions/types.d.ts +18 -80
  40. package/components/mui_extended/Pager/classes/index.d.ts +1 -1
  41. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  42. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/components/mui_extended/MenuActions/stories/MenuActions.default.stories.d.ts +0 -25
  45. package/components/mui_extended/MenuActions/stories/MenuActions.othersProps.stories.d.ts +0 -13
  46. package/components/mui_extended/MenuItem/MenuItem.js +0 -66
  47. package/components/mui_extended/MenuItem/MenuItem.styles.js +0 -111
  48. package/components/mui_extended/MenuItem/constants.js +0 -4
  49. package/components/mui_extended/MenuItem/index.js +0 -1
  50. package/components/mui_extended/MenuItem/slots/MenuItemEnum.js +0 -9
  51. package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +0 -24
  52. package/components/mui_extended/MenuItem/types.js +0 -1
@@ -220,6 +220,9 @@ declare module '@mui/material/styles' {
220
220
  M4LTabContent?: {
221
221
  styleOverrides?: ComponentsOverrides<Theme>['M4LTabContent'];
222
222
  };
223
+ M4LMenuActions?: {
224
+ styleOverrides?: ComponentsOverrides<Theme>['M4LMenuActions'];
225
+ };
223
226
  M4LPrintingSystem?: {
224
227
  styleOverrides?: ComponentsOverrides<Theme>['M4LPrintingSystem'];
225
228
  };
package/@types/types.d.ts CHANGED
@@ -52,6 +52,7 @@ import type {
52
52
  } from '../components/mui_extended/MenuItem/types';
53
53
 
54
54
  import { SelectOwnerState, SelectSlotsType } from '../components/mui_extended/Select/types';
55
+ import { RHFInputNumberSpinnerOwnerState, RHFInputNumberSpinnerSlotsType } from '../components/hook-form/RHFInputNumberSpinner/types';
55
56
 
56
57
  declare module '@mui/material/styles' {
57
58
  // Define the slots in the theme
@@ -76,6 +77,7 @@ declare module '@mui/material/styles' {
76
77
  M4LSkeleton: SkeletonSlotsType;
77
78
  M4LSelect: SelectSlotsType;
78
79
  M4LTypography: TypographySlotsType;
80
+ M4LRHFInputNumberSpinner: RHFInputNumberSpinnerSlotsType;
79
81
  }
80
82
 
81
83
  interface ComponentsPropsList {
@@ -100,6 +102,7 @@ declare module '@mui/material/styles' {
100
102
  M4LSkeleton: Partial<SkeletonOwnerState>;
101
103
  M4LSelect: Partial<SelectOwnerState>;
102
104
  M4LTypography: Partial<TypographyOwnerState>;
105
+ M4LRHFInputNumberSpinner:Partial<RHFInputNumberSpinnerOwnerState>
103
106
  }
104
107
 
105
108
  interface Components {
@@ -202,6 +205,11 @@ declare module '@mui/material/styles' {
202
205
  styleOverrides?: ComponentsOverrides<Theme>['M4LTypography'];
203
206
  variants?: ComponentsVariants['M4LTypography'];
204
207
  };
208
+ M4LRHFInputNumberSpinner?: {
209
+ defaultProps?: ComponentsPropsList['M4LRHFInputNumberSpinner'];
210
+ styleOverrides?: ComponentsOverrides<Theme>['M4LRHFInputNumberSpinner'];
211
+ variants?: ComponentsVariants['M4LRHFInputNumberSpinner'];
212
+ };
205
213
  }
206
214
  }
207
215
  }
@@ -12,9 +12,9 @@ export declare function getAccountPopoverClassesUtilityClass(slot: string): stri
12
12
  */
13
13
  export declare const useAccountPopoverUtilityClasses: () => {
14
14
  root: string;
15
- popover: string;
16
15
  menuItem: string;
17
16
  containerProgress: string;
17
+ popover: string;
18
18
  containerUserName: string;
19
19
  containerUserEmail: string;
20
20
  containerUserInfo: string;
@@ -17,19 +17,19 @@ function Density() {
17
17
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
18
18
  onClick: () => setRowHeightVariant("compact"),
19
19
  disabled: currentRowHeightVariant === "compact",
20
- label: "data_grid.density_compact"
20
+ dictionaryField: "data_grid.density_compact"
21
21
  },
22
22
  {
23
23
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
24
24
  onClick: () => setRowHeightVariant("standard"),
25
25
  disabled: currentRowHeightVariant === "standard",
26
- label: "data_grid.density_standard"
26
+ dictionaryField: "data_grid.density_standard"
27
27
  },
28
28
  {
29
29
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
30
30
  onClick: () => setRowHeightVariant("confortable"),
31
31
  disabled: currentRowHeightVariant === "confortable",
32
- label: "data_grid.density_confortable"
32
+ dictionaryField: "data_grid.density_confortable"
33
33
  }
34
34
  ];
35
35
  }, [
@@ -14,32 +14,32 @@ const MobileMenuActions = () => {
14
14
  };
15
15
  const menuActions = [
16
16
  {
17
- icon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
17
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
18
18
  onClick: () => setRowHeightVariant("compact"),
19
19
  disabled: currentRowHeightVariant === "compact",
20
- label: "data_grid.density_compact"
20
+ dictionaryId: "data_grid.density_compact"
21
21
  },
22
22
  {
23
- icon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
23
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
24
24
  onClick: () => setRowHeightVariant("standard"),
25
25
  disabled: currentRowHeightVariant === "standard",
26
- label: "data_grid.density_standard"
26
+ dictionaryId: "data_grid.density_standard"
27
27
  },
28
28
  {
29
- icon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
29
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
30
30
  onClick: () => setRowHeightVariant("confortable"),
31
31
  disabled: currentRowHeightVariant === "confortable",
32
- label: "data_grid.density_confortable"
32
+ dictionaryId: "data_grid.density_confortable"
33
33
  },
34
34
  {
35
- icon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/filter.svg`,
35
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/filter.svg`,
36
36
  onClick: () => toggleIcon(),
37
- label: activeFilters ? "data_grid.tooltip_filter_hide" : "data_grid.tooltip_filter_show"
37
+ dictionaryId: activeFilters ? "data_grid.tooltip_filter_hide" : "data_grid.tooltip_filter_show"
38
38
  },
39
39
  {
40
- icon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`,
40
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`,
41
41
  onClick: () => modalSettings(),
42
- label: "data_grid.tooltip_settings"
42
+ dictionaryId: "data_grid.tooltip_settings"
43
43
  }
44
44
  ];
45
45
  return /* @__PURE__ */ jsx(
@@ -8,7 +8,6 @@ export declare const getSideBarClassesByState: (ownerState: SideBarState) => {
8
8
  skeleton: string;
9
9
  root: string;
10
10
  footer: string;
11
- popover: string;
12
11
  contentDesktop: string;
13
12
  contentMobile: string;
14
13
  collapseButton: string;
@@ -36,6 +35,7 @@ export declare const getSideBarClassesByState: (ownerState: SideBarState) => {
36
35
  containerContentGroupsFooter: string;
37
36
  contentGroupsLine: string;
38
37
  drawer: string;
38
+ popover: string;
39
39
  wrapperLogoFooter: string;
40
40
  subItemActive: string;
41
41
  itemMainActive: string;
@@ -14,14 +14,14 @@ const ChipActionsMobile = (props) => {
14
14
  const { getLabel } = useModuleDictionary();
15
15
  const menuActions = [
16
16
  {
17
- icon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.EDIT_AREA}`,
17
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.EDIT_AREA}`,
18
18
  onClick: handlerOpenPopoverEditArea,
19
19
  label: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area))
20
20
  }
21
21
  ];
22
22
  if (listAreas.length > 1) {
23
23
  menuActions.push({
24
- icon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
24
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
25
25
  /**
26
26
  * OnClick
27
27
  */
@@ -8,5 +8,5 @@ export declare const areasViewerClasses: AreasViewerClasses;
8
8
  * @updatedAt 2024-10-22 19:27:23 - automatic
9
9
  * @updatedUser Bruce Escobar - automatic
10
10
  */
11
- export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "windowContent" | "areaRoot" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowRootContainer" | "windowLinearProgressRoot" | "windowLinearProgressBar" | "windowPopupRoot" | "windowModalRoot" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "panelWindowsSeparator" | "loaderContainer" | "containerComponent" | "selectedWindow" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider", string>;
11
+ export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "areaRoot" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowContent" | "windowRootContainer" | "windowLinearProgressRoot" | "windowLinearProgressBar" | "windowPopupRoot" | "windowModalRoot" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "panelWindowsSeparator" | "loaderContainer" | "containerComponent" | "selectedWindow" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider", string>;
12
12
  export type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
@@ -26,7 +26,7 @@ function getMenuActions(options) {
26
26
  }
27
27
  if (windowOptions.allowPersistCookies) {
28
28
  const saveCookiesAction = {
29
- icon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.SAVE_COOKIES}`,
29
+ urlIcon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.SAVE_COOKIES}`,
30
30
  onClick: () => saveModuleCookies(windowId),
31
31
  disabled: false,
32
32
  visibility: "normal",
@@ -36,7 +36,7 @@ function getMenuActions(options) {
36
36
  };
37
37
  menuActions.push(saveCookiesAction);
38
38
  const resetCookiesAction = {
39
- icon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.RESET_COOKIES}`,
39
+ urlIcon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.RESET_COOKIES}`,
40
40
  onClick: () => resetModuleCookies(windowId),
41
41
  disabled: false,
42
42
  visibility: "normal",
@@ -48,7 +48,7 @@ function getMenuActions(options) {
48
48
  }
49
49
  if (version) {
50
50
  const versionAction = {
51
- icon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.VERSION}`,
51
+ urlIcon: `${urlPrefix}/frontend/components/areas/assets/icons/${ICONS.VERSION}`,
52
52
  onClick: () => {
53
53
  },
54
54
  disabled: true,
@@ -20,15 +20,15 @@ function MainActions(props) {
20
20
  return getMainActions(isDesktop, moduleActions);
21
21
  }, [moduleActions, isDesktop]);
22
22
  return /* @__PURE__ */ jsx("div", { className: areasViewerClasses.windowHeaderMainActions, children: mainActions.map((mainAction) => {
23
- const tooltip = mainAction.label !== void 0 ? mainAction.label : getLabel(mainAction.label || "");
23
+ const tooltip = mainAction.label !== void 0 ? mainAction.label : getLabel(mainAction.dictionaryId || "");
24
24
  const onClick = (e) => {
25
- mainAction.onClick && mainAction.onClick(e);
25
+ mainAction.onClick(e);
26
26
  e.stopPropagation();
27
27
  };
28
28
  return /* @__PURE__ */ jsx(
29
29
  IconButton,
30
30
  {
31
- src: mainAction.icon || "",
31
+ src: mainAction.urlIcon || "",
32
32
  className: clsx(mainAction.className, "m4l_draggableCancel"),
33
33
  onClick,
34
34
  "aria-label": mainAction.label,
@@ -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" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "resizeHandles" | "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" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "resizeHandles" | "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
  }>;
@@ -14,9 +14,9 @@ import { w as withRenderOption } from "../RenderOption/index.js";
14
14
  import { S as SkeletonRHFAutocomplete } from "../Skeleton/index.js";
15
15
  import { L as Label } from "../../../../Label/Label.js";
16
16
  import { T as Typography } from "../../../../mui_extended/Typography/Typography.js";
17
+ import { I as Image } from "../../../../Image/Image.js";
17
18
  import { I as IconButton } from "../../../../mui_extended/IconButton/IconButton.js";
18
19
  import { H as HelperError } from "../../../../HelperError/HelperError.js";
19
- import { I as Image } from "../../../../Image/Image.js";
20
20
  function ComponentTypeImage(props) {
21
21
  const {
22
22
  name: nameRHF,
@@ -0,0 +1,5 @@
1
+ import { RHFInputNumberSpinnerProps } from './types';
2
+ /**
3
+ * Componente RHFInputNumberSpinner
4
+ */
5
+ export declare const RHFInputNumberSpinner: (props: RHFInputNumberSpinnerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { RHFInputNumberSpinnerStyles } from './types';
2
+ /**
3
+ * Estilos para el componente `RHFInputNumberSpinner`.
4
+ *
5
+ * Este objeto contiene los estilos para los diferentes slots del componente,
6
+ * permitiendo personalizar su apariencia a través de las propiedades definidas.
7
+ */
8
+ export declare const rhfInputNumberSpinnerStyles: RHFInputNumberSpinnerStyles;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Nombre de clase que se usa para dar identidad a los slots del componente.
3
+ */
4
+ export declare const RHFINPUTNUMBER_SPINNER_KEY_COMPONENT = "M4LRHFInputNumberSpinner";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Define los nombres de los slots de estilo para el componente `RHFInputNumberSpinner`. Estos slots se utilizan para
3
+ * aplicar estilos específicos y crear clases CSS únicas para los distintos elementos del componente.
4
+ */
5
+ export declare enum RHFInputNumberSpinnerSlots {
6
+ root = "root",
7
+ label = "label",
8
+ inputNumberSpinner = "inputNumberSpinner",
9
+ helperError = "helperError"
10
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Este componente utiliza el slot `root` para aplicar estilos personalizados
3
+ * al contenedor principal del `RHFInputNumberSpinner`.
4
+ */
5
+ export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
6
+ ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
7
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
8
+ /**
9
+ * Este componente utiliza el slot `label` para aplicar estilos personalizados
10
+ * a la etiqueta que acompaña al campo de entrada.
11
+ */
12
+ export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
13
+ ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
14
+ }, {}, {}>;
15
+ /**
16
+ * Este componente utiliza el slot `inputNumberSpinner` para aplicar estilos
17
+ * personalizados al campo de entrada numérica del spinner.
18
+ */
19
+ export declare const InputNumberSpinnerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../InputNumberSpinner/types').InputNumberSpinnerProps, keyof import('../../../InputNumberSpinner/types').InputNumberSpinnerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
20
+ ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
21
+ }, {}, {}>;
22
+ /**
23
+ * Este componente utiliza el slot `inputNumberSpinner` para aplicar estilos
24
+ * personalizados al campo de entrada numérica del spinner.
25
+ */
26
+ export declare const HelperErrorStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../HelperError').HelperErrorProps, keyof import('../../../HelperError').HelperErrorProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
27
+ ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
28
+ }, {}, {}>;
@@ -0,0 +1,26 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { RHFInputNumberSpinner } from '../RHFInputNumberSpinner';
3
+ declare const meta: Meta<typeof RHFInputNumberSpinner>;
4
+ export default meta;
5
+ /**
6
+ * Tipo de historia para `RHFInputNumberSpinner`.
7
+ */
8
+ type Story = StoryObj<typeof RHFInputNumberSpinner>;
9
+ /**
10
+ * Historia base para el componente `RHFInputNumberSpinner`.
11
+ * Esta historia muestra la funcionalidad básica del componente.
12
+ */
13
+ export declare const Base: Story;
14
+ export declare const Default: Story;
15
+ export declare const DefaultDisabled: Story;
16
+ /**
17
+ * Historia base para el componente `RHFInputNumberSpinner`.
18
+ * Esta historia muestra la funcionalidad básica del componente.
19
+ */
20
+ export declare const SinLabel: Story;
21
+ export declare const SinLabelDisabled: Story;
22
+ /**
23
+ * Historia en Skeleton para el componente `RHFInputNumberSpinner`.
24
+ * Esta historia muestra la funcionalidad del componente en modo Skeleton.
25
+ */
26
+ export declare const Skeleton: Story;
@@ -0,0 +1,13 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { RHFInputNumberSpinner } from '../RHFInputNumberSpinner';
3
+ declare const meta: Meta<typeof RHFInputNumberSpinner>;
4
+ export default meta;
5
+ /**
6
+ * Tipo de historia para `RHFInputNumberSpinner`.
7
+ */
8
+ type Story = StoryObj<typeof RHFInputNumberSpinner>;
9
+ /**
10
+ * Historia base para el componente `RHFInputNumberSpinner`.
11
+ * Esta historia muestra la funcionalidad básica del componente.
12
+ */
13
+ export declare const Base: Story;
@@ -0,0 +1,23 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { RHFInputNumberSpinner } from '../RHFInputNumberSpinner';
3
+ declare const meta: Meta<typeof RHFInputNumberSpinner>;
4
+ export default meta;
5
+ /**
6
+ * Tipo de historia para `RHFInputNumberSpinner`.
7
+ */
8
+ type Story = StoryObj<typeof RHFInputNumberSpinner>;
9
+ /**
10
+ * Historia base para el componente `RHFInputNumberSpinner`.
11
+ * Esta historia muestra la funcionalidad básica del componente.
12
+ */
13
+ export declare const Base: Story;
14
+ /**
15
+ * Historia base para el componente `RHFInputNumberSpinner`.
16
+ * Esta historia muestra la funcionalidad básica del componente.
17
+ */
18
+ export declare const OutlinedWithLabel: Story;
19
+ /**
20
+ * Historia base para el componente `RHFInputNumberSpinner`.
21
+ * Esta historia muestra la funcionalidad básica del componente.
22
+ */
23
+ export declare const TextWithLabel: Story;
@@ -0,0 +1,71 @@
1
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
2
+ import { Theme } from '@mui/material';
3
+ import { ComponentPalletColor, Sizes } from '@m4l/styles';
4
+ import { LabelProps } from '../../Label';
5
+ import { RHFInputNumberSpinnerSlots } from './slots/RHFInputNumberSpinnerEnum';
6
+ import { RHFINPUTNUMBER_SPINNER_KEY_COMPONENT } from './constants';
7
+ /**
8
+ * Props para el componente RHPInputNumberSpinner
9
+ */
10
+ export interface RHFInputNumberSpinnerProps extends Omit<LabelProps, 'label'> {
11
+ name: string;
12
+ /**
13
+ * Cantidad de números por los que se incrementará o disminuirá el valor.
14
+ */
15
+ steps: number;
16
+ /**
17
+ * Tipo de dato del valor, puede ser 'pt' (puntos), '%' (porcentaje) o vacio.
18
+ */
19
+ valueType?: 'pt' | '%';
20
+ /**
21
+ * Indica si el componente está deshabilitado.
22
+ */
23
+ disabled?: boolean;
24
+ /**
25
+ * Tamaño del componente, puede ser uno de los valores definidos en 'small' , 'medium' , 'large'.
26
+ */
27
+ sizes?: Extract<Sizes, 'small' | 'medium'>;
28
+ /**
29
+ * Valor máximo permitido para el componente.
30
+ */
31
+ maxValue: number;
32
+ /**
33
+ * Valor mínimo permitido para el componente.
34
+ */
35
+ minValue: number;
36
+ color?: Extract<ComponentPalletColor, 'primary'>;
37
+ /**
38
+ * Prop Para el testeo del componente
39
+ */
40
+ instaceDataTestId?: string;
41
+ /**
42
+ * Variante de estilos
43
+ */
44
+ variants?: 'Outlined' | 'Text';
45
+ /**
46
+ * label para informar sobre el campo
47
+ */
48
+ label?: string;
49
+ }
50
+ /**
51
+ * Define las claves del objeto `RHFInputNumberSpinnerSlots`, que se utilizan para
52
+ * hacer referencia a los diferentes slots disponibles para estilizar el componente
53
+ * `RHFInputNumberSpinner`.
54
+ */
55
+ export type RHFInputNumberSpinnerSlotsType = keyof typeof RHFInputNumberSpinnerSlots;
56
+ /**
57
+ * Representa las propiedades de estado específicas del componente `RHFInputNumberSpinner`.
58
+ */
59
+ export interface RHFInputNumberSpinnerOwnerState {
60
+ /**
61
+ * Valor para definir el tamaño del icono.
62
+ */
63
+ iconSize: Sizes;
64
+ }
65
+ /**
66
+ * Define los estilos del componente `RHFInputNumberSpinner`. Permite la personalización parcial
67
+ * de las reglas de estilo mediante `OverridesStyleRules`.
68
+ *
69
+ * Puede ser parcial o estar indefinido.
70
+ */
71
+ export type RHFInputNumberSpinnerStyles = Partial<OverridesStyleRules<RHFInputNumberSpinnerSlots, typeof RHFINPUTNUMBER_SPINNER_KEY_COMPONENT, Theme>> | undefined;
@@ -6,7 +6,7 @@ export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick
6
6
  }, {}, {}>;
7
7
  export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<{
8
8
  variant?: import('@mui/material').TextFieldVariants | undefined;
9
- } & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').OutlinedTextFieldProps | import('@mui/material').StandardTextFieldProps, "variant">, "children" | "value" | "ref" | "title" | "component" | "size" | "name" | "error" | "select" | "rows" | "id" | "type" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "margin" | "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" | "label" | "key" | "autoComplete" | "placeholder" | "required" | "fullWidth" | "maxRows" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
9
+ } & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').OutlinedTextFieldProps | import('@mui/material').StandardTextFieldProps, "variant">, "children" | "value" | "ref" | "title" | "component" | "size" | "name" | "error" | "select" | "rows" | "id" | "type" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "margin" | "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" | "label" | "key" | "autoComplete" | "placeholder" | "required" | "fullWidth" | "inputProps" | "inputRef" | "SelectProps" | "multiline" | "maxRows" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
10
10
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
11
11
  }, {}, {}>;
12
12
  export declare const SkeletonTextFieldRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
@@ -23,8 +23,8 @@ function useRowActionsGetter() {
23
23
  (row) => {
24
24
  const conditionalItems = [];
25
25
  conditionalItems.push({
26
- icon: urlIconDelete,
27
- label: MAP_DICCTIONARY.ROW_ACTION_LAYER_DELETE,
26
+ urlIcon: urlIconDelete,
27
+ dictionaryId: MAP_DICCTIONARY.ROW_ACTION_LAYER_DELETE,
28
28
  onClick: () => {
29
29
  onDelete(row);
30
30
  },
@@ -79,8 +79,8 @@ function useRowActionsGetter(props) {
79
79
  (row) => {
80
80
  const conditionalItems = [];
81
81
  conditionalItems.push({
82
- icon: urlIconEdit,
83
- label: MAP_GPSTOOLS_DICCTIONARY.ROW_ACTION_GEO_EDIT,
82
+ urlIcon: urlIconEdit,
83
+ dictionaryId: MAP_GPSTOOLS_DICCTIONARY.ROW_ACTION_GEO_EDIT,
84
84
  onClick: () => {
85
85
  goEdit(row.id, row.name);
86
86
  },
@@ -89,12 +89,12 @@ function useRowActionsGetter(props) {
89
89
  disabled: !row.authUserOptions.edit
90
90
  });
91
91
  conditionalItems.push({
92
- icon: urlIconDelete,
93
- label: MAP_GPSTOOLS_DICCTIONARY.ROW_ACTION_GEO_DELETE,
92
+ urlIcon: urlIconDelete,
93
+ dictionaryId: MAP_GPSTOOLS_DICCTIONARY.ROW_ACTION_GEO_DELETE,
94
94
  onClick: () => {
95
95
  onDelete(row);
96
96
  },
97
- error: true,
97
+ variant: "delete",
98
98
  // Solo se habilita si intenta editarse a él mismo, o si tiene permisos pero está en un nivel superior al usuario a editar
99
99
  // disabled: !(itsMe || (hasPrivilege(PRIVILEGE_EDIT) && (loggedUserType > row.user_type.id)))
100
100
  disabled: !row.authUserOptions.edit
@@ -7,6 +7,8 @@ export declare function getModalUtilityClass(slot: string): string;
7
7
  */
8
8
  export declare const modalUtilityClasses: (ownerState: OwnerStateWindowConfim) => {
9
9
  root: string;
10
+ resizeHandle: string;
11
+ windowContent: string;
10
12
  windowBaseRoot: string;
11
13
  containerWindow: string;
12
14
  headerContainer: string;
@@ -19,6 +21,4 @@ export declare const modalUtilityClasses: (ownerState: OwnerStateWindowConfim) =
19
21
  messageContainer: string;
20
22
  illustration: string;
21
23
  windowConfirm: string;
22
- resizeHandle: string;
23
- windowContent: string;
24
24
  };
@@ -1,15 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  import { MenuActionsProps } from './types';
3
3
  /**
4
- * Componente `MenuActions`:
5
- * Un componente interactivo que despliega un menú con diferentes acciones,
6
- * accesible a través de un botón con ícono. Ofrece soporte para mostrar acciones personalizadas
7
- * y estilos configurables.
4
+ * TODO: Documentar
8
5
  */
9
6
  export declare function MenuActions(props: MenuActionsProps): import("react/jsx-runtime").JSX.Element;
10
- /**
11
- * Componente `MemonizedMenuActions`:
12
- * Una versión memorizada del componente `MenuActions` para mejorar el rendimiento.
13
- */
14
7
  export declare const MemonizedMenuActions: React.MemoExoticComponent<typeof MenuActions>;
15
8
  export default MenuActions;