@m4l/components 9.3.25 → 9.3.27-BE071125-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 (213) hide show
  1. package/@types/types.d.ts +18 -5
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
  3. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +1 -1
  4. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  5. package/components/Card/constants.d.ts +1 -1
  6. package/components/Chip/constants.d.ts +1 -1
  7. package/components/Chip/slots/ChipSlots.d.ts +1 -1
  8. package/components/Color/slots/ColorSlots.d.ts +1 -1
  9. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.js +17 -8
  10. package/components/CommonActions/components/ActionFormCancel/types.d.ts +9 -0
  11. package/components/ContainerFlow/constants.d.ts +1 -1
  12. package/components/DataGrid/formatters/ColumnIconFormatter/index.d.ts +1 -0
  13. package/components/DataGrid/index.d.ts +1 -1
  14. package/components/DataGrid/subcomponents/editors/EditLabelEditor/formatter.d.ts +8 -0
  15. package/components/DataGrid/subcomponents/editors/EditLabelEditor/index.d.ts +3 -0
  16. package/components/DataGrid/subcomponents/editors/EditLabelEditor/types.d.ts +5 -0
  17. package/components/DataGrid/subcomponents/editors/EditLabelEditor/useColumnEditLabel.d.ts +9 -0
  18. package/components/DataGrid/tests/helpers/types.d.ts +2 -0
  19. package/components/DataGrid/types.d.ts +2 -0
  20. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  21. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  22. package/components/EditLabel/EditLabel.d.ts +7 -0
  23. package/components/EditLabel/EditLabel.styles.d.ts +2 -0
  24. package/components/EditLabel/constants.d.ts +2 -0
  25. package/components/EditLabel/hooks/types.d.ts +17 -0
  26. package/components/EditLabel/hooks/useEditLabel.d.ts +7 -0
  27. package/components/EditLabel/icons.d.ts +5 -0
  28. package/components/EditLabel/index.d.ts +2 -0
  29. package/components/EditLabel/slots/EditLabelEnum.d.ts +8 -0
  30. package/components/EditLabel/slots/EditLabelSlots.d.ts +18 -0
  31. package/components/EditLabel/test/EditLabel.test.d.ts +1 -0
  32. package/components/EditLabel/types.d.ts +43 -0
  33. package/components/FormContainer/constants.d.ts +1 -1
  34. package/components/Icon/Icon.js +6 -3
  35. package/components/Icon/types.d.ts +4 -0
  36. package/components/Image/constant.d.ts +1 -1
  37. package/components/ImageText/ImageText.styles.js +1 -1
  38. package/components/ImageText/constants.d.ts +1 -1
  39. package/components/Label/Label.js +1 -1
  40. package/components/LanguagePopover/LanguagePopover.js +2 -0
  41. package/components/MFIsolationApp/MFIsolationApp.js +13 -8
  42. package/components/MFIsolationApp/MFIsolationApp.styles.d.ts +2 -0
  43. package/components/MFIsolationApp/MFIsolationApp.styles.js +22 -0
  44. package/components/MFIsolationApp/constants.d.ts +1 -0
  45. package/components/MFIsolationApp/constants.js +4 -0
  46. package/components/MFIsolationApp/icons.d.ts +3 -0
  47. package/components/MFIsolationApp/icons.js +6 -0
  48. package/components/MFIsolationApp/slots/MFIsolationAppEnum.d.ts +4 -0
  49. package/components/MFIsolationApp/slots/MFIsolationAppEnum.js +8 -0
  50. package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -0
  51. package/components/MFIsolationApp/slots/MFIsolationAppSlots.js +17 -0
  52. package/components/MFIsolationApp/subcomponents/AppBarSettings/AppBarSettings.js +21 -0
  53. package/components/MFIsolationApp/subcomponents/AppBarSettings/index.js +1 -0
  54. package/components/MFIsolationApp/types.d.ts +8 -0
  55. package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +137 -0
  56. package/components/MFIsolationAppStorybook/index.js +1 -0
  57. package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.js +44 -0
  58. package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/index.js +1 -0
  59. package/components/MFIsolationAppStorybook/types.d.ts +0 -4
  60. package/components/MenuActions/MenuActions.js +1 -1
  61. package/components/MenuActions/constants.d.ts +1 -1
  62. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  63. package/components/ModalDialog/ModalDialog.js +1 -0
  64. package/components/NoItemSelected/constant.d.ts +1 -1
  65. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  66. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +1 -1
  67. package/components/PaperForm/PaperForm.js +1 -1
  68. package/components/PaperForm/components/Header.js +9 -7
  69. package/components/PaperForm/styles.js +9 -4
  70. package/components/PaperForm/types.d.ts +3 -2
  71. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  72. package/components/Stepper/Stepper.styles.js +2 -0
  73. package/components/Stepper/dictionary.js +0 -1
  74. package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.d.ts +13 -0
  75. package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.js +111 -0
  76. package/components/Stepper/subcomponents/StepArea/hooks/useVisibileSteps.d.ts +8 -0
  77. package/components/Stepper/subcomponents/StepArea/hooks/useVisibileSteps.js +79 -0
  78. package/components/Stepper/subcomponents/StepArea/index.js +7 -115
  79. package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.d.ts +2 -2
  80. package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.js +3 -53
  81. package/components/Stepper/subcomponents/StepperButtons/StepperNextButton/index.js +3 -2
  82. package/components/Stepper/subcomponents/StepperButtons/StepperPrevButton/index.js +3 -2
  83. package/components/Stepper/subcomponents/StepperButtons/StepperSubmitButton/index.js +24 -5
  84. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/hooks/useIsStepVisible.d.ts +8 -0
  85. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/hooks/useIsStepVisible.js +93 -0
  86. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +2 -51
  87. package/components/Stepper/types.d.ts +4 -0
  88. package/components/ToastContainer/ToastContainer.js +1 -0
  89. package/components/ToastContainer/constants.d.ts +1 -1
  90. package/components/ToastContainer/constants.js +1 -1
  91. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  92. package/components/WindowBase/constants.d.ts +1 -1
  93. package/components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js +47 -3
  94. package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts +1 -1
  95. package/components/WindowBase/subcomponents/Component/index.d.ts +12 -1
  96. package/components/WindowBase/subcomponents/Component/index.js +56 -2
  97. package/components/WindowBase/subcomponents/Component/types.d.ts +1 -0
  98. package/components/WindowBase/types.d.ts +1 -1
  99. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  100. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -0
  101. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.js +1 -1
  102. package/components/areas/contexts/AreasContext/store.js +5 -1
  103. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  104. package/components/extended/React-Json-Viewer/constants.d.ts +1 -1
  105. package/components/extended/React-resizable-panels/SplitLayout.js +1 -1
  106. package/components/formatters/ChipStatusFormatter/constants.d.ts +1 -1
  107. package/components/formatters/EditLabelFormatter/EditLabelFormatter.d.ts +5 -0
  108. package/components/formatters/EditLabelFormatter/EditLabelFormatter.styles.d.ts +2 -0
  109. package/components/formatters/EditLabelFormatter/constants.d.ts +5 -0
  110. package/components/formatters/EditLabelFormatter/index.d.ts +2 -0
  111. package/components/formatters/EditLabelFormatter/slots/EditLabelFormatterEnum.d.ts +4 -0
  112. package/components/formatters/EditLabelFormatter/slots/EditLabelFormatterSlots.d.ts +5 -0
  113. package/components/formatters/EditLabelFormatter/test/EditLabelFormatter.test.d.ts +1 -0
  114. package/components/formatters/EditLabelFormatter/types.d.ts +23 -0
  115. package/components/formatters/TagsFormatter/constants.d.ts +1 -1
  116. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +1 -1
  117. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +7 -1
  118. package/components/hook-form/RHFAutocomplete/constants.d.ts +1 -1
  119. package/components/hook-form/RHFAutocomplete/types.d.ts +13 -0
  120. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.js +7 -1
  121. package/components/hook-form/RHFAutocompleteAsync/slots/RHFAutocompleteSlotsAsync.d.ts +1 -1
  122. package/components/hook-form/RHFCheckbox/constants.d.ts +1 -1
  123. package/components/hook-form/RHFSelect/constants.d.ts +1 -1
  124. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  125. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  126. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +25 -1
  127. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.js +5 -1
  128. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  129. package/components/hook-form/RHFormContext/index.d.ts +109 -9
  130. package/components/hook-form/RHFormContext/index.js +23 -21
  131. package/components/hook-form/RHFormContext/styles.js +2 -1
  132. package/components/hook-form/RHFormContext/types.d.ts +64 -1
  133. package/components/index.d.ts +1 -0
  134. package/components/mui_extended/Autocomplete/Autocomplete.d.ts +4 -8
  135. package/components/mui_extended/Autocomplete/Autocomplete.js +24 -112
  136. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +41 -12
  137. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts +26 -0
  138. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +166 -0
  139. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +2 -1
  140. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.d.ts +17 -0
  141. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.js +108 -0
  142. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.d.ts +0 -2
  143. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.js +11 -17
  144. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.d.ts +2 -1
  145. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.js +1 -0
  146. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -1
  147. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +5 -0
  148. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/LoadingText.d.ts +2 -0
  149. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/LoadingText.js +14 -0
  150. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/index.d.ts +1 -0
  151. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/index.js +1 -0
  152. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.d.ts +2 -0
  153. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +14 -0
  154. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/index.d.ts +1 -0
  155. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/index.js +1 -0
  156. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/PopperComponent.d.ts +8 -0
  157. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/PopperComponent.js +23 -0
  158. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/index.d.ts +2 -0
  159. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/index.js +1 -0
  160. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/types.d.ts +7 -0
  161. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/types.js +1 -0
  162. package/components/mui_extended/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.d.ts +6 -0
  163. package/components/mui_extended/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +45 -0
  164. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.d.ts +9 -0
  165. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.js +61 -0
  166. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/types.d.ts +7 -0
  167. package/components/mui_extended/Autocomplete/types.d.ts +21 -1
  168. package/components/mui_extended/Button/Button.js +15 -4
  169. package/components/mui_extended/Button/ButtonStyles.js +165 -82
  170. package/components/mui_extended/Button/{constans.d.ts → constants.d.ts} +1 -0
  171. package/components/mui_extended/Button/constants.js +8 -0
  172. package/components/mui_extended/Button/slots/ButtonSlots.js +1 -1
  173. package/components/mui_extended/Button/types.d.ts +1 -1
  174. package/components/mui_extended/CheckBox/CheckBox.js +1 -0
  175. package/components/mui_extended/CircularProgress/types.d.ts +1 -1
  176. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  177. package/components/mui_extended/IconButton/constants.d.ts +1 -1
  178. package/components/mui_extended/IconButton/constants.js +4 -1
  179. package/components/mui_extended/MenuItem/MenuItem.js +1 -1
  180. package/components/mui_extended/MenuItem/MenuItem.styles.js +4 -1
  181. package/components/mui_extended/MenuItem/constants.d.ts +1 -1
  182. package/components/mui_extended/NavLink/constants.d.ts +1 -1
  183. package/components/mui_extended/Select/Select.js +71 -29
  184. package/components/mui_extended/Select/Select.styles.js +41 -6
  185. package/components/mui_extended/Select/constants.d.ts +1 -1
  186. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  187. package/components/mui_extended/Select/types.d.ts +6 -1
  188. package/components/mui_extended/TextField/constants.d.ts +1 -1
  189. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  190. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  191. package/components/mui_extended/Tooltip/Tooltip.styles.js +16 -4
  192. package/components/mui_extended/Tooltip/constants.d.ts +1 -1
  193. package/components/mui_extended/Typography/constants.d.ts +1 -1
  194. package/components/mui_extended/Typography/types.d.ts +2 -1
  195. package/components/mui_extended/Typography/typography.styles.js +4 -9
  196. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +5 -1
  197. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +1 -1
  198. package/components/popups/components/PopupsProvider/hooks/usePopups.d.ts +2 -4
  199. package/components/popups/components/PopupsProvider/hooks/usePopups.js +19 -7
  200. package/components/popups/components/PopupsViewer/PopupsViewer.js +1 -1
  201. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +1 -1
  202. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +32 -21
  203. package/contexts/AppearanceComponentContext/AppearanceComponentContext.js +9 -1
  204. package/index.js +74 -70
  205. package/package.json +1 -1
  206. package/utils/getComponentSlotRoot.d.ts +3 -1
  207. package/components/mui_extended/Autocomplete/hooks/useStartAdornments.d.ts +0 -21
  208. package/components/mui_extended/Autocomplete/hooks/useStartAdornments.js +0 -31
  209. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +0 -22
  210. package/components/mui_extended/Autocomplete/renderOptions/index.js +0 -24
  211. package/components/mui_extended/Button/constans.js +0 -4
  212. /package/components/{MFIsolationAppStorybook → MFIsolationApp}/subcomponents/AppBarSettings/AppBarSettings.d.ts +0 -0
  213. /package/components/{MFIsolationAppStorybook → MFIsolationApp}/subcomponents/AppBarSettings/index.d.ts +0 -0
