@m4l/components 9.2.55 → 9.2.56-beta.3

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 (363) hide show
  1. package/.storybook/decorators/WithWindowsToolsContext/WithContextWindowTools.d.ts +5 -0
  2. package/.storybook/utils/flattenDeep.d.ts +8 -0
  3. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  4. package/@types/augmentations.d.ts +1 -1
  5. package/@types/types.d.ts +10 -9
  6. package/components/AccountPopover/AccountPopover.js +3 -4
  7. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  8. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +13 -14
  9. package/components/AccountPopover/types.d.ts +2 -2
  10. package/components/AppBar/AppBar.js +6 -9
  11. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  12. package/components/AppBar/styles.js +2 -1
  13. package/components/AppBar/types.d.ts +2 -2
  14. package/components/Chip/ChipStyles.js +12 -12
  15. package/components/Chip/slots/ChipSlots.d.ts +6 -6
  16. package/components/Color/Color.styles.js +11 -11
  17. package/components/Color/slots/ColorSlots.d.ts +5 -5
  18. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +0 -1
  19. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  20. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  21. package/components/DataGrid/DataGrid.js +36 -7
  22. package/components/DataGrid/Datagrid.styles.js +600 -0
  23. package/components/DataGrid/constants.d.ts +1 -0
  24. package/components/DataGrid/constants.js +2 -0
  25. package/components/DataGrid/contexts/DataGridContext/index.js +62 -13
  26. package/components/DataGrid/contexts/DataGridContext/types.d.ts +5 -2
  27. package/components/DataGrid/dictionary.d.ts +2 -1
  28. package/components/DataGrid/dictionary.js +22 -21
  29. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +0 -2
  30. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  31. package/components/DataGrid/icons.d.ts +1 -0
  32. package/components/DataGrid/icons.js +4 -3
  33. package/components/DataGrid/slots/DataGridEnum.d.ts +6 -0
  34. package/components/DataGrid/slots/DataGridEnum.js +10 -2
  35. package/components/DataGrid/slots/DataGridSlot.d.ts +9 -0
  36. package/components/DataGrid/slots/DataGridSlot.js +35 -14
  37. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +5 -0
  38. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +30 -0
  39. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +2 -0
  40. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +7 -0
  41. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +5 -0
  42. package/components/DataGrid/subcomponents/HeaderActions/index.js +40 -0
  43. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.js +8 -7
  44. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +2 -2
  45. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +7 -0
  46. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +5 -3
  47. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
  48. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +5 -0
  49. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +7 -3
  50. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +57 -47
  51. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +6 -1
  52. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/types.d.ts +4 -0
  53. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +8 -0
  54. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +13 -7
  55. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +5 -0
  56. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -3
  57. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  58. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +12 -3
  59. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +28 -13
  60. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  61. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +4 -2
  62. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  63. package/components/DataGrid/types.d.ts +20 -3
  64. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  65. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +3 -5
  66. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  67. package/components/DynamicFilter/dictionary.d.ts +1 -0
  68. package/components/DynamicFilter/dictionary.js +2 -1
  69. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  70. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  71. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  72. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  73. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -3
  74. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  75. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -4
  76. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  77. package/components/DynamicFilter/types.d.ts +1 -1
  78. package/components/DynamicSort/DynamicSort.styles.js +13 -13
  79. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
  80. package/components/DynamicSort/store/DynamicSortStore.js +2 -2
  81. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
  82. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  83. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +4 -5
  84. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -3
  85. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  86. package/components/GridLayout/styles.js +4 -82
  87. package/components/HelperError/HelperError.styles.js +4 -4
  88. package/components/Icon/Icon.js +1 -1
  89. package/components/Icon/Icon.styles.js +10 -10
  90. package/components/Image/Image.js +1 -1
  91. package/components/Image/image.styles.js +1 -1
  92. package/components/Image/slots/ImageSlots.d.ts +12 -12
  93. package/components/Image/subcomponents/IntersectComponent/index.js +0 -1
  94. package/components/Image/types.d.ts +2 -2
  95. package/components/Label/Label.styles.js +11 -11
  96. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  97. package/components/LoadingError/LoadingError.js +1 -2
  98. package/components/MenuActions/MenuActions.js +4 -4
  99. package/components/MenuActions/MenuActions.styles.js +4 -4
  100. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  101. package/components/MenuActions/types.d.ts +3 -3
  102. package/components/NoItemSelected/NoItemSelected.js +3 -5
  103. package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
  104. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  105. package/components/NumberInput/NumberInput.styles.js +20 -20
  106. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  107. package/components/ObjectLogs/hooks/useDetailFormatter.js +3 -2
  108. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  109. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -3
  110. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -3
  111. package/components/ObjectLogs/types.d.ts +2 -2
  112. package/components/Pager/Pager.js +2 -3
  113. package/components/Pager/Pager.styles.js +13 -12
  114. package/components/Pager/index.d.ts +2 -0
  115. package/components/Pager/slots/PagerEnum.d.ts +2 -1
  116. package/components/Pager/slots/PagerEnum.js +1 -0
  117. package/components/Pager/slots/PagerSlots.d.ts +1 -0
  118. package/components/Pager/slots/PagerSlots.js +7 -2
  119. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +16 -18
  120. package/components/Pager/subcomponents/PagerActions/PagerActions.js +4 -2
  121. package/components/Pager/subcomponents/PagerActions/types.d.ts +1 -0
  122. package/components/PaperForm/components/Header.js +2 -2
  123. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  124. package/components/PaperForm/styles.js +7 -7
  125. package/components/PaperForm/types.d.ts +2 -2
  126. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  127. package/components/PrintingSystem/subcomponents/BodyNode/index.js +0 -1
  128. package/components/PrintingSystem/subcomponents/ChartNode/index.js +0 -1
  129. package/components/PrintingSystem/subcomponents/DividerNode/index.js +0 -1
  130. package/components/PrintingSystem/subcomponents/FooterNode/index.js +0 -1
  131. package/components/PrintingSystem/subcomponents/GridNode/index.js +0 -5
  132. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +0 -1
  133. package/components/PrintingSystem/subcomponents/PageNode/index.js +0 -1
  134. package/components/PrintingSystem/subcomponents/PaperNode/index.js +0 -5
  135. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +0 -2
  136. package/components/PrintingSystem/subcomponents/SectionNode/index.js +0 -1
  137. package/components/PrintingSystem/types.d.ts +2 -2
  138. package/components/PropertyValue/PropertyValue.js +3 -4
  139. package/components/PropertyValue/PropertyValue.styles.js +3 -3
  140. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  141. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  142. package/components/ScrollBar/ScrollBar.js +5 -45
  143. package/components/ScrollBar/ScrollBar.styles.js +5 -52
  144. package/components/ScrollBar/constants.d.ts +4 -2
  145. package/components/ScrollBar/constants.js +2 -5
  146. package/components/ScrollBar/index.d.ts +2 -0
  147. package/components/ScrollBar/index.js +1 -0
  148. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +1 -6
  149. package/components/ScrollBar/slots/ScrollBarSlots.js +7 -13
  150. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +3 -0
  151. package/components/ScrollBar/slots/ScrollbarEnum.js +7 -0
  152. package/components/ScrollBar/types.d.ts +12 -42
  153. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  154. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  155. package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
  156. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  157. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  158. package/components/SideBar/subcomponents/ContentGroups/styles.js +11 -2
  159. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  160. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -10
  161. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +0 -1
  162. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  163. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  164. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  165. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  166. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  167. package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -1
  168. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  169. package/components/SideBar/types.d.ts +9 -2
  170. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  171. package/components/WindowBase/WindowBase.js +8 -6
  172. package/components/WindowBase/WindowBase.styles.js +208 -107
  173. package/components/WindowBase/icons.js +2 -2
  174. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  175. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  176. package/components/WindowBase/slots/WindowBaseSlots.d.ts +18 -23
  177. package/components/WindowBase/slots/WindowBaseSlots.js +13 -12
  178. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +22 -12
  179. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  180. package/components/WindowBase/subcomponents/Header/useButtonActions.js +5 -2
  181. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  182. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  183. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +9 -0
  184. package/components/WindowBase/types.d.ts +10 -0
  185. package/components/WindowConfirm/WindowConfirm.js +2 -3
  186. package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
  187. package/components/areas/components/AreasAdmin/AreasAdmin.js +12 -17
  188. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +13 -21
  189. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +22 -22
  190. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -4
  191. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +3 -4
  192. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  193. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  194. package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
  195. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  196. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
  197. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +8 -1
  198. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +7 -3
  199. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +0 -1
  200. package/components/areas/contexts/AreasContext/index.js +1 -1
  201. package/components/areas/contexts/AreasContext/store.js +1 -1
  202. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  203. package/components/areas/icons.d.ts +2 -2
  204. package/components/areas/icons.js +4 -4
  205. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  206. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  207. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  208. package/components/extended/React-Resizable/helpers.d.ts +2 -9
  209. package/components/extended/React-Resizable/helpers.js +15 -13
  210. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +0 -1
  211. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  212. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  213. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  214. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  215. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  216. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +7 -7
  217. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  218. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  219. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  220. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +2 -1
  221. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +2 -1
  222. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  223. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  224. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  225. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  226. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  227. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  228. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  229. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  230. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  231. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  232. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  233. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  234. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  235. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  236. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +9 -10
  237. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  238. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  239. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +21 -21
  240. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +2 -7
  241. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +5 -6
  242. package/components/index.d.ts +2 -0
  243. package/components/mui_extended/Accordion/Accordion.js +31 -21
  244. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  245. package/components/mui_extended/Accordion/styles.js +56 -33
  246. package/components/mui_extended/Accordion/types.d.ts +39 -6
  247. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  248. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  249. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +3 -1
  250. package/components/mui_extended/Autocomplete/renderOptions/index.js +3 -2
  251. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +16 -16
  252. package/components/mui_extended/Avatar/Avatar.js +1 -1
  253. package/components/mui_extended/Avatar/styles.js +3 -3
  254. package/components/mui_extended/Badge/Badge.js +14 -8
  255. package/components/mui_extended/Badge/Badge.styles.js +23 -33
  256. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  257. package/components/mui_extended/Badge/slots/BadgeSlots.js +2 -2
  258. package/components/mui_extended/Badge/types.d.ts +4 -3
  259. package/components/mui_extended/Button/ButtonStyles.js +25 -25
  260. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  261. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  262. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  263. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  264. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  265. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  266. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +10 -10
  267. package/components/mui_extended/Divider/Divider.js +1 -2
  268. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  269. package/components/mui_extended/IconButton/IconButton.js +39 -12
  270. package/components/mui_extended/IconButton/IconButton.styles.js +64 -54
  271. package/components/mui_extended/IconButton/helpers/evalIconColor.d.ts +1 -1
  272. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  273. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  274. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -7
  275. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +4 -3
  276. package/components/mui_extended/IconButton/types.d.ts +10 -8
  277. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  278. package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
  279. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  280. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  281. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
  282. package/components/mui_extended/MenuItem/types.d.ts +8 -3
  283. package/components/mui_extended/NavLink/NavLink.js +1 -2
  284. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  285. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  286. package/components/mui_extended/Popover/Popover.js +0 -1
  287. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  288. package/components/mui_extended/Popover/types.d.ts +3 -3
  289. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  290. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  291. package/components/mui_extended/Select/Select.js +2 -3
  292. package/components/mui_extended/Select/Select.styles.js +10 -10
  293. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  294. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  295. package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
  296. package/components/mui_extended/Stack/Stack.js +4 -2
  297. package/components/mui_extended/Stack/Stack.styles.js +7 -4
  298. package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
  299. package/components/mui_extended/Tab/Tab.js +2 -0
  300. package/components/mui_extended/Tab/Tab.styles.js +26 -48
  301. package/components/mui_extended/Tab/types.d.ts +4 -0
  302. package/components/mui_extended/TabContent/TabContent.js +1 -1
  303. package/components/mui_extended/TabContent/TabContent.styles.js +2 -4
  304. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  305. package/components/mui_extended/TabContent/types.d.ts +2 -2
  306. package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
  307. package/components/mui_extended/TextField/TextField.styles.js +22 -22
  308. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  309. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +8 -8
  310. package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +12 -5
  311. package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +21 -11
  312. package/components/mui_extended/ToggleIconButton/constants.d.ts +7 -0
  313. package/components/mui_extended/ToggleIconButton/constants.js +3 -1
  314. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  315. package/components/mui_extended/ToggleIconButton/types.d.ts +9 -3
  316. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  317. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  318. package/components/mui_extended/Typography/typography.styles.js +7 -7
  319. package/components/mui_extended/index.d.ts +0 -2
  320. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
  321. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +7 -9
  322. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +2 -0
  323. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  324. package/hooks/useComponentSize/useComponentSize.js +5 -2
  325. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  326. package/hooks/useDynamicFilterAndSort/styles.js +7 -13
  327. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  328. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +17 -28
  329. package/index.js +43 -42
  330. package/package.json +3 -3
  331. package/storybook/components/Chip/Chip.stories.d.ts +4 -0
  332. package/storybook/components/DataGrid/DataGrid.stories.d.ts +16 -0
  333. package/storybook/components/Icon/Icon.stories.d.ts +4 -0
  334. package/storybook/components/WindowBase/windowBase.stories.d.ts +60 -7
  335. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
  336. package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +4 -0
  337. package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +12 -0
  338. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  339. package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +12 -0
  340. package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +9 -0
  341. package/storybook/tootls/WrapperLineGuide/styles.d.ts +1 -0
  342. package/storybook/tootls/WrapperLineGuide/types.d.ts +5 -0
  343. package/components/DataGrid/styles.js +0 -484
  344. package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -5
  345. package/components/DataGrid/subcomponents/Actions/index.js +0 -48
  346. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +0 -4
  347. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +0 -4
  348. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -6
  349. package/components/DataGrid/subcomponents/Actions/subcomponents/types.d.ts +0 -2
  350. package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -13
  351. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +0 -4
  352. package/components/ScrollBar/slots/ScrollBarEnum.js +0 -8
  353. package/components/ScrollBar/slots/index.d.ts +0 -2
  354. package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +0 -7
  355. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +0 -11
  356. /package/components/DataGrid/{styles.d.ts → Datagrid.styles.d.ts} +0 -0
  357. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.d.ts +0 -0
  358. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/types.d.ts +0 -0
  359. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.d.ts +0 -0
  360. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.d.ts +0 -0
  361. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  362. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  363. /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
