@m4l/components 9.3.2-B04082025-beta.2 → 9.3.2-B11082025-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/@types/types.d.ts +33 -3
  2. package/components/Card/Card.d.ts +7 -0
  3. package/components/Card/Card.styles.d.ts +2 -0
  4. package/components/Card/constants.d.ts +7 -0
  5. package/components/Card/helpers/getSizeSpacing.d.ts +7 -0
  6. package/components/Card/index.d.ts +1 -0
  7. package/components/Card/slots/CardEnum.d.ts +3 -0
  8. package/components/Card/slots/CardSlots.d.ts +3 -0
  9. package/components/Card/types.d.ts +59 -0
  10. package/components/DynamicFilter/DynamicFilter.styles.js +3 -1
  11. package/components/DynamicSort/DynamicSort.styles.js +3 -1
  12. package/components/ImageText/ImageText.d.ts +7 -0
  13. package/components/ImageText/ImageText.js +62 -0
  14. package/components/ImageText/ImageText.styles.d.ts +2 -0
  15. package/components/ImageText/{components/NoItemPrivileges/NoItemPrivilegesStyles.js → ImageText.styles.js} +21 -4
  16. package/components/ImageText/constants.d.ts +16 -0
  17. package/components/ImageText/constants.js +10 -0
  18. package/components/ImageText/index.d.ts +1 -3
  19. package/components/ImageText/slots/ImageTextEnum.d.ts +8 -0
  20. package/components/ImageText/slots/ImageTextEnum.js +12 -0
  21. package/components/ImageText/slots/ImageTextSlots.d.ts +18 -0
  22. package/components/ImageText/slots/ImageTextSlots.js +38 -0
  23. package/components/ImageText/types.d.ts +40 -0
  24. package/components/NoItemPrivileges/NoItemPrivileges.js +33 -0
  25. package/components/NoItemPrivileges/NoItemPrivilegesStyles.js +6 -0
  26. package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/constants.d.ts +0 -1
  27. package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/constants.js +3 -4
  28. package/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.d.ts +3 -0
  29. package/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.js +7 -0
  30. package/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.d.ts +3 -0
  31. package/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.js +12 -0
  32. package/components/NoItemPrivileges/test/NoItemPrivileges.test.d.ts +1 -0
  33. package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/types.d.ts +1 -1
  34. package/components/NoItemSelected/NoItemSelected.js +34 -0
  35. package/components/NoItemSelected/NoItemSelected.styles.js +6 -0
  36. package/components/NoItemSelected/constant.d.ts +2 -0
  37. package/components/NoItemSelected/constant.js +8 -0
  38. package/components/{ImageText/components/NoItemSelected → NoItemSelected}/dictionary.d.ts +0 -2
  39. package/components/NoItemSelected/dictionary.js +12 -0
  40. package/components/NoItemSelected/slots/NoItemSelectedEnum.d.ts +3 -0
  41. package/components/NoItemSelected/slots/NoItemSelectedEnum.js +7 -0
  42. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +3 -0
  43. package/components/NoItemSelected/slots/NoItemSelectedSlots.js +12 -0
  44. package/components/NoItemSelected/test/NoItemSelected.test.d.ts +1 -0
  45. package/components/{ImageText/components/NoItemSelected → NoItemSelected}/types.d.ts +6 -7
  46. package/components/NumberInput/NumberInput.styles.js +1 -0
  47. package/components/ObjectLogs/helpers/Fields/filterFields.d.ts +1 -1
  48. package/components/ObjectLogs/hooks/useDetailFormatter.js +1 -1
  49. package/components/ObjectLogs/hooks/useFilterAndSort.js +2 -1
  50. package/components/PaperForm/PaperForm.js +1 -2
  51. package/components/PaperForm/components/Header.js +1 -10
  52. package/components/PaperForm/styles.js +1 -4
  53. package/components/PropertyValue/PropertyValue.js +1 -1
  54. package/components/SettingsLayout/SettingsLayout.d.ts +5 -0
  55. package/components/SettingsLayout/SettingsLayout.js +34 -0
  56. package/components/SettingsLayout/SettingsLayout.styles.d.ts +2 -0
  57. package/components/SettingsLayout/SettingsLayout.styles.js +270 -0
  58. package/components/SettingsLayout/constants.d.ts +7 -0
  59. package/components/SettingsLayout/constants.js +10 -0
  60. package/components/SettingsLayout/dictionary.d.ts +8 -0
  61. package/components/SettingsLayout/dictionary.js +11 -0
  62. package/components/SettingsLayout/icons.d.ts +14 -0
  63. package/components/SettingsLayout/icons.js +17 -0
  64. package/components/SettingsLayout/index.d.ts +2 -0
  65. package/components/SettingsLayout/slots/SettingsLayoutEnum.d.ts +17 -0
  66. package/components/SettingsLayout/slots/SettingsLayoutEnum.js +21 -0
  67. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +47 -0
  68. package/components/SettingsLayout/slots/SettingsLayoutSlots.js +83 -0
  69. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts +5 -0
  70. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +37 -0
  71. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.d.ts +1 -0
  72. package/components/SettingsLayout/subcomponents/SettingColorPresets/types.d.ts +3 -0
  73. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts +5 -0
  74. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +37 -0
  75. package/components/SettingsLayout/subcomponents/SettingDirection/index.d.ts +1 -0
  76. package/components/SettingsLayout/subcomponents/SettingDirection/types.d.ts +3 -0
  77. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.d.ts +5 -0
  78. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +40 -0
  79. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.d.ts +1 -0
  80. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.js +1 -0
  81. package/components/SettingsLayout/subcomponents/SettingFullscreen/types.d.ts +3 -0
  82. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.d.ts +8 -0
  83. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +23 -0
  84. package/components/SettingsLayout/subcomponents/SettingItem/index.d.ts +1 -0
  85. package/components/SettingsLayout/subcomponents/SettingItem/index.js +1 -0
  86. package/components/SettingsLayout/subcomponents/SettingItem/types.d.ts +5 -0
  87. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.d.ts +8 -0
  88. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.js +24 -0
  89. package/components/SettingsLayout/subcomponents/SettingItemColor/index.d.ts +1 -0
  90. package/components/SettingsLayout/subcomponents/SettingItemColor/index.js +1 -0
  91. package/components/SettingsLayout/subcomponents/SettingItemColor/types.d.ts +6 -0
  92. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts +5 -0
  93. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +36 -0
  94. package/components/SettingsLayout/subcomponents/SettingMode/index.d.ts +1 -0
  95. package/components/SettingsLayout/subcomponents/SettingMode/index.js +1 -0
  96. package/components/SettingsLayout/subcomponents/SettingMode/types.d.ts +3 -0
  97. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.d.ts +5 -0
  98. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.js +76 -0
  99. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.d.ts +1 -0
  100. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.js +1 -0
  101. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/types.d.ts +5 -0
  102. package/components/SettingsLayout/test/SettingsLayout.test.d.ts +18 -0
  103. package/components/SettingsLayout/types.d.ts +47 -0
  104. package/components/SideBar/subcomponents/ContentComponent/style.js +3 -0
  105. package/components/ToastContainer/ToastContainer.js +0 -1
  106. package/components/ToastContainer/ToastContainer.styles.js +126 -122
  107. package/components/ToastContainer/constants.d.ts +670 -0
  108. package/components/ToastContainer/constants.js +672 -1
  109. package/components/hook-form/RHFColorPicker/RHFColorPicker.styles.js +2 -1
  110. package/components/hook-form/RHFDateTime/RHFDateTime.styles.js +2 -1
  111. package/components/hook-form/RHFNumberInput/RHFNumberInput.styles.js +2 -1
  112. package/components/hook-form/RHFPeriod/RHFPeriod.styles.js +2 -5
  113. package/components/hook-form/RHFPeriod/slots/RHFPeriodEnum.d.ts +1 -1
  114. package/components/hook-form/RHFPeriod/slots/RHFPeriodEnum.js +1 -1
  115. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  116. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.js +6 -6
  117. package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +13 -11
  118. package/components/hook-form/RHFPeriod/subcomponents/Period/dictionary.js +1 -1
  119. package/components/hook-form/RHFPeriod/subcomponents/Period/types.d.ts +2 -2
  120. package/components/hook-form/RHFSelect/RHFSelect.styles.js +2 -1
  121. package/components/hook-form/RHFTextField/RHFTextField.js +5 -3
  122. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  123. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +63 -55
  124. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  125. package/components/index.d.ts +3 -0
  126. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  127. package/components/mui_extended/Button/ButtonStyles.js +2 -1
  128. package/components/mui_extended/IconButton/IconButton.styles.js +1 -1
  129. package/components/mui_extended/MenuItem/MenuItem.styles.js +2 -1
  130. package/components/mui_extended/TextField/TextField.js +6 -8
  131. package/components/mui_extended/TextField/TextField.styles.js +1 -0
  132. package/components/mui_extended/TextField/constants.d.ts +5 -5
  133. package/components/mui_extended/TextField/constants.js +2 -2
  134. package/components/mui_extended/TextField/index.d.ts +1 -0
  135. package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +1 -1
  136. package/components/mui_extended/TextField/slots/TextFieldEnum.js +8 -8
  137. package/components/mui_extended/TextField/types.d.ts +1 -1
  138. package/hooks/index.d.ts +1 -0
  139. package/hooks/useIsVisible/index.d.ts +1 -0
  140. package/hooks/useIsVisible/index.js +1 -0
  141. package/hooks/useIsVisible/useIsVisible.d.ts +8 -0
  142. package/{components/ImageText/hooks/useIsVisible/index.js → hooks/useIsVisible/useIsVisible.js} +3 -3
  143. package/index.js +21 -17
  144. package/package.json +3 -3
  145. package/storybook/components/Card/Card.stories.d.ts +45 -0
  146. package/storybook/components/Card/subcomponents/ContentCard.d.ts +8 -0
  147. package/storybook/components/Card/subcomponents/constants.d.ts +9 -0
  148. package/storybook/components/NoItemPrivileges/NoItemPrivileges.stories.d.ts +1 -1
  149. package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +1 -1
  150. package/storybook/components/SettingsLayout/SettingsLayout.stories.d.ts +6 -0
  151. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/SettingsLayoutsRender.d.ts +5 -0
  152. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/index.d.ts +1 -0
  153. package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +1 -1
  154. package/storybook/components/paperForm/PaperForm.stories.d.ts +4 -0
  155. package/storybook/hook-form/RHFTextField/RHFTextField.stories.d.ts +4 -0
  156. package/storybook/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.stories.d.ts +19 -0
  157. package/{components/mui_extended/TextField/helpers → utils}/getLimitCharacters/getLimitCharacters.d.ts +2 -2
  158. package/utils/getLimitCharacters/index.js +1 -0
  159. package/utils/getLimitCharacters/test/getLimitCharacters.test.d.ts +1 -0
  160. package/utils/getLimitCharacters/types.d.ts +11 -0
  161. package/components/ImageText/components/ImageTextContainer/ImageTextContainer.d.ts +0 -7
  162. package/components/ImageText/components/ImageTextContainer/ImageTextContainer.js +0 -25
  163. package/components/ImageText/components/ImageTextContainer/ImageTextContainerStyle.d.ts +0 -2
  164. package/components/ImageText/components/ImageTextContainer/ImageTextContainerStyle.js +0 -22
  165. package/components/ImageText/components/ImageTextContainer/constants.d.ts +0 -8
  166. package/components/ImageText/components/ImageTextContainer/constants.js +0 -8
  167. package/components/ImageText/components/ImageTextContainer/index.d.ts +0 -1
  168. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerEnum.d.ts +0 -3
  169. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerEnum.js +0 -7
  170. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerSlots.d.ts +0 -3
  171. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerSlots.js +0 -12
  172. package/components/ImageText/components/ImageTextContainer/types.d.ts +0 -22
  173. package/components/ImageText/components/NoItemPrivileges/NoItemPrivileges.js +0 -65
  174. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.d.ts +0 -7
  175. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.js +0 -11
  176. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.d.ts +0 -15
  177. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.js +0 -33
  178. package/components/ImageText/components/NoItemSelected/NoItemSelected.js +0 -62
  179. package/components/ImageText/components/NoItemSelected/NoItemSelected.styles.js +0 -89
  180. package/components/ImageText/components/NoItemSelected/constant.d.ts +0 -2
  181. package/components/ImageText/components/NoItemSelected/constant.js +0 -8
  182. package/components/ImageText/components/NoItemSelected/dictionary.js +0 -11
  183. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedEnum.d.ts +0 -8
  184. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedEnum.js +0 -12
  185. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +0 -18
  186. package/components/ImageText/components/NoItemSelected/slots/NoItemSelectedSlots.js +0 -39
  187. package/components/ImageText/hooks/useIsVisible/index.d.ts +0 -6
  188. package/components/hook-form/RHFDateTime/styles.d.ts +0 -1
  189. package/components/mui_extended/TextField/helpers/getLimitCharacters/types.d.ts +0 -5
  190. /package/components/{ImageText/components/NoItemPrivileges/test/NoItemPrivileges.test.d.ts → Card/helpers/getSizeSpacing.test.d.ts} +0 -0
  191. /package/components/{mui_extended/TextField/helpers/getLimitCharacters/test/getLimitCharacters.test.d.ts → Card/test/Card.test.d.ts} +0 -0
  192. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/NoItemPrivileges.d.ts +0 -0
  193. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/NoItemPrivilegesStyles.d.ts +0 -0
  194. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/dictionary.d.ts +0 -0
  195. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/dictionary.js +0 -0
  196. /package/components/{ImageText/components/NoItemPrivileges → NoItemPrivileges}/index.d.ts +0 -0
  197. /package/components/{ImageText/components/ImageTextContainer → NoItemPrivileges}/index.js +0 -0
  198. /package/components/{ImageText/components/NoItemSelected → NoItemSelected}/NoItemSelected.d.ts +0 -0
  199. /package/components/{ImageText/components/NoItemSelected → NoItemSelected}/NoItemSelected.styles.d.ts +0 -0
  200. /package/components/{ImageText/components/NoItemSelected → NoItemSelected}/index.d.ts +0 -0
  201. /package/components/{ImageText/components/NoItemPrivileges → NoItemSelected}/index.js +0 -0
  202. /package/components/{ImageText/components/NoItemSelected → SettingsLayout}/index.js +0 -0
  203. /package/components/{mui_extended/TextField/helpers/getLimitCharacters → SettingsLayout/subcomponents/SettingColorPresets}/index.js +0 -0
  204. /package/{components/mui_extended/TextField/helpers → utils}/getLimitCharacters/getLimitCharacters.js +0 -0
  205. /package/{components/mui_extended/TextField/helpers → utils}/getLimitCharacters/index.d.ts +0 -0
