@m4l/components 9.1.84 → 9.1.85
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/CommonActions/components/ActionFormIntro/index.d.ts +2 -2
- package/components/CommonActions/components/ActionFormIntro/index.js +5 -9
- package/components/CommonActions/components/ActionFormIntro/types.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +2 -1
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +1 -1
- package/components/mui_extended/Autocomplete/Autocomplete.js +14 -13
- package/components/mui_extended/Autocomplete/Autocomplete.styles.js +22 -23
- package/components/mui_extended/Autocomplete/slots /AutocompleteEnum.d.ts +2 -2
- package/components/mui_extended/Autocomplete/slots /AutocompleteEnum.js +2 -2
- package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +5 -2
- package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.js +11 -5
- package/components/mui_extended/CheckBox/CheckBox.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionsFormIntroProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
@@ -6,4 +6,4 @@ import { LoadingButtonProps } from '../../../mui_extended/LoadingButton/types';
|
|
|
6
6
|
* @updatedAt 2025-01-03 11:42:14 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
|
-
export declare function ActionFormIntro(props:
|
|
9
|
+
export declare function ActionFormIntro(props: ActionsFormIntroProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
3
|
-
import { useModuleDictionary
|
|
4
|
-
import { Skeleton } from "@mui/material";
|
|
3
|
+
import { useModuleDictionary } from "@m4l/core";
|
|
5
4
|
import { L as LoadingButton } from "../../../mui_extended/LoadingButton/LoadingButton.js";
|
|
6
5
|
import { u as useCommonActionsUtilityClasses } from "../../classes/index.js";
|
|
7
6
|
function ActionFormIntro(props) {
|
|
7
|
+
const { variant = "contained", color = "primary", label, ...others } = props;
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
|
-
const
|
|
9
|
+
const finalLabel = label || getLabel("common_actions.intro");
|
|
10
10
|
const { control } = useFormContext();
|
|
11
11
|
const { isSubmitting } = useFormState({
|
|
12
12
|
control
|
|
13
13
|
});
|
|
14
|
-
const { variant = "contained", color = "primary" } = props;
|
|
15
14
|
const classes = useCommonActionsUtilityClasses();
|
|
16
|
-
if (isSkeleton) {
|
|
17
|
-
return /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: 57, height: 30 });
|
|
18
|
-
}
|
|
19
15
|
return /* @__PURE__ */ jsx(
|
|
20
16
|
LoadingButton,
|
|
21
17
|
{
|
|
18
|
+
...others,
|
|
22
19
|
variant,
|
|
23
20
|
type: "submit",
|
|
24
21
|
color,
|
|
25
22
|
loading: isSubmitting,
|
|
26
23
|
className: classes.actionFormIntro,
|
|
27
|
-
|
|
28
|
-
label: getLabel("common_actions.intro")
|
|
24
|
+
label: finalLabel
|
|
29
25
|
}
|
|
30
26
|
);
|
|
31
27
|
}
|
|
@@ -9,7 +9,8 @@ const rhfAutocompleteSyles = {
|
|
|
9
9
|
autocompleteRoot: ({ theme }) => ({
|
|
10
10
|
display: "flex",
|
|
11
11
|
flexDirection: "column",
|
|
12
|
-
gap: theme.vars.size.baseSpacings.sp1
|
|
12
|
+
gap: theme.vars.size.baseSpacings.sp1,
|
|
13
|
+
width: "100%"
|
|
13
14
|
}),
|
|
14
15
|
/**
|
|
15
16
|
* Styles for the label component.
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
3
3
|
import { forwardRef, useState, useEffect, useCallback, useMemo } from "react";
|
|
4
4
|
import { r as renderOption } from "./renderOptions/index.js";
|
|
5
|
-
import { Autocomplete as Autocomplete$1 } from "@mui/material";
|
|
6
5
|
import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
|
|
7
|
-
import { C as ChipStyled, I as ImageStyled, a as CircularProgressStyled, b as IconButtonStyled, S as SkeletonAutocompleteStyled, P as PopperComponentStyled, R as RenderInputStyled } from "./slots /AutocompleteSlots.js";
|
|
6
|
+
import { C as ChipStyled, I as ImageStyled, A as AdormentsStyled, a as CircularProgressStyled, b as IconButtonStyled, S as SkeletonAutocompleteStyled, c as AutocompleteRootStyled, P as PopperComponentStyled, R as RenderInputStyled } from "./slots /AutocompleteSlots.js";
|
|
8
7
|
import { T as Typography } from "../Typography/Typography.js";
|
|
9
8
|
const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
|
|
10
9
|
const {
|
|
@@ -149,6 +148,9 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
|
|
|
149
148
|
return isOptionEqualToValueLocal(option, selectedValue);
|
|
150
149
|
});
|
|
151
150
|
const adornments = useMemo(() => {
|
|
151
|
+
if (disabled) {
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
152
154
|
const returnValue = {};
|
|
153
155
|
if (Array.isArray(selectedValue) && multiple) {
|
|
154
156
|
returnValue.startAdornment = selectedValue.map((option, index) => /* @__PURE__ */ jsx(
|
|
@@ -174,17 +176,14 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
|
|
|
174
176
|
);
|
|
175
177
|
}
|
|
176
178
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
+
returnValue.endAdornment = /* @__PURE__ */ jsxs(AdormentsStyled, { ownerState: {}, children: [
|
|
180
|
+
loading ? /* @__PURE__ */ jsx(
|
|
179
181
|
CircularProgressStyled,
|
|
180
182
|
{
|
|
181
183
|
ownerState: { ...ownerState },
|
|
182
|
-
color: "primary",
|
|
183
184
|
size: adjustedSize
|
|
184
185
|
}
|
|
185
|
-
)
|
|
186
|
-
} else {
|
|
187
|
-
returnValue.endAdornment = /* @__PURE__ */ jsx("div", { children: refresh ? /* @__PURE__ */ jsx(
|
|
186
|
+
) : refresh ? /* @__PURE__ */ jsx(
|
|
188
187
|
IconButtonStyled,
|
|
189
188
|
{
|
|
190
189
|
ownerState: { ...ownerState },
|
|
@@ -193,7 +192,8 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
|
|
|
193
192
|
disabled,
|
|
194
193
|
size: adjustedSize
|
|
195
194
|
}
|
|
196
|
-
) :
|
|
195
|
+
) : null,
|
|
196
|
+
/* @__PURE__ */ jsx(
|
|
197
197
|
IconButtonStyled,
|
|
198
198
|
{
|
|
199
199
|
ownerState: { ...ownerState },
|
|
@@ -202,8 +202,8 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
|
|
|
202
202
|
disabled,
|
|
203
203
|
size: adjustedSize
|
|
204
204
|
}
|
|
205
|
-
)
|
|
206
|
-
}
|
|
205
|
+
)
|
|
206
|
+
] });
|
|
207
207
|
return returnValue;
|
|
208
208
|
}, [selectedValue, multiple, loading, adjustedSize, getOptionLabelLocal, ownerState, handleDelete, getOptionUrlImage, selectedOption, getOptionUrlImageLocal, refresh, host_static_assets, environment_assets, handleRefresh, disabled, onOpenLocal]);
|
|
209
209
|
if (isSkeleton) {
|
|
@@ -215,8 +215,9 @@ const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
|
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
217
|
return /* @__PURE__ */ jsx(
|
|
218
|
-
|
|
218
|
+
AutocompleteRootStyled,
|
|
219
219
|
{
|
|
220
|
+
ownerState: { ...ownerState },
|
|
220
221
|
multiple,
|
|
221
222
|
onKeyDown: checkKeyDown,
|
|
222
223
|
size: adjustedSize,
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { g as getHeightSizeStyles } from "../../../utils/getHeightSizeStyles.js";
|
|
2
2
|
const autocompleteSyles = {
|
|
3
|
+
/**
|
|
4
|
+
* Styles for the root component.
|
|
5
|
+
*/
|
|
6
|
+
root: () => ({
|
|
7
|
+
width: "100%",
|
|
8
|
+
padding: 0
|
|
9
|
+
}),
|
|
3
10
|
/**
|
|
4
11
|
* Styles for the icon button component.
|
|
5
12
|
* @author SebastianM - automatic
|
|
@@ -7,22 +14,15 @@ const autocompleteSyles = {
|
|
|
7
14
|
* @updatedAt 2025-01-08 10:36:41 - automatic
|
|
8
15
|
* @updatedUser Andrés Quintero - automatic
|
|
9
16
|
*/
|
|
10
|
-
iconButton:
|
|
11
|
-
position: "absolute",
|
|
12
|
-
top: "50%",
|
|
13
|
-
right: 0,
|
|
14
|
-
transform: "translateY(-50%)"
|
|
15
|
-
}),
|
|
17
|
+
iconButton: {},
|
|
16
18
|
/**
|
|
17
|
-
* Styles for the
|
|
18
|
-
* @param {object} theme - The theme object.
|
|
19
|
-
* @returns {object} The styles for the autocomplete component.
|
|
20
|
-
* @author SebastianM - automatic
|
|
21
|
-
* @createdAt 2024-11-26 12:36:08 - automatic
|
|
22
|
-
* @updatedAt 2024-12-10 15:24:11 - automatic
|
|
23
|
-
* @updatedUser SebastianM - automatic
|
|
19
|
+
* Styles for the input component.
|
|
24
20
|
*/
|
|
25
|
-
|
|
21
|
+
adorments: ({ theme }) => ({
|
|
22
|
+
display: "flex",
|
|
23
|
+
alignItems: "center",
|
|
24
|
+
gap: theme.vars.size.baseSpacings.sp1
|
|
25
|
+
}),
|
|
26
26
|
/**
|
|
27
27
|
* Styles for the typography component.
|
|
28
28
|
* @createdAt 2025-01-08 10:36:40 - automatic
|
|
@@ -74,8 +74,13 @@ const autocompleteSyles = {
|
|
|
74
74
|
// position: 'relative',
|
|
75
75
|
height: "auto !important",
|
|
76
76
|
"& .MuiInputBase-root": {
|
|
77
|
-
padding:
|
|
78
|
-
gap: theme.vars.size.baseSpacings.sp1
|
|
77
|
+
padding: "unset !important",
|
|
78
|
+
gap: theme.vars.size.baseSpacings.sp1,
|
|
79
|
+
"& > input": {
|
|
80
|
+
textOverflow: "ellipsis",
|
|
81
|
+
whiteSpace: "nowrap",
|
|
82
|
+
overflow: "hidden!important"
|
|
83
|
+
}
|
|
79
84
|
}
|
|
80
85
|
}),
|
|
81
86
|
/**
|
|
@@ -98,12 +103,7 @@ const autocompleteSyles = {
|
|
|
98
103
|
* @updatedAt 2025-01-08 10:36:41 - automatic
|
|
99
104
|
* @updatedUser Andrés Quintero - automatic
|
|
100
105
|
*/
|
|
101
|
-
circularProgress:
|
|
102
|
-
position: "absolute",
|
|
103
|
-
top: "18%",
|
|
104
|
-
right: theme.vars.size.baseSpacings.sp2,
|
|
105
|
-
transform: "translateY(-50%)"
|
|
106
|
-
}),
|
|
106
|
+
circularProgress: {},
|
|
107
107
|
/**
|
|
108
108
|
* Styles for the skeleton autocomplete component.
|
|
109
109
|
* @author SebastianM - automatic
|
|
@@ -125,7 +125,6 @@ const autocompleteSyles = {
|
|
|
125
125
|
)
|
|
126
126
|
};
|
|
127
127
|
},
|
|
128
|
-
autocompleteRoot: {},
|
|
129
128
|
renderInputText: {}
|
|
130
129
|
};
|
|
131
130
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare enum AutocompleteSlots {
|
|
2
|
-
|
|
3
|
-
autocompleteRoot = "autocompleteRoot",
|
|
2
|
+
root = "root",
|
|
4
3
|
chip = "chip",
|
|
5
4
|
popper = "popper",
|
|
6
5
|
typography = "typography",
|
|
6
|
+
adorments = "adorments",
|
|
7
7
|
iconButton = "iconButton",
|
|
8
8
|
menuItem = "menuItem",
|
|
9
9
|
menuList = "menuList",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var AutocompleteSlots = /* @__PURE__ */ ((AutocompleteSlots2) => {
|
|
2
|
-
AutocompleteSlots2["
|
|
3
|
-
AutocompleteSlots2["autocompleteRoot"] = "autocompleteRoot";
|
|
2
|
+
AutocompleteSlots2["root"] = "root";
|
|
4
3
|
AutocompleteSlots2["chip"] = "chip";
|
|
5
4
|
AutocompleteSlots2["popper"] = "popper";
|
|
6
5
|
AutocompleteSlots2["typography"] = "typography";
|
|
6
|
+
AutocompleteSlots2["adorments"] = "adorments";
|
|
7
7
|
AutocompleteSlots2["iconButton"] = "iconButton";
|
|
8
8
|
AutocompleteSlots2["menuItem"] = "menuItem";
|
|
9
9
|
AutocompleteSlots2["menuList"] = "menuList";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const AutocompleteRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').AutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined, import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>, keyof import('@mui/material').AutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined, import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, {}, {}>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "selected" | "action" | "hidden" | "content" | "style" | "icon" | "tooltip" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "placement" | "form" | "src" | "rotationAngle" | "tooltipContent" | "instaceDataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "componentPaletteColor" | "badgeContent" | "dictionaryTooltipId" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
5
|
ownerState: Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export declare const ChipStyled: 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').Theme> & Record<string, unknown> & {
|
|
@@ -36,3 +36,6 @@ export declare const PopperComponentStyled: import('@emotion/styled').StyledComp
|
|
|
36
36
|
export declare const RenderInputTextStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
37
37
|
ownerState: Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>;
|
|
38
38
|
}, {}, {}>;
|
|
39
|
+
export declare const AdormentsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
40
|
+
ownerState: Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>;
|
|
41
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -12,14 +12,14 @@ import { T as Typography } from "../../Typography/Typography.js";
|
|
|
12
12
|
import { S as Skeleton } from "../../Skeleton/Skeleton.js";
|
|
13
13
|
import { P as Popper } from "../../Popper/Popper.js";
|
|
14
14
|
import { M as MenuItem } from "../../MenuItem/MenuItem.js";
|
|
15
|
+
const AutocompleteRootStyled = styled(Autocomplete, {
|
|
16
|
+
name: AUTOCOMPLETE_KEY_COMPONENT,
|
|
17
|
+
slot: AutocompleteSlots.root
|
|
18
|
+
})(autocompleteSyles?.root);
|
|
15
19
|
const IconButtonStyled = styled(IconButton, {
|
|
16
20
|
name: AUTOCOMPLETE_KEY_COMPONENT,
|
|
17
21
|
slot: AutocompleteSlots.iconButton
|
|
18
22
|
})(autocompleteSyles?.iconButton);
|
|
19
|
-
styled(Autocomplete, {
|
|
20
|
-
name: AUTOCOMPLETE_KEY_COMPONENT,
|
|
21
|
-
slot: AutocompleteSlots.autocomplete
|
|
22
|
-
})(autocompleteSyles?.autocomplete);
|
|
23
23
|
const ChipStyled = styled(Chip, {
|
|
24
24
|
name: AUTOCOMPLETE_KEY_COMPONENT,
|
|
25
25
|
slot: AutocompleteSlots.chip
|
|
@@ -60,12 +60,18 @@ styled(Typography, {
|
|
|
60
60
|
name: AUTOCOMPLETE_KEY_COMPONENT,
|
|
61
61
|
slot: AutocompleteSlots.renderInputText
|
|
62
62
|
})(autocompleteSyles?.renderInputText);
|
|
63
|
+
const AdormentsStyled = styled("div", {
|
|
64
|
+
name: AUTOCOMPLETE_KEY_COMPONENT,
|
|
65
|
+
slot: AutocompleteSlots.adorments
|
|
66
|
+
})(autocompleteSyles?.adorments);
|
|
63
67
|
export {
|
|
68
|
+
AdormentsStyled as A,
|
|
64
69
|
ChipStyled as C,
|
|
65
70
|
ImageStyled as I,
|
|
66
71
|
PopperComponentStyled as P,
|
|
67
72
|
RenderInputStyled as R,
|
|
68
73
|
SkeletonAutocompleteStyled as S,
|
|
69
74
|
CircularProgressStyled as a,
|
|
70
|
-
IconButtonStyled as b
|
|
75
|
+
IconButtonStyled as b,
|
|
76
|
+
AutocompleteRootStyled as c
|
|
71
77
|
};
|