@@ -4,7 +4,7 @@ export declare const RHFTextFieldPasswordRoot: import('@emotion/styled').StyledC
4
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
- 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> & {
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" | "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> & {
8
8
  ownerState?: (Partial<import('../..').RHFTextFieldOwnerState> & Record<string, unknown>) | undefined;
9
9
  }, {}, {}>;
10
10
  export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -22,7 +22,7 @@ export declare const TypographyStyled: import('@emotion/styled').StyledComponent
22
22
  export declare const ButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
23
23
  ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
24
24
  }, {}, {}>;
25
- export declare const IconButtonRemoveStyled: 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/styles').Theme> & Record<string, unknown> & {
25
+ export declare const IconButtonRemoveStyled: 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" | "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/styles').Theme> & Record<string, unknown> & {
26
26
  ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
27
27
  }, {}, {}>;
28
28
  export declare const ContainPreviewStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
@@ -1,5 +1,29 @@
1
+ import { RHFUploadSingleFileSlots } from './slots/RHFUploadSingleFileEnum';
1
2
  export declare const RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT = "M4LRHFUploadSingleFile";
2
- export declare const RHF_UPLOAD_SINGLE_FILE_CLASSES: Record<string, string>;
3
+ export declare const RHF_UPLOAD_SINGLE_FILE_COMPLEMENTARY_CLASSES: {
4
+ root: RHFUploadSingleFileSlots.root;
5
+ label: RHFUploadSingleFileSlots.label;
6
+ helperError: RHFUploadSingleFileSlots.helperError;
7
+ containerDropZone: RHFUploadSingleFileSlots.containerDropZone;
8
+ dropZone: RHFUploadSingleFileSlots.dropZone;
9
+ image: RHFUploadSingleFileSlots.image;
10
+ containerBlockContent: RHFUploadSingleFileSlots.containerBlockContent;
11
+ blockContentGroup: RHFUploadSingleFileSlots.blockContentGroup;
12
+ illustrationUpload: RHFUploadSingleFileSlots.illustrationUpload;
13
+ title: RHFUploadSingleFileSlots.title;
14
+ description: RHFUploadSingleFileSlots.description;
15
+ divider: RHFUploadSingleFileSlots.divider;
16
+ dividerText: RHFUploadSingleFileSlots.dividerText;
17
+ button: RHFUploadSingleFileSlots.button;
18
+ containerPreview: RHFUploadSingleFileSlots.containerPreview;
19
+ containerNameSize: RHFUploadSingleFileSlots.containerNameSize;
20
+ imagePreview: RHFUploadSingleFileSlots.imagePreview;
21
+ namePreview: RHFUploadSingleFileSlots.namePreview;
22
+ sizePreview: RHFUploadSingleFileSlots.sizePreview;
23
+ closePreview: RHFUploadSingleFileSlots.closePreview;
24
+ linearProgress: string;
25
+ };
26
+ export declare const RHF_UPLOAD_SINGLE_FILE_CLASSES: Record<"title" | "divider" | "button" | "root" | "label" | "image" | "description" | "helperError" | "containerDropZone" | "dropZone" | "containerBlockContent" | "blockContentGroup" | "illustrationUpload" | "dividerText" | "containerPreview" | "containerNameSize" | "imagePreview" | "namePreview" | "sizePreview" | "closePreview" | "linearProgress", string>;
3
27
  export declare const DEFAULT_MAX_FILE_SIZE: number;