@@ -1,49 +1,19 @@
1
- import { SxProps, Theme } from '@mui/material';
2
1
  import { ReactNode } from 'react';
3
- import { Props as SimpleProps } from 'simplebar-react';
4
- import { SCROLL_KEY_COMPONENT } from './constants';
5
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
6
- import { ScrollBarSlots } from './slots';
7
- /**
8
- * Props for the ScrollBar component.
9
- */
10
- export interface ScrollBarProps extends SimpleProps {
2
+ import { ScrollbarSlots } from './slots/ScrollbarEnum';
3
+ import { SCROLL_BAR_KEY_COMPONENTS } from './constants';
4
+ import { Theme } from '@mui/material';
5
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
6
+ export interface ScrollBarProps {
11
7
  /**
12
- * The content of the ScrollBar.
8
+ * ScrollBar children
13
9
  */
14
10
  children: ReactNode;
15
11
  /**
16
- * The system prop that allows defining system overrides as well as additional CSS styles.
12
+ * ScrollBar hide tracks
13
+ * @deprecated
17
14
  */
18
- sx?: SxProps;
19
- /**
20
- * The orientation of the ScrollBar.
21
- * @default 'vertical'
22
- */
23
- orientation?: 'vertical' | 'horizontal';
24
- /**
25
- * The class name of the ScrollBar.
26
- */
27
- className?: string;
28
- /**
29
- * The data-testid attribute for testing purposes.
30
- */
31
- dataTestId?: string;
15
+ autoHide?: boolean;
32
16
  }
33
- /**
34
- * The owner state for the ScrollBar component.
35
- */
36
- export type ownerState = ScrollBarProps;
37
- /**
38
- * The owner state for the ScrollBar component.
39
- * @deprecated This type is redundant and can be removed.
40
- */
41
- export type ScrollBarOwnerState = ScrollBarProps & {};
42
- /**
43
- * The type for the ScrollBar slots.
44
- */
45
- export type ScrollBarSlotsType = keyof typeof ScrollBarSlots;
46
- /**
47
- * The styles for the ScrollBar component.
48
- */
49
- export type ScrollBarStyles = OverridesStyleRules<ScrollBarSlots, typeof SCROLL_KEY_COMPONENT, Theme>;
17
+ export type ScrollBarSlotsType = keyof typeof ScrollbarSlots;
18
+ export type ScrollBarOwnerState = {};
19
+ export type ScrollBarStyles = M4LOverridesStyleRules<ScrollbarSlots, typeof SCROLL_BAR_KEY_COMPONENTS, Theme>;
@@ -1,51 +1,51 @@
1
- export declare const ContainerDesktopRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
1
+ export declare const ContainerDesktopRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
4
- export declare const ContainerDesktopContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
5
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
4
+ export declare const ContainerDesktopContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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 ContainerBtnAnchoredStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
8
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
7
+ export declare const ContainerBtnAnchoredStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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 ContainerContentGroupsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
11
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
10
+ export declare const ContainerContentGroupsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
12
12
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
13
- export declare const ContainerContentGroupsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
14
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
13
+ export declare const ContainerContentGroupsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
14
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
15
15
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
16
- export declare const ContainerContentTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
17
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
16
+ export declare const ContainerContentTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
17
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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 ContainerContentNavItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
20
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
19
+ export declare const ContainerContentNavItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
20
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
21
21
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
22
- export declare const ContainerContentItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
23
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
22
+ export declare const ContainerContentItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
23
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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
- export declare const ContainerArrowIconRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
26
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
25
+ export declare const ContainerArrowIconRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
26
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
27
27
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
28
- export declare const ContainerHeaderSidebarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
29
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
28
+ export declare const ContainerHeaderSidebarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
29
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
30
30
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
31
- export declare const ContainerTitleSubtitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
32
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
31
+ export declare const ContainerTitleSubtitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
32
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
33
33
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
34
- export declare const ContainerFooterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
35
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
34
+ export declare const ContainerFooterStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
35
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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
- export declare const ContainerSideBarMobileStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
38
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
37
+ export declare const ContainerSideBarMobileStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
38
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
39
39
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
40
- export declare const ContentComponentRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
41
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
40
+ export declare const ContentComponentRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
41
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
42
42
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
43
- export declare const ContentComponentHideStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
44
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
43
+ export declare const ContentComponentHideStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
44
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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
- export declare const ContainerComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
47
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
46
+ export declare const ContainerComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
47
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & 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
- export declare const ContainerMenuItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').SideBarOwnerState> & Record<string, unknown> & {
50
- ownerState: Partial<import('../types').SideBarOwnerState> & Record<string, unknown>;
49
+ export declare const ContainerMenuItemsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
50
+ ownerState?: (Partial<import('../types').SideBarOwnerState> & Record<string, unknown>) | undefined;
51
51
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const contentComponentStyles: SideBarStyles;
1
+ import { ContentComponentStyles } from '../../types';
2
+ export declare const contentComponentStyles: ContentComponentStyles;
@@ -18,11 +18,11 @@ const contentComponentStyles = {
18
18
  height: "100%",
19
19
  overflow: "hidden",
20
20
  transition: "all 0.5s",
21
- ...!ownerState.anchored && {
22
- width: ownerState?.anchored && ownerState.isDesktop ? ownerState.expandedWidth : !ownerState.isDesktop ? "100%" : theme.vars.size.baseSpacings.sp4,
21
+ ...!ownerState?.anchored && {
22
+ width: ownerState?.anchored && ownerState?.isDesktop ? ownerState?.expandedWidth : !ownerState?.isDesktop ? "100%" : theme.vars.size.baseSpacings.sp4,
23
23
  "&:hover": {
24
24
  transition: "all 0.5s",
25
- width: ownerState.expandedWidth,
25
+ width: ownerState?.expandedWidth,
26
26
  contentVisibility: "visible",
27
27
  '& [class*="containerFooter"]': {
28
28
  borderWidth: theme.vars.size.baseSpacings["sp0-5"]
@@ -35,7 +35,7 @@ const contentComponentStyles = {
35
35
  */
36
36
  containerComponent: ({ ownerState }) => ({
37
37
  height: "100%",
38
- width: ownerState.expandedWidth
38
+ width: ownerState?.expandedWidth
39
39
  })
40
40
  };
41
41
  export {
@@ -17,10 +17,10 @@ const ContentGroups = (contentGroupsProps) => {
17
17
  noItems: menuData.length === 0
18
18
  };
19
19
  const renderTitle = (title) => {
20
- return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Typography, { variant: "bodyDens", skeletonWidth: "100px", children: title }) });
20
+ return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { children: /* @__PURE__ */ jsx(Typography, { variant: "bodyDens", skeletonWidth: "100px", children: title }) });
21
21
  };
22
22
  const renderItems = (item) => {
23
- return /* @__PURE__ */ jsx(ContainerContentNavItemsStyled, { ownerState: {}, children: item?.map((list) => /* @__PURE__ */ jsx(ContainerMenuItemsMain, { item: list, openSubItem: true, size: currentSize }, list.title)) });
23
+ return /* @__PURE__ */ jsx(ContainerContentNavItemsStyled, { children: item?.map((list) => /* @__PURE__ */ jsx(ContainerMenuItemsMain, { item: list, openSubItem: true, size: currentSize }, list.title)) });
24
24
  };
25
25
  const renderItemsDisabled = () => {
26
26
  return /* @__PURE__ */ jsx(ContainerContentTitleStyled, { ownerState: { disabled: true }, children: /* @__PURE__ */ jsx(
@@ -39,7 +39,7 @@ const ContentGroups = (contentGroupsProps) => {
39
39
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("content-groups") } : {},
40
40
  children: menuData.length > 0 ? menuData.map((itemGroup) => (
41
41
  /* Render title section in menusidebar */
42
- /* @__PURE__ */ jsxs(ContainerContentGroupsStyled, { ownerState: {}, children: [
42
+ /* @__PURE__ */ jsxs(ContainerContentGroupsStyled, { children: [
43
43
  renderTitle(itemGroup.title),
44
44
  renderItems(itemGroup.children)
45
45
  ] }, itemGroup.title)
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const contentGroupStyles: SideBarStyles;
1
+ import { ContentGroupsStyles } from '../../types';
2
+ export declare const contentGroupStyles: ContentGroupsStyles;
@@ -10,7 +10,7 @@ const contentGroupStyles = {
10
10
  overflowY: "auto",
11
11
  padding: `${theme.vars.size.baseSpacings.sp3} 0px 0px 0px`,
12
12
  alignItems: "center",
13
- justifyContent: ownerState.noItems ? "center" : "flex-start"
13
+ justifyContent: ownerState?.noItems ? "center" : "flex-start"
14
14
  }),
15
15
  /**
16
16
  * Wrapper for every principal item group in the sidebar
@@ -29,7 +29,7 @@ const contentGroupStyles = {
29
29
  color: theme.vars.palette.text.primary,
30
30
  textAlign: "left",
31
31
  "& .MuiTypography-root": {
32
- color: !ownerState.disabled ? theme.vars.palette.text.primary : `${theme.vars.palette.text.primary} !important`
32
+ color: !ownerState?.disabled ? theme.vars.palette.text.primary : `${theme.vars.palette.text.primary} !important`
33
33
  }
34
34
  }),
35
35
  /**
@@ -52,6 +52,15 @@ const contentGroupStyles = {
52
52
  alignItems: "center",
53
53
  cursor: "pointer",
54
54
  padding: theme.spacing(0.5)
55
+ }),
56
+ /**
57
+ *Style para el contenedor del icono de flecha que indica si el item está colapsado o descolapsado para los items padres
58
+ */
59
+ containerArrowIconRoot: () => ({
60
+ display: "flex",
61
+ alignSelf: "center",
62
+ lineHeight: 0,
63
+ marginLeft: "auto"
55
64
  })
56
65
  };
57
66
  export {
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../../../types';
2
- export declare const containerMenuItemsMainStyles: SideBarStyles;
1
+ import { ContainerMenuItemsMainStyles } from '../../../../types';
2
+ export declare const containerMenuItemsMainStyles: ContainerMenuItemsMainStyles;
@@ -11,7 +11,7 @@ const containerMenuItemsMainStyles = {
11
11
  gap: theme.vars.size.baseSpacings["sp0-5"],
12
12
  ...getHeightSizeStyles(
13
13
  theme.generalSettings.isMobile,
14
- ownerState.size || "medium",
14
+ ownerState?.size || "medium",
15
15
  "container",
16
16
  (height) => {
17
17
  return {
@@ -40,15 +40,6 @@ const containerMenuItemsMainStyles = {
40
40
  flexDirection: "column",
41
41
  gap: theme.vars.size.baseSpacings["sp0-5"]
42
42
  }
43
- }),
44
- /**
45
- *Style para el contenedor del icono de flecha que indica si el item está colapsado o descolapsado para los items padres
46
- */
47
- containerArrowIconRoot: () => ({
48
- display: "flex",
49
- alignSelf: "center",
50
- lineHeight: 0,
51
- marginLeft: "auto"
52
43
  })
53
44
  };
54
45
  export {
@@ -11,7 +11,6 @@ function ArrowIcon(props) {
11
11
  return /* @__PURE__ */ jsx(
12
12
  ContainerArrowIconRootStyled,
13
13
  {
14
- ownerState: {},
15
14
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("arrowIconRoot") } : {},
16
15
  children: /* @__PURE__ */ jsx(
17
16
  IconButton,
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const footerSideBarStyles: SideBarStyles;
1
+ import { SideBarFooterStyles } from '../../types';
2
+ export declare const footerSideBarStyles: SideBarFooterStyles;
@@ -3,7 +3,7 @@ import { k as ContainerHeaderSidebarRootStyled, l as ContainerTitleSubtitleStyle
3
3
  import { T as Typography } from "../../../mui_extended/Typography/Typography.js";
4
4
  import { I as Image } from "../../../Image/Image.js";
5
5
  const HeaderSidebar = ({ srcIcon, title, subtitle }) => {
6
- return /* @__PURE__ */ jsxs(ContainerHeaderSidebarRootStyled, { ownerState: {}, role: "heading", children: [
6
+ return /* @__PURE__ */ jsxs(ContainerHeaderSidebarRootStyled, { role: "heading", children: [
7
7
  /* @__PURE__ */ jsx(
8
8
  Image,
9
9
  {
@@ -14,7 +14,7 @@ const HeaderSidebar = ({ srcIcon, title, subtitle }) => {
14
14
  },
15
15
  "Logo"
16
16
  ),
17
- /* @__PURE__ */ jsxs(ContainerTitleSubtitleStyled, { ownerState: {}, children: [
17
+ /* @__PURE__ */ jsxs(ContainerTitleSubtitleStyled, { children: [
18
18
  /* @__PURE__ */ jsx(Typography, { variant: "subtitleDens", size: "medium", skeletonWidth: 120, children: title }),
19
19
  /* @__PURE__ */ jsx(Typography, { variant: "paragraph", size: "medium", margin: 0, skeletonWidth: 150, children: subtitle })
20
20
  ] })
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const headerSidebarStyles: SideBarStyles;
1
+ import { HeaderSidebarStyles } from '../../types';
2
+ export declare const headerSidebarStyles: HeaderSidebarStyles;
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const sideBarDesktopStyles: SideBarStyles;
1
+ import { SideBarDesktopStyles } from '../../types';
2
+ export declare const sideBarDesktopStyles: SideBarDesktopStyles;
@@ -5,7 +5,7 @@ const sideBarDesktopStyles = {
5
5
  * sin que se oculte por el overflow hidden que tiene el contenido del sidebar
6
6
  */
7
7
  containerDesktopContent: ({ theme, ownerState }) => {
8
- const width = ownerState?.anchored ? ownerState.expandedWidth : theme.vars.size.baseSpacings.sp4;
8
+ const width = ownerState?.anchored ? ownerState?.expandedWidth : theme.vars.size.baseSpacings.sp4;
9
9
  return {
10
10
  height: "100%",
11
11
  position: "relative",
@@ -22,7 +22,7 @@ const sideBarDesktopStyles = {
22
22
  width: "fit-content",
23
23
  overflow: "visible",
24
24
  borderRight: `1px solid ${theme.vars.palette.border.default}`,
25
- position: !ownerState.anchored ? "absolute" : "relative",
25
+ position: !ownerState?.anchored ? "absolute" : "relative",
26
26
  inset: 0,
27
27
  //add hover effect
28
28
  zIndex: 999
@@ -23,7 +23,6 @@ const SideBarMobile = () => {
23
23
  children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
24
24
  ContainerSideBarMobileStyled,
25
25
  {
26
- ownerState: {},
27
26
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("contentMobile") } : {},
28
27
  children: /* @__PURE__ */ jsx(ContentComponent, {})
29
28
  }
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const sideBarMobileStyles: SideBarStyles;
1
+ import { SideBarMobileStyles } from '../../types';
2
+ export declare const sideBarMobileStyles: SideBarMobileStyles;
@@ -1,8 +1,8 @@
1
1
  import { Sizes } from '@m4l/styles';
2
2
  import { ContainerMenuItemsMainSlots, ContentComponentSlots, ContentGroupsSlots, HeaderSidebarSlots, SideBarDesktopSlots, SideBarFooterSlots, SideBarMobileSlots } from './slots/SideBarEnum';
3
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
4
3
  import { SIDEBAR_KEY_COMPONENT } from './constants';
5
4
  import { Theme } from '@mui/material/styles';
5
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
6
6
  /**
7
7
  * define la estructura de datos para un elemento de menú en la barra lateral.
8
8
  */
@@ -88,4 +88,11 @@ export type SideBarSlotsType = ContainerMenuItemsMainSlots | SideBarDesktopSlots
88
88
  export type SideBarOwnerState = Pick<IMenuDataWithState, 'active' | 'itemInTreeActive'> & {
89
89
  [key: string]: any;
90
90
  };
91
- export type SideBarStyles = Partial<OverridesStyleRules<SideBarSlotsType, typeof SIDEBAR_KEY_COMPONENT, Theme> | undefined> | undefined;
91
+ export type SideBarStyles = M4LOverridesStyleRules<SideBarSlotsType, typeof SIDEBAR_KEY_COMPONENT, Theme>;
92
+ export type ContainerMenuItemsMainStyles = M4LOverridesStyleRules<ContainerMenuItemsMainSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
93
+ export type SideBarDesktopStyles = M4LOverridesStyleRules<SideBarDesktopSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
94
+ export type ContentGroupsStyles = M4LOverridesStyleRules<ContentGroupsSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
95
+ export type HeaderSidebarStyles = M4LOverridesStyleRules<HeaderSidebarSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
96
+ export type SideBarFooterStyles = M4LOverridesStyleRules<SideBarFooterSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
97
+ export type SideBarMobileStyles = M4LOverridesStyleRules<SideBarMobileSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
98
+ export type ContentComponentStyles = M4LOverridesStyleRules<ContentComponentSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
@@ -22,9 +22,9 @@ export declare const MessageDescriptionStyled: import('@emotion/styled').StyledC
22
22
  export declare const MessageIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
23
23
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
24
24
  }, {}, {}>;
25
- export declare const MessageCloseButtonStyled: 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').ToastContainerOwnerState> & Record<string, unknown> & {
25
+ export declare const MessageCloseButtonStyled: 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> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
26
26
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
27
27
  }, {}, {}>;
28
- export declare const MessagePinButtonStyled: 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').ToastContainerOwnerState> & Record<string, unknown> & {
28
+ export declare const MessagePinButtonStyled: 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> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
29
29
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
30
30
  }, {}, {}>;
@@ -7,9 +7,8 @@ import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
7
7
  import clsx from "clsx";
8
8
  import { H as HeaderWindowBase } from "./subcomponents/Header/HeaderWindowBase.js";
9
9
  import { E as EditionInfo } from "./subcomponents/EditionInfo/EditionInfo.js";
10
- import { W as WindowBaseStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
10
+ import { W as WindowBaseStyled, T as ToastContainerStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
11
11
  import { W as WindowBaseSlots } from "./slots/WindowBaseEnum.js";
12
- import { T as ToastContainer } from "../ToastContainer/ToastContainer.js";
13
12
  const WindowBase = (props) => {
14
13
  const {
15
14
  children,
@@ -25,14 +24,15 @@ const WindowBase = (props) => {
25
24
  windowId,
26
25
  onMouseDown,
27
26
  editionInfo,
27
+ type = "layout",
28
28
  ...other
29
29
  } = props;
30
30
  const { currentSize } = useComponentSize(size);
31
- const normalizedSize = currentSize === "large" ? "medium" : currentSize;
32
31
  const ownerState = {
33
32
  selected,
34
33
  variant,
35
- size: normalizedSize
34
+ size: currentSize,
35
+ type
36
36
  };
37
37
  return /* @__PURE__ */ jsx(AppearanceComponentProvider, { defaultSize: currentSize, children: /* @__PURE__ */ jsxs(
38
38
  WindowBaseStyled,
@@ -49,12 +49,14 @@ const WindowBase = (props) => {
49
49
  version,
50
50
  buildTime,
51
51
  size,
52
+ variant,
52
53
  selected,
53
54
  onClose,
55
+ type,
54
56
  ...other
55
57
  }
56
58
  ),
57
- /* @__PURE__ */ jsx(ToastContainer, { fixed: false, position: "top-right", containerId: windowId }),
59
+ /* @__PURE__ */ jsx(ToastContainerStyled, { fixed: false, position: "top-right", containerId: windowId }),
58
60
  editionInfo && /* @__PURE__ */ jsx(EditionInfo, { editionInfo }),
59
61
  /* @__PURE__ */ jsx(
60
62
  ContentWindowStyled,
@@ -64,7 +66,7 @@ const WindowBase = (props) => {
64
66
  children
65
67
  }
66
68
  ),
67
- isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, { ownerState: {} })
69
+ isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, {})
68
70
  ]
69
71
  }
70
72
  ) });