@@ -23,11 +23,8 @@ const rhfPeriodStyles = {
23
23
  /**
24
24
  * textField class
25
25
  */
26
- textField: ({ theme }) => ({
27
- borderRadius: "50px",
28
- width: "43px !important",
29
- border: theme.vars.palette.border.default,
30
- color: theme.vars.palette.text.disabled
26
+ numberInput: () => ({
27
+ maxWidth: "43px !important"
31
28
  }),
32
29
  /**
33
30
  * select class
@@ -1,6 +1,6 @@
1
1
  export declare enum RHFPeriodSlots {
2
2
  root = "root",
3
3
  periodRoot = "periodRoot",
4
- textField = "textField",
4
+ numberInput = "numberInput",
5
5
  select = "select"
6
6
  }
@@ -1,7 +1,7 @@
1
1
  var RHFPeriodSlots = /* @__PURE__ */ ((RHFPeriodSlots2) => {
2
2
  RHFPeriodSlots2["root"] = "root";
3
3
  RHFPeriodSlots2["periodRoot"] = "periodRoot";
4
- RHFPeriodSlots2["textField"] = "textField";
4
+ RHFPeriodSlots2["numberInput"] = "numberInput";
5
5
  RHFPeriodSlots2["select"] = "select";
6
6
  return RHFPeriodSlots2;
7
7
  })(RHFPeriodSlots || {});
@@ -1,4 +1,4 @@
1
1
  export declare const RHFPeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
2
2
  export declare const PeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
3
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps" | "limitCharacters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
3
+ export declare const NumberInputStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../NumberInput/types').NumberInputProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../../NumberInput/types').NumberInputProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
4
4
  export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/Select').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "onClose" | "title" | "name" | "error" | "input" | "options" | "rows" | "id" | "type" | "disabled" | "components" | "hidden" | "content" | "style" | "open" | "multiple" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "slots" | "slotProps" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "componentsProps" | "onOpen" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "minRows" | "startAdornment" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
@@ -2,7 +2,7 @@ import { styled } from "@mui/material/styles";
2
2
  import { R as RHF_PERIOD_KEY_COMPONENT } from "../constants.js";
3
3
  import { r as rhfPeriodStyles } from "../RHFPeriod.styles.js";
4
4
  import { R as RHFPeriodSlots } from "./RHFPeriodEnum.js";
5
- import { T as TextField } from "../../../mui_extended/TextField/TextField.js";
5
+ import { N as NumberInput } from "../../../NumberInput/NumberInput.js";
6
6
  import { S as Select } from "../../../mui_extended/Select/Select.js";
7
7
  const RHFPeriodRootStyled = styled("div", {
8
8
  name: RHF_PERIOD_KEY_COMPONENT,
@@ -12,17 +12,17 @@ const PeriodRootStyled = styled("div", {
12
12
  name: RHF_PERIOD_KEY_COMPONENT,
13
13
  slot: RHFPeriodSlots.periodRoot
14
14
  })(rhfPeriodStyles?.periodRoot);
15
- const TextFieldStyled = styled(TextField, {
15
+ const NumberInputStyled = styled(NumberInput, {
16
16
  name: RHF_PERIOD_KEY_COMPONENT,
17
- slot: RHFPeriodSlots.textField
18
- })(rhfPeriodStyles?.textField);
17
+ slot: RHFPeriodSlots.numberInput
18
+ })(rhfPeriodStyles?.numberInput);
19
19
  const SelectStyled = styled(Select, {
20
20
  name: RHF_PERIOD_KEY_COMPONENT,
21
21
  slot: RHFPeriodSlots.select
22
22
  })(rhfPeriodStyles?.select);
23
23
  export {
24
+ NumberInputStyled as N,
24
25
  PeriodRootStyled as P,
25
26
  RHFPeriodRootStyled as R,
26
- SelectStyled as S,
27
- TextFieldStyled as T
27
+ SelectStyled as S
28
28
  };
@@ -4,7 +4,7 @@ import { E as ETimePeriods } from "./types.js";
4
4
  import { D as DICTIONARY } from "./dictionary.js";
5
5
  import { useMemo } from "react";
6
6
  import { u as useComponentSize } from "../../../../../hooks/useComponentSize/useComponentSize.js";
7
- import { P as PeriodRootStyled, S as SelectStyled, T as TextFieldStyled } from "../../slots/RHFPeriodSlots.js";
7
+ import { P as PeriodRootStyled, S as SelectStyled, N as NumberInputStyled } from "../../slots/RHFPeriodSlots.js";
8
8
  import { I as Icon } from "../../../../Icon/Icon.js";
9
9
  const Period = (props) => {
10
10
  const {
@@ -27,7 +27,7 @@ const Period = (props) => {
27
27
  );
28
28
  const getSingleValue = (period) => {
29
29
  if (!period) {
30
- return "";
30
+ return null;
31
31
  }
32
32
  if (period.singleValue !== void 0) {
33
33
  return period.singleValue;
@@ -41,7 +41,7 @@ const Period = (props) => {
41
41
  if (period.days && period.days > 0) {
42
42
  return period.days;
43
43
  }
44
- return "";
44
+ return null;
45
45
  };
46
46
  const getSelPeriodTime = (period) => {
47
47
  if (!period) {
@@ -64,21 +64,22 @@ const Period = (props) => {
64
64
  const singleValue = getSingleValue(value);
65
65
  const selPeriodTime = getSelPeriodTime(value);
66
66
  const onTotalChange = (newPeriodTime, newValue) => {
67
+ const newPeriodTimeInt = typeof newPeriodTime === "string" ? parseInt(newPeriodTime) : newPeriodTime;
67
68
  const newPeriod = {
68
- selPeriodTime: newPeriodTime,
69
+ selPeriodTime: newPeriodTimeInt,
69
70
  singleValue: newValue
70
71
  };
71
- if (newValue !== "" && newValue > 0) {
72
+ if (newValue && newValue > 0) {
72
73
  newPeriod.years = 0;
73
74
  newPeriod.months = 0;
74
75
  newPeriod.days = 0;
75
- if (newPeriodTime === ETimePeriods.YEARS) {
76
+ if (newPeriodTimeInt === ETimePeriods.YEARS) {
76
77
  newPeriod.years = newValue;
77
78
  }
78
- if (newPeriodTime === ETimePeriods.MONTHS) {
79
+ if (newPeriodTimeInt === ETimePeriods.MONTHS) {
79
80
  newPeriod.months = newValue;
80
81
  }
81
- if (newPeriodTime === ETimePeriods.DAYS) {
82
+ if (newPeriodTimeInt === ETimePeriods.DAYS) {
82
83
  newPeriod.days = newValue;
83
84
  }
84
85
  }
@@ -117,13 +118,14 @@ const Period = (props) => {
117
118
  }
118
119
  ),
119
120
  /* @__PURE__ */ jsx(
120
- TextFieldStyled,
121
+ NumberInputStyled,
121
122
  {
122
123
  type: "number",
123
124
  variant: "outlined",
124
125
  value: singleValue,
125
- onChange: (e) => {
126
- onTotalChange(selPeriodTime, e.target.value === "" ? "" : parseInt(e.target.value));
126
+ withDecimal: true,
127
+ onChange: (_event, newValue) => {
128
+ onTotalChange(selPeriodTime, newValue);
127
129
  }
128
130
  }
129
131
  )
@@ -1,5 +1,5 @@
1
1
  import { g as getCommonActionsDictionary } from "../../../../CommonActions/dictionary.js";
2
- const DICTIONARY_KEY = "rhf_period";
2
+ const DICTIONARY_KEY = "period";
3
3
  const DICTIONARY = {
4
4
  LABEL_YEARS: `${DICTIONARY_KEY}.label_years`,
5
5
  LABEL_MONTHS: `${DICTIONARY_KEY}.label_months`,
@@ -9,8 +9,8 @@ export type PeriodTime = {
9
9
  label: string;
10
10
  };
11
11
  export type PeriodType = {
12
- selPeriodTime: '' | ETimePeriods | undefined;
13
- singleValue: number | '';
12
+ selPeriodTime: null | ETimePeriods | undefined;
13
+ singleValue: number | null;
14
14
  years?: number;
15
15
  months?: number;
16
16
  days?: number;
@@ -5,7 +5,8 @@ const rhfSelectStyles = {
5
5
  root: ({ theme }) => ({
6
6
  display: "flex",
7
7
  flexDirection: "column",
8
- gap: theme.vars.size.baseSpacings.sp1
8
+ gap: theme.vars.size.baseSpacings.sp1,
9
+ width: "100%"
9
10
  }),
10
11
  /**
11
12
  * Estilos del Label.
@@ -9,6 +9,7 @@ import clsx from "clsx";
9
9
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
10
10
  import { R as RHFTextFieldRootStyled, L as LabelStyled, T as TextFieldStyled, H as HelperErrorStyled } from "./slots/RHFTextFieldSlots.js";
11
11
  import { R as RHFTextFieldSlots } from "./slots/RHFTextFieldEnum.js";
12
+ import { g as getLimitCharacters } from "../../../utils/getLimitCharacters/getLimitCharacters.js";
12
13
  const RHFTextField = forwardRef((props, ref) => {
13
14
  const {
14
15
  name,
@@ -61,8 +62,9 @@ const RHFTextField = forwardRef((props, ref) => {
61
62
  control,
62
63
  render: ({ field: { onChange, value, ref: inputRef }, fieldState: { error } }) => {
63
64
  const onInternalChange = (event) => {
64
- const newValue = event.target.value;
65
- onChange(newValue);
65
+ const finalValue = other.maxLength ? getLimitCharacters({ limitCharacters: other.maxLength, value: event.target.value }) : event.target.value;
66
+ const stringValue = String(finalValue || "");
67
+ onChange(stringValue);
66
68
  };
67
69
  return /* @__PURE__ */ jsxs(Fragment, { children: [
68
70
  label && /* @__PURE__ */ jsx(
@@ -88,7 +90,7 @@ const RHFTextField = forwardRef((props, ref) => {
88
90
  autoComplete,
89
91
  onChange: onInternalChange,
90
92
  variant,
91
- value: type === "number" ? isNaN(parseFloat(value)) ? "" : value : value || "",
93
+ value: String(value || ""),
92
94
  fullWidth: true,
93
95
  error: !!error,
94
96
  type,
@@ -4,7 +4,7 @@ export declare const RHFTextFieldRootStyled: import('@emotion/styled').StyledCom
4
4
  export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
5
5
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
6
6
  }, {}, {}>;
7
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps" | "limitCharacters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
7
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "maxLength" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
8
8
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
9
9
  }, {}, {}>;
10
10
  export declare const HelperErrorStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../HelperError').HelperErrorProps & import('react').RefAttributes<HTMLLabelElement>, keyof import('../../../HelperError').HelperErrorProps | keyof import('react').RefAttributes<HTMLLabelElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
@@ -6,6 +6,7 @@ import { useFormContext, Controller } from "react-hook-form";
6
6
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
7
7
  import { R as RHFTextFieldPasswordRoot, L as LabelStyled, T as TextFieldStyled, I as IconButtonStyled } from "./slots/RHFTextFieldPasswordSlots.js";
8
8
  import { H as HelperError } from "../../HelperError/HelperError.js";
9
+ import { g as getLimitCharacters } from "../../../utils/getLimitCharacters/getLimitCharacters.js";
9
10
  const RHFTextFieldPassword = (props) => {
10
11
  const {
11
12
  name,
@@ -27,62 +28,69 @@ const RHFTextFieldPassword = (props) => {
27
28
  {
28
29
  name,
29
30
  control,
30
- render: ({ field: { onChange, value, ref }, fieldState: { error } }) => /* @__PURE__ */ jsxs(Fragment, { children: [
31
- label && /* @__PURE__ */ jsx(
32
- LabelStyled,
33
- {
34
- ownerState: { error: !!error },
35
- size: adjustedSize,
36
- label,
37
- htmlFor: name,
38
- mandatory,
39
- mandatoryMessage,
40
- helperMessage
41
- }
42
- ),
43
- /* @__PURE__ */ jsx(
44
- TextFieldStyled,
45
- {
46
- ownerState: { error: !!error },
47
- name,
48
- id: name,
49
- type: showPassword ? "text" : "password",
50
- size,
51
- error: !!error,
52
- disabled,
53
- inputProps: {
54
- role: "textbox",
55
- "aria-label": name,
56
- disabled,
31
+ render: ({ field: { onChange, value, ref }, fieldState: { error } }) => {
32
+ const onInternalChange = (event) => {
33
+ const finalValue = other.maxLength ? getLimitCharacters({ limitCharacters: other.maxLength, value: event.target.value }) : event.target.value;
34
+ const stringValue = String(finalValue || "");
35
+ onChange(stringValue);
36
+ };
37
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
38
+ label && /* @__PURE__ */ jsx(
39
+ LabelStyled,
40
+ {
41
+ ownerState: { error: !!error },
42
+ size: adjustedSize,
43
+ label,
44
+ htmlFor: name,
45
+ mandatory,
46
+ mandatoryMessage,
47
+ helperMessage
48
+ }
49
+ ),
50
+ /* @__PURE__ */ jsx(
51
+ TextFieldStyled,
52
+ {
53
+ ownerState: { error: !!error },
57
54
  name,
58
- type: showPassword ? "text" : "password"
59
- },
60
- InputProps: {
61
- /* InputAdornment: Componente de la librería externa material ui, permite agregar un elemento gráfico
62
- personalizado dentro del campo de texto*/
63
- endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(
64
- IconButtonStyled,
65
- {
66
- ownerState: { error: !!error },
67
- onClick: () => setShowPassword(!showPassword),
68
- icon: showPassword ? `${host_static_assets}/${environment_assets}/frontend/components/rhftextfieldpassword/assests/icons/view.svg` : `${host_static_assets}/${environment_assets}/frontend/components/rhftextfieldpassword/assests/icons/view_off.svg`
69
- }
70
- ) })
71
- },
72
- onChange,
73
- value: value || "",
74
- inputRef: ref,
75
- ...other
76
- }
77
- ),
78
- error?.message && /* @__PURE__ */ jsx(
79
- HelperError,
80
- {
81
- message: error.message,
82
- size
83
- }
84
- )
85
- ] })
55
+ id: name,
56
+ type: showPassword ? "text" : "password",
57
+ size,
58
+ error: !!error,
59
+ disabled,
60
+ inputProps: {
61
+ role: "textbox",
62
+ "aria-label": name,
63
+ disabled,
64
+ name,
65
+ type: showPassword ? "text" : "password"
66
+ },
67
+ InputProps: {
68
+ /* InputAdornment: Componente de la librería externa material ui, permite agregar un elemento gráfico
69
+ personalizado dentro del campo de texto*/
70
+ endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(
71
+ IconButtonStyled,
72
+ {
73
+ ownerState: { error: !!error },
74
+ onClick: () => setShowPassword(!showPassword),
75
+ icon: showPassword ? `${host_static_assets}/${environment_assets}/frontend/components/rhftextfieldpassword/assests/icons/view.svg` : `${host_static_assets}/${environment_assets}/frontend/components/rhftextfieldpassword/assests/icons/view_off.svg`
76
+ }
77
+ ) })
78
+ },
79
+ onChange: onInternalChange,
80
+ value: String(value || ""),
81
+ inputRef: ref,
82
+ ...other
83
+ }
84
+ ),
85
+ error?.message && /* @__PURE__ */ jsx(
86
+ HelperError,
87
+ {
88
+ message: error.message,
89
+ size
90
+ }
91
+ )
92
+ ] });
93
+ }
86
94
  }
87
95
  ) });
88
96
  };
@@ -1,7 +1,7 @@
1
1
  export declare const RHFTextFieldPasswordRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
2
  ownerState?: (Partial<import('../..').RHFTextFieldOwnerState> & Record<string, unknown>) | undefined;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps" | "limitCharacters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "maxLength" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
5
  ownerState?: (Partial<import('../..').RHFTextFieldOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, {}, {}>;
7
7
  export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "instaceDataTestId" | "placement" | "rotationAngle" | "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> & {
@@ -33,6 +33,8 @@ export * from './MenuActions';
33
33
  export * from './MFIsolationApp';
34
34
  export * from './MFLoader';
35
35
  export * from './ImageText';
36
+ export * from './NoItemSelected';
37
+ export * from './NoItemPrivileges';
36
38
  export * from './ObjectLogs';
37
39
  export * from './PaperForm/PaperForm';
38
40
  export * from './PDFViewer';
@@ -45,5 +47,6 @@ export * from './ToastContainer';
45
47
  export * from './WindowBase';
46
48
  export * from './WindowConfirm';
47
49
  export * from './ModalDialog';
50
+ export * from './SettingsLayout';
48
51
  export * from './Pager';
49
52
  export * from './ScrollBar';
@@ -18,7 +18,7 @@ export declare const MenuListStyled: import('@emotion/styled').StyledComponent<P
18
18
  export declare const CircularProgressStyled: import('@emotion/styled').StyledComponent<Pick<import('../../CircularProgress/types').CircularProgressProps, keyof import('../../CircularProgress/types').CircularProgressProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
19
  ownerState?: (Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>) | undefined;
20
20
  }, {}, {}>;
21
- export declare const RenderInputStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps" | "limitCharacters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
21
+ export declare const RenderInputStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "dataTestId" | "autoComplete" | "maxLength" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
22
22
  ownerState?: (Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>) | undefined;
23
23
  }, {}, {}>;
24
24
  export declare const TypographyStyled: 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> & {
@@ -13,6 +13,7 @@ const buttonStyles = {
13
13
  borderRadius: theme.vars.size.borderRadius.r1,
14
14
  maxWidth: "200px",
15
15
  minWidth: "0",
16
+ flexShrink: 0,
16
17
  "&:hover": {
17
18
  backgroundColor: ownerState?.paletteColor?.hoverOpacity,
18
19
  borderColor: ownerState?.paletteColor?.hover
@@ -103,7 +104,7 @@ const buttonStyles = {
103
104
  textOverflow: "ellipsis"
104
105
  },
105
106
  ...ownerState.variant === "contained" && {
106
- color: ownerState.paletteColor?.contrastText
107
+ color: ownerState.color === "default" ? ownerState.paletteColor?.semanticText : ownerState.paletteColor?.contrastText
107
108
  },
108
109
  ...(ownerState?.variant === "outlined" || ownerState?.variant === "text") && {
109
110
  color: ownerState?.paletteColor?.semanticText
@@ -128,7 +128,7 @@ const iconButtonStyles = {
128
128
  backgroundColor: paletteColor.enabled,
129
129
  // 🖼️ Color del icono
130
130
  "&&& .M4LIcon-icon": {
131
- backgroundColor: paletteColor.contrastText
131
+ backgroundColor: paletteColor.semanticText
132
132
  },
133
133
  // 🖱️ Estado Hover
134
134
  "&:hover": {
@@ -107,7 +107,8 @@ const menuItemStyles = {
107
107
  */
108
108
  menuItemTypography: () => ({
109
109
  overflow: "hidden",
110
- textOverflow: "ellipsis"
110
+ textOverflow: "ellipsis",
111
+ cursor: "inherit"
111
112
  }),
112
113
  /**
113
114
  * Estilos para el contenedor de los items del menú contenedor