@m4l/components 9.4.17-BE20260121-2 → 9.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/@types/types.d.ts +0 -9
  2. package/components/AccountPopover/AccountPopover.styles.js +10 -5
  3. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +2 -2
  4. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +2 -2
  5. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  6. package/components/CheckableList/slots/styled.d.ts +1 -1
  7. package/components/Chip/slots/ChipSlots.d.ts +2 -2
  8. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  9. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  10. package/components/EditLabel/slots/EditLabelSlots.d.ts +2 -2
  11. package/components/Icon/Icon.d.ts +3 -0
  12. package/components/Icon/Icon.js +52 -28
  13. package/components/Icon/Icon.styles.js +53 -61
  14. package/components/Icon/constants.d.ts +1 -0
  15. package/components/Icon/constants.js +5 -1
  16. package/components/Icon/slots/IconSlots.js +3 -3
  17. package/components/Icon/types.d.ts +44 -7
  18. package/components/Label/slots/LabelSlots.d.ts +1 -1
  19. package/components/MenuActions/MenuActions.js +17 -5
  20. package/components/MenuActions/constants.js +2 -8
  21. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  22. package/components/MenuActions/slots/MenuActionsSlots.js +1 -1
  23. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  24. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +3 -3
  25. package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
  26. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +2 -2
  27. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  28. package/components/Stepper/slots/StepperSlot.d.ts +1 -1
  29. package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +1 -1
  30. package/components/ToastContainer/slots/toastContainerSlots.d.ts +3 -3
  31. package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
  32. package/components/WindowBase/types.d.ts +2 -1
  33. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  34. package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts +2 -1
  35. package/components/datagrids/icons.js +0 -8
  36. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Density/Density.js +11 -14
  37. package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.js +6 -5
  38. package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +9 -10
  39. package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +3 -4
  40. package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +3 -4
  41. package/components/datagrids/views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/CardHeader.js +2 -4
  42. package/components/datagrids/views/CardsView/subcomponents/Settings/Settings.js +3 -4
  43. package/components/datagrids/views/CardsView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js +3 -4
  44. package/components/datagrids/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +9 -10
  45. package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.js +35 -49
  46. package/components/extended/React-resizable-panels/SplitLayout.styles.js +46 -37
  47. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +3 -3
  48. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +2 -2
  49. package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.d.ts +2 -2
  50. package/components/formatters/IconsFormatter/types.d.ts +2 -1
  51. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
  52. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +1 -1
  53. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  54. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  55. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  56. package/components/hook-form/index.d.ts +0 -1
  57. package/components/index.d.ts +0 -1
  58. package/components/mui_extended/Accordion/Accordion.js +3 -2
  59. package/components/mui_extended/Accordion/constants.d.ts +0 -1
  60. package/components/mui_extended/Accordion/constants.js +1 -3
  61. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +2 -2
  62. package/components/mui_extended/Autocomplete/Autocomplete.js +7 -3
  63. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +76 -45
  64. package/components/mui_extended/Autocomplete/constants.d.ts +23 -0
  65. package/components/mui_extended/Autocomplete/constants.js +9 -1
  66. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +9 -4
  67. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.d.ts +5 -1
  68. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +45 -15
  69. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.js +25 -6
  70. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.d.ts +6 -1
  71. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.js +8 -1
  72. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -1
  73. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +9 -4
  74. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.js +4 -3
  75. package/components/mui_extended/Autocomplete/types.d.ts +9 -2
  76. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  77. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
  78. package/components/mui_extended/DatePicker/DatePicker.styles.js +2 -2
  79. package/components/mui_extended/DatePicker/hooks/useDatePicker/useDatePicker.js +10 -11
  80. package/components/mui_extended/DatePicker/slots/DatePickerSlots.d.ts +1 -1
  81. package/components/mui_extended/DateTimePicker/DateTimePicker.d.ts +0 -4
  82. package/components/mui_extended/DateTimePicker/DateTimePicker.js +10 -11
  83. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  84. package/components/mui_extended/IconButton/IconButton.js +19 -8
  85. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +1 -1
  86. package/components/mui_extended/IconButton/types.d.ts +3 -6
  87. package/components/mui_extended/MenuItem/MenuItem.js +14 -4
  88. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +2 -2
  89. package/components/mui_extended/MenuItem/types.d.ts +3 -3
  90. package/components/mui_extended/Radio/Radio.js +4 -5
  91. package/components/mui_extended/Select/Select.d.ts +2 -1
  92. package/components/mui_extended/Select/Select.js +7 -5
  93. package/components/mui_extended/Select/slots/SelectSlots.d.ts +2 -2
  94. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  95. package/components/mui_extended/Tabs/Tabs.js +5 -9
  96. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  97. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  98. package/hocs/index.d.ts +0 -2
  99. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
  100. package/index.js +105 -111
  101. package/package.json +2 -1
  102. package/components/DaysOfWeekPicker/DaysOfWeekPicker.d.ts +0 -33
  103. package/components/DaysOfWeekPicker/DaysOfWeekPicker.js +0 -81
  104. package/components/DaysOfWeekPicker/DaysOfWeekPicker.styles.d.ts +0 -2
  105. package/components/DaysOfWeekPicker/DaysOfWeekPicker.styles.js +0 -99
  106. package/components/DaysOfWeekPicker/DaysOfWeekPicker.test.d.ts +0 -1
  107. package/components/DaysOfWeekPicker/constants.d.ts +0 -12
  108. package/components/DaysOfWeekPicker/constants.js +0 -11
  109. package/components/DaysOfWeekPicker/dictionary.d.ts +0 -1
  110. package/components/DaysOfWeekPicker/dictionary.js +0 -6
  111. package/components/DaysOfWeekPicker/helpers/getDaysOfWeekFromDictionary.d.ts +0 -29
  112. package/components/DaysOfWeekPicker/helpers/getDaysOfWeekFromDictionary.js +0 -12
  113. package/components/DaysOfWeekPicker/helpers/getDaysOfWeekFromDictionary.test.d.ts +0 -1
  114. package/components/DaysOfWeekPicker/helpers/index.d.ts +0 -1
  115. package/components/DaysOfWeekPicker/helpers/index.js +0 -1
  116. package/components/DaysOfWeekPicker/hooks/index.d.ts +0 -2
  117. package/components/DaysOfWeekPicker/hooks/types.d.ts +0 -29
  118. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.d.ts +0 -9
  119. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.js +0 -71
  120. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.test.d.ts +0 -1
  121. package/components/DaysOfWeekPicker/index.d.ts +0 -3
  122. package/components/DaysOfWeekPicker/index.js +0 -1
  123. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerEnum.d.ts +0 -5
  124. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerEnum.js +0 -9
  125. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +0 -9
  126. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.js +0 -23
  127. package/components/DaysOfWeekPicker/slots/index.d.ts +0 -3
  128. package/components/DaysOfWeekPicker/slots/index.js +0 -1
  129. package/components/DaysOfWeekPicker/types.d.ts +0 -70
  130. package/components/hook-form/RHFDatePicker/icons.d.ts +0 -6
  131. package/components/hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.d.ts +0 -26
  132. package/components/hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.js +0 -6
  133. package/components/hook-form/RHFDaysOfWeekPicker/index.d.ts +0 -1
  134. package/components/hook-form/RHFDaysOfWeekPicker/index.js +0 -1
  135. package/components/mui_extended/Autocomplete/icons.js +0 -7
  136. package/components/mui_extended/DatePicker/icons.d.ts +0 -4
  137. package/components/mui_extended/DatePicker/icons.js +0 -10
  138. package/components/mui_extended/DateTimePicker/icons.d.ts +0 -4
  139. package/components/mui_extended/DateTimePicker/icons.js +0 -10
  140. package/components/mui_extended/Radio/icons.js +0 -7
  141. package/components/mui_extended/Tabs/icons.d.ts +0 -4
  142. package/components/mui_extended/Tabs/icons.js +0 -7
  143. package/hocs/withRHFController/constants.d.ts +0 -8
  144. package/hocs/withRHFController/constants.js +0 -8
  145. package/hocs/withRHFController/index.d.ts +0 -37
  146. package/hocs/withRHFController/index.js +0 -95
  147. package/hocs/withRHFController/slots/WithRHFControllerEnum.d.ts +0 -3
  148. package/hocs/withRHFController/slots/WithRHFControllerEnum.js +0 -7
  149. package/hocs/withRHFController/slots/WithRHFControllerSlots.d.ts +0 -5
  150. package/hocs/withRHFController/slots/WithRHFControllerSlots.js +0 -11
  151. package/hocs/withRHFController/slots/index.d.ts +0 -2
  152. package/hocs/withRHFController/slots/index.js +0 -1
  153. package/hocs/withRHFController/types.d.ts +0 -70
  154. package/hocs/withRHFController/withRHFController.styles.d.ts +0 -5
  155. package/hocs/withRHFController/withRHFController.styles.js +0 -14
  156. package/hocs/withRHFController/withRHFController.test.d.ts +0 -1
