@m4l/components 9.2.50 → 9.2.51

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 (76) hide show
  1. package/@types/types.d.ts +8 -0
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
  3. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  4. package/components/Chip/slots/ChipSlots.d.ts +1 -1
  5. package/components/Color/slots/ColorSlots.d.ts +1 -1
  6. package/components/DataGrid/formatters/ColumnIconFormatter/constants.d.ts +4 -0
  7. package/components/DataGrid/formatters/ColumnIconFormatter/constants.js +4 -0
  8. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.d.ts +1 -1
  9. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +46 -5
  10. package/components/DataGrid/formatters/ColumnIconFormatter/tests/ColumnIconFormatter.test.d.ts +1 -0
  11. package/components/DataGrid/formatters/ColumnIconFormatter/types.d.ts +5 -1
  12. package/components/DataGrid/formatters/ColumnIconFormatter/useColumnIcon.d.ts +8 -0
  13. package/components/DataGrid/formatters/ColumnIconFormatter/useColumnIcon.js +19 -0
  14. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  15. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  16. package/components/Icon/Icon.js +38 -35
  17. package/components/Icon/types.d.ts +8 -3
  18. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  19. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  20. package/components/ObjectLogs/ObjectLogs.d.ts +4 -3
  21. package/components/ObjectLogs/ObjectLogs.js +9 -152
  22. package/components/ObjectLogs/ObjectLogs.styles.d.ts +2 -0
  23. package/components/ObjectLogs/ObjectLogs.styles.js +74 -0
  24. package/components/ObjectLogs/ObjectsLogs.test.d.ts +0 -0
  25. package/components/ObjectLogs/constants.d.ts +3 -0
  26. package/components/ObjectLogs/constants.js +8 -0
  27. package/components/ObjectLogs/dictionary.d.ts +14 -3
  28. package/components/ObjectLogs/dictionary.js +11 -12
  29. package/components/ObjectLogs/hooks/useDetailFormatter.d.ts +5 -0
  30. package/components/ObjectLogs/hooks/useDetailFormatter.js +53 -0
  31. package/components/ObjectLogs/hooks/useObjectLogsColumns.d.ts +6 -0
  32. package/components/ObjectLogs/hooks/useObjectLogsColumns.js +65 -0
  33. package/components/ObjectLogs/index.d.ts +2 -0
  34. package/components/ObjectLogs/index.js +1 -0
  35. package/components/ObjectLogs/slots/ObjectLogsEnum.d.ts +12 -0
  36. package/components/ObjectLogs/slots/ObjectLogsEnum.js +16 -0
  37. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +30 -0
  38. package/components/ObjectLogs/slots/ObjectLogsSlots.js +60 -0
  39. package/components/ObjectLogs/slots/index.d.ts +2 -0
  40. package/components/ObjectLogs/slots/index.js +1 -0
  41. package/components/ObjectLogs/subcomponents/DetailDialog/DetailDialog.test.d.ts +0 -0
  42. package/components/ObjectLogs/subcomponents/DetailDialog/index.d.ts +6 -0
  43. package/components/ObjectLogs/{components → subcomponents}/DetailDialog/index.js +10 -6
  44. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.d.ts +11 -0
  45. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +128 -0
  46. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/index.d.ts +1 -0
  47. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.d.ts +10 -0
  48. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +141 -0
  49. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/index.d.ts +1 -0
  50. package/components/ObjectLogs/types.d.ts +33 -8
  51. package/components/PaperForm/styles.js +1 -0
  52. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  53. package/components/ToastContainer/types.d.ts +4 -4
  54. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  55. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  56. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  57. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  58. package/components/index.d.ts +1 -2
  59. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  60. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  61. package/components/mui_extended/IconButton/types.d.ts +1 -1
  62. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  63. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  64. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  65. package/index.js +1 -2
  66. package/package.json +2 -1
  67. package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +7 -0
  68. package/storybook/components/ObjectLogs/mockData/index.d.ts +4 -0
  69. package/components/ObjectLogs/components/DetailDialog/index.d.ts +0 -5
  70. package/components/ObjectLogs/components/DetailDialog/styles.d.ts +0 -2
  71. package/components/ObjectLogs/components/DetailDialog/types.d.ts +0 -3
  72. package/components/ObjectLogs/components/DetailFormatter/index.d.ts +0 -5
  73. package/components/ObjectLogs/components/DetailFormatter/index.js +0 -31
  74. package/components/ObjectLogs/components/DetailFormatter/types.d.ts +0 -3
  75. package/components/ObjectLogs/styles.d.ts +0 -3
  76. package/components/ObjectLogs/styles.js +0 -35