4
28
  export declare const FILES_ICONS: {
5
29
  readonly 'application/pdf': "frontend/components/RHF_upload_single_file/assets/icons/application_pdf.svg";
@@ -1,7 +1,11 @@
1
1
  import { g as getComponentClasses } from "../../../../utils/getComponentSlotRoot.js";
2
2
  import { R as RHFUploadSingleFileSlots } from "./slots/RHFUploadSingleFileEnum.js";
3
3
  const RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT = "M4LRHFUploadSingleFile";
4
- const RHF_UPLOAD_SINGLE_FILE_CLASSES = getComponentClasses(RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT, RHFUploadSingleFileSlots);
4
+ const RHF_UPLOAD_SINGLE_FILE_COMPLEMENTARY_CLASSES = {
5
+ linearProgress: "linearProgress-linearProgress",
6
+ ...RHFUploadSingleFileSlots
7
+ };
8
+ const RHF_UPLOAD_SINGLE_FILE_CLASSES = getComponentClasses(RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT, RHF_UPLOAD_SINGLE_FILE_COMPLEMENTARY_CLASSES);
5
9
  const DEFAULT_MAX_FILE_SIZE = 100 * 1024 * 1024;
6
10
  const PATH_ICONS = "frontend/components/RHF_upload_single_file/assets/icons";
7
11
  const FILES_ICONS = {
@@ -55,6 +55,6 @@ export declare const NamePreviewStyled: import('@emotion/styled').StyledComponen
55
55
  export declare const SizePreviewStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
56
56
  ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
57
57
  }, {}, {}>;
58
- export declare const ClosePreviewStyled: 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> & {
58
+ export declare const ClosePreviewStyled: 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" | "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> & {
59
59
  ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
60
60
  }, {}, {}>;
@@ -1,20 +1,120 @@
1
1
  import { FieldValues } from 'react-hook-form';
2
- import { CustomFormArguments, FormProviderCustomProps, FormProviderProps } from './types';
2
+ import { CustomFormArguments, FormProviderProps, RHFormProviderRef } from './types';
3
3
  /**
4
- * TODO: Documentar
4
+ * Hook personalizado que configura y gestiona un formulario usando React Hook Form con validación Yup.
5
+ *
6
+ * Este hook encapsula la lógica de inicialización del formulario, incluyendo la configuración del resolver de Yup,
7
+ * valores por defecto, y la gestión de estados de carga para actualizar valores del formulario.
8
+ * @param validationSchema - Esquema de validación de Yup que define las reglas de validación del formulario
9
+ * @param values - Valores iniciales del formulario
10
+ * @param statusLoad - Estado de carga que determina cuándo actualizar los valores del formulario
11
+ * @param mode - Modo de validación del formulario (ej: 'onChange', 'onBlur', 'onSubmit')
12
+ * @returns Objeto con todos los métodos y propiedades de React Hook Form
13
+ * @example
14
+ * ```tsx
15
+ * const formMethods = useCustomForm({
16
+ * validationSchema: myValidationSchema,
17
+ * values: { name: '', email: '' },
18
+ * statusLoad: 'ready',
19
+ * mode: 'onChange'
20
+ * });
21
+ * ```
5
22
  */
6
23
  export declare function useCustomForm({ validationSchema, values, statusLoad, mode, }: CustomFormArguments): import('react-hook-form').UseFormReturn<FieldValues, any, FieldValues>;
7
24
  /**
8
- * TODO: Documentar
25
+ * Componente que proporciona el contexto de React Hook Form con funcionalidades adicionales.
26
+ *
27
+ * Este componente envuelve el `FormProvider` de React Hook Form y expone métodos del formulario
28
+ * a través de una ref usando `useImperativeHandle`. Permite acceso programático a métodos
29
+ * como submit, reset, setValue, etc.
30
+ * @param props - Propiedades del componente que incluyen los métodos de React Hook Form
31
+ * @param ref - Referencia que expone los métodos del formulario
32
+ * @returns JSX del FormProvider con el formulario envuelto
33
+ * @example
34
+ * ```tsx
35
+ * const formRef = useRef<RHFormProviderRef>(null);
36
+ *
37
+ * const handleReset = () => {
38
+ * formRef.current?.reset();
39
+ * };
40
+ *
41
+ * return (
42
+ * <FormProviderCustom
43
+ * ref={formRef}
44
+ * onSubmit={handleSubmit}
45
+ * {...formMethods}
46
+ * >
47
+ * <input {...register('name')} />
48
+ * </FormProviderCustom>
49
+ * );
50
+ * ```
9
51
  */
10
- export declare function FormProviderCustom(props: FormProviderCustomProps): import("react/jsx-runtime").JSX.Element;
52
+ export declare const FormProviderCustom: import('react').ForwardRefExoticComponent<{
53
+ children: React.ReactNode | React.ReactNode[];
54
+ } & import('react-hook-form').UseFormReturn<FieldValues, any, FieldValues> & FormProviderProps & import('react').RefAttributes<RHFormProviderRef>>;
11
55
  /**
12
- * Componente que gestiona el `Provider` de `react-hook-form` y encapsula el formulario para la creación de formularios personalizados.
56
+ * Componente principal que gestiona el `Provider` de `react-hook-form` y encapsula el formulario para la creación de formularios personalizados.
57
+ *
58
+ * Este componente utiliza internamente `useForm` para inicializar todos los métodos necesarios para la manipulación del formulario,
59
+ * incluyendo validación con Yup, gestión de estados de carga, y exposición de métodos a través de refs.
13
60
  *
14
- * Este componente utiliza internamente `useForm` para inicializar todos los métodos necesarios para la manipulación del formulario.
61
+ * **Características principales:**
62
+ * - Integración completa con React Hook Form
63
+ * - Validación automática usando esquemas de Yup
64
+ * - Gestión de estados de carga para actualización de valores
65
+ * - Exposición de métodos del formulario a través de refs
66
+ * - Soporte para diferentes modos de validación
15
67
  *
16
- * Si necesitas acceder directamente a los métodos de `useForm`, puedes utilizar el `Provider` y el hook por separado mediante
68
+ * Si necesitas acceso directo a los métodos de `useForm`, puedes utilizar el `Provider` y el hook por separado mediante
17
69
  * `FormProviderCustom` y `useCustomForm`, respectivamente.
18
- * @param props
70
+ * @param props - Propiedades del componente
71
+ * @param props.children - Elementos hijos del formulario
72
+ * @param props.onSubmit - Función que se ejecuta al enviar el formulario
73
+ * @param props.values - Valores iniciales del formulario
74
+ * @param props.validationSchema - Esquema de validación de Yup
75
+ * @param props.statusLoad - Estado de carga del formulario (opcional, por defecto 'ready')
76
+ * @param props.className - Clases CSS adicionales (opcional)
77
+ * @param props.mode - Modo de validación del formulario (opcional)
78
+ * @param ref - Referencia que expone los métodos del formulario
79
+ * @returns JSX del formulario con contexto de React Hook Form
80
+ * @example
81
+ * ```tsx
82
+ * import { useRef } from 'react';
83
+ * import { RHFormProvider, RHFormProviderRef } from './RHFormContext';
84
+ * import * as yup from 'yup';
85
+ *
86
+ * const schema = yup.object({
87
+ * name: yup.string().required('El nombre es requerido'),
88
+ * email: yup.string().email('Email inválido').required('El email es requerido')
89
+ * });
90
+ *
91
+ * const MyForm = () => {
92
+ * const formRef = useRef<RHFormProviderRef>(null);
93
+ *
94
+ * const handleSubmit = (data: any) => {
95
+ * console.log('Datos del formulario:', data);
96
+ * };
97
+ *
98
+ * const handleReset = () => {
99
+ * formRef.current?.reset();
100
+ * };
101
+ *
102
+ * return (
103
+ * <RHFormProvider
104
+ * ref={formRef}
105
+ * onSubmit={handleSubmit}
106
+ * values={{ name: '', email: '' }}
107
+ * validationSchema={schema}
108
+ * statusLoad="ready"
109
+ * mode="onChange"
110
+ * >
111
+ * <input {...register('name')} placeholder="Nombre" />
112
+ * <input {...register('email')} placeholder="Email" />
113
+ * <button type="submit">Enviar</button>
114
+ * <button type="button" onClick={handleReset}>Resetear</button>
115
+ * </RHFormProvider>
116
+ * );
117
+ * };
118
+ * ```
19
119
  */
20
- export declare function RHFormProvider(props: FormProviderProps): import("react/jsx-runtime").JSX.Element;
120
+ export declare const RHFormProvider: import('react').ForwardRefExoticComponent<FormProviderProps & import('react').RefAttributes<RHFormProviderRef>>;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { useEffect } from "react";
2
+ import { forwardRef, useImperativeHandle, useEffect } from "react";
3
3
  import clsx from "clsx";
4
4
  import { FormProvider, useForm } from "react-hook-form";
5
5
  import { yupResolver } from "@hookform/resolvers/yup";
@@ -42,8 +42,20 @@ function useCustomForm({
42
42
  }, [statusLoad]);
43
43
  return formMethods;
44
44
  }
45
- function FormProviderCustom(props) {
46
- const { children, onSubmit, className, handleSubmit } = props;
45
+ const FormProviderCustom = forwardRef((props, ref) => {
46
+ const { children, onSubmit, className, handleSubmit, ...formMethods } = props;
47
+ useImperativeHandle(ref, () => ({
48
+ formMethods: { ...formMethods, handleSubmit },
49
+ submit: () => handleSubmit(onSubmit)(),
50
+ reset: formMethods.reset,
51
+ clearErrors: formMethods.clearErrors,
52
+ setValue: formMethods.setValue,
53
+ getValues: formMethods.getValues,
54
+ trigger: formMethods.trigger,
55
+ watch: formMethods.watch,
56
+ setError: formMethods.setError,
57
+ unregister: formMethods.unregister
58
+ }), [formMethods, handleSubmit, onSubmit]);
47
59
  return /* @__PURE__ */ jsx(FormProvider, { ...props, children: /* @__PURE__ */ jsx(
48
60
  FormProviderRoot,
49
61
  {
@@ -52,26 +64,15 @@ function FormProviderCustom(props) {
52
64
  children
53
65
  }
54
66
  ) });
55
- }
56
- function RHFormProvider(props) {
57
- const {
58
- children,
59
- onSubmit,
60
- values,
61
- validationSchema,
62
- statusLoad = "ready",
63
- className,
64
- mode
65
- } = props;
66
- const formMethods = useCustomForm({
67
- validationSchema,
68
- statusLoad,
69
- values,
70
- mode
71
- });
67
+ });
68
+ FormProviderCustom.displayName = "FormProviderCustom";
69
+ const RHFormProvider = forwardRef((props, ref) => {
70
+ const { children, onSubmit, values, validationSchema, statusLoad = "ready", className, mode } = props;
71
+ const formMethods = useCustomForm({ validationSchema, statusLoad, values, mode });
72
72
  return /* @__PURE__ */ jsx(
73
73
  FormProviderCustom,
74
74
  {
75
+ ref,
75
76
  className,
76
77
  values,
77
78
  validationSchema,
@@ -81,7 +82,8 @@ function RHFormProvider(props) {
81
82
  children
82
83
  }
83
84
  );
84
- }
85
+ });
86
+ RHFormProvider.displayName = "RHFormProvider";
85
87
  export {
86
88
  FormProviderCustom as F,
87
89
  RHFormProvider as R,
@@ -1,7 +1,8 @@
1
1
  import { styled } from "@mui/material";
2
2
  const FormProviderRoot = styled("form")(({ theme }) => ({
3
3
  ...theme.components?.M4LRHFormProvider?.styleOverrides || {},
4
- width: "100%"
4
+ width: "100%",
5
+ overflow: "hidden"
5
6
  }));
6
7
  export {
7
8
  FormProviderRoot as F
@@ -1,20 +1,83 @@
1
1
  import { ReactNode } from 'react';
2
- import { FieldValues, FormProviderProps as RHFormProviderProps, Mode } from 'react-hook-form';
2
+ import { FieldValues, FormProviderProps as RHFormProviderProps, Mode, UseFormReturn } from 'react-hook-form';
3
+ /**
4
+ * Estados de carga del formulario que determinan cuándo y cómo actualizar los valores.
5
+ *
6
+ * - `initial`: Estado inicial del formulario
7
+ * - `new`: Formulario para crear un nuevo elemento
8
+ * - `edit`: Formulario para editar un elemento existente
9
+ * - `reload_values_provider`: Estado que indica que se deben recargar los valores del proveedor
10
+ * - `ready`: Formulario listo para ser usado
11
+ * - `error`: Estado de error en el formulario
12
+ */
3
13
  export type FormStatusLoad = 'initial' | 'new' | 'edit' | 'reload_values_provider' | 'ready' | 'error';
14
+ /**
15
+ * Tipo que define los valores iniciales del formulario.
16
+ * Extiende FieldValues de React Hook Form para mayor flexibilidad.
17
+ */
4
18
  export type FormInitialValues = FieldValues;
19
+ /**
20
+ * Propiedades del componente principal RHFormProvider.
21
+ * Define la interfaz para crear formularios con React Hook Form y validación Yup.
22
+ */
5
23
  export interface FormProviderProps {
24
+ /** Elementos hijos del formulario */
6
25
  children: ReactNode;
26
+ /** Función que se ejecuta al enviar el formulario con los datos validados */
7
27
  onSubmit: (data: FieldValues) => void;
28
+ /** Valores iniciales del formulario */
8
29
  values: FormInitialValues;
30
+ /** Esquema de validación de Yup */
9
31
  validationSchema: any;
32
+ /** Estado de carga del formulario (opcional, por defecto 'ready') */
10
33
  statusLoad?: FormStatusLoad;
34
+ /** Clases CSS adicionales (opcional) */
11
35
  className?: string;
36
+ /** Modo de validación del formulario (opcional) */
12
37
  mode?: Mode;
13
38
  }
39
+ /**
40
+ * Propiedades del componente FormProviderCustom.
41
+ * Combina las propiedades de React Hook Form con las propiedades personalizadas del formulario.
42
+ */
14
43
  export type FormProviderCustomProps = RHFormProviderProps & FormProviderProps;
44
+ /**
45
+ * Argumentos para el hook useCustomForm.
46
+ * Define los parámetros necesarios para configurar un formulario personalizado.
47
+ */
15
48
  export interface CustomFormArguments {
49
+ /** Valores iniciales del formulario */
16
50
  values: FormInitialValues;
51
+ /** Esquema de validación de Yup */
17
52
  validationSchema: any;
53
+ /** Estado de carga del formulario (opcional) */
18
54
  statusLoad?: FormStatusLoad;
55
+ /** Modo de validación del formulario (opcional) */
19
56
  mode?: Mode;
20
57
  }
58
+ /**
59
+ * Interfaz que define los métodos expuestos a través de la ref del RHFormProvider.
60
+ * Permite acceso programático a los métodos de React Hook Form desde componentes padre.
61
+ */
62
+ export interface RHFormProviderRef {
63
+ /** Objeto completo con todos los métodos de React Hook Form */
64
+ formMethods: UseFormReturn<FieldValues>;
65
+ /** Ejecuta el submit del formulario */
66
+ submit: () => void;
67
+ /** Resetea el formulario a sus valores iniciales */
68
+ reset: () => void;
69
+ /** Limpia todos los errores del formulario */
70
+ clearErrors: () => void;
71
+ /** Establece un valor en un campo específico del formulario */
72
+ setValue: (name: string, value: any, options?: any) => void;
73
+ /** Obtiene los valores actuales del formulario o de campos específicos */
74
+ getValues: (payload?: string | string[]) => any;
75
+ /** Dispara la validación de campos específicos o de todo el formulario */
76
+ trigger: (name?: string | string[]) => Promise<boolean>;
77
+ /** Observa cambios en campos específicos o en todo el formulario */
78
+ watch: (name?: string | string[]) => any;
79
+ /** Establece un error en un campo específico */
80
+ setError: (name: string, error: any) => void;
81
+ /** Desregistra campos del formulario */
82
+ unregister: (name: string | string[]) => void;
83
+ }
@@ -34,6 +34,7 @@ export * from './Loadable';
34
34
  export * from './LoadingError';
35
35
  export * from './MenuActions';
36
36
  export * from './MFIsolationApp';
37
+ export * from './MFIsolationAppStorybook';
37
38
  export * from './MFLoader';
38
39
  export * from './ImageText';
39
40
  export * from './NoItemSelected';
@@ -1,9 +1,5 @@
1
+ import { Ref } from 'react';
1
2
  import { AutocompleteProps } from './types';
2
- /**
3
- * Autocomplete refactorizado con slots M4L.
4
- * Tener en cuenta que cuando es multiple y se abre el dropdown, y el value no está dentro de lasl opciones.
5
- * MUI va a genera el siguiente warning (Y es normal que suceda, no es necesario darle solución):
6
- * MUI: The value provided to Autocomplete is invalid.
7
- * None of the options match with `{"y":y,"x":"xxx"}`. etc.
8
- */
9
- export declare const Autocomplete: import('react').ForwardRefExoticComponent<AutocompleteProps<unknown, boolean | undefined> & import('react').RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
3
+ export declare const Autocomplete: <T, Multiple extends boolean | undefined = undefined>(props: AutocompleteProps<T, Multiple> & {
4
+ ref?: Ref<HTMLInputElement | HTMLTextAreaElement>;
5
+ }) => JSX.Element;