@m4l/components 9.2.55 → 9.2.56-beta.2

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 (350) hide show
  1. package/.storybook/utils/flattenDeep.d.ts +8 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  3. package/@types/augmentations.d.ts +1 -1
  4. package/@types/types.d.ts +10 -9
  5. package/components/AccountPopover/AccountPopover.js +3 -4
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +13 -14
  8. package/components/AccountPopover/types.d.ts +2 -2
  9. package/components/AppBar/AppBar.js +6 -9
  10. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  11. package/components/AppBar/styles.js +2 -1
  12. package/components/AppBar/types.d.ts +2 -2
  13. package/components/Chip/ChipStyles.js +12 -12
  14. package/components/Chip/slots/ChipSlots.d.ts +6 -6
  15. package/components/Color/Color.styles.js +11 -11
  16. package/components/Color/slots/ColorSlots.d.ts +5 -5
  17. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +0 -1
  18. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  19. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  20. package/components/DataGrid/DataGrid.js +29 -7
  21. package/components/DataGrid/Datagrid.styles.js +598 -0
  22. package/components/DataGrid/constants.d.ts +1 -0
  23. package/components/DataGrid/constants.js +2 -0
  24. package/components/DataGrid/contexts/DataGridContext/index.js +23 -5
  25. package/components/DataGrid/contexts/DataGridContext/types.d.ts +4 -0
  26. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +0 -2
  27. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  28. package/components/DataGrid/icons.d.ts +1 -0
  29. package/components/DataGrid/icons.js +4 -3
  30. package/components/DataGrid/slots/DataGridEnum.d.ts +6 -0
  31. package/components/DataGrid/slots/DataGridEnum.js +10 -2
  32. package/components/DataGrid/slots/DataGridSlot.d.ts +9 -0
  33. package/components/DataGrid/slots/DataGridSlot.js +35 -14
  34. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +5 -0
  35. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +30 -0
  36. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +2 -0
  37. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +7 -0
  38. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +5 -0
  39. package/components/DataGrid/subcomponents/HeaderActions/index.js +39 -0
  40. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.js +4 -3
  41. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +3 -2
  42. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
  43. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +5 -2
  44. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +33 -23
  45. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +4 -1
  46. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
  47. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +12 -7
  48. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +4 -0
  49. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -3
  50. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  51. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +12 -3
  52. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +28 -13
  53. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  54. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +4 -2
  55. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  56. package/components/DataGrid/types.d.ts +20 -3
  57. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  58. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +3 -5
  59. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  60. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  61. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  62. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  63. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  64. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -3
  65. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  66. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -4
  67. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  68. package/components/DynamicSort/DynamicSort.styles.js +13 -13
  69. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
  70. package/components/DynamicSort/store/DynamicSortStore.js +2 -2
  71. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
  72. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  73. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +4 -5
  74. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -3
  75. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  76. package/components/GridLayout/styles.js +4 -82
  77. package/components/HelperError/HelperError.styles.js +4 -4
  78. package/components/Icon/Icon.js +1 -1
  79. package/components/Icon/Icon.styles.js +10 -10
  80. package/components/Image/Image.js +1 -1
  81. package/components/Image/image.styles.js +1 -1
  82. package/components/Image/slots/ImageSlots.d.ts +12 -12
  83. package/components/Image/subcomponents/IntersectComponent/index.js +0 -1
  84. package/components/Image/types.d.ts +2 -2
  85. package/components/Label/Label.styles.js +11 -11
  86. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  87. package/components/LoadingError/LoadingError.js +1 -2
  88. package/components/MenuActions/MenuActions.js +4 -4
  89. package/components/MenuActions/MenuActions.styles.js +4 -4
  90. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  91. package/components/MenuActions/types.d.ts +3 -3
  92. package/components/NoItemSelected/NoItemSelected.js +3 -5
  93. package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
  94. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  95. package/components/NumberInput/NumberInput.styles.js +20 -20
  96. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  97. package/components/ObjectLogs/hooks/useDetailFormatter.js +3 -2
  98. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  99. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -3
  100. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -3
  101. package/components/ObjectLogs/types.d.ts +2 -2
  102. package/components/Pager/Pager.js +2 -3
  103. package/components/Pager/Pager.styles.js +13 -12
  104. package/components/Pager/index.d.ts +2 -0
  105. package/components/Pager/slots/PagerEnum.d.ts +2 -1
  106. package/components/Pager/slots/PagerEnum.js +1 -0
  107. package/components/Pager/slots/PagerSlots.d.ts +1 -0
  108. package/components/Pager/slots/PagerSlots.js +7 -2
  109. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +16 -18
  110. package/components/Pager/subcomponents/PagerActions/PagerActions.js +4 -2
  111. package/components/Pager/subcomponents/PagerActions/types.d.ts +1 -0
  112. package/components/PaperForm/components/Header.js +2 -2
  113. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  114. package/components/PaperForm/styles.js +7 -7
  115. package/components/PaperForm/types.d.ts +2 -2
  116. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  117. package/components/PrintingSystem/subcomponents/BodyNode/index.js +0 -1
  118. package/components/PrintingSystem/subcomponents/ChartNode/index.js +0 -1
  119. package/components/PrintingSystem/subcomponents/DividerNode/index.js +0 -1
  120. package/components/PrintingSystem/subcomponents/FooterNode/index.js +0 -1
  121. package/components/PrintingSystem/subcomponents/GridNode/index.js +0 -5
  122. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +0 -1
  123. package/components/PrintingSystem/subcomponents/PageNode/index.js +0 -1
  124. package/components/PrintingSystem/subcomponents/PaperNode/index.js +0 -5
  125. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +0 -2
  126. package/components/PrintingSystem/subcomponents/SectionNode/index.js +0 -1
  127. package/components/PrintingSystem/types.d.ts +2 -2
  128. package/components/PropertyValue/PropertyValue.js +3 -4
  129. package/components/PropertyValue/PropertyValue.styles.js +3 -3
  130. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  131. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  132. package/components/ScrollBar/ScrollBar.js +5 -45
  133. package/components/ScrollBar/ScrollBar.styles.js +5 -52
  134. package/components/ScrollBar/constants.d.ts +4 -2
  135. package/components/ScrollBar/constants.js +2 -5
  136. package/components/ScrollBar/index.d.ts +2 -0
  137. package/components/ScrollBar/index.js +1 -0
  138. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +1 -6
  139. package/components/ScrollBar/slots/ScrollBarSlots.js +7 -13
  140. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +3 -0
  141. package/components/ScrollBar/slots/ScrollbarEnum.js +7 -0
  142. package/components/ScrollBar/types.d.ts +12 -42
  143. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  144. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  145. package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
  146. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  147. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  148. package/components/SideBar/subcomponents/ContentGroups/styles.js +11 -2
  149. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  150. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -10
  151. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +0 -1
  152. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  153. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  154. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  155. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  156. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  157. package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -1
  158. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  159. package/components/SideBar/types.d.ts +9 -2
  160. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  161. package/components/WindowBase/WindowBase.js +8 -6
  162. package/components/WindowBase/WindowBase.styles.js +208 -107
  163. package/components/WindowBase/icons.js +2 -2
  164. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  165. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  166. package/components/WindowBase/slots/WindowBaseSlots.d.ts +18 -23
  167. package/components/WindowBase/slots/WindowBaseSlots.js +13 -12
  168. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +22 -12
  169. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  170. package/components/WindowBase/subcomponents/Header/useButtonActions.js +5 -2
  171. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  172. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  173. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +9 -0
  174. package/components/WindowBase/types.d.ts +10 -0
  175. package/components/WindowConfirm/WindowConfirm.js +2 -3
  176. package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
  177. package/components/areas/components/AreasAdmin/AreasAdmin.js +12 -17
  178. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +13 -21
  179. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +22 -22
  180. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -4
  181. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +3 -4
  182. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  183. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  184. package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
  185. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  186. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
  187. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +8 -1
  188. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +7 -3
  189. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +0 -1
  190. package/components/areas/contexts/AreasContext/index.js +1 -1
  191. package/components/areas/contexts/AreasContext/store.js +1 -1
  192. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  193. package/components/areas/icons.d.ts +2 -2
  194. package/components/areas/icons.js +4 -4
  195. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  196. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  197. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  198. package/components/extended/React-Resizable/helpers.d.ts +2 -9
  199. package/components/extended/React-Resizable/helpers.js +15 -13
  200. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +0 -1
  201. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  202. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  203. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  204. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  205. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  206. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +7 -7
  207. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  208. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  209. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  210. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  211. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  212. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  213. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  214. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  215. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  216. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  217. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  218. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  219. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  220. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  221. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  222. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  223. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  224. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +9 -10
  225. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  226. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  227. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +21 -21
  228. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +2 -7
  229. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +5 -6
  230. package/components/index.d.ts +2 -0
  231. package/components/mui_extended/Accordion/Accordion.js +31 -21
  232. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  233. package/components/mui_extended/Accordion/styles.js +56 -33
  234. package/components/mui_extended/Accordion/types.d.ts +39 -6
  235. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  236. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  237. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +16 -16
  238. package/components/mui_extended/Avatar/Avatar.js +1 -1
  239. package/components/mui_extended/Avatar/styles.js +3 -3
  240. package/components/mui_extended/Badge/Badge.js +14 -8
  241. package/components/mui_extended/Badge/Badge.styles.js +23 -33
  242. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  243. package/components/mui_extended/Badge/slots/BadgeSlots.js +2 -2
  244. package/components/mui_extended/Badge/types.d.ts +4 -3
  245. package/components/mui_extended/Button/ButtonStyles.js +25 -25
  246. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  247. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  248. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  249. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  250. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  251. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  252. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +10 -10
  253. package/components/mui_extended/Divider/Divider.js +1 -2
  254. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  255. package/components/mui_extended/IconButton/IconButton.js +39 -12
  256. package/components/mui_extended/IconButton/IconButton.styles.js +64 -54
  257. package/components/mui_extended/IconButton/helpers/evalIconColor.d.ts +1 -1
  258. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  259. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  260. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -7
  261. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +4 -3
  262. package/components/mui_extended/IconButton/types.d.ts +10 -8
  263. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  264. package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
  265. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  266. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  267. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
  268. package/components/mui_extended/MenuItem/types.d.ts +8 -3
  269. package/components/mui_extended/NavLink/NavLink.js +1 -2
  270. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  271. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  272. package/components/mui_extended/Popover/Popover.js +0 -1
  273. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  274. package/components/mui_extended/Popover/types.d.ts +3 -3
  275. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  276. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  277. package/components/mui_extended/Select/Select.js +2 -3
  278. package/components/mui_extended/Select/Select.styles.js +10 -10
  279. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  280. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  281. package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
  282. package/components/mui_extended/Stack/Stack.js +4 -2
  283. package/components/mui_extended/Stack/Stack.styles.js +7 -4
  284. package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
  285. package/components/mui_extended/Tab/Tab.js +2 -0
  286. package/components/mui_extended/Tab/Tab.styles.js +26 -48
  287. package/components/mui_extended/Tab/types.d.ts +4 -0
  288. package/components/mui_extended/TabContent/TabContent.js +1 -1
  289. package/components/mui_extended/TabContent/TabContent.styles.js +2 -4
  290. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  291. package/components/mui_extended/TabContent/types.d.ts +2 -2
  292. package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
  293. package/components/mui_extended/TextField/TextField.styles.js +22 -22
  294. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  295. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +8 -8
  296. package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +12 -5
  297. package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +21 -11
  298. package/components/mui_extended/ToggleIconButton/constants.d.ts +7 -0
  299. package/components/mui_extended/ToggleIconButton/constants.js +3 -1
  300. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  301. package/components/mui_extended/ToggleIconButton/types.d.ts +9 -3
  302. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  303. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  304. package/components/mui_extended/Typography/typography.styles.js +7 -7
  305. package/components/mui_extended/index.d.ts +0 -2
  306. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
  307. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +7 -9
  308. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +2 -0
  309. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  310. package/hooks/useComponentSize/useComponentSize.js +5 -2
  311. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  312. package/hooks/useDynamicFilterAndSort/styles.js +7 -13
  313. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  314. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +4 -21
  315. package/index.js +43 -42
  316. package/package.json +3 -3
  317. package/storybook/components/Chip/Chip.stories.d.ts +4 -0
  318. package/storybook/components/DataGrid/DataGrid.stories.d.ts +16 -0
  319. package/storybook/components/Icon/Icon.stories.d.ts +4 -0
  320. package/storybook/components/WindowBase/windowBase.stories.d.ts +60 -7
  321. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
  322. package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +4 -0
  323. package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +12 -0
  324. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  325. package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +12 -0
  326. package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +9 -0
  327. package/storybook/tootls/WrapperLineGuide/styles.d.ts +1 -0
  328. package/storybook/tootls/WrapperLineGuide/types.d.ts +5 -0
  329. package/components/DataGrid/styles.js +0 -484
  330. package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -5
  331. package/components/DataGrid/subcomponents/Actions/index.js +0 -48
  332. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -6
  333. package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -13
  334. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +0 -4
  335. package/components/ScrollBar/slots/ScrollBarEnum.js +0 -8
  336. package/components/ScrollBar/slots/index.d.ts +0 -2
  337. package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +0 -7
  338. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +0 -11
  339. /package/components/DataGrid/{styles.d.ts → Datagrid.styles.d.ts} +0 -0
  340. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.d.ts +0 -0
  341. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/types.d.ts +0 -0
  342. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.d.ts +0 -0
  343. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +0 -0
  344. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.d.ts +0 -0
  345. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.d.ts +0 -0
  346. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.d.ts +0 -0
  347. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  348. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  349. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/types.d.ts +0 -0
  350. /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