@@ -5,25 +5,27 @@ import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
5
5
  import { I as ICON_PREFIX, a as ICON_KEY_COMPONENT } from "./constants.js";
6
6
  import { g as getComponentClasses, a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
7
7
  import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
8
- import { T as TooltipStyled, R as RootStyled, I as IconStyled, a as IconSkeletonStyled } from "./slots/IconSlots.js";
9
8
  import { I as IconSlots } from "./slots/IconEnum.js";
9
+ import { T as TooltipStyled, R as RootStyled, I as IconStyled, a as IconSkeletonStyled } from "./slots/IconSlots.js";
10
10
  const Icon = (props) => {
11
11
  const {
12
12
  src,
13
13
  size = "medium",
14
14
  rotationAngle,
15
- tooltip,
15
+ tooltipContent,
16
16
  color = "text.primary",
17
17
  className,
18
18
  placement = "bottom",
19
19
  instaceDataTestId,
20
20
  disabled,
21
21
  selected,
22
- enabledSelected
22
+ enabledSelected,
23
+ onClick
23
24
  } = props;
24
25
  const { currentSize } = useComponentSize(size);
25
26
  const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
26
27
  const isSkeleton = useModuleSkeleton();
28
+ const classKey = getComponentClasses(ICON_KEY_COMPONENT, IconSlots);
27
29
  const ownerState = {
28
30
  size: adjustedSize,
29
31
  color,
@@ -34,53 +36,54 @@ const Icon = (props) => {
34
36
  enabledSelected,
35
37
  isSkeleton
36
38
  };
37
- const classKey = getComponentClasses(ICON_KEY_COMPONENT, IconSlots);
39
+ const isButton = typeof onClick === "function" && !disabled;
40
+ const commonRootProps = {
41
+ className: clsx(className, classKey.root),
42
+ ownerState: { ...ownerState },
43
+ onClick: isButton ? onClick : void 0,
44
+ tabIndex: isButton ? 0 : -1,
45
+ "aria-disabled": disabled,
46
+ ...getPropDataTestId(ICON_PREFIX, IconSlots.root, instaceDataTestId)
47
+ };
38
48
  return /* @__PURE__ */ jsxs(Fragment, { children: [
39
- tooltip ? /* @__PURE__ */ jsx(
49
+ tooltipContent ? /* @__PURE__ */ jsx(
40
50
  TooltipStyled,
41
51
  {
42
52
  className: className || classKey.tooltip,
43
- title: tooltip,
53
+ title: tooltipContent,
44
54
  ownerState: { ...ownerState },
45
55
  placement,
46
56
  size: adjustedSize,
47
57
  ...getPropDataTestId(ICON_PREFIX, IconSlots.tooltip, instaceDataTestId),
48
- children: /* @__PURE__ */ jsx(
49
- RootStyled,
50
- {
51
- className: clsx(className, classKey.root),
52
- ownerState: { ...ownerState },
53
- ...getPropDataTestId(ICON_PREFIX, IconSlots.root, instaceDataTestId),
54
- children: /* @__PURE__ */ jsx(
55
- IconStyled,
56
- {
57
- className: classKey.icon,
58
- role: "icon",
59
- ownerState: { ...ownerState },
60
- ...getPropDataTestId(ICON_PREFIX, IconSlots.icon, instaceDataTestId)
61
- }
62
- )
63
- }
64
- )
65
- }
66
- ) : /* @__PURE__ */ jsx(
67
- RootStyled,
68
- {
69
- className: clsx(className, classKey.root),
70
- ownerState: { ...ownerState },
71
- ...getPropDataTestId(ICON_PREFIX, IconSlots.root, instaceDataTestId),
72
- children: /* @__PURE__ */ jsx(
58
+ children: /* @__PURE__ */ jsx(RootStyled, { ...commonRootProps, children: /* @__PURE__ */ jsx(
73
59
  IconStyled,
74
60
  {
75
- className: clsx(classKey.icon, getComponentSlotRoot("M4LIconClass")),
61
+ className: classKey.icon,
76
62
  role: "icon",
77
63
  ownerState: { ...ownerState },
78
64
  ...getPropDataTestId(ICON_PREFIX, IconSlots.icon, instaceDataTestId)
79
65
  }
80
- )
66
+ ) })
67
+ }
68
+ ) : /* @__PURE__ */ jsx(RootStyled, { ...commonRootProps, children: /* @__PURE__ */ jsx(
69
+ IconStyled,
70
+ {
71
+ className: clsx(classKey.icon, getComponentSlotRoot("M4LIconClass")),
72
+ role: "icon",
73
+ ownerState: { ...ownerState },
74
+ ...getPropDataTestId(ICON_PREFIX, IconSlots.icon, instaceDataTestId)
75
+ }
76
+ ) }),
77
+ isSkeleton && /* @__PURE__ */ jsx(
78
+ IconSkeletonStyled,
79
+ {
80
+ className: classKey.iconSkeleton,
81
+ role: "icon-skeleton",
82
+ size: adjustedSize,
83
+ variant: "rectangular",
84
+ ownerState: { ...ownerState }
81
85
  }
82
- ),
83
- isSkeleton && /* @__PURE__ */ jsx(IconSkeletonStyled, { className: classKey.iconSkeleton, role: "icon-skeleton", size: adjustedSize, variant: "rectangular", ownerState: { ...ownerState } })
86
+ )
84
87
  ] });
85
88
  };
86
89
  export {
@@ -5,10 +5,11 @@ import { ICON_KEY_COMPONENT } from './constants';
5
5
  import { Sizes } from '@m4l/styles';
6
6
  import { ReactNode } from 'react';
7
7
  import { TooltipProps } from '../mui_extended/Tooltip/types';
8
+ import { DeepKeyOf } from '../../utils/types';
8
9
  /**
9
10
  * Define la lista de posibles colores que se pueden aplicar al componente icono.
10
11
  */
11
- export type IconColors = 'primary.enabled' | 'text.primary' | 'text.disabled' | 'primary.contrastText' | 'info.enabled' | 'success.enabled' | 'error.enabled' | 'warning.enabled' | string;
12
+ export type IconColorDeep = DeepKeyOf<Theme['vars']['palette']> | string;
12
13
  export interface IconProps extends Pick<TooltipProps, 'placement'> {
13
14
  /**
14
15
  * URL o ruta de la imagen que se va a mostrar.
@@ -25,11 +26,11 @@ export interface IconProps extends Pick<TooltipProps, 'placement'> {
25
26
  /**
26
27
  * Nombre del tooltip que se mostrará al pasar el cursor sobre el componente.
27
28
  */
28
- tooltip?: ReactNode;
29
+ tooltipContent?: ReactNode;
29
30
  /**
30
31
  * Esquema de color a aplicar al componente de los valores definidos en 'ColorSchemeComponent'.
31
32
  */
32
- color?: IconColors;
33
+ color?: IconColorDeep;
33
34
  /**
34
35
  * Clase externa
35
36
  */
@@ -51,6 +52,10 @@ export interface IconProps extends Pick<TooltipProps, 'placement'> {
51
52
  * Valor que define si el icono debe de estar seleccionado pero depende de la propiedad selected.
52
53
  */
53
54
  enabledSelected?: boolean;
55
+ /**
56
+ * Funcion que se ejecuta al hacer clic en el icono.
57
+ */
58
+ onClick?: (event: React.MouseEvent<any, MouseEvent>) => void;
54
59
  }
55
60
  /**
56
61
  * Define las las propiedades usadas para estilizar el componente desde el css.
@@ -21,7 +21,7 @@ export declare const MenuListStyled: import('@emotion/styled').StyledComponent<P
21
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
22
  ownerState: Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown>;
23
23
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
24
- export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown> & {
24
+ export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown> & {
25
25
  ownerState: Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown>;
26
26
  }, {}, {}>;
27
27
  export declare const HeaderMenuActionsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuActionsOwnerState> & Record<string, unknown> & {
@@ -10,10 +10,10 @@ export declare const ContainerButtonsStyled: import('@emotion/styled').StyledCom
10
10
  export declare const ContainButtonsAdornmentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').NumberInputOwnerState> & Record<string, unknown> & {
11
11
  ownerState: Partial<import('../types').NumberInputOwnerState> & Record<string, unknown>;
12
12
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
- export declare const IncrementButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').NumberInputOwnerState> & Record<string, unknown> & {
13
+ export declare const IncrementButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').NumberInputOwnerState> & Record<string, unknown> & {
14
14
  ownerState: Partial<import('../types').NumberInputOwnerState> & Record<string, unknown>;
15
15
  }, {}, {}>;
16
- export declare const DecrementButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').NumberInputOwnerState> & Record<string, unknown> & {
16
+ export declare const DecrementButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').NumberInputOwnerState> & Record<string, unknown> & {
17
17
  ownerState: Partial<import('../types').NumberInputOwnerState> & Record<string, unknown>;
18
18
  }, {}, {}>;
19
19
  export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Skeleton/types').SkeletonProps, keyof import('../../mui_extended/Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').NumberInputOwnerState> & Record<string, unknown> & {
@@ -1,5 +1,6 @@
1
- import { LogsProps } from './types';
1
+ import { ObjectLogsProps } from './types';
2
2
  /**
3
- * TODO: Documentar
3
+ * Es un componente de React que muestra y gestiona registros de logs asociados a un objeto específico.
4
+ * Incluye funcionalidades como paginación, filtrado dinámico y formateo de datos.
4
5
  */
5
- export declare function ObjectLogs(props: LogsProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ObjectLogs(props: ObjectLogsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,156 +1,13 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { useState, useCallback, useMemo, useEffect } from "react";
3
- import { useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
4
- import { C as Container, A as Actions, G as GridWrapper } from "./styles.js";
5
- import { D as DataGrid } from "../DataGrid/DataGrid.js";
6
- import { D as DateFormatter } from "../formatters/DateFormatter/DateFormatter.js";
7
- import { D as DetailFormatter } from "./components/DetailFormatter/index.js";
8
- import { D as DynamicFilter } from "../DynamicFilter/DynamicFilter.js";
9
- import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { O as ObjectLogsByOthers } from "./subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js";
3
+ import { O as ObjectLogsByM4L } from "./subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js";
10
4
  function ObjectLogs(props) {
11
- const { resource_id, object_id, dataTestId = "" } = props;
12
- const { getLabel } = useModuleDictionary();
13
- const { host_static_assets, environment_assets } = useEnvironment();
14
- const [queryParams, setQueryParams] = useState({
15
- resource_id,
16
- object_id
17
- });
18
- const dateFormatterCreatedAt = useCallback(
19
- (rowProps) => /* @__PURE__ */ jsx(DateFormatter, { presentationType: "datetime", value: rowProps.row.created_at }),
20
- []
21
- );
22
- const DetailRowFormatter = useCallback(
23
- (rowProps) => /* @__PURE__ */ jsx(DetailFormatter, { log_id: rowProps.row.id }),
24
- []
25
- );
26
- const columns = useMemo(
27
- () => [
28
- {
29
- key: "created_at",
30
- name: getLabel("object_logs.created_at"),
31
- type: "date",
32
- width: 300,
33
- formatter: dateFormatterCreatedAt
34
- },
35
- { key: "email", name: getLabel("object_logs.email"), type: "string", width: 300 },
36
- {
37
- key: "resource_name",
38
- name: getLabel("object_logs.resource_name"),
39
- type: "string",
40
- width: 120
41
- },
42
- {
43
- key: "log_preview",
44
- name: getLabel("object_logs.log_preview"),
45
- type: "string",
46
- width: 250
47
- },
48
- {
49
- key: "Detail",
50
- name: getLabel("object_logs.log_detail"),
51
- type: "custom",
52
- formatter: DetailRowFormatter
53
- },
54
- { key: "ip", name: getLabel("object_logs.ip"), type: "string", width: 120 }
55
- ],
56
- // eslint-disable-next-line react-hooks/exhaustive-deps
57
- [getLabel]
58
- );
59
- const { pagerState, rows, onPageChange, onRowsPerPageChange, clearRows, Refresh } = usePaginate({
60
- endPoint: "logs",
61
- fireOnChangeParms: false,
62
- queryParams
63
- });
64
- useEffect(() => {
65
- clearRows();
66
- setQueryParams((oldParms) => ({ ...oldParms, object_id }));
67
- }, [object_id]);
68
- const onChangeFilter = (_initFilters, rawFilters) => {
69
- setQueryParams((oldParms) => ({ ...oldParms, f: rawFilters }));
70
- Refresh();
71
- };
72
- return /* @__PURE__ */ jsxs(
73
- Container,
74
- {
75
- ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: `m4ldatagrid-${dataTestId}` } : {},
76
- children: [
77
- /* @__PURE__ */ jsx(Actions, { id: "objectLogsActions", children: /* @__PURE__ */ jsx(
78
- DynamicFilter,
79
- {
80
- withAllField: true,
81
- onChangeFilters: onChangeFilter,
82
- automatic: false,
83
- fields: [
84
- {
85
- name: "user_logs.created_at",
86
- dictionaryId: "object_logs.created_at",
87
- type: "datetime",
88
- multiple: false,
89
- presence: "fixed",
90
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/email.svg`
91
- // defaultOperand1: startOfMonth(now),
92
- // defaultOperand2: endOfDay(new Date()),
93
- },
94
- {
95
- name: "users.email",
96
- dictionaryId: "object_logs.email",
97
- type: "string",
98
- multiple: true,
99
- presence: "optional",
100
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/email.svg`
101
- // defaultOperand1: startOfMonth(now),
102
- // defaultOperand2: endOfDay(new Date()),
103
- },
104
- {
105
- name: "user_logs.log_preview",
106
- dictionaryId: "object_logs.log_preview",
107
- type: "string",
108
- multiple: true,
109
- presence: "optional",
110
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/log_preview.svg`
111
- // defaultOperand1: startOfMonth(now),
112
- // defaultOperand2: endOfDay(new Date()),
113
- },
114
- {
115
- name: "user_logs.log_detail",
116
- dictionaryId: "object_logs.log_detail",
117
- type: "string",
118
- multiple: true,
119
- presence: "optional",
120
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/log_detail.svg`
121
- }
122
- ],
123
- initialAppliedFilters: []
124
- }
125
- ) }),
126
- /* @__PURE__ */ jsx(GridWrapper, { id: "GridWrapper", children: /* @__PURE__ */ jsx(
127
- DataGrid,
128
- {
129
- id: "users_logs_list",
130
- dataTestId,
131
- columns,
132
- rows,
133
- rowKeyGetter: (row) => row.id,
134
- withActions: true,
135
- actionsProps: {
136
- withPager: true,
137
- withLocalFilters: true,
138
- pagerOptions: {
139
- records: rows.length,
140
- totalRecords: pagerState.totalRecords,
141
- rowsPerPageOptions: [1, 2, 3, 4, 5, 10, 25],
142
- page: pagerState.page,
143
- rowsPerPage: pagerState.rowsPerPage,
144
- onPageChange,
145
- onRowsPerPageChange
146
- }
147
- }
148
- },
149
- "users_list_logs"
150
- ) })
151
- ]
152
- }
153
- );
5
+ const { dataTestId = "" } = props;
6
+ if (props.type === "other") {
7
+ return /* @__PURE__ */ jsx(ObjectLogsByOthers, { resourceTypeId: props.resourceTypeId, resourceSerialId: props.resourceSerialId, dataTestId });
8
+ } else {
9
+ return /* @__PURE__ */ jsx(ObjectLogsByM4L, { resourceId: props.resourceId, objectId: props.objectId, dataTestId });
10
+ }
154
11
  }
155
12
  export {
156
13
  ObjectLogs as O
@@ -0,0 +1,2 @@
1
+ import { ObjectLogsStyles } from '../ObjectLogs/types';
2
+ export declare const objectLogsStyles: ObjectLogsStyles;
@@ -0,0 +1,74 @@
1
+ const objectLogsStyles = {
2
+ /**
3
+ * Contenedor principal que organiza filtros y grilla en una estructura vertical.
4
+ */
5
+ root: () => ({
6
+ height: "100%",
7
+ width: "100%",
8
+ display: "flex",
9
+ flexDirection: "column",
10
+ justifyContent: "flex-start",
11
+ gap: "4px"
12
+ }),
13
+ /**
14
+ * Contenedor para los filtros ubicados en la parte superior del componente.
15
+ */
16
+ actionsWrapperStyled: ({ theme }) => ({
17
+ position: "relative",
18
+ height: "auto",
19
+ display: "flex",
20
+ flexDirection: "row",
21
+ justifyContent: "flex-start",
22
+ alignItems: "center",
23
+ "& .MuiFormControl-root": {
24
+ flexGrow: 1
25
+ },
26
+ [theme.breakpoints.up("sm")]: {
27
+ "& .MuiFormControl-root:nth-of-type(1)": {
28
+ marginRight: theme.spacing(3)
29
+ }
30
+ }
31
+ }),
32
+ /**
33
+ * Contenedor para la tabla de datos que se expande para llenar el espacio disponible.
34
+ */
35
+ gridWrapperStyled: () => ({
36
+ position: "relative",
37
+ flexGrow: "1",
38
+ overflow: "auto",
39
+ width: "100%"
40
+ }),
41
+ /**
42
+ * Estilos para los iconos dentro de botones y otros elementos.
43
+ */
44
+ iconStyled: () => ({
45
+ cursor: "pointer"
46
+ }),
47
+ /**
48
+ * Estilos para el componente Stack usado en los modales.
49
+ */
50
+ stackStyled: {},
51
+ /**
52
+ * Estilos para la ventana base de los modales.
53
+ */
54
+ windowBaseStyled: {},
55
+ /**
56
+ * Estilos para el panel de diálogo que muestra detalles de un log.
57
+ */
58
+ detailDialogComponent: {},
59
+ /**
60
+ * Estilos para los tooltips de acciones e iconos.
61
+ */
62
+ tooltipStyled: {},
63
+ /**
64
+ * Estilos para los botones de acción con iconos.
65
+ */
66
+ iconButtonStyled: {},
67
+ /**
68
+ * Estilos para el visualizador de datos JSON en el panel de detalles.
69
+ */
70
+ reactJsonSlot: {}
71
+ };
72
+ export {
73
+ objectLogsStyles as o
74
+ };
File without changes
@@ -0,0 +1,3 @@
1
+ export declare const OBJECT_LOGS_KEY_COMPONENT = "M4LObjectLogs";
2
+ export declare const OBJECT_LOGS_OTHERS_END_POINT = "users/resources/logs";
3
+ export declare const OBJECT_LOGS_M4L_END_POINT = "logs";
@@ -0,0 +1,8 @@
1
+ const OBJECT_LOGS_KEY_COMPONENT = "M4LObjectLogs";
2
+ const OBJECT_LOGS_OTHERS_END_POINT = "users/resources/logs";
3
+ const OBJECT_LOGS_M4L_END_POINT = "logs";
4
+ export {
5
+ OBJECT_LOGS_KEY_COMPONENT as O,
6
+ OBJECT_LOGS_M4L_END_POINT as a,
7
+ OBJECT_LOGS_OTHERS_END_POINT as b
8
+ };
@@ -1,6 +1,17 @@
1
- import { Dictionary } from '@m4l/core';
1
+ export declare const DICTIONARY_OBJECT_LOGS_ID = "object_logs";
2
2
  /**
3
- * TODO: Documentar
3
+ * Define el diccionario de componentes para los logs de objetos.
4
4
  */
5
5
  export declare function getObjectLogsComponentsDictionary(): string[];
6
- export declare const defaultObjectLogDictionary: Dictionary;
6
+ export declare const DICTIONARY: {
7
+ readonly LABEL_RESOURCE_TYPE_ID: "object_logs.resource_type_id";
8
+ readonly LABEL_RESOURCE_SERIAL_ID: "object_logs.resource_serial_id";
9
+ readonly LABEL_CREATED_AT: "object_logs.created_at";
10
+ readonly LABEL_USER: "object_logs.email";
11
+ readonly LABEL_RESOURCE_NAME: "object_logs.resource_name";
12
+ readonly LABEL_SERVICE_ID: "object_logs.service_id";
13
+ readonly LABEL_PRIVILEGE_NAME: "object_logs.privilege_name";
14
+ readonly LABEL_LOG_PREVIEW: "object_logs.log_preview";
15
+ readonly LABEL_LOG_DETAIL: "object_logs.log_detail";
16
+ readonly LABEL_IP: "object_logs.ip";
17
+ };
@@ -1,20 +1,19 @@
1
1
  import { g as getDataGridComponentsDictionary } from "../DataGrid/dictionary.js";
2
2
  import { g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.js";
3
+ const DICTIONARY_OBJECT_LOGS_ID = "object_logs";
3
4
  function getObjectLogsComponentsDictionary() {
4
- return ["object_logs"].concat(getDataGridComponentsDictionary()).concat(getDynamicFilterComponentsDictionary());
5
+ return [DICTIONARY_OBJECT_LOGS_ID].concat(getDataGridComponentsDictionary()).concat(getDynamicFilterComponentsDictionary());
5
6
  }
6
- const defaultObjectLogDictionary = {
7
- object_logs: {
8
- created_at: "Start date",
9
- user: "User/email",
10
- resource_name: "Resource",
11
- privilege_name: "Privilege",
12
- log_preview: "Log",
13
- log_detail: "Detail",
14
- ip: "Ip"
15
- }
7
+ const DICTIONARY = {
8
+ LABEL_CREATED_AT: `${DICTIONARY_OBJECT_LOGS_ID}.created_at`,
9
+ LABEL_USER: `${DICTIONARY_OBJECT_LOGS_ID}.email`,
10
+ LABEL_RESOURCE_NAME: `${DICTIONARY_OBJECT_LOGS_ID}.resource_name`,
11
+ LABEL_SERVICE_ID: `${DICTIONARY_OBJECT_LOGS_ID}.service_id`,
12
+ LABEL_LOG_PREVIEW: `${DICTIONARY_OBJECT_LOGS_ID}.log_preview`,
13
+ LABEL_LOG_DETAIL: `${DICTIONARY_OBJECT_LOGS_ID}.log_detail`,
14
+ LABEL_IP: `${DICTIONARY_OBJECT_LOGS_ID}.ip`
16
15
  };
17
16
  export {
18
- defaultObjectLogDictionary as d,
17
+ DICTIONARY as D,
19
18
  getObjectLogsComponentsDictionary as g
20
19
  };
@@ -0,0 +1,5 @@
1
+ import { ColumnIconResponse } from '../../DataGrid/formatters/ColumnIconFormatter/types';
2
+ /**
3
+ * Hook para gestionar las columnas del componente ObjectLogs
4
+ */
5
+ export declare const useDetailFormatter: (type: "m4l" | "other") => (rowProps: any) => ColumnIconResponse;