@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
@@ -7,7 +7,7 @@ import { I as IconButton } from "../../../mui_extended/IconButton/IconButton.js"
7
7
  import { deepEqual } from "fast-equals";
8
8
  import { useFormatter } from "@m4l/graphics";
9
9
  import { u as useButtonActions } from "./useButtonActions.js";
10
- import { H as HeaderWindowComponentStyled, c as HeaderContentStyled, I as IconWindowStyled, T as TitleWindowStyled, S as SubtitleContainerStyled, P as PointStyled, d as PointIconStyled, e as SubtitleWindowStyled, f as IconsWrapperStyled, M as MenuActionsWindowsStyled } from "../../slots/WindowBaseSlots.js";
10
+ import { H as HeaderWindowComponentStyled, c as HeaderContentStyled, I as IconWindowStyled, d as ContainerTitleSubtitleStyled, e as TitleWindowStyled, P as PointIconStyled, S as SubtitleWindowStyled, f as IconsWrapperStyled, M as MenuActionsWindowsStyled } from "../../slots/WindowBaseSlots.js";
11
11
  const HeaderWindowBase = (props) => {
12
12
  const {
13
13
  title,
@@ -19,7 +19,8 @@ const HeaderWindowBase = (props) => {
19
19
  version,
20
20
  buildTime,
21
21
  variant,
22
- actions = []
22
+ actions = [],
23
+ type
23
24
  } = props;
24
25
  const { host_static_assets, environment_assets } = useEnvironment();
25
26
  const { dateFormatter } = useFormatter();
@@ -72,7 +73,9 @@ const HeaderWindowBase = (props) => {
72
73
  startIcon: action.iconUrl,
73
74
  label: action.label,
74
75
  onClick: action.onClick,
75
- disabled: action.disabled
76
+ disabled: action.disabled,
77
+ color: action.color,
78
+ className: action.className
76
79
  };
77
80
  }).flat()
78
81
  ];
@@ -83,7 +86,9 @@ const HeaderWindowBase = (props) => {
83
86
  label: buildTime ? `${version} - ${dateFormatter.formatDate(new Date(buildTime), dateFormatter.datetimeFormat)}` : version,
84
87
  onClick: () => {
85
88
  },
86
- disabled: true
89
+ disabled: true,
90
+ color: "default"
91
+ //className: 'version-action',
87
92
  });
88
93
  }
89
94
  return memoizedActions;
