@m4l/components 5.0.2 → 6.0.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/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/Icon/constants.d.ts +1 -0
- package/components/Icon/types.d.ts +12 -3
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/maps/components/Map/classes/index.d.ts +1 -1
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
- package/test/getNameDataTestId.d.ts +1 -1
- package/{vendor-FyizdpHB.js → vendor-B-B0U9GM.js} +135 -84
|
@@ -58,7 +58,7 @@ export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponen
|
|
|
58
58
|
}, {}, {}>;
|
|
59
59
|
export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
60
60
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
61
|
-
}, "children" | "className" | "style" | "action" | "divider" | "
|
|
61
|
+
}, "children" | "className" | "style" | "action" | "divider" | "sx" | "classes" | "autoFocus" | "tabIndex" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters">, "value" | "children" | "className" | "onResize" | "style" | "color" | "hidden" | "slot" | "title" | "onChange" | "action" | "dir" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "divider" | "content" | "translate" | "sx" | "ref" | "key" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "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" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
62
62
|
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
63
63
|
}, {}, {}>;
|
|
64
64
|
export declare const PopoverMenuItemIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
@@ -55,7 +55,7 @@ export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponen
|
|
|
55
55
|
}, {}, {}>;
|
|
56
56
|
export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
57
57
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
58
|
-
}, "children" | "className" | "style" | "action" | "divider" | "
|
|
58
|
+
}, "children" | "className" | "style" | "action" | "divider" | "sx" | "classes" | "autoFocus" | "tabIndex" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters">, "value" | "children" | "className" | "onResize" | "style" | "color" | "hidden" | "slot" | "title" | "onChange" | "action" | "dir" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "divider" | "content" | "translate" | "sx" | "ref" | "key" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "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" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicSortOwnerState> & Record<string, unknown> & {
|
|
59
59
|
ownerState: Partial<import("../types").DynamicSortOwnerState> & Record<string, unknown>;
|
|
60
60
|
}, {}, {}>;
|
|
61
61
|
export declare const PopoverMenuItemIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicSortOwnerState> & Record<string, unknown> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GridLayoutClasses } from './types';
|
|
2
2
|
export declare const gridLayoutClasses: GridLayoutClasses;
|
|
3
|
-
export declare const useUtilityClasses: () => Record<"static" | "root" | "dragging" | "colapsed" | "resizing" | "
|
|
3
|
+
export declare const useUtilityClasses: () => Record<"static" | "root" | "dragging" | "colapsed" | "resizing" | "gridItemRoot" | "gridItemPlaceholder" | "gridItemFreeMove" | "maximizeMe" | "maximizeOther" | "resizeHide" | "invisible" | "cssTransforms", string>;
|
|
4
4
|
export declare type Classes = ReturnType<typeof useUtilityClasses>;
|
|
@@ -2,7 +2,7 @@ import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
|
2
2
|
import { IconSlots } from './slots';
|
|
3
3
|
import { Theme } from '@mui/material';
|
|
4
4
|
import { ICON_KEY_COMPONENT } from './constants';
|
|
5
|
-
import {
|
|
5
|
+
import { Sizes } from '@m4l/styles';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
7
|
import { TooltipProps } from '../mui_extended';
|
|
8
8
|
export interface IconProps extends Pick<TooltipProps, 'placement'> {
|
|
@@ -33,13 +33,22 @@ export interface IconProps extends Pick<TooltipProps, 'placement'> {
|
|
|
33
33
|
/**
|
|
34
34
|
* Esquema de color a aplicar al componente de los valores definidos en 'ColorSchemeComponent'.
|
|
35
35
|
*/
|
|
36
|
-
color?:
|
|
36
|
+
color?: 'primary.main' | 'text.primary' | 'primary.contrastText' | 'info.main' | 'succes.main' | 'error.main' | 'warning.main';
|
|
37
37
|
/**
|
|
38
38
|
* Clase externa
|
|
39
39
|
*/
|
|
40
40
|
className?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Propiedad que sirve para complementar el nombre del data-testid, aporta un identificador único del elemento html en toda aplicación.
|
|
43
|
+
* Es útil para realizar pruebas unitarias y de integración.
|
|
44
|
+
*/
|
|
45
|
+
instaceDataTestId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Valor que en caso de ser verdadero debe de pintar el svg con color text disabled.
|
|
48
|
+
*/
|
|
49
|
+
disabled?: boolean;
|
|
41
50
|
}
|
|
42
|
-
export declare type OwnerState = Pick<IconProps, 'size' | 'rotationAngle' | 'skeleton' | 'securityArea'>;
|
|
51
|
+
export declare type OwnerState = Pick<IconProps, 'size' | 'rotationAngle' | 'skeleton' | 'securityArea' | 'color' | 'disabled'>;
|
|
43
52
|
export interface IconOwnerState extends IconProps, OwnerState {
|
|
44
53
|
}
|
|
45
54
|
export declare type IconSlotsType = keyof typeof IconSlots;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
import { DotIconProps } from './types';
|
|
3
3
|
export declare const NavSubItemContentRoot: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
}, "children" | "className" | "style" | "action" | "divider" | "
|
|
5
|
+
}, "children" | "className" | "style" | "action" | "divider" | "alignItems" | "sx" | "classes" | "autoFocus" | "tabIndex" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
6
6
|
export declare const DotIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & DotIconProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -7,7 +7,7 @@ export declare const LabelStyled: import("@emotion/styled").StyledComponent<Pick
|
|
|
7
7
|
}, {}, {}>;
|
|
8
8
|
export declare const TextFieldStyled: import("@emotion/styled").StyledComponent<Pick<{
|
|
9
9
|
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
10
|
-
} & Omit<import("@mui/material").StandardTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "variant">, "value" | "error" | "select" | "children" | "className" | "onResize" | "style" | "color" | "hidden" | "label" | "slot" | "title" | "size" | "margin" | "type" | "name" | "placeholder" | "maxRows" | "minRows" | "onChange" | "dir" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "
|
|
10
|
+
} & Omit<import("@mui/material").StandardTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "variant">, "value" | "error" | "select" | "children" | "className" | "onResize" | "style" | "color" | "hidden" | "label" | "slot" | "title" | "size" | "margin" | "type" | "name" | "placeholder" | "maxRows" | "minRows" | "onChange" | "dir" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "sx" | "ref" | "key" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "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" | "disabled" | "component" | "variant" | "rows" | "fullWidth" | "focused" | "hiddenLabel" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "SelectProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
11
11
|
ownerState: Partial<import("..").RHFTextFieldProps> & Record<string, unknown>;
|
|
12
12
|
}, {}, {}>;
|
|
13
13
|
export declare const SkeletonTextFieldRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MapClasses } from './types';
|
|
2
2
|
import { OwnerState } from '../contexts/MapContext/types';
|
|
3
3
|
export declare const mapClasses: MapClasses;
|
|
4
|
-
export declare const useMapUtilityClasses: (_ownerState: OwnerState) => Record<"root" | "
|
|
4
|
+
export declare const useMapUtilityClasses: (_ownerState: OwnerState) => Record<"root" | "disabled" | "active" | "topLeftToolsRoot" | "topRigthToolsRoot" | "zoomButtons" | "markerLayerRoot" | "markerLayerIcon" | "markerLayerLabel" | "featureLabel" | "meaureToolRoot" | "measureToolFormValue" | "measureToolFormValueDistance" | "measureToolFormValueSymbol" | "measureToolLabel" | "meausureToolLabelDistance" | "meausureToolLabelSymbol" | "measureMarkerRoot" | "measureMarkerContainer" | "measureMarkerContainerRhomb" | "measureMarkerContainerSlot" | "measureMarkerContainerSlotNumber" | "measureLabelMarkerRoot" | "measureLabelMarkerContainer" | "measureLabelMarkerDistance" | "measureLabelMarkerRemove" | "mapSourcesPopoverRoot" | "mapSourcesRoot" | "mapSourcesOption" | "mapSourcesOptionIconLabel" | "mapSourcesOptionRoadOptions" | "mapSourcesOptionRoadOptionsCheck" | "layersPopoverRoot" | "markerLayerLabelInner", string>;
|
|
5
5
|
export declare type Classes = ReturnType<typeof useMapUtilityClasses>;
|
|
@@ -10,7 +10,7 @@ export declare const BadgeStyled: import("@emotion/styled").StyledComponent<Pick
|
|
|
10
10
|
}, {}, {}>;
|
|
11
11
|
export declare const MenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
12
12
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
13
|
-
}, "children" | "className" | "style" | "action" | "divider" | "
|
|
13
|
+
}, "children" | "className" | "style" | "action" | "divider" | "sx" | "classes" | "autoFocus" | "tabIndex" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters">, "value" | "children" | "className" | "onResize" | "style" | "color" | "hidden" | "slot" | "title" | "onChange" | "action" | "dir" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "divider" | "content" | "translate" | "sx" | "ref" | "key" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "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" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "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" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
14
14
|
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export declare const LabelMenuItemStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x, s, bM, bA, as, au, av, at, ar, A, by, bG, cl, k, p, o, l, bN, bR, bL, _, bO, bP, c1, c2, bQ, ah, aj, ai, al, ag, af, ak, am, ae, aX, a6, D, a0, ac, ay, ao, ce, cd, ch, aA, bH, bo, ap, I, c0, c, aL, c3, w, aq, aJ, bS, aK, bT, aM, bU, bb, L, bK, bd, aR, aT, aN, aP, aZ, aS, aW, cf, b_, bZ, cn, b5, cm, M, d, b, bf, N, bi, bm, bV, bl, bn, a8, a3, a_, c4, bE, bD, bF, a9, aI, P, bp, R, B, V, Q, E, H, F, J, O, G, X, Y, Z, cg, bq, br, aB, bs, S, bJ, bx, bt, c5, bX, c7, c9, c8, c6, T, bu, bw, cb, cc, b$, bI, ca, a1, ba, b9, m, W, aD, aC, aE, a$, b0, n, bv, ax, b8, bh, bk, az, bB, bz, t, y, aw, g, a, ab, an, cj, a5, $, a7, a4, aa, ad, bc, be, aV, aQ, aY, bY, b7, b6, bg, bj, bW, K, C, z, U, a2, cr, aG, aF, b1, b2, b3, b4, ck, cu, ci, u, co, cs, ct, aO, aU, cp, bC, r, cv, cq, q, e, f, v, i, j, h, aH } from "./vendor-
|
|
1
|
+
import { x, s, bM, bA, as, au, av, at, ar, A, by, bG, cl, k, p, o, l, bN, bR, bL, _, bO, bP, c1, c2, bQ, ah, aj, ai, al, ag, af, ak, am, ae, aX, a6, D, a0, ac, ay, ao, ce, cd, ch, aA, bH, bo, ap, I, c0, c, aL, c3, w, aq, aJ, bS, aK, bT, aM, bU, bb, L, bK, bd, aR, aT, aN, aP, aZ, aS, aW, cf, b_, bZ, cn, b5, cm, M, d, b, bf, N, bi, bm, bV, bl, bn, a8, a3, a_, c4, bE, bD, bF, a9, aI, P, bp, R, B, V, Q, E, H, F, J, O, G, X, Y, Z, cg, bq, br, aB, bs, S, bJ, bx, bt, c5, bX, c7, c9, c8, c6, T, bu, bw, cb, cc, b$, bI, ca, a1, ba, b9, m, W, aD, aC, aE, a$, b0, n, bv, ax, b8, bh, bk, az, bB, bz, t, y, aw, g, a, ab, an, cj, a5, $, a7, a4, aa, ad, bc, be, aV, aQ, aY, bY, b7, b6, bg, bj, bW, K, C, z, U, a2, cr, aG, aF, b1, b2, b3, b4, ck, cu, ci, u, co, cs, ct, aO, aU, cp, bC, r, cv, cq, q, e, f, v, i, j, h, aH } from "./vendor-B-B0U9GM.js";
|
|
2
2
|
export {
|
|
3
3
|
x as AREAS_DICCTIONARY,
|
|
4
4
|
s as AREAS_DICTIONARY_ID,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"lint-staged": {
|
|
6
6
|
"src/**/*.{js,ts,jsx,tsx}": "eslint --max-warnings=0 --fix",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@m4l/core": "^2.0.0",
|
|
53
|
-
"@m4l/graphics": "^
|
|
54
|
-
"@m4l/styles": "^
|
|
53
|
+
"@m4l/graphics": "^6.0.0",
|
|
54
|
+
"@m4l/styles": "^6.0.0",
|
|
55
55
|
"@emotion/react": "^11.5.0",
|
|
56
56
|
"@emotion/styled": "^11.3.0",
|
|
57
57
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getNameDataTestId: <T>(
|
|
1
|
+
export declare const getNameDataTestId: <T>(elementPrefix: string, elementKey: keyof T, instaceId?: string | undefined) => string;
|
|
2
2
|
/**
|
|
3
3
|
* Utilidad que permite generar el nombre único que sirve para realizar las pruebas unitarias y de integración.
|
|
4
4
|
* @param prefix -
|
|
@@ -7,7 +7,7 @@ import React__default, { createContext, useRef, useContext, forwardRef, useMemo,
|
|
|
7
7
|
import { Tooltip as Tooltip$1, Popper, IconButton as IconButton$1, Box, styled as styled$1, useTheme, alpha as alpha$1, Skeleton, generateUtilityClasses, generateUtilityClass, Popover as Popover$1, Typography as Typography$1, Dialog, Paper, CircularProgress as CircularProgress$1, Autocomplete, TextField, Chip, Accordion as Accordion$1, AccordionSummary, AccordionDetails, Badge as Badge$1, MenuItem, Avatar as Avatar$1, Link, Breadcrumbs as Breadcrumbs$1, Checkbox, LinearProgress as LinearProgress$1, Stack as Stack$1, Tabs as Tabs$1, Select, InputBase, Tab as Tab$1, FormGroup, FormControlLabel, InputAdornment, RadioGroup, Radio, SvgIcon, useForkRef, FormControl, ListItemText, ListItemButton, Collapse, Drawer as Drawer$1, ButtonBase, Grid } from "@mui/material";
|
|
8
8
|
import { styled, alpha, useTheme as useTheme$1 } from "@mui/material/styles";
|
|
9
9
|
import SimpleBarReact from "simplebar-react";
|
|
10
|
-
import { useModuleDictionary, useModuleSkeleton, useHostTools, useNetwork, EmitEvents, useEnvironment,
|
|
10
|
+
import { getPropertyByString, useModuleDictionary, useModuleSkeleton, useHostTools, useNetwork, EmitEvents, useEnvironment, axiosOperation, useFlagsPresent, CommonFlags, voidFunction, useBase, evaluateWithContext, BaseProvider, useFlagsStore, useModulePrivileges, usePaginate, useAuth, DomainCountryProvider, FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider, ModulePrivilegesProvider, EnvironmentProvider, HostToolsProvider, NetworkProvider, AuthProvider } from "@m4l/core";
|
|
11
11
|
import { Link as Link$1, useLocation, NavLink as NavLink$1, unstable_HistoryRouter } from "react-router-dom";
|
|
12
12
|
import clsx from "clsx";
|
|
13
13
|
import { useForm, FormProvider, useFormContext, Controller, useWatch, useController, useFormState } from "react-hook-form";
|
|
@@ -52,7 +52,7 @@ import { inputBaseClasses } from "@mui/material/InputBase";
|
|
|
52
52
|
import { DateTimePicker } from "@mui/x-date-pickers";
|
|
53
53
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
54
54
|
import { Helmet } from "react-helmet-async";
|
|
55
|
-
import {
|
|
55
|
+
import { DEFAULT_SIZE, useResponsive, OUR_THEME, fnComponentsOverrides } from "@m4l/styles";
|
|
56
56
|
import MuiButton from "@mui/material/Button";
|
|
57
57
|
import { createBrowserHistory } from "history";
|
|
58
58
|
import EventEmitter from "eventemitter3";
|
|
@@ -67,6 +67,7 @@ var IconSlots = /* @__PURE__ */ ((IconSlots2) => {
|
|
|
67
67
|
return IconSlots2;
|
|
68
68
|
})(IconSlots || {});
|
|
69
69
|
const ICON_KEY_COMPONENT = "M4LIcon";
|
|
70
|
+
const ICON_PREFIX$2 = "Icon";
|
|
70
71
|
const iconStyles = {
|
|
71
72
|
root: ({ theme, ownerState }) => ({
|
|
72
73
|
display: "flex",
|
|
@@ -90,7 +91,7 @@ const iconStyles = {
|
|
|
90
91
|
...ownerState.rotationAngle && {
|
|
91
92
|
transform: `rotate(${ownerState.rotationAngle}deg)`
|
|
92
93
|
},
|
|
93
|
-
backgroundColor: ownerState.
|
|
94
|
+
backgroundColor: !ownerState.disabled ? getPropertyByString(theme.vars.palette, ownerState.color || "text.primary") : theme.vars.palette.text.disabled,
|
|
94
95
|
...ownerState.size === "large" && {
|
|
95
96
|
...theme.generalSettings.isMobile ? {
|
|
96
97
|
width: 28,
|
|
@@ -129,7 +130,8 @@ const iconStyles = {
|
|
|
129
130
|
minWidth: 14,
|
|
130
131
|
minHeight: 14
|
|
131
132
|
}
|
|
132
|
-
}
|
|
133
|
+
},
|
|
134
|
+
variants: []
|
|
133
135
|
})
|
|
134
136
|
};
|
|
135
137
|
var TooltipSlots = /* @__PURE__ */ ((TooltipSlots2) => {
|
|
@@ -282,6 +284,16 @@ const IconStyled = styled("div", {
|
|
|
282
284
|
name: ICON_KEY_COMPONENT,
|
|
283
285
|
slot: IconSlots.icon
|
|
284
286
|
})(iconStyles?.icon);
|
|
287
|
+
const TEST_PROP_ID = "data-testid";
|
|
288
|
+
const getNameDataTestId$d = (elementPrefix, elementKey, instaceId) => {
|
|
289
|
+
if (instaceId) {
|
|
290
|
+
return `${elementPrefix}-${[elementKey]}-${instaceId}`;
|
|
291
|
+
}
|
|
292
|
+
return `${elementPrefix}-${[elementKey]}`;
|
|
293
|
+
};
|
|
294
|
+
function getPropDataTestId(prefix, keyName) {
|
|
295
|
+
return process.env.NODE_ENV !== "production" && prefix && keyName ? { ["data-testid"]: `${prefix}-${[keyName]}` } : {};
|
|
296
|
+
}
|
|
285
297
|
const Icon = (props) => {
|
|
286
298
|
const {
|
|
287
299
|
src,
|
|
@@ -289,30 +301,77 @@ const Icon = (props) => {
|
|
|
289
301
|
rotationAngle,
|
|
290
302
|
tooltipContent,
|
|
291
303
|
securityArea,
|
|
292
|
-
color,
|
|
304
|
+
color = "text.primary",
|
|
293
305
|
className,
|
|
294
|
-
placement = "bottom"
|
|
306
|
+
placement = "bottom",
|
|
307
|
+
instaceDataTestId,
|
|
308
|
+
disabled
|
|
295
309
|
} = props;
|
|
296
310
|
const { currentSize } = useComponentSize(size);
|
|
297
|
-
return /* @__PURE__ */ jsx(
|
|
298
|
-
|
|
311
|
+
return /* @__PURE__ */ jsx(Fragment, { children: tooltipContent ? /* @__PURE__ */ jsx(
|
|
312
|
+
TooltipStyled,
|
|
299
313
|
{
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
314
|
+
title: tooltipContent,
|
|
315
|
+
ownerState: {},
|
|
316
|
+
placement,
|
|
317
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
318
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
319
|
+
ICON_PREFIX$2,
|
|
320
|
+
IconSlots.tooltip,
|
|
321
|
+
instaceDataTestId
|
|
322
|
+
)
|
|
323
|
+
} : {},
|
|
324
|
+
children: /* @__PURE__ */ jsx(
|
|
325
|
+
RootStyled$7,
|
|
326
|
+
{
|
|
327
|
+
className,
|
|
328
|
+
ownerState: { securityArea, size: currentSize },
|
|
329
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
330
|
+
[TEST_PROP_ID]: getNameDataTestId$d(ICON_PREFIX$2, IconSlots.root, instaceDataTestId)
|
|
331
|
+
} : {},
|
|
332
|
+
children: /* @__PURE__ */ jsx(
|
|
333
|
+
IconStyled,
|
|
334
|
+
{
|
|
335
|
+
ownerState: {
|
|
336
|
+
src,
|
|
337
|
+
rotationAngle,
|
|
338
|
+
size: currentSize,
|
|
339
|
+
disabled,
|
|
340
|
+
color
|
|
341
|
+
},
|
|
342
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
343
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
344
|
+
ICON_PREFIX$2,
|
|
345
|
+
IconSlots.icon,
|
|
346
|
+
instaceDataTestId
|
|
347
|
+
)
|
|
348
|
+
} : {}
|
|
349
|
+
}
|
|
350
|
+
)
|
|
351
|
+
}
|
|
352
|
+
)
|
|
306
353
|
}
|
|
307
|
-
)
|
|
308
|
-
|
|
354
|
+
) : /* @__PURE__ */ jsx(
|
|
355
|
+
RootStyled$7,
|
|
309
356
|
{
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
357
|
+
className,
|
|
358
|
+
ownerState: { securityArea, size: currentSize },
|
|
359
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$d(ICON_PREFIX$2, IconSlots.root, instaceDataTestId) } : {},
|
|
360
|
+
children: /* @__PURE__ */ jsx(
|
|
361
|
+
IconStyled,
|
|
362
|
+
{
|
|
363
|
+
ownerState: {
|
|
364
|
+
src,
|
|
365
|
+
rotationAngle,
|
|
366
|
+
size: currentSize,
|
|
367
|
+
color,
|
|
368
|
+
disabled
|
|
369
|
+
},
|
|
370
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
371
|
+
[TEST_PROP_ID]: getNameDataTestId$d(ICON_PREFIX$2, IconSlots.icon, instaceDataTestId)
|
|
372
|
+
} : {}
|
|
373
|
+
}
|
|
374
|
+
)
|
|
316
375
|
}
|
|
317
376
|
) });
|
|
318
377
|
};
|
|
@@ -4355,7 +4414,7 @@ const useUtilityClasses$e = (ownerState) => {
|
|
|
4355
4414
|
const ArrowStyle = styled("span")(({ arrowType, theme }) => {
|
|
4356
4415
|
const SIZE = 12;
|
|
4357
4416
|
const POSITION = -(SIZE / 2);
|
|
4358
|
-
const borderStyle = `solid 1px ${theme.vars.palette.border.
|
|
4417
|
+
const borderStyle = `solid 1px ${theme.vars.palette.border.disabled}`;
|
|
4359
4418
|
const topStyle = {
|
|
4360
4419
|
borderRadius: "0 0 3px 0",
|
|
4361
4420
|
top: POSITION,
|
|
@@ -4474,9 +4533,8 @@ const useUtilityClasses$d = () => {
|
|
|
4474
4533
|
...composedClasses
|
|
4475
4534
|
};
|
|
4476
4535
|
};
|
|
4477
|
-
const TEST_PROP_ID = "data-testid";
|
|
4478
4536
|
const TYPOGRAPHY_PREFIX = "Typography";
|
|
4479
|
-
const getNameDataTestId$
|
|
4537
|
+
const getNameDataTestId$c = (KEY) => {
|
|
4480
4538
|
return `${TYPOGRAPHY_PREFIX}-${KEY}`;
|
|
4481
4539
|
};
|
|
4482
4540
|
function Typography(props) {
|
|
@@ -4493,7 +4551,7 @@ function Typography(props) {
|
|
|
4493
4551
|
WarpperTypography,
|
|
4494
4552
|
{
|
|
4495
4553
|
className: clsx(classes2.root, className),
|
|
4496
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
4554
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$c("root") } : {},
|
|
4497
4555
|
children: !isSkeleton ? /* @__PURE__ */ jsx(Typography$1, { ...other, variant }) : /* @__PURE__ */ jsx(SkeletonTypography, { skeletonWidth, skeletonHeight })
|
|
4498
4556
|
}
|
|
4499
4557
|
);
|
|
@@ -4915,7 +4973,7 @@ const getRatioValues = (ratio) => {
|
|
|
4915
4973
|
}
|
|
4916
4974
|
};
|
|
4917
4975
|
const IMAGE_PREFIX = "Image";
|
|
4918
|
-
const getNameDataTestId$
|
|
4976
|
+
const getNameDataTestId$b = (KEY) => {
|
|
4919
4977
|
return `${IMAGE_PREFIX}-${KEY}`;
|
|
4920
4978
|
};
|
|
4921
4979
|
const componentName$B = "M4LImage";
|
|
@@ -4949,7 +5007,7 @@ function Image(props) {
|
|
|
4949
5007
|
ImageRoot,
|
|
4950
5008
|
{
|
|
4951
5009
|
className: clsx(classes2.root, className),
|
|
4952
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
5010
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$b("root") } : {},
|
|
4953
5011
|
style: width && height ? { minWidth: width, minHeight: height, width, height } : { width: "100%", height: "100%" },
|
|
4954
5012
|
children: /* @__PURE__ */ jsx(
|
|
4955
5013
|
"img",
|
|
@@ -4959,14 +5017,14 @@ function Image(props) {
|
|
|
4959
5017
|
className: classes2.img,
|
|
4960
5018
|
width: !width ? "100%" : ratioImage.width,
|
|
4961
5019
|
height: !height ? "100%" : ratioImage.height,
|
|
4962
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
5020
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$b("img") } : {}
|
|
4963
5021
|
}
|
|
4964
5022
|
)
|
|
4965
5023
|
}
|
|
4966
5024
|
)
|
|
4967
5025
|
);
|
|
4968
5026
|
}
|
|
4969
|
-
const getNameDataTestId$
|
|
5027
|
+
const getNameDataTestId$a = (KEY) => {
|
|
4970
5028
|
return `${RHFAUTOCOMPLETE_PREFIX}-${KEY}`;
|
|
4971
5029
|
};
|
|
4972
5030
|
function withRenderOption(getUrlImage, classes2) {
|
|
@@ -4977,7 +5035,7 @@ function withRenderOption(getUrlImage, classes2) {
|
|
|
4977
5035
|
...optionProps,
|
|
4978
5036
|
key: optionProps.key,
|
|
4979
5037
|
className: classes2.withImage,
|
|
4980
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
5038
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$a("withImage") } : {}
|
|
4981
5039
|
},
|
|
4982
5040
|
/* @__PURE__ */ jsx(Image, { src: getUrlImage(option) }),
|
|
4983
5041
|
/* @__PURE__ */ jsx(Typography, { variant: "body", children: optionProps.key })
|
|
@@ -5021,7 +5079,7 @@ const SkeletonRHFAutocomplete = (props) => {
|
|
|
5021
5079
|
"div",
|
|
5022
5080
|
{
|
|
5023
5081
|
className: classes2.skeleton,
|
|
5024
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
5082
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$a("skeleton") } : {},
|
|
5025
5083
|
children: !withImage ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5026
5084
|
/* @__PURE__ */ jsx("div", { className: classes2.skeletonContainerText, children: /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: "50%", height: "14px" }) }),
|
|
5027
5085
|
/* @__PURE__ */ jsx(Skeleton, { variant: "circular", width: 16, height: 16, sx: { minWidth: "16px" } })
|
|
@@ -5435,7 +5493,7 @@ styled("div")(({ theme }) => ({
|
|
|
5435
5493
|
borderRadius: theme.spacing(0.5),
|
|
5436
5494
|
height: theme.spacing(4.5),
|
|
5437
5495
|
minHeight: theme.spacing(4.5),
|
|
5438
|
-
backgroundColor: theme.vars.palette.
|
|
5496
|
+
backgroundColor: theme.vars.palette.primary.opacity,
|
|
5439
5497
|
paddingLeft: theme.spacing(2),
|
|
5440
5498
|
paddingRight: theme.spacing(2),
|
|
5441
5499
|
marginBottom: "0px"
|
|
@@ -5449,12 +5507,6 @@ styled("div")(({ theme }) => ({
|
|
|
5449
5507
|
const AccordionRoot = styled("div")(({ theme }) => ({
|
|
5450
5508
|
...theme.components?.M4LAccordion?.styleOverrides
|
|
5451
5509
|
}));
|
|
5452
|
-
const getNameDataTestId$a = (ELEMENT_PREFIX, ELEMENT_KEY, ELEMENT_ID) => {
|
|
5453
|
-
return `${ELEMENT_PREFIX}-${[ELEMENT_KEY]}-${ELEMENT_ID}`;
|
|
5454
|
-
};
|
|
5455
|
-
function getPropDataTestId(prefix, keyName) {
|
|
5456
|
-
return process.env.NODE_ENV !== "production" && prefix && keyName ? { ["data-testid"]: `${prefix}-${[keyName]}` } : {};
|
|
5457
|
-
}
|
|
5458
5510
|
const COMPONENT_PREFIX$2 = "m4l-accordion";
|
|
5459
5511
|
function Accordion(props) {
|
|
5460
5512
|
const {
|
|
@@ -5475,7 +5527,7 @@ function Accordion(props) {
|
|
|
5475
5527
|
{
|
|
5476
5528
|
className: clsx(classes2.root, className),
|
|
5477
5529
|
...process.env.NODE_ENV !== "production" ? {
|
|
5478
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
5530
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
5479
5531
|
COMPONENT_PREFIX$2,
|
|
5480
5532
|
"root",
|
|
5481
5533
|
dataTestId
|
|
@@ -5509,7 +5561,7 @@ function Accordion(props) {
|
|
|
5509
5561
|
{
|
|
5510
5562
|
className: classes2.labelIcon,
|
|
5511
5563
|
...process.env.NODE_ENV !== "production" ? {
|
|
5512
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
5564
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
5513
5565
|
COMPONENT_PREFIX$2,
|
|
5514
5566
|
"labelIcon",
|
|
5515
5567
|
dataTestId
|
|
@@ -6600,14 +6652,14 @@ function Tab(props) {
|
|
|
6600
6652
|
{
|
|
6601
6653
|
className: clsx(classes2.root, className),
|
|
6602
6654
|
...process.env.NODE_ENV !== "production" ? {
|
|
6603
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
6655
|
+
[TEST_PROP_ID]: getNameDataTestId$d(COMPONENT_PREFIX$1, "root", dataTestId)
|
|
6604
6656
|
} : {},
|
|
6605
6657
|
children: !isSkeleton ? /* @__PURE__ */ jsx(Tab$1, { ...other }) : /* @__PURE__ */ jsx(
|
|
6606
6658
|
SKTTabWrapper,
|
|
6607
6659
|
{
|
|
6608
6660
|
className: classes2.skeleton,
|
|
6609
6661
|
...process.env.NODE_ENV !== "production" ? {
|
|
6610
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
6662
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
6611
6663
|
COMPONENT_PREFIX$1,
|
|
6612
6664
|
"skeleton",
|
|
6613
6665
|
dataTestId
|
|
@@ -7798,14 +7850,14 @@ const rhfTextFieldStyles = {
|
|
|
7798
7850
|
"&:not(.Mui-focused,input:disabled):hover fieldset": {
|
|
7799
7851
|
transition: "all .3s ease",
|
|
7800
7852
|
borderColor: ownerState?.error === true ? theme.vars.palette.error.main : theme.vars.palette.primary.light,
|
|
7801
|
-
color: theme.vars.palette.primary?.
|
|
7802
|
-
background: theme.vars.palette.primary
|
|
7853
|
+
color: theme.vars.palette.primary?.focusActive,
|
|
7854
|
+
background: theme.vars.palette.primary.opacity
|
|
7803
7855
|
},
|
|
7804
7856
|
"&:has(:disabled) fieldset": {
|
|
7805
7857
|
color: theme.vars.palette.text.disabled
|
|
7806
7858
|
},
|
|
7807
7859
|
"&:focus-within": {
|
|
7808
|
-
borderColor: !ownerState.isValid ? theme.palette.error.main : theme.palette.primary
|
|
7860
|
+
borderColor: !ownerState.isValid ? theme.palette.error.main : theme.palette.primary.focusVisible
|
|
7809
7861
|
},
|
|
7810
7862
|
...ownerState.isValid === false ? {
|
|
7811
7863
|
borderColor: theme.palette.error.main
|
|
@@ -7827,7 +7879,7 @@ const rhfTextFieldStyles = {
|
|
|
7827
7879
|
padding: "12px 14px",
|
|
7828
7880
|
borderRadius: theme.spacing(1),
|
|
7829
7881
|
gap: "4px",
|
|
7830
|
-
backgroundColor: theme.vars.palette.background.
|
|
7882
|
+
backgroundColor: theme.vars.palette.background.surface,
|
|
7831
7883
|
height: "20px"
|
|
7832
7884
|
})
|
|
7833
7885
|
};
|
|
@@ -10712,7 +10764,7 @@ const toastStyles = {
|
|
|
10712
10764
|
backgroundColor: theme.vars.palette.background.default,
|
|
10713
10765
|
boxShadow: theme.customShadows?.z4,
|
|
10714
10766
|
borderRadius: "4px",
|
|
10715
|
-
border: `1px solid ${theme.vars.palette.border.
|
|
10767
|
+
border: `1px solid ${theme.vars.palette.border.default}`,
|
|
10716
10768
|
[theme.breakpoints.down(480)]: {
|
|
10717
10769
|
margin: "1%",
|
|
10718
10770
|
width: "98% !important"
|
|
@@ -11097,7 +11149,7 @@ const Window = (props) => {
|
|
|
11097
11149
|
),
|
|
11098
11150
|
onMouseDown: onTouch,
|
|
11099
11151
|
...process.env.NODE_ENV !== "production" ? {
|
|
11100
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
11152
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
11101
11153
|
AREAS_VIEWER_CLASS_NAME,
|
|
11102
11154
|
"windowRoot",
|
|
11103
11155
|
`${emergeType}`
|
|
@@ -11394,7 +11446,7 @@ function AreasViewer() {
|
|
|
11394
11446
|
{
|
|
11395
11447
|
className: classesRoot,
|
|
11396
11448
|
...process.env.NODE_ENV !== "production" ? {
|
|
11397
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
11449
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
11398
11450
|
AREAS_VIEWER_CLASS_NAME,
|
|
11399
11451
|
"root",
|
|
11400
11452
|
""
|
|
@@ -12525,8 +12577,8 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
12525
12577
|
let valReturn = true;
|
|
12526
12578
|
for (let i = 0; i < filters.size; i++) {
|
|
12527
12579
|
const entry = iterator.next().value;
|
|
12528
|
-
const columnKey = entry[0];
|
|
12529
|
-
const columnFilter = entry[1];
|
|
12580
|
+
const columnKey = entry?.[0] ?? "";
|
|
12581
|
+
const columnFilter = entry?.[1] ?? { value: "", customFilter: void 0 };
|
|
12530
12582
|
let valCell;
|
|
12531
12583
|
const valueMaybeString = getPropertyByString(r, columnKey);
|
|
12532
12584
|
let fixedValue;
|
|
@@ -12578,7 +12630,7 @@ function Table(props) {
|
|
|
12578
12630
|
const onRowClick = (row) => {
|
|
12579
12631
|
if (selectedRows && onSelectedRowsChange) {
|
|
12580
12632
|
if (selectedRows.entries().next().value) {
|
|
12581
|
-
if (selectedRows.entries().next().value[1] === rowKeyGetter(row)) {
|
|
12633
|
+
if (selectedRows.entries().next().value?.[1] === rowKeyGetter(row)) {
|
|
12582
12634
|
return;
|
|
12583
12635
|
}
|
|
12584
12636
|
}
|
|
@@ -12963,7 +13015,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
12963
13015
|
let rowIndex = -1;
|
|
12964
13016
|
if (selRows.size !== 1) return rowIndex;
|
|
12965
13017
|
const iterator = selRows.entries();
|
|
12966
|
-
const entry = iterator.next().value[1];
|
|
13018
|
+
const entry = iterator.next().value?.[1];
|
|
12967
13019
|
rowIndex = rows.findIndex((row) => row.key === entry);
|
|
12968
13020
|
return rowIndex;
|
|
12969
13021
|
}, [rows, selRows]);
|
|
@@ -13387,7 +13439,7 @@ function DataGrid(props) {
|
|
|
13387
13439
|
className: classes2.root,
|
|
13388
13440
|
...process.env.NODE_ENV !== "production" ? {
|
|
13389
13441
|
[TEST_PROP_COLUMNS]: JSON.stringify(columns),
|
|
13390
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
13442
|
+
[TEST_PROP_ID]: getNameDataTestId$d(DATAGRID_PREFIX_NAME, "root", dataTestId)
|
|
13391
13443
|
} : {},
|
|
13392
13444
|
children: /* @__PURE__ */ jsx(
|
|
13393
13445
|
DataGridProvider,
|
|
@@ -13506,16 +13558,15 @@ function NumberEditor({
|
|
|
13506
13558
|
}
|
|
13507
13559
|
const getDataGridRowsFromSet = (set, rows, rowKeyGetter) => {
|
|
13508
13560
|
const rowsFinded = [];
|
|
13509
|
-
if (set) {
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
}
|
|
13561
|
+
if (set && set.size > 0) {
|
|
13562
|
+
const iterator = set.entries();
|
|
13563
|
+
for (let i = 0; i < set.size; i++) {
|
|
13564
|
+
const entry = iterator.next().value;
|
|
13565
|
+
if (!entry) continue;
|
|
13566
|
+
const key = entry[1];
|
|
13567
|
+
const row = rows.find((frow) => rowKeyGetter(frow) === key);
|
|
13568
|
+
if (row) {
|
|
13569
|
+
rowsFinded.push(row);
|
|
13519
13570
|
}
|
|
13520
13571
|
}
|
|
13521
13572
|
}
|
|
@@ -14799,7 +14850,7 @@ const dynamicFilterStyles = {
|
|
|
14799
14850
|
height: "fit-content",
|
|
14800
14851
|
border: "1px solid",
|
|
14801
14852
|
borderRadius: "4px",
|
|
14802
|
-
borderColor: theme.vars.palette.border?.
|
|
14853
|
+
borderColor: theme.vars.palette.border?.default,
|
|
14803
14854
|
background: theme.vars.palette.background.default,
|
|
14804
14855
|
[containerQuery(theme.breakpoints, CONTAINER_QUERY_NAME$2)]: {
|
|
14805
14856
|
minHeight: "auto",
|
|
@@ -14809,7 +14860,7 @@ const dynamicFilterStyles = {
|
|
|
14809
14860
|
"applied-filters applied-filters"`
|
|
14810
14861
|
},
|
|
14811
14862
|
"&:focus-within": {
|
|
14812
|
-
borderColor: !ownerState.isValid ? theme.vars.palette.error.main : theme.vars.palette.primary
|
|
14863
|
+
borderColor: !ownerState.isValid ? theme.vars.palette.error.main : theme.vars.palette.primary.focusActive
|
|
14813
14864
|
},
|
|
14814
14865
|
...ownerState.isValid === false ? {
|
|
14815
14866
|
borderColor: theme.vars.palette.error.main
|
|
@@ -14828,7 +14879,7 @@ const dynamicFilterStyles = {
|
|
|
14828
14879
|
borderTopLeftRadius: "4px",
|
|
14829
14880
|
borderBottomLeftRadius: "4px",
|
|
14830
14881
|
borderRight: "1px solid",
|
|
14831
|
-
borderColor: theme.vars.palette.border?.
|
|
14882
|
+
borderColor: theme.vars.palette.border?.default,
|
|
14832
14883
|
[containerQuery(theme.breakpoints, CONTAINER_QUERY_NAME$2)]: {
|
|
14833
14884
|
height: "32px",
|
|
14834
14885
|
width: "100%",
|
|
@@ -14855,8 +14906,8 @@ const dynamicFilterStyles = {
|
|
|
14855
14906
|
"&:focus-visible": {
|
|
14856
14907
|
color: theme.vars.palette.text.secondary,
|
|
14857
14908
|
border: "1px solid",
|
|
14858
|
-
borderColor: theme.vars.palette.primary
|
|
14859
|
-
background: theme.vars.palette.primary
|
|
14909
|
+
borderColor: theme.vars.palette.primary.opacity,
|
|
14910
|
+
background: theme.vars.palette.primary.opacity,
|
|
14860
14911
|
BorderRadius: "2px",
|
|
14861
14912
|
outline: "none!important"
|
|
14862
14913
|
},
|
|
@@ -14971,7 +15022,7 @@ const dynamicFilterStyles = {
|
|
|
14971
15022
|
borderTopRightRadius: "4px",
|
|
14972
15023
|
borderBottomRightRadius: "4px",
|
|
14973
15024
|
borderLeft: "1px solid",
|
|
14974
|
-
borderColor: theme.vars.palette.border?.
|
|
15025
|
+
borderColor: theme.vars.palette.border?.default
|
|
14975
15026
|
}),
|
|
14976
15027
|
actionsSkeletonButton: {
|
|
14977
15028
|
display: "flex",
|
|
@@ -23599,7 +23650,7 @@ function PropertyValue(props) {
|
|
|
23599
23650
|
[TEST_PROPS_DATA]: JSON.stringify([
|
|
23600
23651
|
{ property: property ? true : false, value: value ? true : false }
|
|
23601
23652
|
]),
|
|
23602
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
23653
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
23603
23654
|
COMPONENT_PREFIX,
|
|
23604
23655
|
"root",
|
|
23605
23656
|
dataTestId
|
|
@@ -23615,7 +23666,7 @@ function PropertyValue(props) {
|
|
|
23615
23666
|
minWidth: propertyWidth && isDesktop ? propertyWidth : "150px"
|
|
23616
23667
|
},
|
|
23617
23668
|
...process.env.NODE_ENV !== "production" ? {
|
|
23618
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
23669
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
23619
23670
|
COMPONENT_PREFIX,
|
|
23620
23671
|
"property",
|
|
23621
23672
|
dataTestId
|
|
@@ -23645,7 +23696,7 @@ function PropertyValue(props) {
|
|
|
23645
23696
|
height: valueHeight
|
|
23646
23697
|
},
|
|
23647
23698
|
...process.env.NODE_ENV !== "production" ? {
|
|
23648
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
23699
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
23649
23700
|
COMPONENT_PREFIX,
|
|
23650
23701
|
"value",
|
|
23651
23702
|
dataTestId
|
|
@@ -23667,7 +23718,7 @@ function PropertyValue(props) {
|
|
|
23667
23718
|
[TEST_PROPS_DATA]: JSON.stringify([
|
|
23668
23719
|
{ property: property ? true : false, value: value ? true : false }
|
|
23669
23720
|
]),
|
|
23670
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
23721
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
23671
23722
|
COMPONENT_PREFIX,
|
|
23672
23723
|
"root",
|
|
23673
23724
|
dataTestId
|
|
@@ -23683,7 +23734,7 @@ function PropertyValue(props) {
|
|
|
23683
23734
|
[TEST_PROPS_DATA]: JSON.stringify([
|
|
23684
23735
|
{ property: property ? true : false, value: value ? true : false }
|
|
23685
23736
|
]),
|
|
23686
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
23737
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
23687
23738
|
COMPONENT_PREFIX,
|
|
23688
23739
|
"root",
|
|
23689
23740
|
dataTestId
|
|
@@ -23713,7 +23764,7 @@ function PropertyValue(props) {
|
|
|
23713
23764
|
height: valueHeight
|
|
23714
23765
|
},
|
|
23715
23766
|
...process.env.NODE_ENV !== "production" ? {
|
|
23716
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
23767
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
23717
23768
|
COMPONENT_PREFIX,
|
|
23718
23769
|
"value",
|
|
23719
23770
|
dataTestId
|
|
@@ -25324,7 +25375,7 @@ const NavItemRoot = (props) => {
|
|
|
25324
25375
|
classes2.ItemSelect,
|
|
25325
25376
|
item.path === window.location.pathname ? TopBarClasses.IsActive : null
|
|
25326
25377
|
),
|
|
25327
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
25378
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$d(componentName$1, "ItemSelect", dataTestId) } : {},
|
|
25328
25379
|
children: /* @__PURE__ */ jsx(Button, { variant: "text", href: item.path, fullWidth: true, children: item.title })
|
|
25329
25380
|
}
|
|
25330
25381
|
) }, index));
|
|
@@ -25359,7 +25410,7 @@ const NavItemRoot = (props) => {
|
|
|
25359
25410
|
{
|
|
25360
25411
|
className: classes2.ContainerAccordionCase1,
|
|
25361
25412
|
...process.env.NODE_ENV !== "production" ? {
|
|
25362
|
-
[TEST_PROP_ID]: getNameDataTestId$
|
|
25413
|
+
[TEST_PROP_ID]: getNameDataTestId$d(
|
|
25363
25414
|
componentName$1,
|
|
25364
25415
|
"ContainerAccordionCase1",
|
|
25365
25416
|
dataTestId
|
|
@@ -25386,7 +25437,7 @@ const NavItemRoot = (props) => {
|
|
|
25386
25437
|
"div",
|
|
25387
25438
|
{
|
|
25388
25439
|
className: classes2.ContainerAccordion,
|
|
25389
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
25440
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$d(componentName$1, "ContainerAccordion", dataTestId) } : {},
|
|
25390
25441
|
children: [
|
|
25391
25442
|
/* @__PURE__ */ jsx(
|
|
25392
25443
|
Button,
|
|
@@ -25414,7 +25465,7 @@ const NavItemRoot = (props) => {
|
|
|
25414
25465
|
classes2.ItemRoot,
|
|
25415
25466
|
isActive(itemRootData) || openedPopoverId === itemRootData.module_id ? TopBarClasses.IsActive : null
|
|
25416
25467
|
),
|
|
25417
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
25468
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$d(componentName$1, "ItemRoot", dataTestId) } : {},
|
|
25418
25469
|
children: render()
|
|
25419
25470
|
}
|
|
25420
25471
|
);
|
|
@@ -25425,7 +25476,7 @@ const ConteinItem = () => {
|
|
|
25425
25476
|
"div",
|
|
25426
25477
|
{
|
|
25427
25478
|
className: classes2.SimplebarComercial,
|
|
25428
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
25479
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$d(componentName$1, "SimplebarComercial", dataTestId) } : {},
|
|
25429
25480
|
//Map que se encarga de cargar el iNavItemRoot
|
|
25430
25481
|
children: DataMenu.map((group) => /* @__PURE__ */ jsx(NavItemRoot, { itemRootData: group }, group.module_id))
|
|
25431
25482
|
}
|
|
@@ -25441,7 +25492,7 @@ const TopBar = (props) => {
|
|
|
25441
25492
|
TopBarRoot,
|
|
25442
25493
|
{
|
|
25443
25494
|
className: classes2.root,
|
|
25444
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$
|
|
25495
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$d(componentName$1, "root", dataTestId) } : {},
|
|
25445
25496
|
children: /* @__PURE__ */ jsx(TopBarProvider, { value: { dataMenu: DataMenu, classes: classes2, dataTestId }, children: /* @__PURE__ */ jsx(ConteinItem, {}) })
|
|
25446
25497
|
}
|
|
25447
25498
|
);
|
|
@@ -25524,7 +25575,7 @@ function MFAuthApp(props) {
|
|
|
25524
25575
|
return /* @__PURE__ */ jsx(
|
|
25525
25576
|
HostThemeProvider,
|
|
25526
25577
|
{
|
|
25527
|
-
hostThemeOptions:
|
|
25578
|
+
hostThemeOptions: OUR_THEME,
|
|
25528
25579
|
fnComponentsOverrides,
|
|
25529
25580
|
isMicroFrontEnd: true,
|
|
25530
25581
|
isMobile,
|