@m4l/components 9.1.148 → 9.1.150-beta.1
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.
- package/components/Color/slots/ColorSlots.js +1 -1
- package/components/DataGrid/contexts/DataGridContext/index.d.ts +2 -1
- package/components/DataGrid/dictionary.js +1 -1
- package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.d.ts +2 -1
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.d.ts +2 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.js +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/ModalDialog/dictionary.js +0 -4
- package/components/ModalDialog/index.d.ts +1 -6
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
- package/components/WindowConfirm/WindowConfirm.js +0 -3
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +1 -1
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions/useHeaderActions.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow/useWindow.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Component/index.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.d.ts +1 -1
- package/components/extended/React-Resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
- package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/index.d.ts +1 -1
- package/components/mui_extended/Dialog/index.d.ts +1 -6
- package/components/mui_extended/Dialog/slots/DialogSlots.d.ts +6 -6
- package/components/mui_extended/index.d.ts +1 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +1 -1
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups/helper.d.ts +1 -1
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups/useHeaderActionsPopups.d.ts +1 -1
- package/index.js +123 -126
- package/package.json +1 -1
- package/utils/getIconColor.d.ts +1 -1
- package/components/ModalDialog/subcomponents/ResizeHandle/index.js +0 -4
- package/components/modal/classes/constants.d.ts +0 -1
- package/components/modal/classes/constants.js +0 -4
- package/components/modal/classes/index.d.ts +0 -24
- package/components/modal/classes/index.js +0 -61
- package/components/modal/classes/types.d.ts +0 -25
- package/components/modal/dictionary.d.ts +0 -1
- package/components/modal/dictionary.js +0 -6
- package/components/modal/index.d.ts +0 -6
- package/components/mui_extended/Dialog/dictionary.d.ts +0 -3
- package/components/mui_extended/Dialog/dictionary.js +0 -7
- /package/{storybook-decorators → .storybook/decorators}/WithAppearanceContext/WithAppearanceContext.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithAppearanceContext/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithContexts/WithContexts.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithContexts/constants.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithContexts/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithContexts/styles.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithContexts/subcomponents/AppWithTheme.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithContexts/types.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithDictionaryContext/WithDictionaryContext.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithDictionaryContext/contants.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithDictionaryContext/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithForm/WithForm.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithForm/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithFormAutoValidation/WithFormAutoValidation.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithFormAutoValidation/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithPopupsProvider/WithPopupsProvider.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithPopupsProvider/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithScaleIcons/WithScaleIcons.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithScaleIcons/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWindowsContainer/WithWindowsContainer.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWindowsContainer/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWindowsContainer/subcomponents/WindowsContainer/WindowsContainer.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWindowsContainer/subcomponents/WindowsContainer/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWindowsContainer/subcomponents/WindowsContainer/types.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWrapper/WithWrapper.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWrapper/index.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/WithWrapper/types.d.ts +0 -0
- /package/{storybook-decorators → .storybook/decorators}/index.d.ts +0 -0
- /package/components/{modal → WindowConfirm}/index.js +0 -0
- /package/components/{mui_extended/Dialog → WindowConfirm}/types.js +0 -0
|
@@ -3,8 +3,8 @@ import { styled } from "@mui/material/styles";
|
|
|
3
3
|
import { C as COLOR_KEY_COMPONENT } from "../constants.js";
|
|
4
4
|
import { c as colorStyles } from "../Color.styles.js";
|
|
5
5
|
import { C as ColorSlots } from "./ColorEnum.js";
|
|
6
|
-
import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
|
|
7
6
|
import { P as Popover } from "../../mui_extended/Popover/Popover.js";
|
|
7
|
+
import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
|
|
8
8
|
const IconButtonRootStyled = styled(IconButton, {
|
|
9
9
|
name: COLOR_KEY_COMPONENT,
|
|
10
10
|
slot: ColorSlots.root
|
|
@@ -2,7 +2,8 @@ import { RowKey } from '../../types';
|
|
|
2
2
|
import { DataGridContextProps, DataGridProviderProps } from './types';
|
|
3
3
|
declare const DataGridContext: import('react').Context<DataGridContextProps<any, any, any> | null>;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Proveedor que se encarga de manejar el estado de las columnas y las filas
|
|
6
|
+
* del DataGrid.
|
|
6
7
|
*/
|
|
7
8
|
declare function DataGridProvider<TRow, TSummaryRow, TKey extends RowKey = RowKey>(props: DataGridProviderProps<TRow, TSummaryRow, TKey>): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export { DataGridProvider, DataGridContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getModalDialogComponentsDictionary } from "../
|
|
1
|
+
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/dictionary.js";
|
|
2
2
|
import { g as getPagerComponentsDictionary } from "../Pager/dicctionary.js";
|
|
3
3
|
function getDataGridComponentsDictionary() {
|
|
4
4
|
return ["data_grid"].concat(getPagerComponentsDictionary()).concat(getModalDialogComponentsDictionary());
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { HeaderRendererProps } from 'react-data-grid';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Función encargada de retornar el componente de renderizado de cabecera con la capacidad de arrastrar columnas
|
|
5
|
+
* @param handleColumnsReorder - Función que se ejecuta al reordenar columnas
|
|
5
6
|
*/
|
|
6
7
|
export declare const getDragHeaderRenderer: <TRow, TSummaryRow>(handleColumnsReorder: (sourceKey: string, targetKey: string) => void) => FunctionComponent<HeaderRendererProps<TRow, TSummaryRow>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Column, SortColumn } from 'react-data-grid';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Hook encargado de ordenar datos de las columnas y las filas.
|
|
4
|
+
* Se utiliza para ordenar las columnas y las filas de un DataGrid.
|
|
4
5
|
*/
|
|
5
6
|
export declare const useSortColumnsRows: <TRow, TSummaryRow>(sourceColumns: readonly Column<TRow, TSummaryRow>[], sourceRows: readonly TRow[]) => {
|
|
6
7
|
finalColumns: readonly Column<TRow, TSummaryRow>[];
|
|
@@ -3,10 +3,10 @@ import { D as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.js";
|
|
|
3
3
|
import { D as DynamicFilterSlots } from "./SlotsEnum.js";
|
|
4
4
|
import { d as dynamicFilterStyles } from "../DynamicFIlter.styles.js";
|
|
5
5
|
import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
|
|
6
|
-
import { P as Popover } from "../../mui_extended/Popover/Popover.js";
|
|
7
6
|
import { T as Typography } from "../../mui_extended/Typography/Typography.js";
|
|
8
7
|
import { A as ActionsContainer } from "../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
9
8
|
import { I as Icon } from "../../Icon/Icon.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/Popover.js";
|
|
10
10
|
import { M as MenuItem } from "../../mui_extended/MenuItem/MenuItem.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
@@ -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" | "
|
|
6
|
+
export declare const useUtilityClasses: () => Record<"static" | "root" | "invisible" | "dragging" | "resizing" | "colapsed" | "gridItemRoot" | "gridItemPlaceholder" | "gridItemFreeMove" | "maximizeMe" | "maximizeOther" | "resizeHide" | "cssTransforms", string>;
|
|
7
7
|
export type Classes = ReturnType<typeof useUtilityClasses>;
|
|
@@ -2,10 +2,6 @@ import { g as getCommonActionsDictionary } from "../CommonActions/dictionary.js"
|
|
|
2
2
|
function getModalDialogComponentsDictionary() {
|
|
3
3
|
return ["modal_dialog"].concat(getCommonActionsDictionary());
|
|
4
4
|
}
|
|
5
|
-
const defaultModalDialogDictionary = {
|
|
6
|
-
modal_dialog: {}
|
|
7
|
-
};
|
|
8
5
|
export {
|
|
9
|
-
defaultModalDialogDictionary as d,
|
|
10
6
|
getModalDialogComponentsDictionary as g
|
|
11
7
|
};
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export * from './ModalDialog.styles';
|
|
2
1
|
export * from './ModalDialog';
|
|
3
|
-
export * from './constants';
|
|
4
|
-
export * from './dictionary';
|
|
5
|
-
export * from './slots/ModalDialogEnum';
|
|
6
|
-
export * from './slots/ModalDialogSlots';
|
|
7
|
-
export * from './subcomponents/ResizeHandle/index';
|
|
8
2
|
export * from './types';
|
|
3
|
+
export { 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" | "
|
|
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>, {}, {}>;
|
|
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>, {}, {}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { u as useModal } from "../../hooks/useModal/index.js";
|
|
3
|
-
import { m as modalUtilityClasses } from "../modal/classes/index.js";
|
|
4
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
5
4
|
import { A as AppearanceComponentProvider } from "../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
6
5
|
import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
|
|
@@ -41,7 +40,6 @@ const WindowConfirm = (props) => {
|
|
|
41
40
|
windowConfirmSize: normalizedSize,
|
|
42
41
|
windowConfirmVariant: variant
|
|
43
42
|
};
|
|
44
|
-
const classes = modalUtilityClasses(ownerState);
|
|
45
43
|
const getVariantMapping = (variantType) => {
|
|
46
44
|
const mapping = {
|
|
47
45
|
warning: { color: "warning" },
|
|
@@ -80,7 +78,6 @@ const WindowConfirm = (props) => {
|
|
|
80
78
|
size,
|
|
81
79
|
ownerState,
|
|
82
80
|
variant: mappedVariant,
|
|
83
|
-
classes,
|
|
84
81
|
msg: msg || getLabel("modal_dialog.label_window_confirm"),
|
|
85
82
|
title: title || getLabel("modal_dialog.title_window_confirm")
|
|
86
83
|
}
|
|
@@ -10,7 +10,7 @@ export declare const WindowConfirmRootStyled: import('@emotion/styled').StyledCo
|
|
|
10
10
|
export declare const WindowConfirmContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
|
|
11
11
|
ownerState: Partial<import('..').OwnerStateWindowConfirm> & 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 MessageIllustrationStyled: import('@emotion/styled').StyledComponent<Pick<import('../subcomponents/MessageIllustration').MessageIllustrationProps & import('..').OwnerStateWindowConfirm, "size" | "variant" | "color" | "title" | "msg" | keyof import('..').OwnerStateWindowConfirm
|
|
13
|
+
export declare const MessageIllustrationStyled: import('@emotion/styled').StyledComponent<Pick<import('../subcomponents/MessageIllustration').MessageIllustrationProps & import('..').OwnerStateWindowConfirm, "size" | "variant" | "color" | "title" | "msg" | "labelIntro" | "labelCancel" | keyof import('..').OwnerStateWindowConfirm> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
|
|
14
14
|
ownerState: Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown>;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export declare const ActionsContainerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../CommonActions/components/ActionsContainer').ActionsContainerProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../CommonActions/components/ActionsContainer').ActionsContainerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').OwnerStateWindowConfirm> & Record<string, unknown> & {
|
|
@@ -19,7 +19,7 @@ export declare const AreaContainerChipEditButtonStyled: import('@emotion/styled'
|
|
|
19
19
|
export declare const AreasAdminContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
20
20
|
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
|
-
export declare const ChipAreasStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Chip
|
|
22
|
+
export declare const ChipAreasStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Chip').ChipProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../../../Chip').ChipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
23
23
|
ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
|
|
24
24
|
}, {}, {}>;
|
|
25
25
|
export declare const IconButtonAddAreaStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "size" | "variant" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "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" | "name" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "rotationAngle" | "disabled" | "placement" | "tooltipContent" | "componentPaletteColor" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeContent" | "dictionaryTooltipId" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
@@ -6,18 +6,18 @@ import { useIsMobile } from "@m4l/graphics";
|
|
|
6
6
|
import { C as ChipActionsMobile } from "./subcomponents/ChipActionsMobile/ChipActionsMobile.js";
|
|
7
7
|
import { shallow } from "zustand/shallow";
|
|
8
8
|
import { e as AreaChipRootStyled, f as AreaContainerChipEditButtonStyled, g as ChipAreasStyled, M as MenuActionsChipStyled, E as EditAreaChipContainerStyled, h as EditAreaHeaderStyled } from "../../slots/AreasAdminSlots.js";
|
|
9
|
-
import { u as useComponentSize } from "../../../../../../hooks/useComponentSize/useComponentSize.js";
|
|
10
9
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
11
10
|
import { I as ICONS } from "../../../../icons.js";
|
|
12
11
|
import { g as getAreasDictionary, A as AREAS_DICCTIONARY } from "../../../../dictionary.js";
|
|
13
12
|
import { A as AREAS_ADMIN_KEY_COMPONENT } from "../../constants.js";
|
|
14
13
|
import { g as getComponentClasses } from "../../../../../../utils/getComponentSlotRoot.js";
|
|
14
|
+
import { u as useComponentSize } from "../../../../../../hooks/useComponentSize/useComponentSize.js";
|
|
15
15
|
import { A as AreasAdminSlots } from "../../slots/AreasAdminEnum.js";
|
|
16
16
|
import { R as RHFormProvider } from "../../../../../hook-form/RHFormContext/index.js";
|
|
17
17
|
import { T as Typography } from "../../../../../mui_extended/Typography/Typography.js";
|
|
18
|
+
import { R as RHFTextField } from "../../../../../hook-form/RHFTextField/RHFTextField.js";
|
|
18
19
|
import { A as ActionsContainer } from "../../../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
19
20
|
import { P as Popover } from "../../../../../mui_extended/Popover/Popover.js";
|
|
20
|
-
import { R as RHFTextField } from "../../../../../hook-form/RHFTextField/RHFTextField.js";
|
|
21
21
|
import { A as ActionCancel } from "../../../../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
22
22
|
import { A as ActionIntro } from "../../../../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
23
23
|
const AreaChip = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WindowToolsMF } from '
|
|
1
|
+
import { WindowToolsMF } from '../../../../../../../../contexts';
|
|
2
2
|
/**
|
|
3
3
|
* Hook useWindow
|
|
4
4
|
*
|
|
@@ -21,7 +21,7 @@ export declare const useWindow: (areaId: string, windowId: string) => {
|
|
|
21
21
|
mfProps: any;
|
|
22
22
|
component: any;
|
|
23
23
|
loading: boolean;
|
|
24
|
-
status: import('
|
|
24
|
+
status: import('../../../../../../../../types').WindowStatus;
|
|
25
25
|
dynamicMFStore: Omit<import('zustand').StoreApi<import('../../../../../../../../contexts/DynamicMFParmsContext/store').DynamicMFStateWithActions>, "setState"> & {
|
|
26
26
|
setState(nextStateOrUpdater: import('../../../../../../../../contexts/DynamicMFParmsContext/store').DynamicMFStateWithActions | Partial<import('../../../../../../../../contexts/DynamicMFParmsContext/store').DynamicMFStateWithActions> | ((state: import('immer/dist/internal').WritableDraft<import('../../../../../../../../contexts/DynamicMFParmsContext/store').DynamicMFStateWithActions>) => void), shouldReplace?: boolean | undefined): void;
|
|
27
27
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { W as WindowToolsMFProvider } from "../../../../../../../../contexts/WindowToolsMFContext/index.js";
|
|
4
|
-
import { W as WindowContainerComponentStyled } from "../../../../../../slots/AreasViewerSlots.js";
|
|
5
4
|
import { D as DynamicMFParmsProvider } from "../../../../../../../../contexts/DynamicMFParmsContext/index.js";
|
|
5
|
+
import { W as WindowContainerComponentStyled } from "../../../../../../slots/AreasViewerSlots.js";
|
|
6
6
|
const Component = (props) => {
|
|
7
7
|
const { component, dynamicMFStore, windowTools, componentProps } = props;
|
|
8
8
|
return /* @__PURE__ */ jsx(WindowToolsMFProvider, { ...windowTools, children: /* @__PURE__ */ jsx(DynamicMFParmsProvider, { store: dynamicMFStore, children: /* @__PURE__ */ jsx(WindowContainerComponentStyled, { ownerState: {}, children: typeof component === "function" ? component(componentProps) : component }) }) });
|
package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WindowBaseAction } from '
|
|
1
|
+
import { WindowBaseAction } from '../../../../../../../WindowBase';
|
|
2
2
|
import { WindowBaseProps } from '../../../../../../types';
|
|
3
3
|
export interface WindowProps extends Pick<WindowBaseProps, 'windowId' | 'areaId'> {
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ModalProps } from '../../../../../../types';
|
|
3
|
-
import { DialogProperties } from '
|
|
3
|
+
import { DialogProperties } from '../../../../../../../ModalDialog/types';
|
|
4
4
|
/**
|
|
5
5
|
* A draggable and resizable window modal component.
|
|
6
6
|
*/
|
|
@@ -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" | "
|
|
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>, {}, {
|
|
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" | "
|
|
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>, {}, {
|
|
3
3
|
ref?: import('react').Ref<ResizableBox> | undefined;
|
|
4
4
|
}>;
|
package/components/index.d.ts
CHANGED
|
@@ -32,7 +32,6 @@ export * from './MenuActions';
|
|
|
32
32
|
export type { MenuAction, ComponentActionProps } from './MenuActions/types';
|
|
33
33
|
export * from './MFIsolationApp';
|
|
34
34
|
export * from './MFLoader';
|
|
35
|
-
export * from './modal';
|
|
36
35
|
export * from './mui_extended';
|
|
37
36
|
export * from './NoItemSelected';
|
|
38
37
|
export * from './ObjectLogs';
|
|
@@ -47,3 +46,4 @@ export { ScrollToTop } from './ScrollToTop';
|
|
|
47
46
|
export * from './SideBar';
|
|
48
47
|
export * from './ToastContainer';
|
|
49
48
|
export * from './WindowBase';
|
|
49
|
+
export * from './ModalDialog';
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
export * from './Dialog.styles';
|
|
2
1
|
export * from './Dialog';
|
|
3
|
-
export
|
|
4
|
-
export * from './dictionary';
|
|
5
|
-
export * from './slots/DialogEnum';
|
|
6
|
-
export * from './slots/DialogSlots';
|
|
7
|
-
export * from './types';
|
|
2
|
+
export type { DialogProps } from './types';
|
|
@@ -1,9 +1,9 @@
|
|
|
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('
|
|
2
|
-
ownerState: Partial<import('
|
|
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
3
|
}, {}, {}>;
|
|
4
|
-
export declare const DialogBackDropStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('
|
|
5
|
-
ownerState: Partial<import('
|
|
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
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('
|
|
8
|
-
ownerState: Partial<import('
|
|
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
9
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -2,7 +2,7 @@ import { GetLabelType } from '@m4l/core';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { DragResizeWindowProps } from '../../../../../DragResizeWindow/types';
|
|
4
4
|
import { PopupStatus } from '../../../PopupsViewer/types';
|
|
5
|
-
import { AreaWindowAction, MFBaseProps } from '
|
|
5
|
+
import { AreaWindowAction, MFBaseProps } from '../../../../../areas/types';
|
|
6
6
|
export type PopupVariantType = 'normal' | 'small' | 'large';
|
|
7
7
|
export interface PopupStoreProps extends Pick<DragResizeWindowProps, 'bounds' | 'defaultPosition'> {
|
|
8
8
|
/**
|
package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups/helper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
|
-
import { AreaWindowAction, WindowOptions } from '
|
|
2
|
+
import { AreaWindowAction, WindowOptions } from '../../../../../areas/types';
|
|
3
3
|
/**
|
|
4
4
|
* Obtiene las acciones principales para un popup.
|
|
5
5
|
* @param isDesktop Indica si se está en un dispositivo de escritorio.
|
package/index.js
CHANGED
|
@@ -124,77 +124,76 @@ import { a as a8, M as M3 } from "./components/MenuActions/MenuActions.js";
|
|
|
124
124
|
import { M as M4 } from "./components/MFIsolationApp/MFIsolationApp.js";
|
|
125
125
|
import { M as M5 } from "./components/MFLoader/MFLoader.js";
|
|
126
126
|
import { g as g19 } from "./components/MFLoader/dictionary.js";
|
|
127
|
-
import { M as M6 } from "./components/ModalDialog/ModalDialog.js";
|
|
128
|
-
import { g as g20 } from "./components/modal/dictionary.js";
|
|
129
|
-
import { d as d4, g as g21 } from "./components/ModalDialog/dictionary.js";
|
|
130
|
-
import { W as W2 } from "./components/WindowConfirm/WindowConfirm.js";
|
|
131
|
-
import { w as w2 } from "./components/WindowBase/WindowBase.styles.js";
|
|
132
|
-
import { W as W3 } from "./components/WindowBase/WindowBase.js";
|
|
133
|
-
import { W as W4 } from "./components/WindowBase/constants.js";
|
|
134
|
-
import { I as I4 } from "./components/WindowBase/icons.js";
|
|
135
|
-
import { W as W5 } from "./components/WindowBase/slots/WindowBaseEnum.js";
|
|
136
|
-
import { a as a9, C as C13, b as b4, H as H4, I as I5, e as e2, L as L8, M as M7, c as c4, P as P6, S as S6, d as d5, T as T4, W as W6 } from "./components/WindowBase/slots/WindowBaseSlots.js";
|
|
137
|
-
import { H as H5 } from "./components/WindowBase/subcomponents/Header/HeaderWindowBase.js";
|
|
138
127
|
import { A as A14 } from "./components/mui_extended/Accordion/Accordion.js";
|
|
139
128
|
import { A as A15 } from "./components/mui_extended/Avatar/Avatar.js";
|
|
140
129
|
import { B as B3 } from "./components/mui_extended/BoxIcon/index.js";
|
|
141
130
|
import { B as B4 } from "./components/mui_extended/Breadcrumbs/index.js";
|
|
142
|
-
import { C as
|
|
131
|
+
import { C as C13 } from "./components/mui_extended/CircularProgress/CircularProgress.js";
|
|
143
132
|
import { B as B5 } from "./components/mui_extended/Badge/Badge.js";
|
|
144
|
-
import { L as
|
|
145
|
-
import { L as
|
|
146
|
-
import { L as
|
|
147
|
-
import { P as
|
|
148
|
-
import { g as
|
|
149
|
-
import { T as
|
|
150
|
-
import { T as
|
|
151
|
-
import { I as
|
|
133
|
+
import { L as L8 } from "./components/mui_extended/LinearProgress/index.js";
|
|
134
|
+
import { L as L9 } from "./components/mui_extended/LinkWithRoute/index.js";
|
|
135
|
+
import { L as L10 } from "./components/mui_extended/LoadingButton/LoadingButton.js";
|
|
136
|
+
import { P as P6 } from "./components/Pager/Pager.js";
|
|
137
|
+
import { g as g20 } from "./components/Pager/dicctionary.js";
|
|
138
|
+
import { T as T4 } from "./components/mui_extended/Tab/Tab.js";
|
|
139
|
+
import { T as T5 } from "./components/mui_extended/Tooltip/Tooltip.js";
|
|
140
|
+
import { I as I4 } from "./components/mui_extended/IconButton/IconButton.js";
|
|
152
141
|
import { B as B6 } from "./components/mui_extended/Button/Button.js";
|
|
153
|
-
import { C as
|
|
154
|
-
import { I as
|
|
155
|
-
import { P as
|
|
156
|
-
import { S as
|
|
157
|
-
import { S as
|
|
158
|
-
import { T as
|
|
159
|
-
import { T as
|
|
160
|
-
import { T as
|
|
161
|
-
import { T as
|
|
142
|
+
import { C as C14 } from "./components/mui_extended/CheckBox/CheckBox.js";
|
|
143
|
+
import { I as I5 } from "./components/mui_extended/ImageButton/ImageButton.js";
|
|
144
|
+
import { P as P7 } from "./components/mui_extended/Popover/Popover.js";
|
|
145
|
+
import { S as S6 } from "./components/mui_extended/Skeleton/Skeleton.js";
|
|
146
|
+
import { S as S7 } from "./components/mui_extended/Stack/Stack.js";
|
|
147
|
+
import { T as T6 } from "./components/mui_extended/Tabs/Tabs.js";
|
|
148
|
+
import { T as T7 } from "./components/mui_extended/TabContent/TabContent.js";
|
|
149
|
+
import { T as T8, a as a9 } from "./components/mui_extended/TabContext/index.js";
|
|
150
|
+
import { T as T9 } from "./components/mui_extended/Typography/Typography.js";
|
|
162
151
|
import { t } from "./components/mui_extended/ToggleButton/ToggleButton.styles.js";
|
|
163
|
-
import { T as
|
|
164
|
-
import { T as
|
|
165
|
-
import { T as
|
|
166
|
-
import { T as
|
|
152
|
+
import { T as T10 } from "./components/mui_extended/ToggleButton/ToggleButton.js";
|
|
153
|
+
import { T as T11 } from "./components/mui_extended/ToggleButton/constants.js";
|
|
154
|
+
import { T as T12 } from "./components/mui_extended/ToggleButton/slots/ToggleButtonEnum.js";
|
|
155
|
+
import { T as T13 } from "./components/mui_extended/ToggleButton/slots/ToggleButtonSlots.js";
|
|
167
156
|
import { t as t2 } from "./components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js";
|
|
168
|
-
import { T as
|
|
169
|
-
import { T as
|
|
170
|
-
import { T as
|
|
171
|
-
import { T as
|
|
157
|
+
import { T as T14 } from "./components/mui_extended/ToggleIconButton/ToggleIconButton.js";
|
|
158
|
+
import { T as T15 } from "./components/mui_extended/ToggleIconButton/constants.js";
|
|
159
|
+
import { T as T16 } from "./components/mui_extended/ToggleIconButton/slots/ToggleIconButtonEnum.js";
|
|
160
|
+
import { T as T17 } from "./components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.js";
|
|
172
161
|
import { N as N2 } from "./components/mui_extended/NavLink/NavLink.js";
|
|
162
|
+
import { D as D8 } from "./components/mui_extended/Dialog/Dialog.js";
|
|
173
163
|
import { N as N3 } from "./components/NoItemSelected/NoItemSelected.js";
|
|
174
|
-
import { g as
|
|
164
|
+
import { g as g21 } from "./components/NoItemSelected/dictionary.js";
|
|
175
165
|
import { O } from "./components/ObjectLogs/index.js";
|
|
176
|
-
import { d as
|
|
177
|
-
import { P as
|
|
178
|
-
import { P as
|
|
166
|
+
import { d as d4, g as g22 } from "./components/ObjectLogs/dictionary.js";
|
|
167
|
+
import { P as P8 } from "./components/PaperForm/PaperForm.js";
|
|
168
|
+
import { P as P9 } from "./components/PDFViewer/PDFViewer.js";
|
|
179
169
|
import { u as u15 } from "./components/popups/components/PopupsProvider/hooks/usePopupsStore/index.js";
|
|
180
|
-
import { P as
|
|
181
|
-
import { P as
|
|
182
|
-
import { P as
|
|
183
|
-
import { P as
|
|
184
|
-
import { S as
|
|
185
|
-
import { S as
|
|
186
|
-
import { T as
|
|
187
|
-
import { T as
|
|
188
|
-
import {
|
|
170
|
+
import { P as P10, a as a10 } from "./components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
|
|
171
|
+
import { P as P11 } from "./components/popups/components/PopupsViewer/PopupsViewer.js";
|
|
172
|
+
import { P as P12 } from "./components/PrintingSystem/PrintingSystem.js";
|
|
173
|
+
import { P as P13 } from "./components/PropertyValue/PropertyValue.js";
|
|
174
|
+
import { S as S8 } from "./components/ScrollBar/ScrollBar.js";
|
|
175
|
+
import { S as S9 } from "./components/SideBar/SideBar.js";
|
|
176
|
+
import { T as T18 } from "./components/ToastContainer/ToastContainer.js";
|
|
177
|
+
import { T as T19 } from "./components/ToastContainer/subcomponents/ToastMessage/ToastMessage.js";
|
|
178
|
+
import { w as w2 } from "./components/WindowBase/WindowBase.styles.js";
|
|
179
|
+
import { W as W2 } from "./components/WindowBase/WindowBase.js";
|
|
180
|
+
import { W as W3 } from "./components/WindowBase/constants.js";
|
|
181
|
+
import { I as I6 } from "./components/WindowBase/icons.js";
|
|
182
|
+
import { W as W4 } from "./components/WindowBase/slots/WindowBaseEnum.js";
|
|
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
|
+
import { H as H5 } from "./components/WindowBase/subcomponents/Header/HeaderWindowBase.js";
|
|
185
|
+
import { g as g23 } from "./components/ModalDialog/dictionary.js";
|
|
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";
|
|
189
188
|
import { F as F2, R as R22, u as u16 } from "./components/hook-form/RHFormContext/index.js";
|
|
190
|
-
import { g as
|
|
189
|
+
import { g as g24 } from "./components/hook-form/RHFormContext/dictionary.js";
|
|
191
190
|
import { u as u17 } from "./contexts/AppearanceComponentContext/useAppearanceComponentStore.js";
|
|
192
191
|
import { A as A16 } from "./contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
193
192
|
import { a as a13, M as M9 } from "./contexts/ModalContext/index.js";
|
|
194
193
|
import { u as u18 } from "./hooks/useFormAddEdit/index.js";
|
|
195
194
|
import { u as u19 } from "./hooks/useModal/index.js";
|
|
196
195
|
import { u as u20 } from "./hooks/useTab/index.js";
|
|
197
|
-
import { g as
|
|
196
|
+
import { g as g25 } from "./hooks/useFormAddEdit/dictionary.js";
|
|
198
197
|
import { u as u21 } from "./hooks/useFormFocus/index.js";
|
|
199
198
|
import { u as u22 } from "./hooks/useInterval/index.js";
|
|
200
199
|
import { u as u23 } from "./hooks/useComponentSize/useComponentSize.js";
|
|
@@ -205,14 +204,14 @@ import { u as u26 } from "./hooks/useSvgColor/useSvgColor.js";
|
|
|
205
204
|
import { u as u27 } from "./hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js";
|
|
206
205
|
import { c as c5 } from "./utils/capitalizeFirstLetter.js";
|
|
207
206
|
import { i as i2 } from "./utils/isValidDate.js";
|
|
208
|
-
import { g as
|
|
209
|
-
import { g as
|
|
210
|
-
import { g as
|
|
211
|
-
import { g as
|
|
207
|
+
import { g as g26 } from "./utils/getComponentUtilityClass.js";
|
|
208
|
+
import { g as g27 } from "./utils/getPaletteColor.js";
|
|
209
|
+
import { g as g28 } from "./utils/getTypographyStyles.js";
|
|
210
|
+
import { g as g29 } from "./utils/getIconColor.js";
|
|
212
211
|
import { a as a14 } from "./utils/getSizeStyles/getSizeStyles.js";
|
|
213
|
-
import { g as
|
|
212
|
+
import { g as g30 } from "./utils/getValidDate.js";
|
|
214
213
|
import { O as O2 } from "./utils/ObjectQueue.js";
|
|
215
|
-
import { g as
|
|
214
|
+
import { g as g31, a as a15 } from "./utils/getComponentSlotRoot.js";
|
|
216
215
|
import { f } from "./utils/formatDistanceToNow/formatDistanteToNow.js";
|
|
217
216
|
export {
|
|
218
217
|
A7 as AREAS_DICCTIONARY,
|
|
@@ -239,9 +238,9 @@ export {
|
|
|
239
238
|
B3 as BoxIcon,
|
|
240
239
|
B4 as Breadcrumbs,
|
|
241
240
|
B6 as Button,
|
|
242
|
-
|
|
241
|
+
C14 as CheckBox,
|
|
243
242
|
C as Chip,
|
|
244
|
-
|
|
243
|
+
C13 as CircularProgress,
|
|
245
244
|
C5 as ColumnBooleanFormatter,
|
|
246
245
|
C7 as ColumnConcatenatedValueFormatter,
|
|
247
246
|
C6 as ColumnDateFormatter,
|
|
@@ -253,16 +252,17 @@ export {
|
|
|
253
252
|
C10 as ColumnSetCheckFormatter,
|
|
254
253
|
C2 as ColumnUncertaintyFormatter,
|
|
255
254
|
C12 as ConcatenatedFormatter,
|
|
256
|
-
|
|
257
|
-
|
|
255
|
+
a11 as ContentEditionInfoStyled,
|
|
256
|
+
C15 as ContentWindowStyled,
|
|
258
257
|
D as DICTIONARY,
|
|
259
258
|
D2 as DataGrid,
|
|
260
259
|
D6 as DateFormatter,
|
|
260
|
+
D8 as Dialog,
|
|
261
261
|
D7 as DistanceToNowFormatter,
|
|
262
262
|
D3 as DragResizeWindow,
|
|
263
263
|
D4 as DynamicFilter,
|
|
264
264
|
a12 as DynamicMFParmsContext,
|
|
265
|
-
|
|
265
|
+
D9 as DynamicMFParmsProvider,
|
|
266
266
|
D5 as DynamicSort,
|
|
267
267
|
F as FixedSizeList,
|
|
268
268
|
F2 as FormProviderCustom,
|
|
@@ -273,23 +273,23 @@ export {
|
|
|
273
273
|
H4 as HeaderWindowComponentStyled,
|
|
274
274
|
H2 as HelmetPage,
|
|
275
275
|
H3 as HelperError,
|
|
276
|
-
|
|
276
|
+
I6 as ICONS,
|
|
277
277
|
I2 as Icon,
|
|
278
|
-
|
|
278
|
+
I4 as IconButton,
|
|
279
279
|
I as IconButtonAnimate,
|
|
280
|
-
|
|
280
|
+
I7 as IconWindowStyled,
|
|
281
281
|
e2 as IconsWrapperStyled,
|
|
282
282
|
I3 as Image,
|
|
283
|
-
|
|
283
|
+
I5 as ImageButton,
|
|
284
284
|
L2 as LABEL_FILTER_BUTTON,
|
|
285
285
|
L3 as Label,
|
|
286
286
|
L4 as LanguagePopover,
|
|
287
|
-
|
|
287
|
+
L8 as LinearProgress,
|
|
288
288
|
L5 as LinearProgressIndeterminate,
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
L11 as LinearProgressIndeterminateStyled,
|
|
290
|
+
L9 as LinkWithRoute,
|
|
291
291
|
L6 as Loadable,
|
|
292
|
-
|
|
292
|
+
L10 as LoadingButton,
|
|
293
293
|
L7 as LoadingError,
|
|
294
294
|
L as LoadingScreen,
|
|
295
295
|
M4 as MFIsolationApp,
|
|
@@ -297,9 +297,9 @@ export {
|
|
|
297
297
|
M8 as MemonizedDynamicMFParmsProvider,
|
|
298
298
|
a8 as MemonizedMenuActions,
|
|
299
299
|
M3 as MenuActions,
|
|
300
|
-
|
|
300
|
+
M6 as MenuActionsWindowsStyled,
|
|
301
301
|
a13 as ModalContext,
|
|
302
|
-
|
|
302
|
+
M7 as ModalDialog,
|
|
303
303
|
M9 as ModalProvider,
|
|
304
304
|
M as MotionContainer,
|
|
305
305
|
M2 as MotionLazyContainer,
|
|
@@ -308,22 +308,22 @@ export {
|
|
|
308
308
|
N as NumberEditor,
|
|
309
309
|
O as ObjectLogs,
|
|
310
310
|
O2 as ObjectQueue,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
311
|
+
P9 as PDFViewer,
|
|
312
|
+
P6 as Pager,
|
|
313
|
+
P8 as PaperForm,
|
|
314
314
|
P3 as PeriodFormatter,
|
|
315
315
|
P5 as PeriodRootStyled,
|
|
316
316
|
c4 as PointIconStyled,
|
|
317
|
-
|
|
317
|
+
P14 as PointStyled,
|
|
318
318
|
P2 as PointsFormatter,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
319
|
+
P7 as Popover,
|
|
320
|
+
P10 as PopupsContext,
|
|
321
|
+
a10 as PopupsProvider,
|
|
322
|
+
P11 as PopupsViewer,
|
|
323
323
|
P4 as PriceFormatter,
|
|
324
|
-
|
|
324
|
+
P12 as PrintingSystem,
|
|
325
325
|
P as PropagateLoaderSpinner,
|
|
326
|
-
|
|
326
|
+
P13 as PropertyValue,
|
|
327
327
|
R4 as RHFAutocomplete,
|
|
328
328
|
R5 as RHFAutocompleteAsync,
|
|
329
329
|
R14 as RHFCheckbox,
|
|
@@ -347,45 +347,44 @@ export {
|
|
|
347
347
|
R2 as ResizableBox,
|
|
348
348
|
R3 as Responsive,
|
|
349
349
|
S11 as SKELETON_SVG_ICON,
|
|
350
|
-
|
|
350
|
+
S8 as ScrollBar,
|
|
351
351
|
S as ScrollToTop,
|
|
352
352
|
S2 as SectionCommercial,
|
|
353
353
|
S5 as SelectStyled,
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
S9 as SideBar,
|
|
355
|
+
S6 as Skeleton,
|
|
356
356
|
S3 as SortCompareValues,
|
|
357
357
|
S4 as SplitLayout,
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
S7 as Stack,
|
|
359
|
+
S10 as SubtitleContainerStyled,
|
|
360
360
|
d5 as SubtitleWindowStyled,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
361
|
+
T11 as TOGGLE_BUTTON_KEY_COMPONENT,
|
|
362
|
+
T15 as TOGGLE_ICON_BUTTON_KEY_COMPONENT,
|
|
363
|
+
T4 as Tab,
|
|
364
|
+
T7 as TabContent,
|
|
365
|
+
T8 as TabContext,
|
|
366
|
+
a9 as TabProvider,
|
|
367
|
+
T6 as Tabs,
|
|
368
368
|
T2 as TextEditor,
|
|
369
369
|
T3 as TextFieldStyled,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
370
|
+
T20 as TitleWindowStyled,
|
|
371
|
+
T18 as ToastContainer,
|
|
372
|
+
T19 as ToastMessage,
|
|
373
|
+
T10 as ToggleButton,
|
|
374
|
+
T13 as ToggleButtonRootStyled,
|
|
375
|
+
T12 as ToggleButtonSlots,
|
|
376
|
+
T14 as ToggleIconButton,
|
|
377
|
+
T17 as ToggleIconButtonRootStyled,
|
|
378
|
+
T16 as ToggleIconButtonSlots,
|
|
379
|
+
T5 as Tooltip,
|
|
380
380
|
T as TopBar,
|
|
381
|
-
|
|
381
|
+
T9 as Typography,
|
|
382
382
|
U as UncertaintyFormatter,
|
|
383
383
|
V as VariableSizeList,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
W2 as WindowConfirm,
|
|
384
|
+
W3 as WINDOW_BASE_KEY_COMPONENT,
|
|
385
|
+
W2 as WindowBase,
|
|
386
|
+
W4 as WindowBaseSlots,
|
|
387
|
+
W5 as WindowBaseStyled,
|
|
389
388
|
a2 as WindowToolsMFContext,
|
|
390
389
|
W as WindowToolsMFProvider,
|
|
391
390
|
c3 as addLayoutItemToBreakPointIfNoExists,
|
|
@@ -395,8 +394,7 @@ export {
|
|
|
395
394
|
c2 as createDynamicMFStore,
|
|
396
395
|
c as createToaster,
|
|
397
396
|
d as defaultCommonActionsDictionary,
|
|
398
|
-
d4 as
|
|
399
|
-
d6 as defaultObjectLogDictionary,
|
|
397
|
+
d4 as defaultObjectLogDictionary,
|
|
400
398
|
d2 as dragResizeWindowClasses,
|
|
401
399
|
f as formatDistanceToNow,
|
|
402
400
|
g as getAccountPopoverDictionary,
|
|
@@ -404,40 +402,39 @@ export {
|
|
|
404
402
|
b2 as getAreasComponentsDictionary,
|
|
405
403
|
g3 as getAreasDictionary,
|
|
406
404
|
g4 as getCommonActionsDictionary,
|
|
407
|
-
|
|
405
|
+
g31 as getComponentClasses,
|
|
408
406
|
a15 as getComponentSlotRoot,
|
|
409
|
-
|
|
407
|
+
g26 as getComponentUtilityClass,
|
|
410
408
|
g5 as getDataGridComponentsDictionary,
|
|
411
409
|
g6 as getDataGridRowsFromSet,
|
|
412
410
|
g13 as getDistanceToNowFormatterComponentsDictionary,
|
|
413
411
|
a5 as getDynamicFilterComponentsDictionary,
|
|
414
412
|
b3 as getDynamicSortComponentsDictionary,
|
|
415
413
|
a6 as getFilterGroupFieldsByName,
|
|
416
|
-
|
|
414
|
+
g24 as getFormComponentsDictionary,
|
|
417
415
|
g11 as getFormatConcatenated,
|
|
418
416
|
g8 as getFormatDate,
|
|
419
417
|
g10 as getFormatPoints,
|
|
420
418
|
g12 as getFormatPrice,
|
|
421
419
|
g14 as getFormattersComponentsDictionary,
|
|
422
420
|
a14 as getHeightSizeStyles,
|
|
423
|
-
|
|
421
|
+
g29 as getIconColor,
|
|
424
422
|
g7 as getIsIfInDynamicFilter,
|
|
425
423
|
g18 as getLoadingErrorComponentsDictionary,
|
|
426
424
|
g19 as getMFLoaderComponentsDictionary,
|
|
427
425
|
a7 as getMenuActionsComponentsDictionary,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
g28 as getPaletteColor,
|
|
426
|
+
g23 as getModalDialogComponentsDictionary,
|
|
427
|
+
g21 as getNoItemSelectedComponentsDictionary,
|
|
428
|
+
g22 as getObjectLogsComponentsDictionary,
|
|
429
|
+
g20 as getPagerComponentsDictionary,
|
|
430
|
+
g27 as getPaletteColor,
|
|
434
431
|
g17 as getPeriodComponetsDictionary,
|
|
435
432
|
g16 as getRHFAutocompleteAsyncComponentsDictionary,
|
|
436
433
|
g15 as getRHFAutocompleteComponentsDictionary,
|
|
437
|
-
|
|
434
|
+
g28 as getTypographyStyles,
|
|
438
435
|
g9 as getUncertaintyFormat,
|
|
439
|
-
|
|
440
|
-
|
|
436
|
+
g30 as getValidDate,
|
|
437
|
+
g25 as getformAddEditDictionary,
|
|
441
438
|
i as isEqualLayout,
|
|
442
439
|
k as isEqualLayouts,
|
|
443
440
|
i2 as isValidDate,
|
package/package.json
CHANGED
package/utils/getIconColor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconProps } from '
|
|
1
|
+
import { IconProps } from '../components/Icon/types';
|
|
2
2
|
/**
|
|
3
3
|
* Define un tipo que representa los posibles colores que se pueden aplicar a un icono.
|
|
4
4
|
* Este tipo incluye varios valores específicos ('primary.main', 'text.primary', etc.) y también permite cualquier cadena (string).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const componentName = "M4LModal";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ModalClassesType } from './types';
|
|
2
|
-
import { OwnerStateWindowConfirm } from '../../WindowConfirm/types';
|
|
3
|
-
export declare const modalClasses: ModalClassesType;
|
|
4
|
-
export declare function getModalUtilityClass(slot: string): string;
|
|
5
|
-
/**
|
|
6
|
-
* TODO: Documentar
|
|
7
|
-
*/
|
|
8
|
-
export declare const modalUtilityClasses: (ownerState: OwnerStateWindowConfirm) => {
|
|
9
|
-
root: string;
|
|
10
|
-
resizeHandle: string;
|
|
11
|
-
windowBaseRoot: string;
|
|
12
|
-
illustrationContainer: string;
|
|
13
|
-
containerWindow: string;
|
|
14
|
-
headerContainer: string;
|
|
15
|
-
iconHeader: string;
|
|
16
|
-
titleHeader: string;
|
|
17
|
-
iconCloseHeader: string;
|
|
18
|
-
containerMassageIlustration: string;
|
|
19
|
-
modalContent: string;
|
|
20
|
-
messageContainer: string;
|
|
21
|
-
illustration: string;
|
|
22
|
-
windowConfirm: string;
|
|
23
|
-
windowContent: string;
|
|
24
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { generateUtilityClass, generateUtilityClasses } from "@mui/material";
|
|
2
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
-
import { c as componentName } from "./constants.js";
|
|
4
|
-
generateUtilityClasses(componentName, [
|
|
5
|
-
/* elements */
|
|
6
|
-
"root",
|
|
7
|
-
"windowBaseRoot",
|
|
8
|
-
"containerWindow",
|
|
9
|
-
"headerContainer",
|
|
10
|
-
"iconHeader",
|
|
11
|
-
"titleHeader",
|
|
12
|
-
"subtitleHeader",
|
|
13
|
-
"iconCloseHeader",
|
|
14
|
-
"containerMassageIlustration",
|
|
15
|
-
"modalContent",
|
|
16
|
-
"illustrationContainer",
|
|
17
|
-
"messageContainer",
|
|
18
|
-
"illustration",
|
|
19
|
-
"windowConfirm",
|
|
20
|
-
"resizeHandle",
|
|
21
|
-
"windowContent",
|
|
22
|
-
/* states or variants of elements */
|
|
23
|
-
"variantDelete",
|
|
24
|
-
"variantWarning",
|
|
25
|
-
"variantInfo",
|
|
26
|
-
"variantPrimary"
|
|
27
|
-
]);
|
|
28
|
-
function getModalUtilityClass(slot) {
|
|
29
|
-
return generateUtilityClass(componentName, slot);
|
|
30
|
-
}
|
|
31
|
-
const modalUtilityClasses = (ownerState) => {
|
|
32
|
-
const slots = {
|
|
33
|
-
root: [
|
|
34
|
-
"root",
|
|
35
|
-
ownerState.windowConfirmVariant === "warning" && "variantWarning",
|
|
36
|
-
ownerState.windowConfirmVariant === "info" && "variantInfo",
|
|
37
|
-
ownerState.windowConfirmVariant === "error" && "variantError"
|
|
38
|
-
],
|
|
39
|
-
windowBaseRoot: ["windowBaseRoot"],
|
|
40
|
-
containerWindow: ["containerWindow"],
|
|
41
|
-
headerContainer: ["headerContainer"],
|
|
42
|
-
iconHeader: ["iconHeader"],
|
|
43
|
-
titleHeader: ["titleHeader"],
|
|
44
|
-
iconCloseHeader: ["iconCloseHeader"],
|
|
45
|
-
containerMassageIlustration: ["containerMassageIlustration"],
|
|
46
|
-
modalContent: ["modalContent"],
|
|
47
|
-
illustrationContainer: ["illustrationContainer"],
|
|
48
|
-
messageContainer: ["messageContainer"],
|
|
49
|
-
illustration: ["illustration"],
|
|
50
|
-
windowConfirm: ["windowConfirm"],
|
|
51
|
-
resizeHandle: ["resizeHandle"],
|
|
52
|
-
windowContent: ["windowContent"]
|
|
53
|
-
};
|
|
54
|
-
const composedClasses = unstable_composeClasses(slots, getModalUtilityClass, {});
|
|
55
|
-
return {
|
|
56
|
-
...composedClasses
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export {
|
|
60
|
-
modalUtilityClasses as m
|
|
61
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { modalUtilityClasses } from '.';
|
|
2
|
-
export interface ModalClassesType {
|
|
3
|
-
root: string;
|
|
4
|
-
windowBaseRoot: string;
|
|
5
|
-
containerWindow: string;
|
|
6
|
-
headerContainer: string;
|
|
7
|
-
iconHeader: string;
|
|
8
|
-
titleHeader: string;
|
|
9
|
-
subtitleHeader: string;
|
|
10
|
-
iconCloseHeader: string;
|
|
11
|
-
containerMassageIlustration: string;
|
|
12
|
-
modalContent: string;
|
|
13
|
-
illustrationContainer: string;
|
|
14
|
-
messageContainer: string;
|
|
15
|
-
illustration: string;
|
|
16
|
-
windowConfirm: string;
|
|
17
|
-
resizeHandle: string;
|
|
18
|
-
windowContent: string;
|
|
19
|
-
variantDelete: string;
|
|
20
|
-
variantWarning: string;
|
|
21
|
-
variantInfo: string;
|
|
22
|
-
variantPrimary: string;
|
|
23
|
-
}
|
|
24
|
-
export type ModalClassesKey = keyof ModalClassesType;
|
|
25
|
-
export type Classes = ReturnType<typeof modalUtilityClasses>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getModalDictionary: () => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ModalDialog } from '../ModalDialog';
|
|
2
|
-
export * from '../ModalDialog/dictionary';
|
|
3
|
-
export * from '../WindowConfirm/WindowConfirm';
|
|
4
|
-
export type { WindowConfirmProps } from '../WindowConfirm/types';
|
|
5
|
-
export * from '../WindowBase';
|
|
6
|
-
export { getModalDictionary } from './dictionary';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{storybook-decorators → .storybook/decorators}/WithContexts/subcomponents/AppWithTheme.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{storybook-decorators → .storybook/decorators}/WithPopupsProvider/WithPopupsProvider.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|