@@ -20,7 +20,7 @@ function RHFUploadImage(props) {
20
20
  const { currentSize } = useComponentSize(size);
21
21
  const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
22
22
  const { control } = useFormContext();
23
- return /* @__PURE__ */ jsx(RHFUploadImageRootStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(
23
+ return /* @__PURE__ */ jsx(RHFUploadImageRootStyled, { children: /* @__PURE__ */ jsx(
24
24
  Controller,
25
25
  {
26
26
  name,
@@ -18,13 +18,13 @@ const rhfUploadImageStyles = {
18
18
  borderRadius: theme.vars.size.borderRadius.r1,
19
19
  borderColor: theme.vars.palette.border.default,
20
20
  width: "100%",
21
- ...ownerState.isDragAccept && {
21
+ ...ownerState?.isDragAccept && {
22
22
  borderColor: theme.vars.palette.primary.main
23
23
  },
24
- ...ownerState.isDragReject && {
24
+ ...ownerState?.isDragReject && {
25
25
  borderColor: theme.vars.palette.error.main
26
26
  },
27
- ...ownerState.error && {
27
+ ...ownerState?.error && {
28
28
  borderColor: theme.vars.palette.error.main
29
29
  }
30
30
  }),
@@ -1,33 +1,33 @@
1
- export declare const RHFUploadImageRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
1
+ export declare const RHFUploadImageRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & 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 UploadImageRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
5
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
4
+ export declare const UploadImageRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
- export declare const ContentModuleLayoutStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
8
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
7
+ export declare const ContentModuleLayoutStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
9
9
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
10
- export declare const ContentImageStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
11
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
10
+ export declare const ContentImageStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
12
12
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
- export declare const ContentImageTextStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
14
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
13
+ export declare const ContentImageTextStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
14
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
15
15
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
16
- export declare const ContentMessageStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
17
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
16
+ export declare const ContentMessageStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
17
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
18
18
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
19
- export declare const TypographyStyled: 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/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
20
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
19
+ export declare const TypographyStyled: 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/styles').Theme> & Record<string, unknown> & {
20
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
21
21
  }, {}, {}>;
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> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
23
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
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
+ 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" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
26
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & 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" | "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
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
27
27
  }, {}, {}>;
28
- export declare const ContainPreviewStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
29
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
28
+ export declare const ContainPreviewStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
29
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
30
30
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
31
- export declare const DividerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Divider/types').DividerProps, keyof import('../../../../mui_extended/Divider/types').DividerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown> & {
32
- ownerState: Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>;
31
+ export declare const DividerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Divider/types').DividerProps, keyof import('../../../../mui_extended/Divider/types').DividerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
32
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
33
33
  }, {}, {}>;
@@ -55,11 +55,10 @@ const UploadImage = (props) => {
55
55
  ...getPropDataTestId(RHF_UPLOAD_IMAGE_KEY_COMPONENT, UploadImageSlots.contentModuleLayout, dataTestId),
56
56
  ...getRootProps(),
57
57
  children: [
58
- file ? /* @__PURE__ */ jsxs(ContainPreviewStyled, { ownerState: {}, children: [
58
+ file ? /* @__PURE__ */ jsxs(ContainPreviewStyled, { children: [
59
59
  /* @__PURE__ */ jsx(
60
60
  IconButtonRemoveStyled,
61
61
  {
62
- ownerState: {},
63
62
  variant: "contained",
64
63
  icon: `${host_static_assets}/${environment_assets}/frontend/components/chip/assets/icons/closeSmall.svg`,
65
64
  onClick: onRemove,
@@ -80,8 +79,8 @@ const UploadImage = (props) => {
80
79
  ...getInputProps()
81
80
  }
82
81
  ),
83
- /* @__PURE__ */ jsxs(ContentImageStyled, { ownerState: {}, children: [
84
- /* @__PURE__ */ jsxs(ContentImageTextStyled, { ownerState: {}, children: [
82
+ /* @__PURE__ */ jsxs(ContentImageStyled, { children: [
83
+ /* @__PURE__ */ jsxs(ContentImageTextStyled, { children: [
85
84
  /* @__PURE__ */ jsx(
86
85
  Image,
87
86
  {
@@ -93,15 +92,15 @@ const UploadImage = (props) => {
93
92
  ),
94
93
  /* @__PURE__ */ jsx(Typography, { skeletonWidth: 100, variant: "bodyDens", size: adjustedSize, children: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.title_upload)) })
95
94
  ] }),
96
- /* @__PURE__ */ jsx(TypographyStyled, { skeletonWidth: 200, skeletonRows: 2, ownerState: {}, variant: "body", size: adjustedSize, children: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.description)) }),
97
- /* @__PURE__ */ jsxs(ContentMessageStyled, { ownerState: {}, children: [
98
- /* @__PURE__ */ jsx(DividerStyled, { ownerState: {}, orientation: "horizontal", customVariant: "solid", size: adjustedSize }),
99
- /* @__PURE__ */ jsx(TypographyStyled, { skeletonWidth: 10, ownerState: {}, variant: "body", size: adjustedSize, children: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.divider_text)) }),
100
- /* @__PURE__ */ jsx(DividerStyled, { ownerState: {}, orientation: "horizontal", customVariant: "solid", size: adjustedSize })
95
+ /* @__PURE__ */ jsx(TypographyStyled, { skeletonWidth: 200, skeletonRows: 2, variant: "body", size: adjustedSize, children: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.description)) }),
96
+ /* @__PURE__ */ jsxs(ContentMessageStyled, { children: [
97
+ /* @__PURE__ */ jsx(DividerStyled, { orientation: "horizontal", customVariant: "solid", size: adjustedSize }),
98
+ /* @__PURE__ */ jsx(TypographyStyled, { skeletonWidth: 10, variant: "body", size: adjustedSize, children: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.divider_text)) }),
99
+ /* @__PURE__ */ jsx(DividerStyled, { orientation: "horizontal", customVariant: "solid", size: adjustedSize })
101
100
  ] })
102
101
  ] })
103
102
  ] }),
104
- !file ? /* @__PURE__ */ jsx(ButtonStyled, { ownerState: {}, variant: "contained", color: "primary", onClick: open, label: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.click_button)), size: adjustedSize }) : null
103
+ !file ? /* @__PURE__ */ jsx(ButtonStyled, { variant: "contained", color: "primary", onClick: open, label: getLabel(getUploadImageDictionary(COMPONENTS_DICTIONARY_KEYS.click_button)), size: adjustedSize }) : null
105
104
  ]
106
105
  }
107
106
  )
@@ -1,9 +1,9 @@
1
1
  import { Theme } from '@mui/material/styles';
2
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
2
  import { LabelProps } from '../../../../components/Label';
4
3
  import { RHF_UPLOAD_IMAGE_KEY_COMPONENT } from './constants';
5
4
  import { UploadImageSlots as Slots } from './slots/RHFUploadImageEnum';
6
5
  import { UploadImageProps } from './subcomponents/UploadImage/types';
6
+ import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
7
7
  export interface RHFUploadImageProps extends Omit<UploadImageProps, 'file' | 'onDrop' | 'onRemove'>, Omit<LabelProps, 'size' | 'error' | 'disabled' | 'children'> {
8
8
  name: string;
9
9
  }
@@ -13,4 +13,4 @@ export type RHFUploadImageOwnerState = {
13
13
  isDragReject: boolean;
14
14
  error: boolean;
15
15
  };
16
- export type RHFUploadImageStyles = OverridesStyleRules<RHFUploadImageSlotsType, typeof RHF_UPLOAD_IMAGE_KEY_COMPONENT, Theme>;
16
+ export type RHFUploadImageStyles = M4LOverridesStyleRules<RHFUploadImageSlotsType, typeof RHF_UPLOAD_IMAGE_KEY_COMPONENT, Theme>;
@@ -35,7 +35,7 @@ const rhfUploadSingleFileStyles = {
35
35
  backgroundColor: theme.vars.palette.background.neutral,
36
36
  borderRadius: theme.vars.size.borderRadius["r0-5"],
37
37
  padding: theme.vars.size.baseSpacings.sp4,
38
- cursor: ownerState.isSkeleton ? "default" : "pointer"
38
+ cursor: ownerState?.isSkeleton ? "default" : "pointer"
39
39
  }),
40
40
  /**
41
41
  * estilos containerBlockContent
@@ -46,7 +46,7 @@ const rhfUploadSingleFileStyles = {
46
46
  alignItems: "center",
47
47
  width: "100%",
48
48
  height: "100%",
49
- display: ownerState.hidden ? "none" : "flex",
49
+ display: ownerState?.hidden ? "none" : "flex",
50
50
  gap: theme.vars.size.baseSpacings.sp4
51
51
  }),
52
52
  label: () => ({
@@ -1,60 +1,60 @@
1
1
  export declare const RHFUploadSingleFileRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
2
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & 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
4
  export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../..').LabelProps, keyof import('../../../..').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
5
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, {}, {}>;
7
7
  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').Theme> & Record<string, unknown> & {
8
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
8
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
9
9
  }, {}, {}>;
10
10
  export declare const ContainerDropZoneStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
11
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
11
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
12
12
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
13
  export declare const DropZoneStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
14
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
14
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
15
15
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
16
16
  export declare const ImageStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Image').ImageProps, keyof import('../../../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
17
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
17
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
18
18
  }, {}, {}>;
19
19
  export declare const BlockContentGroupStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
20
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
20
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
21
21
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
22
22
  export declare const ContainerBlockContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
23
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
23
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
24
24
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
25
25
  export declare const IllustrationUploadStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Image').ImageProps, keyof import('../../../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
26
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
26
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
27
27
  }, {}, {}>;
28
28
  export declare const TitleStyled: 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> & {
29
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
29
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
30
30
  }, {}, {}>;
31
31
  export declare const DescriptionStyled: 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> & {
32
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
32
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
33
33
  }, {}, {}>;
34
34
  export declare const DividerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
35
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
35
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
36
36
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
37
37
  export declare const DividerTextStyled: 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> & {
38
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
38
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
39
39
  }, {}, {}>;
40
40
  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').Theme> & Record<string, unknown> & {
41
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
41
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
42
42
  }, {}, {}>;
43
43
  export declare const ContainerPreviewStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
44
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
44
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
45
45
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
46
46
  export declare const ContainerNameSizeStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
47
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
47
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
48
48
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
49
49
  export declare const ImagePreviewStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Image').ImageProps, keyof import('../../../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
50
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
50
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
51
51
  }, {}, {}>;
52
52
  export declare const NamePreviewStyled: 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> & {
53
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
53
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
54
54
  }, {}, {}>;
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
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
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" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
59
- ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & 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" | "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
+ ownerState?: (Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>) | undefined;
60
60
  }, {}, {}>;
@@ -9,11 +9,10 @@ const BlockContent = (props) => {
9
9
  const { getLabel } = useModuleDictionary();
10
10
  const { host_static_assets, environment_assets } = useEnvironment();
11
11
  return /* @__PURE__ */ jsxs(ContainerBlockContentStyled, { ownerState: { hidden }, children: [
12
- /* @__PURE__ */ jsxs(BlockContentGroupStyled, { ownerState: {}, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.blockContentGroup, children: [
12
+ /* @__PURE__ */ jsxs(BlockContentGroupStyled, { className: RHF_UPLOAD_SINGLE_FILE_CLASSES.blockContentGroup, children: [
13
13
  /* @__PURE__ */ jsx(
14
14
  IllustrationUploadStyled,
15
15
  {
16
- ownerState: {},
17
16
  src: `${host_static_assets}/${environment_assets}/${ILLUSTRATION_UPLOAD}`,
18
17
  width: 100,
19
18
  height: 100,
@@ -24,7 +23,6 @@ const BlockContent = (props) => {
24
23
  /* @__PURE__ */ jsx(
25
24
  TitleStyled,
26
25
  {
27
- ownerState: {},
28
26
  skeletonWidth: 100,
29
27
  variant: "bodyDens",
30
28
  className: RHF_UPLOAD_SINGLE_FILE_CLASSES.title,
@@ -35,7 +33,6 @@ const BlockContent = (props) => {
35
33
  /* @__PURE__ */ jsx(
36
34
  DescriptionStyled,
37
35
  {
38
- ownerState: {},
39
36
  skeletonWidth: 200,
40
37
  skeletonRows: 2,
41
38
  className: RHF_UPLOAD_SINGLE_FILE_CLASSES.description,
@@ -45,10 +42,9 @@ const BlockContent = (props) => {
45
42
  children: getLabel(COMPONENTS_DICTIONARY_KEYS.description)
46
43
  }
47
44
  ),
48
- /* @__PURE__ */ jsx(DividerStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(
45
+ /* @__PURE__ */ jsx(DividerStyled, { children: /* @__PURE__ */ jsx(
49
46
  DividerTextStyled,
50
47
  {
51
- ownerState: {},
52
48
  skeletonWidth: 10,
53
49
  className: RHF_UPLOAD_SINGLE_FILE_CLASSES.dividerText,
54
50
  variant: "bodyDens",
@@ -61,7 +57,6 @@ const BlockContent = (props) => {
61
57
  /* @__PURE__ */ jsx(
62
58
  ButtonStyled,
63
59
  {
64
- ownerState: {},
65
60
  className: RHF_UPLOAD_SINGLE_FILE_CLASSES.button,
66
61
  variant: "contained",
67
62
  color: "primary",
@@ -8,18 +8,17 @@ const Preview = (props) => {
8
8
  const { host_static_assets, environment_assets } = useEnvironment();
9
9
  const icon = `${host_static_assets}/${environment_assets}/${FILES_ICONS[file.type] || FILES_ICONS["application/octet-stream"]}`;
10
10
  const closePreviewIcon = `${host_static_assets}/${environment_assets}/${CLOSE_PREVIEW_ICON}`;
11
- return /* @__PURE__ */ jsxs(ContainerPreviewStyled, { ownerState: {}, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.containerPreview, children: [
12
- /* @__PURE__ */ jsx(ImagePreviewStyled, { enableIntersectionObserver: false, role: "img", "aria-label": "image-preview", ownerState: {}, src: icon, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.imagePreview }),
13
- /* @__PURE__ */ jsxs(ContainerNameSizeStyled, { ownerState: {}, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.containerNameSize, children: [
14
- /* @__PURE__ */ jsx(NamePreviewStyled, { ownerState: {}, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.namePreview, children: file.name }),
15
- /* @__PURE__ */ jsx(SizePreviewStyled, { ownerState: {}, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.sizePreview, color: "text.secondary", children: formatFileSize(file.size) })
11
+ return /* @__PURE__ */ jsxs(ContainerPreviewStyled, { className: RHF_UPLOAD_SINGLE_FILE_CLASSES.containerPreview, children: [
12
+ /* @__PURE__ */ jsx(ImagePreviewStyled, { enableIntersectionObserver: false, role: "img", "aria-label": "image-preview", src: icon, className: RHF_UPLOAD_SINGLE_FILE_CLASSES.imagePreview }),
13
+ /* @__PURE__ */ jsxs(ContainerNameSizeStyled, { className: RHF_UPLOAD_SINGLE_FILE_CLASSES.containerNameSize, children: [
14
+ /* @__PURE__ */ jsx(NamePreviewStyled, { className: RHF_UPLOAD_SINGLE_FILE_CLASSES.namePreview, children: file.name }),
15
+ /* @__PURE__ */ jsx(SizePreviewStyled, { className: RHF_UPLOAD_SINGLE_FILE_CLASSES.sizePreview, color: "text.secondary", children: formatFileSize(file.size) })
16
16
  ] }),
17
17
  /* @__PURE__ */ jsx(
18
18
  ClosePreviewStyled,
19
19
  {
20
20
  role: "button",
21
21
  "aria-label": "button-close-preview",
22
- ownerState: {},
23
22
  icon: closePreviewIcon,
24
23
  className: RHF_UPLOAD_SINGLE_FILE_CLASSES.closePreview,
25
24
  onClick: (e) => {
@@ -44,3 +44,5 @@ export * from './ToastContainer';
44
44
  export * from './WindowBase';
45
45
  export * from './WindowConfirm';
46
46
  export * from './ModalDialog';
47
+ export * from './Pager';
48
+ export * from './ScrollBar';
@@ -4,7 +4,8 @@ import { a as getNameDataTestId } from "../../../test/getNameDataTestId.js";
4
4
  import { P as PATH_EXPANDED_ICON, A as ACCORDION_KEY } from "./constants.js";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
6
  import { A as AccordionRootStyled, a as AccordionSummaryStyled, I as IconLabelStyled, L as LabelStyled, b as IconExpandedStyled, c as AccordionDetailsStyled } from "./slots/AccordionSlots.js";
7
- import { forwardRef } from "react";
7
+ import { forwardRef, useState, useEffect } from "react";
8
+ import clsx from "clsx";
8
9
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
10
  const Accordion = forwardRef((props, ref) => {
10
11
  const {
@@ -15,28 +16,37 @@ const Accordion = forwardRef((props, ref) => {
15
16
  icon: labelIcon,
16
17
  className,
17
18
  dataTestId = "",
18
- skeletonLabelWidth,
19
- size
19
+ skeletonLabelWidth = "100px",
20
+ size,
21
+ expanded,
22
+ variant = "outlined"
20
23
  } = props;
21
- const currentSize = useComponentSize(size);
22
- const ownerState = { size: currentSize.currentSize === "large" ? "medium" : currentSize.currentSize };
23
- const classRoot = getComponentSlotRoot(className ?? ACCORDION_KEY);
24
+ const { currentSize } = useComponentSize(size);
25
+ const classRoot = getComponentSlotRoot(ACCORDION_KEY);
26
+ const [expandedState, setExpandedState] = useState(expanded ?? true);
27
+ const handleToggle = () => {
28
+ setExpandedState((prev) => !prev);
29
+ };
30
+ useEffect(() => {
31
+ let mounted = true;
32
+ if (mounted && expanded !== void 0) {
33
+ setExpandedState(expanded);
34
+ }
35
+ return () => {
36
+ mounted = false;
37
+ };
38
+ }, [expanded]);
39
+ const ownerState = { size: currentSize, variant, expanded: expandedState };
24
40
  return /* @__PURE__ */ jsxs(
25
41
  AccordionRootStyled,
26
42
  {
27
- ownerState: {},
43
+ ownerState,
28
44
  ref,
29
45
  role: "contentinfo",
30
- className: classRoot,
31
- defaultExpanded: true,
46
+ className: clsx(classRoot, className),
47
+ expanded: expandedState,
32
48
  ...accordionProps,
33
- ...process.env.NODE_ENV !== "production" ? {
34
- [TEST_PROP_ID]: getNameDataTestId(
35
- ACCORDION_KEY,
36
- "root",
37
- dataTestId
38
- )
39
- } : {},
49
+ ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId(ACCORDION_KEY, "root", dataTestId) } : {},
40
50
  children: [
41
51
  /* @__PURE__ */ jsxs(
42
52
  AccordionSummaryStyled,
@@ -44,11 +54,11 @@ const Accordion = forwardRef((props, ref) => {
44
54
  ownerState,
45
55
  role: "heading",
46
56
  "aria-controls": "expanded-content",
47
- disableTouchRipple: false,
57
+ onClick: handleToggle,
48
58
  expandIcon: /* @__PURE__ */ jsx(
49
59
  IconExpandedStyled,
50
60
  {
51
- ownerState: {},
61
+ ownerState,
52
62
  size,
53
63
  "aria-label": "settings",
54
64
  src: PATH_EXPANDED_ICON
@@ -56,11 +66,11 @@ const Accordion = forwardRef((props, ref) => {
56
66
  ),
57
67
  ...summaryProps,
58
68
  children: [
59
- labelIcon && /* @__PURE__ */ jsx(IconLabelStyled, { ownerState: {}, src: labelIcon, size }),
69
+ labelIcon && /* @__PURE__ */ jsx(IconLabelStyled, { ownerState, src: labelIcon, size }),
60
70
  /* @__PURE__ */ jsx(
61
71
  LabelStyled,
62
72
  {
63
- ownerState: {},
73
+ ownerState,
64
74
  size,
65
75
  variant: "body",
66
76
  skeletonWidth: skeletonLabelWidth,
@@ -70,7 +80,7 @@ const Accordion = forwardRef((props, ref) => {
70
80
  ]
71
81
  }
72
82
  ),
73
- /* @__PURE__ */ jsx(AccordionDetailsStyled, { ownerState: {}, children })
83
+ /* @__PURE__ */ jsx(AccordionDetailsStyled, { ownerState, children })
74
84
  ]
75
85
  }
76
86
  );