@@ -41,6 +41,7 @@ function useAutocomplete(props) {
41
41
  const { currentSize } = useComponentSize(size);
42
42
  const isSkeleton = useModuleSkeleton();
43
43
  const hasStartAdornment = !!props.startAdornment;
44
+ const hasChips = Boolean(multiple && Array.isArray(selectedValue) && selectedValue.length > 0);
44
45
  const ownerState = useMemo(() => ({
45
46
  size: currentSize,
46
47
  variant,
@@ -48,8 +49,9 @@ function useAutocomplete(props) {
48
49
  multiple: Boolean(multiple),
49
50
  error,
50
51
  readOnly,
51
- startAdornment: hasStartAdornment
52
- }), [currentSize, variant, disabled, multiple, error, readOnly, hasStartAdornment]);
52
+ startAdornment: hasStartAdornment,
53
+ hasChips
54
+ }), [currentSize, variant, disabled, multiple, error, readOnly, hasStartAdornment, hasChips]);
53
55
  const multipleChips = useMultipleChips({
54
56
  selectedValue,
55
57
  multiple,
@@ -71,7 +73,10 @@ function useAutocomplete(props) {
71
73
  disabled,
72
74
  onOpenLocal,
73
75
  open,
74
- readOnly
76
+ readOnly,
77
+ multiple,
78
+ selectedValue,
79
+ getOptionEndAdornment
75
80
  });
76
81
  const memoizedRenderOption = useCallback((renderProps, option) => {
77
82
  const isSelected = multiple ? Array.isArray(selectedValue) && selectedValue.some((val) => isOptionEqualToValueLocal(option, val)) : isOptionEqualToValueLocal(option, selectedValue);
@@ -100,7 +105,7 @@ function useAutocomplete(props) {
100
105
  RenderInputStyled,
101
106
  {
102
107
  variant,
103
- ownerState: { ...ownerState },
108
+ ownerState,
104
109
  InputLabelProps: {
105
110
  ...InputLabelProps,
106
111
  shrink: true
@@ -1,4 +1,5 @@
1
- import { AutocompleteOwnerState } from '../types';
1
+ import { default as React } from 'react';
2
+ import { AutocompleteOwnerState, ResourceType } from '../types';
2
3
  export type UseAdornmentsProps = {
3
4
  loading?: boolean;
4
5
  adjustedSize: 'small' | 'medium';
@@ -9,6 +10,9 @@ export type UseAdornmentsProps = {
9
10
  onOpenLocal: (event: React.MouseEvent<HTMLButtonElement>) => void;
10
11
  open: boolean;
11
12
  readOnly?: boolean;
13
+ multiple?: boolean;
14
+ selectedValue: any | any[] | null;
15
+ getOptionEndAdornment?: (option: any) => ResourceType;
12
16
  };
13
17
  /**
14
18
  * Hook para el componente Autocomplete local
@@ -1,7 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { i as icons } from "../icons.js";
3
- import { useEnvironment } from "@m4l/core";
4
- import { a as AdormentsStyled, C as CircularProgressStyled, I as IconButtonStyled } from "../slots/AutocompleteSlots.js";
2
+ import { useState, useMemo } from "react";
3
+ import { r as renderAdornment } from "../subcomponents/RenderAdornment/RenderAdornment.js";
4
+ import { A as AUTOCOMPLETE_CLASSES } from "../constants.js";
5
+ import { ArrowRefreshSmOutlined, ArrowChevronSmDownOutlined } from "@m4l/icons";
6
+ import { a as AdormentsStyled, W as WrapperEndAdornmentStyled, C as CircularProgressStyled, I as IconButtonStyled } from "../slots/AutocompleteSlots.js";
5
7
  function useEndAdornments(props) {
6
8
  const {
7
9
  loading,
@@ -12,33 +14,61 @@ function useEndAdornments(props) {
12
14
  disabled,
13
15
  onOpenLocal,
14
16
  open,
15
- readOnly
17
+ readOnly,
18
+ multiple,
19
+ selectedValue,
20
+ getOptionEndAdornment
16
21
  } = props;
17
- const { host_static_assets, environment_assets } = useEnvironment();
18
- return /* @__PURE__ */ jsxs(AdormentsStyled, { children: [
22
+ const [isRotating, setIsRotating] = useState(false);
23
+ const handleRefreshWithAnimation = () => {
24
+ setIsRotating(true);
25
+ handleRefresh();
26
+ setTimeout(() => {
27
+ setIsRotating(false);
28
+ }, 600);
29
+ };
30
+ const memoizedEndAdornment = useMemo(() => {
31
+ if (multiple || !selectedValue || Array.isArray(selectedValue) && selectedValue.length === 0) {
32
+ return null;
33
+ }
34
+ const selectedOption = Array.isArray(selectedValue) ? selectedValue[0] : selectedValue;
35
+ const endAdornmentResource = getOptionEndAdornment?.(selectedOption);
36
+ if (endAdornmentResource) {
37
+ return renderAdornment(endAdornmentResource, adjustedSize);
38
+ }
39
+ return null;
40
+ }, [
41
+ multiple,
42
+ selectedValue,
43
+ getOptionEndAdornment,
44
+ adjustedSize
45
+ ]);
46
+ return /* @__PURE__ */ jsxs(AdormentsStyled, { ownerState, children: [
47
+ !multiple && memoizedEndAdornment && /* @__PURE__ */ jsx(WrapperEndAdornmentStyled, { children: memoizedEndAdornment }),
19
48
  loading ? /* @__PURE__ */ jsx(
20
49
  CircularProgressStyled,
21
50
  {
22
- ownerState: { ...ownerState },
51
+ ownerState,
23
52
  size: adjustedSize
24
53
  }
25
54
  ) : refresh ? /* @__PURE__ */ jsx(
26
55
  IconButtonStyled,
27
56
  {
28
- ownerState: { ...ownerState },
29
- icon: `${host_static_assets}/${environment_assets}/${icons.refresh}`,
30
- onClick: !readOnly ? handleRefresh : void 0,
31
- disabled,
32
- size: adjustedSize
57
+ ownerState,
58
+ src: /* @__PURE__ */ jsx(ArrowRefreshSmOutlined, {}),
59
+ onClick: !readOnly ? handleRefreshWithAnimation : void 0,
60
+ disabled: disabled || readOnly,
61
+ size: adjustedSize,
62
+ className: isRotating ? AUTOCOMPLETE_CLASSES.refreshRotating : ""
33
63
  }
34
64
  ) : null,
35
65
  /* @__PURE__ */ jsx(
36
66
  IconButtonStyled,
37
67
  {
38
- ownerState: { ...ownerState },
39
- icon: `${host_static_assets}/${environment_assets}/${icons.chevronDown}`,
68
+ ownerState,
69
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmDownOutlined, {}),
40
70
  onClick: (event) => !readOnly ? onOpenLocal(event) : void 0,
41
- disabled,
71
+ disabled: disabled || readOnly,
42
72
  size: adjustedSize,
43
73
  rotationAngle: open ? 180 : 0,
44
74
  "aria-label": "toggle Autocomplete"
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import React, { useMemo } from "react";
3
3
  import { r as renderAdornment } from "../subcomponents/RenderAdornment/RenderAdornment.js";
4
- import { b as ContainerMultipleValuesStyled, c as ContainerWrapperStyled, d as ChipStyled, W as WrapperStartAdornmentStyled } from "../slots/AutocompleteSlots.js";
4
+ import { b as ContainerMultipleValuesStyled, c as ContainerWrapperStyled, d as ChipStyled, e as WrapperStartAdornmentStyled } from "../slots/AutocompleteSlots.js";
5
5
  function useMultipleChips(props) {
6
6
  const {
7
7
  selectedValue,
@@ -53,11 +53,27 @@ function useMultipleChips(props) {
53
53
  getOptionEndAdornment,
54
54
  adjustedSize
55
55
  ]);
56
+ const memoizedStartAdornment = useMemo(() => {
57
+ if (multiple || !selectedValue || Array.isArray(selectedValue) && selectedValue.length === 0) {
58
+ return null;
59
+ }
60
+ const selectedOption = Array.isArray(selectedValue) ? selectedValue[0] : selectedValue;
61
+ const startAdornmentResource = getOptionStartAdornment?.(selectedOption);
62
+ if (startAdornmentResource) {
63
+ return renderAdornment(startAdornmentResource, adjustedSize);
64
+ }
65
+ return null;
66
+ }, [
67
+ multiple,
68
+ selectedValue,
69
+ getOptionStartAdornment,
70
+ adjustedSize
71
+ ]);
56
72
  const internalAdornments = useMemo(() => {
57
- if (!(Array.isArray(selectedValue) && multiple)) {
73
+ if (!(Array.isArray(selectedValue) && multiple && selectedValue.length > 0)) {
58
74
  return null;
59
75
  }
60
- return /* @__PURE__ */ jsx(ContainerMultipleValuesStyled, { role: "list", "aria-label": "Selected options", children: /* @__PURE__ */ jsx(ContainerWrapperStyled, { children: selectedValue.map((option, index) => {
76
+ return /* @__PURE__ */ jsx(ContainerMultipleValuesStyled, { ownerState, role: "list", "aria-label": "Selected options", children: /* @__PURE__ */ jsx(ContainerWrapperStyled, { children: selectedValue.map((option, index) => {
61
77
  const optionKey = getOptionLabelLocal(option);
62
78
  return /* @__PURE__ */ jsx(
63
79
  ChipStyled,
@@ -67,7 +83,7 @@ function useMultipleChips(props) {
67
83
  opacity: true,
68
84
  onDeleted: () => handleDelete(option),
69
85
  disabledDeleteButton: disabled,
70
- ownerState: { ...ownerState },
86
+ ownerState,
71
87
  startIcon: memoizedIcons?.get(`${optionKey}-start`),
72
88
  endIcon: memoizedIcons?.get(`${optionKey}-end`)
73
89
  },
@@ -86,12 +102,15 @@ function useMultipleChips(props) {
86
102
  ]);
87
103
  if (startAdornmentClone && internalAdornments) {
88
104
  return /* @__PURE__ */ jsxs(Fragment, { children: [
89
- /* @__PURE__ */ jsx(WrapperStartAdornmentStyled, { role: "img", "aria-hidden": "true", children: startAdornmentClone }),
105
+ /* @__PURE__ */ jsx(WrapperStartAdornmentStyled, { role: "img", "aria-hidden": "true", ownerState, children: startAdornmentClone }),
90
106
  internalAdornments
91
107
  ] });
92
108
  }
93
109
  if (startAdornmentClone) {
94
- return /* @__PURE__ */ jsx(WrapperStartAdornmentStyled, { role: "img", "aria-hidden": "true", children: startAdornmentClone });
110
+ return /* @__PURE__ */ jsxs(WrapperStartAdornmentStyled, { role: "img", "aria-hidden": "true", ownerState, children: [
111
+ startAdornmentClone,
112
+ !multiple && memoizedStartAdornment
113
+ ] });
95
114
  }
96
115
  if (!getOptionLabelLocal) {
97
116
  console.error("useStartAdornments: getOptionLabelLocal is required");
@@ -14,5 +14,10 @@ export declare enum AutocompleteSlots {
14
14
  renderInputText = "renderInputText",
15
15
  containerMultipleValues = "containerMultipleValues",
16
16
  containerWrapper = "containerWrapper",
17
- wrapperStartAdornment = "wrapperStartAdornment"
17
+ wrapperStartAdornment = "wrapperStartAdornment",
18
+ wrapperEndAdornment = "wrapperEndAdornment"
19
+ }
20
+ export declare enum AutocompleteComplementaryClasses {
21
+ multiple = "multiple",
22
+ refreshRotating = "refresh-rotating"
18
23
  }
@@ -15,8 +15,15 @@ var AutocompleteSlots = /* @__PURE__ */ ((AutocompleteSlots2) => {
15
15
  AutocompleteSlots2["containerMultipleValues"] = "containerMultipleValues";
16
16
  AutocompleteSlots2["containerWrapper"] = "containerWrapper";
17
17
  AutocompleteSlots2["wrapperStartAdornment"] = "wrapperStartAdornment";
18
+ AutocompleteSlots2["wrapperEndAdornment"] = "wrapperEndAdornment";
18
19
  return AutocompleteSlots2;
19
20
  })(AutocompleteSlots || {});
21
+ var AutocompleteComplementaryClasses = /* @__PURE__ */ ((AutocompleteComplementaryClasses2) => {
22
+ AutocompleteComplementaryClasses2["multiple"] = "multiple";
23
+ AutocompleteComplementaryClasses2["refreshRotating"] = "refresh-rotating";
24
+ return AutocompleteComplementaryClasses2;
25
+ })(AutocompleteComplementaryClasses || {});
20
26
  export {
21
- AutocompleteSlots as A
27
+ AutocompleteComplementaryClasses as A,
28
+ AutocompleteSlots as a
22
29
  };
@@ -1,7 +1,7 @@
1
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>) | undefined;
3
3
  }, {}, {}>;
4
- export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "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" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
+ export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "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" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | 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>) | undefined;
6
6
  }, {}, {}>;
7
7
  export declare const ChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../..').ChipProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../..').ChipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -48,3 +48,6 @@ export declare const ContainerMultipleValuesStyled: import('@emotion/styled').St
48
48
  export declare const ContainerWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
49
49
  ownerState?: (Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>) | undefined;
50
50
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
51
+ export declare const WrapperEndAdornmentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
52
+ ownerState?: (Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>) | undefined;
53
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -3,8 +3,8 @@ import { styled } from "@mui/material/styles";
3
3
  import { C as Chip } from "../../../Chip/Chip.js";
4
4
  import { I as Image } from "../../../Image/Image.js";
5
5
  import { a as autocompleteSyles } from "../Autocomplete.styles.js";
6
- import { A as AUTOCOMPLETE_KEY_COMPONENT } from "../constants.js";
7
- import { A as AutocompleteSlots } from "./AutocompleteEnum.js";
6
+ import { a as AUTOCOMPLETE_KEY_COMPONENT } from "../constants.js";
7
+ import { a as AutocompleteSlots } from "./AutocompleteEnum.js";
8
8
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
9
9
  import { T as TextField } from "../../TextField/TextField.js";
10
10
  import { P as Popper } from "../../Popper/Popper.js";
@@ -76,6 +76,10 @@ const ContainerWrapperStyled = styled("div", {
76
76
  name: AUTOCOMPLETE_KEY_COMPONENT,
77
77
  slot: AutocompleteSlots.containerWrapper
78
78
  })(autocompleteSyles?.containerWrapper);
79
+ const WrapperEndAdornmentStyled = styled("div", {
80
+ name: AUTOCOMPLETE_KEY_COMPONENT,
81
+ slot: AutocompleteSlots.wrapperEndAdornment
82
+ })(autocompleteSyles?.wrapperEndAdornment);
79
83
  export {
80
84
  AutocompleteRootStyled as A,
81
85
  CircularProgressStyled as C,
@@ -83,9 +87,10 @@ export {
83
87
  PopperComponentStyled as P,
84
88
  RenderInputStyled as R,
85
89
  SkeletonAutocompleteStyled as S,
86
- WrapperStartAdornmentStyled as W,
90
+ WrapperEndAdornmentStyled as W,
87
91
  AdormentsStyled as a,
88
92
  ContainerMultipleValuesStyled as b,
89
93
  ContainerWrapperStyled as c,
90
- ChipStyled as d
94
+ ChipStyled as d,
95
+ WrapperStartAdornmentStyled as e
91
96
  };
@@ -40,12 +40,12 @@ const RenderOptionComponent = ({
40
40
  disabled: option.disabled,
41
41
  startIcon: processedStartAdornment,
42
42
  endIcon: processedEndAdornment
43
- },
44
- option.label
43
+ }
45
44
  );
46
45
  };
47
46
  const MemoizedRenderOptionComponent = memo(RenderOptionComponent);
48
47
  const renderOption = (optionProps, option, getOptionStartAdornment, getOptionEndAdornment) => {
48
+ const uniqueKey = optionProps.key || option?.id?.toString() || option.label;
49
49
  return /* @__PURE__ */ jsx(
50
50
  MemoizedRenderOptionComponent,
51
51
  {
@@ -53,7 +53,8 @@ const renderOption = (optionProps, option, getOptionStartAdornment, getOptionEnd
53
53
  option,
54
54
  getOptionStartAdornment,
55
55
  getOptionEndAdornment
56
- }
56
+ },
57
+ uniqueKey
57
58
  );
58
59
  };
59
60
  export {
@@ -90,6 +90,10 @@ export interface AutocompleteProps<T, Multiple extends boolean | undefined> exte
90
90
  * Icono o adorno que se muestra al inicio del autocomplete.
91
91
  */
92
92
  startAdornment?: ReactElement;
93
+ /**
94
+ * Clase de css para el autocomplete.
95
+ */
96
+ className?: string;
93
97
  }
94
98
  export type ResourceType = {
95
99
  resource: ReactNode;
@@ -98,13 +102,16 @@ export type ResourceType = {
98
102
  /**
99
103
  * Represents the owner state of the Autocomplete component for styling purposes.
100
104
  */
101
- export interface AutocompleteOwnerState extends Pick<BaseAutocompleteProps, 'size' | 'variant'> {
105
+ export type AutocompleteOwnerState = {
102
106
  error?: boolean;
103
107
  disabled?: boolean;
104
108
  multiple?: boolean;
105
109
  readOnly?: boolean;
106
110
  startAdornment?: boolean;
107
- }
111
+ hasChips?: boolean;
112
+ size: BaseAutocompleteProps['size'];
113
+ variant: BaseAutocompleteProps['variant'];
114
+ };
108
115
  /**
109
116
  * Defines the types of Slots available for the Autocomplete.
110
117
  */
@@ -6,7 +6,7 @@ declare const ButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<i
6
6
  declare const SkeletonButtonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
7
7
  ownerState: Partial<import('..').ButtonOwnerState> & Record<string, unknown>;
8
8
  }, {}, {}>;
9
- declare const ButtonIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
9
+ declare const ButtonIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
10
10
  ownerState: Partial<import('..').ButtonOwnerState> & Record<string, unknown>;
11
11
  }, {}, {}>;
12
12
  declare const TextButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "variant" | "color" | "dataTestid" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
@@ -12,9 +12,9 @@ export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<P
12
12
  }, "children" | "variant" | "height" | "width" | "animation" | "className" | "style" | "classes" | "sx">, "children" | "ref" | "title" | "id" | "variant" | "color" | "content" | "height" | "translate" | "width" | "animation" | "className" | "style" | "classes" | "sx" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
13
  ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
14
14
  }, {}, {}>;
15
- export declare const IconCheckedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
15
+ export declare const IconCheckedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
16
16
  ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
17
17
  }, {}, {}>;
18
- export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
18
+ export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
19
  ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
20
20
  }, {}, {}>;
@@ -12,8 +12,8 @@ const datePickerStyles = {
12
12
  textField: ({ theme, ownerState }) => ({
13
13
  "& .MuiInputAdornment-root": {
14
14
  ...getSizeStyles(theme, ownerState?.size || "medium", "action", (size) => ({
15
- width: size,
16
- height: size
15
+ minWidth: size,
16
+ minHeight: size
17
17
  }))
18
18
  },
19
19
  "& .MuiFormLabel-root": {
@@ -2,9 +2,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { I as IconButtonStyled, C as CalendarHeaderStyled, A as ActionsContainerStyled, P as PickersLayoutStyled, a as DesktopPaperStyled, T as TextFieldStyled } from "../../slots/DatePickerSlots.js";
3
3
  import { useFormatter, useIsMobile } from "@m4l/graphics";
4
4
  import React, { useMemo, useCallback } from "react";
5
- import { useEnvironment, useModuleDictionary } from "@m4l/core";
6
- import { c as chevron_left, a as chevron_right, b as chevron_down, d as calendar } from "../../icons.js";
5
+ import { useModuleDictionary } from "@m4l/core";
7
6
  import { d as datePickerStyles } from "../../DatePicker.styles.js";
7
+ import { ArrowChevronSmLeftOutlined, ArrowChevronSmRightOutlined, ArrowChevronSmDownOutlined, DateTimeCreatedOutlined } from "@m4l/icons";
8
8
  import { u as useComponentSize } from "../../../../../hooks/useComponentSize/useComponentSize.js";
9
9
  import { I as IconButton } from "../../../IconButton/IconButton.js";
10
10
  import { B as Button } from "../../../Button/Button.js";
@@ -19,7 +19,6 @@ const useDatePicker = (props) => {
19
19
  id
20
20
  } = props;
21
21
  const { dateFormatter } = useFormatter();
22
- const { host_static_assets, environment_assets } = useEnvironment();
23
22
  const { getLabel } = useModuleDictionary();
24
23
  const isMobile = useIsMobile();
25
24
  const { currentSize } = useComponentSize(size);
@@ -39,11 +38,11 @@ const useDatePicker = (props) => {
39
38
  ownerState,
40
39
  size: currentSize,
41
40
  disabled,
42
- icon: `${host_static_assets}/${environment_assets}/${chevron_left}`
41
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmLeftOutlined, {})
43
42
  }
44
43
  );
45
44
  });
46
- }, [currentSize, disabled, environment_assets, host_static_assets, ownerState]);
45
+ }, [currentSize, disabled, ownerState]);
47
46
  const CustomNextIconButton = useMemo(() => {
48
47
  return React.forwardRef((iconButtonProps, ref) => {
49
48
  return /* @__PURE__ */ jsx(
@@ -54,11 +53,11 @@ const useDatePicker = (props) => {
54
53
  ownerState,
55
54
  size: currentSize,
56
55
  disabled,
57
- icon: `${host_static_assets}/${environment_assets}/${chevron_right}`
56
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmRightOutlined, {})
58
57
  }
59
58
  );
60
59
  });
61
- }, [currentSize, disabled, environment_assets, host_static_assets, ownerState]);
60
+ }, [currentSize, disabled, ownerState]);
62
61
  const CustomSwitchViewButton = useMemo(() => {
63
62
  return React.forwardRef((iconButtonProps, ref) => {
64
63
  const currentView = iconButtonProps?.ownerState?.view;
@@ -73,11 +72,11 @@ const useDatePicker = (props) => {
73
72
  size: currentSize,
74
73
  disabled,
75
74
  rotationAngle,
76
- icon: `${host_static_assets}/${environment_assets}/${chevron_down}`
75
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmDownOutlined, {})
77
76
  }
78
77
  );
79
78
  });
80
- }, [currentSize, disabled, environment_assets, host_static_assets, ownerState]);
79
+ }, [currentSize, disabled, ownerState]);
81
80
  const calendarHeaderCallback = useCallback((args) => {
82
81
  return /* @__PURE__ */ jsx(CalendarHeaderStyled, { ...args, ownerState });
83
82
  }, [ownerState]);
@@ -140,12 +139,12 @@ const useDatePicker = (props) => {
140
139
  IconButton,
141
140
  {
142
141
  ...args,
143
- icon: `${host_static_assets}/${environment_assets}/${calendar}`,
142
+ icon: /* @__PURE__ */ jsx(DateTimeCreatedOutlined, {}),
144
143
  size: currentSize,
145
144
  disabled: readOnly || disabled
146
145
  }
147
146
  );
148
- }, [currentSize, disabled, environment_assets, host_static_assets, readOnly]);
147
+ }, [currentSize, disabled, readOnly]);
149
148
  const defaultSlots = useMemo(() => ({
150
149
  textField: TextFieldStyled,
151
150
  openPickerButton,
@@ -27,7 +27,7 @@ export declare const CalendarHeaderStyled: import('@emotion/styled').StyledCompo
27
27
  /**
28
28
  * Componente estilizado de IconButton de M4L como slot del componente.
29
29
  */
30
- export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "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" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
30
+ export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "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" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
31
31
  ownerState?: (Partial<import('..').DatePickerOwnerState> & Record<string, unknown>) | undefined;
32
32
  }, {}, {}>;
33
33
  /**
@@ -1,10 +1,6 @@
1
1
  import { DateTimePickerProps } from './types';
2
2
  /**
3
3
  * DataTimePicker es un refactor del componente de material UI.
4
- * @author DanielEscobar - automatic
5
- * @createdAt 2025-01-27 14:53:37 - automatic
6
- * @updatedAt 2025-01-31 16:52:06 - automatic
7
- * @updatedUser cesar - automatic
8
4
  *
9
5
  * ```tsx *
10
6
  * const ExampleComponent = () => {