@@ -91,29 +96,31 @@ const HeaderWindowBase = (props) => {
91
96
  const ownerState = {
92
97
  selected,
93
98
  variant,
94
- size
99
+ size,
100
+ type
95
101
  };
96
102
  const IconButtonLeftActions = useButtonActions(leftActions);
97
103
  const IconButtonRightActions = useButtonActions(rightActions);
98
104
  return /* @__PURE__ */ jsxs(HeaderWindowComponentStyled, { className: dragResizeWindowRNDClasses.draggableHandle, ownerState, children: [
99
105
  /* @__PURE__ */ jsxs(HeaderContentStyled, { ownerState, children: [
100
106
  iconUrl && /* @__PURE__ */ jsx(IconWindowStyled, { size, ownerState, src: iconUrl, "aria-label": "main icon" }),
101
- /* @__PURE__ */ jsx(TitleWindowStyled, { size, ownerState, children: title }),
102
- subTitle && /* @__PURE__ */ jsxs(SubtitleContainerStyled, { size, ownerState, children: [
103
- /* @__PURE__ */ jsx(PointStyled, { size, ownerState, children: /* @__PURE__ */ jsx(
107
+ /* @__PURE__ */ jsxs(ContainerTitleSubtitleStyled, { size, ownerState, children: [
108
+ /* @__PURE__ */ jsx(TitleWindowStyled, { variant: type === "popup" || type === "modal" ? "body" : "captionDens", size, skeletonWidth: 100, ownerState, children: title }),
109
+ subTitle && /* @__PURE__ */ jsx(
104
110
  PointIconStyled,
105
111
  {
106
112
  src: `${host_static_assets}/${environment_assets}/frontend/components/window_base/assets/icons/${ICONS.POINT}`,
107
113
  size,
108
114
  ownerState
109
115
  }
110
- ) }),
111
- /* @__PURE__ */ jsx(SubtitleWindowStyled, { size, ownerState, children: subTitle })
116
+ ),
117
+ subTitle && /* @__PURE__ */ jsx(SubtitleWindowStyled, { variant: type === "popup" || type === "modal" ? "body" : "captionDens", size, skeletonWidth: 100, ownerState, children: subTitle })
112
118
  ] })
113
119
  ] }),
114
120
  /* @__PURE__ */ jsxs(
115
121
  IconsWrapperStyled,
116
122
  {
123
+ id: "icons-wrapper",
117
124
  className: dragResizeWindowRNDClasses.draggableCancel,
118
125
  ownerState,
119
126
  children: [
@@ -125,6 +132,7 @@ const HeaderWindowBase = (props) => {
125
132
  ownerState,
126
133
  icon: `${host_static_assets}/${environment_assets}/frontend/components/window_base/assets/icons/${ICONS.MORE_VERTICAL}`,
127
134
  arrowType: "no-arrow",
135
+ iconButtonClassName: "window-actions",
128
136
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
129
137
  transformOrigin: { vertical: "top", horizontal: "right" },
130
138
  paperProps: { style: { marginTop: "12px" } },
@@ -135,9 +143,11 @@ const HeaderWindowBase = (props) => {
135
143
  onClose && /* @__PURE__ */ jsx(
136
144
  IconButton,
137
145
  {
138
- icon: `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/${ICONS.CLOSE}`,
146
+ icon: `${host_static_assets}/${environment_assets}/frontend/components/window_base/assets/icons/${ICONS.CLOSE}`,
139
147
  onClick: onClose,
140
- "aria-label": "close"
148
+ "aria-label": "close",
149
+ color: "error",
150
+ className: "close-button window-actions"
141
151
  }
142
152
  )
143
153
  ]
@@ -32,7 +32,7 @@ import { WindowBaseAction, WindowBaseProps } from '../../types';
32
32
  * - `selected` modifies the visual appearance to indicate the selected state.
33
33
  * @see WindowBaseProps - General properties for the window base.
34
34
  */
35
- export type HeaderProps = Pick<WindowBaseProps, 'title' | 'subTitle' | 'iconUrl' | 'onClose' | 'version' | 'selected' | 'variant' | 'buildTime'> & {
35
+ export type HeaderProps = Pick<WindowBaseProps, 'title' | 'subTitle' | 'iconUrl' | 'onClose' | 'version' | 'selected' | 'variant' | 'type' | 'buildTime'> & {
36
36
  actions?: WindowBaseAction[];
37
37
  };
38
38
  /**
@@ -12,7 +12,9 @@ const useButtonActions = (actions) => {
12
12
  disabled: groupAction.disabled,
13
13
  selected: groupAction.key === action.selectedActionKey,
14
14
  onClick: groupAction.onClick || (() => {
15
- })
15
+ }),
16
+ color: groupAction.color,
17
+ className: action.className
16
18
  },
17
19
  groupAction.key
18
20
  )) }, action.key);
@@ -24,7 +26,8 @@ const useButtonActions = (actions) => {
24
26
  label: action.label,
25
27
  disabled: action.disabled,
26
28
  onClick: action.onClick || (() => {
27
- })
29
+ }),
30
+ className: action.className
28
31
  },
29
32
  action.key
30
33
  );
@@ -6,5 +6,5 @@ import { MemoizedIconButtonProps } from './types';
6
6
  * This component renders an `IconButton` with an icon and tooltip.
7
7
  * It is memoized to avoid unnecessary re-renders when the props do not change.
8
8
  */
9
- declare const MemoizedIconButton: React.MemoExoticComponent<({ iconUrl, label, disabled, onClick, selected }: MemoizedIconButtonProps) => import("react/jsx-runtime").JSX.Element>;
9
+ declare const MemoizedIconButton: React.MemoExoticComponent<({ iconUrl, label, disabled, onClick, color, className, selected }: MemoizedIconButtonProps) => import("react/jsx-runtime").JSX.Element>;
10
10
  export default MemoizedIconButton;
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { I as IconButton } from "../../../mui_extended/IconButton/IconButton.js";
4
4
  const MemoizedIconButton = React.memo(
5
- ({ iconUrl, label, disabled, onClick, selected }) => /* @__PURE__ */ jsx(IconButton, { role: "button", "aria-label": label, tooltip: label, icon: iconUrl, disabled, onClick, selected })
5
+ ({ iconUrl, label, disabled, onClick, color, className, selected }) => /* @__PURE__ */ jsx(IconButton, { role: "button", "aria-label": label, tooltip: label, icon: iconUrl, disabled, onClick, color, className, selected })
6
6
  );
7
7
  export {
8
8
  MemoizedIconButton as M
@@ -1,3 +1,4 @@
1
+ import { IconButtonProps } from '../../../mui_extended/IconButton/types';
1
2
  /**
2
3
  * Props for the `MemoizedIconButton` component.
3
4
  */
@@ -18,6 +19,14 @@ export interface MemoizedIconButtonProps {
18
19
  * Callback function executed when the button is clicked.
19
20
  */
20
21
  onClick: () => void;
22
+ /**
23
+ * Color of the button.
24
+ */
25
+ color?: IconButtonProps['color'];
26
+ /**
27
+ * Define el nombre de la clase del componente
28
+ */
29
+ className?: string;
21
30
  /**
22
31
  * Whether the button is selected.
23
32
  */
@@ -5,6 +5,7 @@ import { Theme } from '@mui/material/styles';
5
5
  import { Sizes } from '@m4l/styles';
6
6
  import { MenuItemAction } from '../MenuActions/types';
7
7
  import { M4LOverridesStyleRules } from '../../@types/augmentations';
8
+ import { EmergeType } from '../areas/types';
8
9
  /**
9
10
  * Opciones para la ventana.
10
11
  */
@@ -76,6 +77,7 @@ export type WindowBaseModuleAction = Omit<ModuleActionMenuItem, 'visibility'> |
76
77
  */
77
78
  export type WindowBaseAction = WindowBaseModuleAction & {
78
79
  place: 'left' | 'right' | 'inside';
80
+ className?: string;
79
81
  };
80
82
  /**
81
83
  * Interface representing the main properties of the `WindowBase` component.
@@ -166,6 +168,13 @@ export interface WindowBaseProps {
166
168
  * Additional information displayed in the window.
167
169
  */
168
170
  editionInfo?: string;
171
+ /**
172
+ * Type of window.
173
+ * - `'modal'`: A modal window.
174
+ * - `'window'`: A window.
175
+ * Default is `'window'` if not specified.
176
+ */
177
+ type?: EmergeType;
169
178
  }
170
179
  /**
171
180
  * Type representing the possible values of `WindowBaseSlots`.
@@ -186,6 +195,7 @@ export type WindowBaseOwnerState = Pick<WindowBaseProps, 'size'> & {
186
195
  selected?: WindowBaseProps['selected'];
187
196
  variant?: WindowBaseProps['variant'];
188
197
  size?: WindowBaseProps['size'];
198
+ type?: WindowBaseProps['type'];
189
199
  };
190
200
  /**
191
201
  * Type for defining custom styles for the `WindowBase` component.
@@ -34,10 +34,9 @@ const WindowConfirm = (props) => {
34
34
  }
35
35
  };
36
36
  const { currentSize } = useComponentSize(size);
37
- const normalizedSize = currentSize === "large" ? "medium" : currentSize;
38
37
  const ownerState = {
39
38
  windowConfirmColor: "default",
40
- windowConfirmSize: normalizedSize,
39
+ windowConfirmSize: currentSize,
41
40
  windowConfirmVariant: variant
42
41
  };
43
42
  const getVariantMapping = (variantType) => {
@@ -57,7 +56,7 @@ const WindowConfirm = (props) => {
57
56
  info: `${host_static_assets}/${environment_assets}/frontend/components/window_confirm/assets/icons/Info.svg`
58
57
  };
59
58
  const iconUrl = iconMap[variant] || iconMap.warning;
60
- return /* @__PURE__ */ jsx(AppearanceComponentProvider, { defaultSize: currentSize, children: /* @__PURE__ */ jsx(WindowBase, { iconUrl, variant: "text", title: getLabel("modal_dialog.label_window_confirm"), onClose: () => closeModal(), children: /* @__PURE__ */ jsx(
59
+ return /* @__PURE__ */ jsx(AppearanceComponentProvider, { defaultSize: currentSize, children: /* @__PURE__ */ jsx(WindowBase, { iconUrl, variant: "outlined", title: getLabel("modal_dialog.label_window_confirm"), onClose: () => closeModal(), type: "modal", children: /* @__PURE__ */ jsx(
61
60
  WindowConfirmRootStyled,
62
61
  {
63
62
  className: clsx(getComponentSlotRoot(WINDOW_CONFIRM_KEY_COMPONENT)),
@@ -12,17 +12,17 @@ const windowConfirmStyles = {
12
12
  borderRadius: theme.vars.size.borderRadius.r0,
13
13
  background: theme.vars.palette.background.default,
14
14
  ...theme.generalSettings.isMobile ? {
15
- ...ownerState.windowBaseSize === "small" && {
15
+ ...ownerState?.windowBaseSize === "small" && {
16
16
  height: theme.vars.size.mobile.small.container
17
17
  },
18
- ...ownerState.windowBaseSize === "medium" && {
18
+ ...ownerState?.windowBaseSize === "medium" && {
19
19
  height: theme.vars.size.mobile.medium.container
20
20
  }
21
21
  } : {
22
- ...ownerState.windowBaseSize === "small" && {
22
+ ...ownerState?.windowBaseSize === "small" && {
23
23
  height: theme.vars.size.desktop.small.container
24
24
  },
25
- ...ownerState.windowBaseSize === "medium" && {
25
+ ...ownerState?.windowBaseSize === "medium" && {
26
26
  height: theme.vars.size.desktop.medium.container
27
27
  }
28
28
  }
@@ -13,8 +13,8 @@ import { useIsMobile } from "@m4l/graphics";
13
13
  import { A as AREAS_ADMIN_KEY_COMPONENT } from "./constants.js";
14
14
  import { a as getComponentSlotRoot } from "../../../../utils/getComponentSlotRoot.js";
15
15
  import { g as getPropDataTestId } from "../../../../test/getNameDataTestId.js";
16
- import { S as ScrollBar } from "../../../ScrollBar/ScrollBar.js";
17
16
  import { u as useComponentSize } from "../../../../hooks/useComponentSize/useComponentSize.js";
17
+ import { S as ScrollBar } from "../../../ScrollBar/ScrollBar.js";
18
18
  import { T as Typography } from "../../../mui_extended/Typography/Typography.js";
19
19
  import { M as MenuActions } from "../../../MenuActions/MenuActions.js";
20
20
  import { A as AreasAdminSlots } from "./slots/AreasAdminEnum.js";
@@ -28,10 +28,9 @@ const AreasAdmin = (props) => {
28
28
  } = props;
29
29
  const isMobile = useIsMobile();
30
30
  const { currentSize } = useComponentSize(size);
31
- const normalizedSize = currentSize === "large" ? "medium" : currentSize;
32
31
  const areas = useAreasStore((state) => state.areasIds ?? [], shallow);
33
32
  const currentAreaId = useAreasStore((state) => state.currentAreaId, shallow);
34
- const status = useAreasStore((state) => state.ownerState.status);
33
+ const status = useAreasStore((state) => state.ownerState?.status);
35
34
  const areasLength = useAreasStore((state) => state.areasIds.length);
36
35
  const { addArea } = useAreasStore((state) => state.areasActions, shallow);
37
36
  const { maximizeLayout } = useAreasStore((state) => state.areaActions);
@@ -66,7 +65,7 @@ const AreasAdmin = (props) => {
66
65
  const ownerState = {
67
66
  isMobile,
68
67
  color,
69
- size: normalizedSize
68
+ size: currentSize
70
69
  };
71
70
  const onTouched = (layoutId) => {
72
71
  maximizeLayout(currentAreaId, layoutId);
@@ -94,26 +93,23 @@ const AreasAdmin = (props) => {
94
93
  children: /* @__PURE__ */ jsx(
95
94
  AreasAdminContentStyled,
96
95
  {
97
- size: normalizedSize,
98
- ownerState: {},
96
+ size: currentSize,
99
97
  role: "presentation",
100
98
  ref: divRef,
101
99
  children: /* @__PURE__ */ jsx(
102
100
  AreasContainerChipIconStyled,
103
101
  {
104
- size: normalizedSize,
105
- ownerState: {},
102
+ size: currentSize,
106
103
  children: /* @__PURE__ */ jsx(
107
104
  AreasContainerContentChipsStyled,
108
105
  {
109
- size: normalizedSize,
110
- ownerState: {},
106
+ size: currentSize,
111
107
  children: !isMobile ? /* @__PURE__ */ jsxs(Fragment, { children: [
112
108
  /* @__PURE__ */ jsx(
113
109
  IconButtonAddAreaStyled,
114
110
  {
115
111
  "aria-label": "Agregar área",
116
- size: normalizedSize,
112
+ size: currentSize,
117
113
  variant: "contained",
118
114
  ownerState,
119
115
  src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.ADD_AREA}`,
@@ -124,12 +120,11 @@ const AreasAdmin = (props) => {
124
120
  /* @__PURE__ */ jsx(ScrollBar, { autoHide: true, children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
125
121
  AreaContentChipStyled,
126
122
  {
127
- size: normalizedSize,
128
- ownerState: {},
123
+ size: currentSize,
129
124
  children: Array.isArray(areas) && areas.length > 0 && areas.map((areaId) => /* @__PURE__ */ jsx(
130
125
  AreaChip,
131
126
  {
132
- size: normalizedSize,
127
+ size: currentSize,
133
128
  color,
134
129
  areaId,
135
130
  selected: areaId === currentAreaId,
@@ -139,12 +134,12 @@ const AreasAdmin = (props) => {
139
134
  ))
140
135
  }
141
136
  ) }) }),
142
- maximizedId && windowsLayouts.length > 1 && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(ContainerAdminWindowsStyled, { size: normalizedSize, ownerState, children: [
143
- /* @__PURE__ */ jsx(Typography, { size: normalizedSize, children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_window)) }),
137
+ maximizedId && windowsLayouts.length > 1 && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(ContainerAdminWindowsStyled, { size: currentSize, ownerState, children: [
138
+ /* @__PURE__ */ jsx(Typography, { size: currentSize, children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_window)) }),
144
139
  /* @__PURE__ */ jsx(
145
140
  MenuActions,
146
141
  {
147
- size: normalizedSize,
142
+ size: currentSize,
148
143
  icon: `${host_static_assets}/${environment_assets}/frontend/components/areas_admin/assets/icons/${ICONS.PENDING_ORDER}`,
149
144
  arrowType: "no-arrow",
150
145
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
@@ -1,4 +1,4 @@
1
- import { a as getHeightSizeStyles } from "../../../../utils/getSizeStyles/getSizeStyles.js";
1
+ import { g as getSizeStyles } from "../../../../utils/getSizeStyles/getSizeStyles.js";
2
2
  const areasAdminStyles = {
3
3
  /**
4
4
  * Root areas admin Styles
@@ -7,14 +7,7 @@ const areasAdminStyles = {
7
7
  width: "100%",
8
8
  display: "flex",
9
9
  flexDirection: "row",
10
- "&& .simplebar-content": {
11
- display: "flex",
12
- flexDirection: "row",
13
- alignItems: "center"
14
- },
15
- "& .simplebar-placeholder": {
16
- width: "100% !important"
17
- },
10
+ overflow: "auto",
18
11
  paddingRight: theme.vars.size.baseSpacings["sp2-5"]
19
12
  }),
20
13
  /**
@@ -54,13 +47,15 @@ const areasAdminStyles = {
54
47
  display: "flex",
55
48
  flexDirection: "row",
56
49
  gap: theme.vars.size.baseSpacings.sp1,
57
- alignItems: "center"
50
+ alignItems: "center",
51
+ overflow: "auto hidden"
58
52
  }),
59
53
  /**
60
54
  * Root area chip Styles
61
55
  */
62
56
  areaChipRoot: () => ({
63
- width: "100%",
57
+ width: "fit-content",
58
+ maxWidth: "fit-content",
64
59
  display: "flex",
65
60
  flexDirection: "row"
66
61
  }),
@@ -76,17 +71,14 @@ const areasAdminStyles = {
76
71
  */
77
72
  chipAreas: ({ theme, ownerState }) => ({
78
73
  borderRadius: theme.vars.size.borderRadius.r1,
79
- ...getHeightSizeStyles(
80
- theme.generalSettings.isMobile,
81
- ownerState.size || "small",
74
+ ...getSizeStyles(
75
+ theme,
76
+ ownerState?.size || "small",
82
77
  "action"
83
78
  ),
84
79
  "&:hover > .M4LAreasAdmin-menuActionsChip": {
85
80
  opacity: 1,
86
81
  pointerEvents: "auto"
87
- },
88
- '& [class*="M4LIcon-icon"]': {
89
- backgroundColor: `${ownerState.isAreaSelected ? theme.vars.palette.primary.contrastText : theme.vars.palette.default} !important`
90
82
  }
91
83
  }),
92
84
  /**
@@ -94,9 +86,9 @@ const areasAdminStyles = {
94
86
  */
95
87
  iconButtonAddArea: ({ theme, ownerState }) => ({
96
88
  borderRadius: theme.vars.size.borderRadius.r1,
97
- ...getHeightSizeStyles(
98
- theme.generalSettings.isMobile,
99
- ownerState.size || "small",
89
+ ...getSizeStyles(
90
+ theme,
91
+ ownerState?.size || "small",
100
92
  "action"
101
93
  )
102
94
  }),
@@ -159,7 +151,7 @@ const areasAdminStyles = {
159
151
  gap: theme.vars.size.baseSpacings.sp1
160
152
  }),
161
153
  buttonAddArea: ({ theme }) => ({
162
- color: theme.vars.palette.primary.contrastText
154
+ color: theme.vars.palette.primary.semanticText
163
155
  }),
164
156
  /**
165
157
  * Root edit area chip container
@@ -1,63 +1,63 @@
1
1
  export declare const AreasAdminRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
2
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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 AreasContainerChipIconStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
5
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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
7
  export declare const AreasContainerContentChipsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
8
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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
10
  export declare const AreaContentChipStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
11
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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 AreaChipRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
14
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
14
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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 AreaContainerChipEditButtonStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
17
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
17
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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
19
  export declare const AreasAdminContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
20
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
20
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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 ChipAreasStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Chip').ChipProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../../../Chip').ChipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
23
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
23
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
24
24
  }, {}, {}>;
25
- export declare const IconButtonAddAreaStyled: 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> & Record<string, unknown> & {
26
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
25
+ export declare const IconButtonAddAreaStyled: 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').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
27
27
  }, {}, {}>;
28
28
  export declare const MenuActionsChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../MenuActions/types').MenuActionsProps, keyof import('../../../../MenuActions/types').MenuActionsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
29
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
29
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
30
30
  }, {}, {}>;
31
31
  export declare const ContainerAdminWindowsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
32
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
32
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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
34
  export declare const AreaChipMobileRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
35
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
35
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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 ChipMobileRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
38
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
38
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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
40
  export declare const ChipMobileContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
41
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
41
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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
43
  export declare const AddAreasMobileContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
44
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
44
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & 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 MenuActionsAreaChipMobileStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../MenuActions/types').MenuActionsProps, keyof import('../../../../MenuActions/types').MenuActionsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
47
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
47
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
48
48
  }, {}, {}>;
49
49
  export declare const ButtonAddAreaStyled: 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> & {
50
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
50
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
51
51
  }, {}, {}>;
52
52
  export declare const EditAreaChipContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
53
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
53
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
54
54
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
55
55
  export declare const EditAreaHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
56
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
56
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
57
57
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
58
58
  export declare const EditAreaChipMobileContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
59
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
59
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
60
60
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
61
61
  export declare const NameChipMobileStyled: 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> & {
62
- ownerState: Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>;
62
+ ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
63
63
  }, {}, {}>;
@@ -100,7 +100,6 @@ const AreaChip = (props) => {
100
100
  /* @__PURE__ */ jsx(
101
101
  AreaChipRootStyled,
102
102
  {
103
- ownerState: {},
104
103
  role: "presentation",
105
104
  ref: anchorRef,
106
105
  onMouseUp: onRippleStop,
@@ -110,7 +109,6 @@ const AreaChip = (props) => {
110
109
  children: !isMobile ? /* @__PURE__ */ jsx(
111
110
  AreaContainerChipEditButtonStyled,
112
111
  {
113
- ownerState: {},
114
112
  children: /* @__PURE__ */ jsx(
115
113
  ChipAreasStyled,
116
114
  {
@@ -144,7 +142,6 @@ const AreaChip = (props) => {
144
142
  /* @__PURE__ */ jsx(
145
143
  EditAreaChipContainerStyled,
146
144
  {
147
- ownerState: {},
148
145
  role: "presentation",
149
146
  onClick: (e) => {
150
147
  e.stopPropagation();
@@ -167,7 +164,7 @@ const AreaChip = (props) => {
167
164
  values: initialValues,
168
165
  validationSchema,
169
166
  children: [
170
- /* @__PURE__ */ jsx(EditAreaHeaderStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Typography, { children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area)) }) }),
167
+ /* @__PURE__ */ jsx(EditAreaHeaderStyled, { children: /* @__PURE__ */ jsx(Typography, { children: getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_edit_area)) }) }),
171
168
  /* @__PURE__ */ jsx(
172
169
  RHFTextField,
173
170
  {