@m4l/components 9.1.150-beta.1 → 9.1.150-beta.3

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.
@@ -1,7 +1,7 @@
1
- import { g as getModalDialogComponentsDictionary } from "../ModalDialog/dictionary.js";
1
+ import { g as getModalDictionary } from "../ModalDialog/dictionary.js";
2
2
  import { g as getPagerComponentsDictionary } from "../Pager/dicctionary.js";
3
3
  function getDataGridComponentsDictionary() {
4
- return ["data_grid"].concat(getPagerComponentsDictionary()).concat(getModalDialogComponentsDictionary());
4
+ return ["data_grid"].concat(getPagerComponentsDictionary()).concat(getModalDictionary());
5
5
  }
6
6
  const dictionary = {
7
7
  DENSITY_COMPACT: `${getDataGridComponentsDictionary()[0]}.density_compact`,
@@ -3,5 +3,5 @@ export declare const gridLayoutClasses: GridLayoutClasses;
3
3
  /**
4
4
  * TODO: Documentar
5
5
  */
6
- export declare const useUtilityClasses: () => Record<"static" | "root" | "invisible" | "dragging" | "resizing" | "colapsed" | "gridItemRoot" | "gridItemPlaceholder" | "gridItemFreeMove" | "maximizeMe" | "maximizeOther" | "resizeHide" | "cssTransforms", string>;
6
+ export declare const useUtilityClasses: () => Record<"static" | "root" | "invisible" | "colapsed" | "resizing" | "dragging" | "gridItemRoot" | "gridItemPlaceholder" | "gridItemFreeMove" | "maximizeMe" | "maximizeOther" | "resizeHide" | "cssTransforms", string>;
7
7
  export type Classes = ReturnType<typeof useUtilityClasses>;
@@ -1,3 +1,4 @@
1
1
  import { Dictionary } from '@m4l/core';
2
+ export declare function getModalDictionary(): string[];
2
3
  export declare function getModalDialogComponentsDictionary(): string[];
3
4
  export declare const defaultModalDialogDictionary: Dictionary;
@@ -1,7 +1,11 @@
1
1
  import { g as getCommonActionsDictionary } from "../CommonActions/dictionary.js";
2
- function getModalDialogComponentsDictionary() {
2
+ function getModalDictionary() {
3
3
  return ["modal_dialog"].concat(getCommonActionsDictionary());
4
4
  }
5
+ function getModalDialogComponentsDictionary() {
6
+ return getModalDictionary();
7
+ }
5
8
  export {
6
- getModalDialogComponentsDictionary as g
9
+ getModalDialogComponentsDictionary as a,
10
+ getModalDictionary as g
7
11
  };
@@ -1,3 +1,3 @@
1
1
  export * from './ModalDialog';
2
2
  export * from './types';
3
- export { getModalDialogComponentsDictionary } from './dictionary';
3
+ export { getModalDictionary, getModalDialogComponentsDictionary } from './dictionary';
@@ -1,4 +1,4 @@
1
- export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "variant" | "color" | "content" | "maxWidth" | "transitionDuration" | "translate" | "container" | "className" | "style" | "classes" | "children" | "sx" | "slots" | "slotProps" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "exportparts" | "part" | "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" | "component" | "components" | "componentsProps" | "onClose" | "open" | "TransitionComponent" | "TransitionProps" | "scroll" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "dataTestId" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "fullWidth" | "fullScreen" | "isCloseable" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
1
+ export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "variant" | "color" | "content" | "maxWidth" | "transitionDuration" | "translate" | "container" | "className" | "style" | "classes" | "children" | "sx" | "slots" | "slotProps" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "exportparts" | "part" | "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" | "component" | "components" | "componentsProps" | "onClose" | "open" | "TransitionComponent" | "TransitionProps" | "scroll" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "dataTestId" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "fullWidth" | "fullScreen" | "isCloseable" | "closeModal" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
2
2
  export declare const PaperModalDialogStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
4
4
  }, "variant" | "className" | "style" | "classes" | "children" | "sx" | "square" | "elevation">, "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "exportparts" | "part" | "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" | "square" | "elevation"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
@@ -58,6 +58,7 @@ const WindowModal = (props, dialogProperties) => {
58
58
  fullWidth: isMobile,
59
59
  fullScreen: false,
60
60
  disableEnforceFocus: true,
61
+ onClose,
61
62
  children: /* @__PURE__ */ jsx(
62
63
  WrapperWindowModalStyled,
63
64
  {
@@ -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, "height" | "width" | "className" | "children" | "onResize" | "axis" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "resizeHandles" | "transformScale"> & 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, "height" | "width" | "className" | "children" | "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, "height" | "width" | "className" | "style" | "children" | "onResize" | "axis" | "handle" | "handleSize" | "lockAspectRatio" | "minConstraints" | "maxConstraints" | "onResizeStop" | "onResizeStart" | "draggableOpts" | "resizeHandles" | "transformScale"> & 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, "height" | "width" | "className" | "style" | "children" | "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
  }>;
@@ -4,7 +4,6 @@ import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
4
4
  import { D as DIALOG_KEY_COMPONENT } from "./constants.js";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
6
  import clsx from "clsx";
7
- import { u as useModal } from "../../../hooks/useModal/index.js";
8
7
  import { D as DialogRootStyled } from "./slots/DialogSlots.js";
9
8
  import { D as DialogSlots } from "./slots/DialogEnum.js";
10
9
  const Dialog = forwardRef((props, ref) => {
@@ -15,9 +14,9 @@ const Dialog = forwardRef((props, ref) => {
15
14
  children,
16
15
  fullScreen,
17
16
  isCloseable,
17
+ closeModal,
18
18
  ...others
19
19
  } = props;
20
- const { closeModal } = useModal();
21
20
  const ownerState = {
22
21
  dialogVariant: variant,
23
22
  dialogColor: color,
@@ -1 +1 @@
1
- export declare const DIALOG_KEY_COMPONENT = "M4LWiDialog";
1
+ export declare const DIALOG_KEY_COMPONENT = "M4LDialog";
@@ -1,4 +1,4 @@
1
- const DIALOG_KEY_COMPONENT = "M4LWiDialog";
1
+ const DIALOG_KEY_COMPONENT = "M4LDialog";
2
2
  export {
3
3
  DIALOG_KEY_COMPONENT as D
4
4
  };
@@ -1,9 +1,3 @@
1
- export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').DialogProps, keyof import('@mui/material').DialogProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DialogOwnerState> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').DialogOwnerState> & Record<string, unknown>;
3
- }, {}, {}>;
4
- export declare const DialogBackDropStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DialogOwnerState> & Record<string, unknown> & {
5
- ownerState: Partial<import('../types').DialogOwnerState> & Record<string, unknown>;
6
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
- export declare const DialogStackMasterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DialogOwnerState> & Record<string, unknown> & {
8
- ownerState: Partial<import('../types').DialogOwnerState> & Record<string, unknown>;
9
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
1
+ export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').DialogProps, keyof import('@mui/material').DialogProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
2
+ export declare const DialogBackDropStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
3
+ export declare const DialogStackMasterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -34,6 +34,7 @@ export interface DialogProps extends MUIDialogProps {
34
34
  dataTestId?: string;
35
35
  fullScreen?: boolean;
36
36
  isCloseable?: boolean | undefined;
37
+ closeModal?: () => void;
37
38
  }
38
39
  /**
39
40
  * Owner state (`ownerState`) for the `Dialog` component.
package/index.js CHANGED
@@ -182,14 +182,14 @@ import { I as I6 } from "./components/WindowBase/icons.js";
182
182
  import { W as W4 } from "./components/WindowBase/slots/WindowBaseEnum.js";
183
183
  import { a as a11, C as C15, b as b4, H as H4, I as I7, e as e2, L as L11, M as M6, c as c4, P as P14, S as S10, d as d5, T as T20, W as W5 } from "./components/WindowBase/slots/WindowBaseSlots.js";
184
184
  import { H as H5 } from "./components/WindowBase/subcomponents/Header/HeaderWindowBase.js";
185
- import { g as g23 } from "./components/ModalDialog/dictionary.js";
185
+ import { a as a12, g as g23 } from "./components/ModalDialog/dictionary.js";
186
186
  import { M as M7 } from "./components/ModalDialog/ModalDialog.js";
187
- import { a as a12, D as D9, M as M8 } from "./components/areas/contexts/DynamicMFParmsContext/index.js";
187
+ import { a as a13, D as D9, M as M8 } from "./components/areas/contexts/DynamicMFParmsContext/index.js";
188
188
  import { F as F2, R as R22, u as u16 } from "./components/hook-form/RHFormContext/index.js";
189
189
  import { g as g24 } from "./components/hook-form/RHFormContext/dictionary.js";
190
190
  import { u as u17 } from "./contexts/AppearanceComponentContext/useAppearanceComponentStore.js";
191
191
  import { A as A16 } from "./contexts/AppearanceComponentContext/AppearanceComponentContext.js";
192
- import { a as a13, M as M9 } from "./contexts/ModalContext/index.js";
192
+ import { a as a14, M as M9 } from "./contexts/ModalContext/index.js";
193
193
  import { u as u18 } from "./hooks/useFormAddEdit/index.js";
194
194
  import { u as u19 } from "./hooks/useModal/index.js";
195
195
  import { u as u20 } from "./hooks/useTab/index.js";
@@ -208,10 +208,10 @@ import { g as g26 } from "./utils/getComponentUtilityClass.js";
208
208
  import { g as g27 } from "./utils/getPaletteColor.js";
209
209
  import { g as g28 } from "./utils/getTypographyStyles.js";
210
210
  import { g as g29 } from "./utils/getIconColor.js";
211
- import { a as a14 } from "./utils/getSizeStyles/getSizeStyles.js";
211
+ import { a as a15 } from "./utils/getSizeStyles/getSizeStyles.js";
212
212
  import { g as g30 } from "./utils/getValidDate.js";
213
213
  import { O as O2 } from "./utils/ObjectQueue.js";
214
- import { g as g31, a as a15 } from "./utils/getComponentSlotRoot.js";
214
+ import { g as g31, a as a16 } from "./utils/getComponentSlotRoot.js";
215
215
  import { f } from "./utils/formatDistanceToNow/formatDistanteToNow.js";
216
216
  export {
217
217
  A7 as AREAS_DICCTIONARY,
@@ -261,7 +261,7 @@ export {
261
261
  D7 as DistanceToNowFormatter,
262
262
  D3 as DragResizeWindow,
263
263
  D4 as DynamicFilter,
264
- a12 as DynamicMFParmsContext,
264
+ a13 as DynamicMFParmsContext,
265
265
  D9 as DynamicMFParmsProvider,
266
266
  D5 as DynamicSort,
267
267
  F as FixedSizeList,
@@ -298,7 +298,7 @@ export {
298
298
  a8 as MemonizedMenuActions,
299
299
  M3 as MenuActions,
300
300
  M6 as MenuActionsWindowsStyled,
301
- a13 as ModalContext,
301
+ a14 as ModalContext,
302
302
  M7 as ModalDialog,
303
303
  M9 as ModalProvider,
304
304
  M as MotionContainer,
@@ -403,7 +403,7 @@ export {
403
403
  g3 as getAreasDictionary,
404
404
  g4 as getCommonActionsDictionary,
405
405
  g31 as getComponentClasses,
406
- a15 as getComponentSlotRoot,
406
+ a16 as getComponentSlotRoot,
407
407
  g26 as getComponentUtilityClass,
408
408
  g5 as getDataGridComponentsDictionary,
409
409
  g6 as getDataGridRowsFromSet,
@@ -417,13 +417,14 @@ export {
417
417
  g10 as getFormatPoints,
418
418
  g12 as getFormatPrice,
419
419
  g14 as getFormattersComponentsDictionary,
420
- a14 as getHeightSizeStyles,
420
+ a15 as getHeightSizeStyles,
421
421
  g29 as getIconColor,
422
422
  g7 as getIsIfInDynamicFilter,
423
423
  g18 as getLoadingErrorComponentsDictionary,
424
424
  g19 as getMFLoaderComponentsDictionary,
425
425
  a7 as getMenuActionsComponentsDictionary,
426
- g23 as getModalDialogComponentsDictionary,
426
+ a12 as getModalDialogComponentsDictionary,
427
+ g23 as getModalDictionary,
427
428
  g21 as getNoItemSelectedComponentsDictionary,
428
429
  g22 as getObjectLogsComponentsDictionary,
429
430
  g20 as getPagerComponentsDictionary,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.150-beta.1",
3
+ "version": "9.1.150-beta.3",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0 --no-warn-ignored"