@m4l/components 9.2.56-beta.2 → 9.2.57

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 (374) hide show
  1. package/.storybook/decorators/WithWindowsToolsContext/WithContextWindowTools.d.ts +5 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  3. package/@types/augmentations.d.ts +1 -1
  4. package/@types/types.d.ts +9 -10
  5. package/components/AccountPopover/AccountPopover.js +4 -3
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +14 -13
  8. package/components/AccountPopover/types.d.ts +2 -2
  9. package/components/AppBar/AppBar.js +9 -6
  10. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  11. package/components/AppBar/styles.js +1 -2
  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/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  18. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  19. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +1 -0
  20. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  21. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  22. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  24. package/components/DataGrid/DataGrid.js +8 -29
  25. package/components/DataGrid/constants.d.ts +0 -1
  26. package/components/DataGrid/constants.js +0 -2
  27. package/components/DataGrid/contexts/DataGridContext/index.js +44 -31
  28. package/components/DataGrid/contexts/DataGridContext/types.d.ts +1 -6
  29. package/components/DataGrid/dictionary.d.ts +2 -1
  30. package/components/DataGrid/dictionary.js +22 -21
  31. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +2 -0
  32. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  33. package/components/DataGrid/icons.d.ts +0 -1
  34. package/components/DataGrid/icons.js +3 -4
  35. package/components/DataGrid/slots/DataGridEnum.d.ts +0 -6
  36. package/components/DataGrid/slots/DataGridEnum.js +2 -10
  37. package/components/DataGrid/slots/DataGridSlot.d.ts +0 -9
  38. package/components/DataGrid/slots/DataGridSlot.js +14 -35
  39. package/components/DataGrid/styles.js +484 -0
  40. package/components/DataGrid/subcomponents/Actions/index.d.ts +5 -0
  41. package/components/DataGrid/subcomponents/Actions/index.js +49 -0
  42. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.js +7 -8
  43. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.js +2 -2
  44. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +7 -0
  45. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/MobileMenuActions/index.js +4 -4
  46. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.js +4 -4
  47. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +5 -0
  48. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/index.js +4 -6
  49. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +47 -57
  50. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +3 -4
  51. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/types.d.ts +4 -0
  52. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
  53. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/index.js +7 -11
  54. package/components/DataGrid/subcomponents/Actions/types.d.ts +16 -0
  55. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -5
  56. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  57. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +3 -12
  58. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +13 -28
  59. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  60. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +2 -4
  61. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  62. package/components/DataGrid/types.d.ts +3 -20
  63. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  64. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +5 -3
  65. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  66. package/components/DynamicFilter/dictionary.d.ts +1 -0
  67. package/components/DynamicFilter/dictionary.js +2 -1
  68. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  69. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  70. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  71. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  72. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +3 -2
  73. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  74. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +4 -3
  75. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  76. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -0
  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 +1 -0
  83. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +5 -4
  84. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  85. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +3 -2
  86. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  87. package/components/GridLayout/styles.js +82 -4
  88. package/components/HelperError/HelperError.styles.js +4 -4
  89. package/components/Icon/Icon.js +1 -1
  90. package/components/Icon/Icon.styles.js +10 -10
  91. package/components/Image/Image.js +1 -1
  92. package/components/Image/image.styles.js +1 -1
  93. package/components/Image/slots/ImageSlots.d.ts +12 -12
  94. package/components/Image/subcomponents/IntersectComponent/index.js +1 -0
  95. package/components/Image/types.d.ts +2 -2
  96. package/components/Label/Label.styles.js +11 -11
  97. package/components/Label/slots/LabelSlots.d.ts +1 -1
  98. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  99. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  100. package/components/LoadingError/LoadingError.js +2 -1
  101. package/components/MenuActions/MenuActions.js +3 -3
  102. package/components/MenuActions/MenuActions.styles.js +4 -4
  103. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  104. package/components/MenuActions/types.d.ts +3 -3
  105. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  106. package/components/NoItemSelected/NoItemSelected.js +5 -3
  107. package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
  108. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  109. package/components/NumberInput/NumberInput.styles.js +20 -20
  110. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +2 -0
  111. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  112. package/components/ObjectLogs/hooks/useDetailFormatter.js +2 -3
  113. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  114. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +3 -1
  115. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +3 -1
  116. package/components/ObjectLogs/types.d.ts +2 -2
  117. package/components/Pager/Pager.js +3 -2
  118. package/components/Pager/Pager.styles.js +12 -13
  119. package/components/Pager/slots/PagerEnum.d.ts +1 -2
  120. package/components/Pager/slots/PagerEnum.js +0 -1
  121. package/components/Pager/slots/PagerSlots.d.ts +0 -1
  122. package/components/Pager/slots/PagerSlots.js +2 -7
  123. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +18 -16
  124. package/components/Pager/subcomponents/PagerActions/PagerActions.js +2 -4
  125. package/components/Pager/subcomponents/PagerActions/types.d.ts +0 -1
  126. package/components/PaperForm/components/Header.js +2 -2
  127. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  128. package/components/PaperForm/styles.js +7 -7
  129. package/components/PaperForm/types.d.ts +2 -2
  130. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  131. package/components/PrintingSystem/subcomponents/BodyNode/index.js +1 -0
  132. package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -0
  133. package/components/PrintingSystem/subcomponents/DividerNode/index.js +1 -0
  134. package/components/PrintingSystem/subcomponents/FooterNode/index.js +1 -0
  135. package/components/PrintingSystem/subcomponents/GridNode/index.js +5 -0
  136. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +1 -0
  137. package/components/PrintingSystem/subcomponents/PageNode/index.js +1 -0
  138. package/components/PrintingSystem/subcomponents/PaperNode/index.js +5 -0
  139. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +2 -0
  140. package/components/PrintingSystem/subcomponents/SectionNode/index.js +1 -0
  141. package/components/PrintingSystem/types.d.ts +2 -2
  142. package/components/PropertyValue/PropertyValue.js +4 -3
  143. package/components/PropertyValue/PropertyValue.styles.js +3 -3
  144. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  145. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  146. package/components/ScrollBar/ScrollBar.js +45 -5
  147. package/components/ScrollBar/ScrollBar.styles.js +52 -5
  148. package/components/ScrollBar/constants.d.ts +2 -4
  149. package/components/ScrollBar/constants.js +5 -2
  150. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +4 -0
  151. package/components/ScrollBar/slots/ScrollBarEnum.js +8 -0
  152. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +6 -1
  153. package/components/ScrollBar/slots/ScrollBarSlots.js +13 -7
  154. package/components/ScrollBar/slots/index.d.ts +2 -0
  155. package/components/ScrollBar/types.d.ts +42 -12
  156. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  157. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  158. package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
  159. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  160. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  161. package/components/SideBar/subcomponents/ContentGroups/styles.js +2 -11
  162. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  163. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +10 -1
  164. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +1 -0
  165. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  166. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  167. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  168. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  169. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  170. package/components/SideBar/subcomponents/SideBarMobile/index.js +1 -0
  171. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  172. package/components/SideBar/types.d.ts +2 -9
  173. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  174. package/components/WindowBase/WindowBase.js +6 -8
  175. package/components/WindowBase/WindowBase.styles.js +107 -208
  176. package/components/WindowBase/icons.js +2 -2
  177. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  178. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  179. package/components/WindowBase/slots/WindowBaseSlots.d.ts +23 -18
  180. package/components/WindowBase/slots/WindowBaseSlots.js +12 -13
  181. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +12 -22
  182. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  183. package/components/WindowBase/subcomponents/Header/useButtonActions.js +2 -5
  184. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  185. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  186. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +0 -9
  187. package/components/WindowBase/types.d.ts +0 -10
  188. package/components/WindowConfirm/WindowConfirm.js +3 -2
  189. package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
  190. package/components/areas/components/AreasAdmin/AreasAdmin.js +17 -12
  191. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +21 -13
  192. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
  193. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +4 -1
  194. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +4 -3
  195. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  196. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  197. package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
  198. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  199. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
  200. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -8
  201. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +3 -7
  202. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +1 -0
  203. package/components/areas/contexts/AreasContext/index.js +1 -1
  204. package/components/areas/contexts/AreasContext/store.js +1 -1
  205. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  206. package/components/areas/icons.d.ts +2 -2
  207. package/components/areas/icons.js +4 -4
  208. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  209. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  210. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  211. package/components/extended/React-Resizable/helpers.d.ts +9 -2
  212. package/components/extended/React-Resizable/helpers.js +13 -15
  213. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +1 -0
  214. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  215. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  216. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  217. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  218. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  219. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +8 -8
  220. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  221. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  222. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  223. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +2 -1
  224. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +7 -1
  225. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  226. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  227. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  228. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  229. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  230. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  231. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  232. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  233. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  234. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  235. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  236. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  237. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  238. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  239. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  240. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +10 -9
  241. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  242. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  243. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +22 -22
  244. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +7 -2
  245. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +6 -5
  246. package/components/hook-form/RHFormContext/index.d.ts +1 -1
  247. package/components/index.d.ts +0 -2
  248. package/components/mui_extended/Accordion/Accordion.js +21 -31
  249. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  250. package/components/mui_extended/Accordion/styles.js +33 -56
  251. package/components/mui_extended/Accordion/types.d.ts +6 -39
  252. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  253. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  254. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +3 -1
  255. package/components/mui_extended/Autocomplete/renderOptions/index.js +3 -2
  256. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
  257. package/components/mui_extended/Avatar/Avatar.js +1 -1
  258. package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
  259. package/components/mui_extended/Avatar/styles.js +3 -3
  260. package/components/mui_extended/Badge/Badge.js +2 -1
  261. package/components/mui_extended/Badge/Badge.styles.js +9 -9
  262. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  263. package/components/mui_extended/Badge/types.d.ts +2 -2
  264. package/components/mui_extended/Button/ButtonStyles.js +25 -25
  265. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  266. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  267. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  268. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  269. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  270. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  271. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  272. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +12 -12
  273. package/components/mui_extended/Divider/Divider.js +2 -1
  274. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  275. package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
  276. package/components/mui_extended/IconButton/IconButton.js +2 -3
  277. package/components/mui_extended/IconButton/IconButton.styles.js +21 -21
  278. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  279. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  280. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -5
  281. package/components/mui_extended/IconButton/types.d.ts +1 -1
  282. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  283. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  284. package/components/mui_extended/MenuDivider/MenuDivider.js +2 -1
  285. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  286. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  287. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  288. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
  289. package/components/mui_extended/MenuItem/types.d.ts +3 -8
  290. package/components/mui_extended/NavLink/NavLink.js +2 -1
  291. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  292. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  293. package/components/mui_extended/Popover/Popover.js +1 -0
  294. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  295. package/components/mui_extended/Popover/types.d.ts +3 -3
  296. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  297. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  298. package/components/mui_extended/Select/Select.js +3 -2
  299. package/components/mui_extended/Select/Select.styles.js +10 -10
  300. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  301. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  302. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  303. package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
  304. package/components/mui_extended/Stack/Stack.styles.js +3 -3
  305. package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
  306. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  307. package/components/mui_extended/Tab/Tab.js +0 -2
  308. package/components/mui_extended/Tab/Tab.styles.js +48 -26
  309. package/components/mui_extended/Tab/types.d.ts +0 -4
  310. package/components/mui_extended/TabContent/TabContent.js +1 -1
  311. package/components/mui_extended/TabContent/TabContent.styles.js +4 -2
  312. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  313. package/components/mui_extended/TabContent/types.d.ts +2 -2
  314. package/components/mui_extended/Tabs/Tabs.styles.js +1 -2
  315. package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
  316. package/components/mui_extended/TextField/TextField.styles.js +22 -22
  317. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  318. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +9 -9
  319. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  320. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  321. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  322. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  323. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  324. package/components/mui_extended/Typography/typography.styles.js +7 -7
  325. package/components/mui_extended/index.d.ts +2 -0
  326. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
  327. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +9 -7
  328. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +0 -2
  329. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  330. package/hooks/useComponentSize/useComponentSize.js +2 -5
  331. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  332. package/hooks/useDynamicFilterAndSort/styles.js +7 -8
  333. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  334. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +15 -8
  335. package/index.js +24 -24
  336. package/package.json +3 -3
  337. package/storybook/components/Chip/Chip.stories.d.ts +0 -4
  338. package/storybook/components/DataGrid/DataGrid.stories.d.ts +0 -16
  339. package/storybook/components/Icon/Icon.stories.d.ts +0 -4
  340. package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +2 -2
  341. package/storybook/components/WindowBase/windowBase.stories.d.ts +7 -60
  342. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +20 -72
  343. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  344. package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +7 -0
  345. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +11 -0
  346. package/.storybook/utils/flattenDeep.d.ts +0 -8
  347. package/components/DataGrid/Datagrid.styles.js +0 -598
  348. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +0 -5
  349. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +0 -30
  350. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +0 -2
  351. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +0 -7
  352. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +0 -5
  353. package/components/DataGrid/subcomponents/HeaderActions/index.js +0 -39
  354. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +0 -4
  355. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +0 -4
  356. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +0 -7
  357. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/types.d.ts +0 -2
  358. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +0 -4
  359. package/components/Pager/index.d.ts +0 -2
  360. package/components/ScrollBar/index.d.ts +0 -2
  361. package/components/ScrollBar/index.js +0 -1
  362. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +0 -3
  363. package/components/ScrollBar/slots/ScrollbarEnum.js +0 -7
  364. package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +0 -9
  365. package/storybook/tootls/WrapperLineGuide/styles.d.ts +0 -1
  366. package/storybook/tootls/WrapperLineGuide/types.d.ts +0 -5
  367. /package/components/DataGrid/{Datagrid.styles.d.ts → styles.d.ts} +0 -0
  368. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.d.ts +0 -0
  369. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/types.d.ts +0 -0
  370. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.d.ts +0 -0
  371. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.d.ts +0 -0
  372. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  373. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  374. /package/components/{Pager → ScrollBar/slots}/index.js +0 -0
@@ -1,18 +1,15 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { T as Table } from "./subcomponents/Table/index.js";
3
- import { H as HeaderActions } from "./subcomponents/HeaderActions/index.js";
3
+ import { A as Actions } from "./subcomponents/Actions/index.js";
4
4
  import { F as FilterProvider } from "./contexts/FilterContext/index.js";
5
5
  import { D as DataGridProvider } from "./contexts/DataGridContext/index.js";
6
6
  import { T as TEST_PROP_COLUMNS } from "./types.js";
7
7
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
8
8
  import { a as getNameDataTestId } from "../../test/getNameDataTestId.js";
9
- import { T as TEST_SKELETON, D as DATAGRID_PREFIX_NAME } from "./constants.js";
9
+ import { D as DATAGRID_PREFIX_NAME } from "./constants.js";
10
10
  import { D as DataGridRootStyled, C as CustomHeaderStyled } from "./slots/DataGridSlot.js";
11
11
  import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
12
12
  import { useRef } from "react";
13
- import { C as ControlNavigate } from "./subcomponents/ControlNavigate/ControlNavigate.js";
14
- import { useModuleSkeleton } from "@m4l/core";
15
- import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
16
13
  function DataGrid(props) {
17
14
  const {
18
15
  id,
@@ -34,28 +31,13 @@ function DataGrid(props) {
34
31
  customHeader: CustomHeader,
35
32
  visibleCustomHeader = true,
36
33
  defaultUserColumns,
37
- onChangeUserColumns,
38
- size
34
+ onChangeUserColumns
39
35
  } = props;
40
- const {
41
- withSettings,
42
- settingsProps,
43
- // TotalRecords
44
- withRowsCount,
45
- // WithLocalFilters
46
- withLocalFilters,
47
- leftActions,
48
- rightActions,
49
- withPager,
50
- pagerOptions
51
- } = actionsProps;
52
- const { currentSize } = useComponentSize(size);
53
36
  const refDataGrid = useRef(null);
54
37
  const classRoot = getComponentSlotRoot(DATAGRID_PREFIX_NAME);
55
38
  const ownerState = {
56
39
  visibleCustomHeader
57
40
  };
58
- const isSkeleton = useModuleSkeleton();
59
41
  return /* @__PURE__ */ jsx(
60
42
  DataGridRootStyled,
61
43
  {
@@ -63,8 +45,7 @@ function DataGrid(props) {
63
45
  className: classRoot,
64
46
  ...process.env.NODE_ENV !== "production" ? {
65
47
  [TEST_PROP_COLUMNS]: JSON.stringify(columns),
66
- [TEST_PROP_ID]: getNameDataTestId(DATAGRID_PREFIX_NAME, "root", dataTestId),
67
- [TEST_SKELETON]: isSkeleton ? true : false
48
+ [TEST_PROP_ID]: getNameDataTestId(DATAGRID_PREFIX_NAME, "root", dataTestId)
68
49
  } : {},
69
50
  children: /* @__PURE__ */ jsx(
70
51
  DataGridProvider,
@@ -82,13 +63,12 @@ function DataGrid(props) {
82
63
  rows,
83
64
  onChangeUserColumns,
84
65
  defaultUserColumns,
85
- size: currentSize,
86
66
  children: /* @__PURE__ */ jsxs(FilterProvider, { initialActiveFilters: false, children: [
87
67
  withActions && actionsProps && /* @__PURE__ */ jsx(
88
- HeaderActions,
68
+ Actions,
89
69
  {
90
- ...{ withSettings, settingsProps, withRowsCount, withLocalFilters, leftActions, rightActions, withPager, pagerOptions },
91
- size: currentSize
70
+ ...actionsProps,
71
+ columns
92
72
  }
93
73
  ),
94
74
  CustomHeader ? /* @__PURE__ */ jsx(CustomHeaderStyled, { ownerState, children: CustomHeader }) : null,
@@ -104,8 +84,7 @@ function DataGrid(props) {
104
84
  rowKeyGetter,
105
85
  onRowsChange
106
86
  }
107
- ),
108
- withPager && /* @__PURE__ */ jsx(ControlNavigate, { size: currentSize, ...{ withPager, pagerOptions } })
87
+ )
109
88
  ] })
110
89
  }
111
90
  )
@@ -1,7 +1,6 @@
1
1
  export declare const DATAGRID_PREFIX_NAME = "M4LDataGrid";
2
2
  export declare const DATAGRID_SELECT_COLUMN_KEY = "M4LDataGrid-CheckedColumn";
3
3
  export declare const DATAGRID_ACTIONS_COLUMN_KEY = "M4LDataGrid-ActionsColumn";
4
- export declare const TEST_SKELETON = "data-skeleton";
5
4
  export declare enum DATAGRID_SEMANTIC_WIDTHS {
6
5
  actions = 40,
7
6
  bigChip = 190,
@@ -1,7 +1,6 @@
1
1
  const DATAGRID_PREFIX_NAME = "M4LDataGrid";
2
2
  const DATAGRID_SELECT_COLUMN_KEY = "M4LDataGrid-CheckedColumn";
3
3
  const DATAGRID_ACTIONS_COLUMN_KEY = "M4LDataGrid-ActionsColumn";
4
- const TEST_SKELETON = "data-skeleton";
5
4
  var DATAGRID_SEMANTIC_WIDTHS = /* @__PURE__ */ ((DATAGRID_SEMANTIC_WIDTHS2) => {
6
5
  DATAGRID_SEMANTIC_WIDTHS2[DATAGRID_SEMANTIC_WIDTHS2["actions"] = 40] = "actions";
7
6
  DATAGRID_SEMANTIC_WIDTHS2[DATAGRID_SEMANTIC_WIDTHS2["bigChip"] = 190] = "bigChip";
@@ -26,7 +25,6 @@ var DATAGRID_SEMANTIC_WIDTHS = /* @__PURE__ */ ((DATAGRID_SEMANTIC_WIDTHS2) => {
26
25
  })(DATAGRID_SEMANTIC_WIDTHS || {});
27
26
  export {
28
27
  DATAGRID_PREFIX_NAME as D,
29
- TEST_SKELETON as T,
30
28
  DATAGRID_SELECT_COLUMN_KEY as a,
31
29
  DATAGRID_SEMANTIC_WIDTHS as b,
32
30
  DATAGRID_ACTIONS_COLUMN_KEY as c
@@ -2,9 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useState, useMemo, useEffect, useCallback, createContext } from "react";
3
3
  import { c as castMapColumnsWidthToRecord } from "../../helpers/castMapColumnsWidthToRecord.js";
4
4
  import { useFirstRender } from "@m4l/graphics";
5
- import { g as getComponentClasses } from "../../../../utils/getComponentSlotRoot.js";
6
- import { D as DATAGRID_PREFIX_NAME } from "../../constants.js";
7
- import { C as ControlNavigateSlots, a as ColumnsConfigSlots, T as TextEditorSlots, b as TableSlots, R as RowsCountSlots, A as ActionsSlots, D as DataGridSlots } from "../../slots/DataGridEnum.js";
5
+ import { deepEqual } from "fast-equals";
8
6
  const DataGridContext = createContext(null);
9
7
  const getColumnConfigByKey = (key, storeColumnsConfig) => {
10
8
  let indexFind = -1;
@@ -42,7 +40,7 @@ function getColumnsConfig(id, columns, defaultUserColumns = void 0) {
42
40
  index: columnConfigIndex > -1 ? columnConfigIndex : index,
43
41
  visible: columnConfig.visible === void 0 ? true : columnConfig.visible,
44
42
  frozen: columnConfig.frozen ?? false,
45
- orginalIndex: index,
43
+ originalIndex: index,
46
44
  originalVisible: column.visible === void 0 ? true : column.visible,
47
45
  originalFrozen: column.frozen ?? false
48
46
  };
@@ -110,28 +108,15 @@ function DataGridProvider(props) {
110
108
  rows,
111
109
  rowsCount,
112
110
  rowActionsGetter,
113
- rowHeights = [32, 40, 48],
114
- rowHeaderHeights = [32, 40, 48],
115
- initialRowHeightVariant = "standard",
111
+ rowHeights = [28, 32, 40],
112
+ rowHeaderHeights = [28, 32, 40],
113
+ initialRowHeightVariant = "compact",
116
114
  checkedRows,
117
115
  onCheckedRowsChange,
118
116
  rowKeyGetter,
119
- onChangeUserColumns,
120
- size
117
+ onChangeUserColumns
121
118
  } = props;
122
- const isFirstRender = useFirstRender();
123
- const classes = getComponentClasses(
124
- DATAGRID_PREFIX_NAME,
125
- {
126
- ...DataGridSlots,
127
- ...ActionsSlots,
128
- ...RowsCountSlots,
129
- ...TableSlots,
130
- ...TextEditorSlots,
131
- ...ColumnsConfigSlots,
132
- ...ControlNavigateSlots
133
- }
134
- );
119
+ const isFirstRender = useFirstRender([columns, id]);
135
120
  const [columnsWidths, setColumnsWidths] = useState(
136
121
  /* @__PURE__ */ new Map()
137
122
  );
@@ -170,13 +155,43 @@ function DataGridProvider(props) {
170
155
  }, [defaultUserColumns]);
171
156
  useEffect(() => {
172
157
  if (!isFirstRender) {
158
+ const finalColumnsConfig = [];
159
+ for (let i = 0; i < columnsConfig.length; i++) {
160
+ const columnIndex = columns.findIndex((c) => c.key === columnsConfig[i]?.key);
161
+ if (columnIndex !== -1) {
162
+ const column = columns[columnIndex];
163
+ finalColumnsConfig.push({
164
+ ...columnsConfig[i],
165
+ // name: column.name as string,
166
+ originalIndex: columnIndex,
167
+ originalFrozen: column.frozen ?? false,
168
+ originalVisible: column.visible ?? true
169
+ });
170
+ }
171
+ }
173
172
  const newColumns = columns.filter((column, index) => column.key !== columnsConfig[index]?.key);
174
- const newColConfig = getColumnsConfig(id, newColumns).map((column, index) => {
175
- const indexNewCol = index + columnsConfig.length;
176
- return { ...column, index: indexNewCol, orginalIndex: indexNewCol };
177
- });
178
- columnsConfig.push(...newColConfig);
179
- setColumnsWidths((prevColumnsWidth) => new Map([...prevColumnsWidth, ...getColumnsWidth(id, newColumns, defaultUserColumns)]));
173
+ if (newColumns.length > 0) {
174
+ const colLength = finalColumnsConfig.length;
175
+ const newColConfig = getColumnsConfig(id, newColumns).map((columnConfig, index) => {
176
+ const columnIndex = columns.findIndex((c) => c.key === newColumns[index].key);
177
+ const column = newColumns[index];
178
+ const indexNewCol = index + colLength;
179
+ return {
180
+ ...columnConfig,
181
+ index: indexNewCol,
182
+ name: column.name,
183
+ originalIndex: columnIndex,
184
+ originalFrozen: column.frozen ?? false,
185
+ originalVisible: column.visible ?? true
186
+ };
187
+ });
188
+ finalColumnsConfig.push(...newColConfig);
189
+ }
190
+ if (deepEqual(columnsConfig, finalColumnsConfig)) {
191
+ return;
192
+ }
193
+ console.log("useEffect columnsConfig changed", columnsConfig, finalColumnsConfig);
194
+ setColumnsConfigOptions(finalColumnsConfig);
180
195
  }
181
196
  }, [columns, id]);
182
197
  const onChangeColumnsConfig = useCallback(
@@ -250,9 +265,7 @@ function DataGridProvider(props) {
250
265
  setRowHeightVariant: setCurrentRowHeightInternal,
251
266
  onCheckedRowsChange,
252
267
  rowKeyGetter,
253
- onChangeUserColumns,
254
- classes,
255
- size
268
+ onChangeUserColumns
256
269
  },
257
270
  children
258
271
  }
@@ -1,17 +1,15 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { RowKey, RowHeightVariants, GridProps } from '../../types';
3
3
  import { Maybe } from '@m4l/core';
4
- import { ActionsSlots, ColumnsConfigSlots, ControlNavigateSlots, DataGridSlots, RowsCountSlots, TableSlots, TextEditorSlots } from '../../slots/DataGridEnum';
5
4
  export interface BaseConfigColumn {
6
5
  key: string;
7
6
  visible: boolean;
8
7
  index: number;
9
8
  frozen: boolean;
10
- name: string;
11
9
  }
12
10
  export interface IConfigColumn extends BaseConfigColumn {
13
11
  hidden: boolean;
14
- orginalIndex: number;
12
+ originalIndex: number;
15
13
  originalVisible: boolean;
16
14
  originalFrozen: boolean;
17
15
  }
@@ -23,7 +21,6 @@ export interface DataGridProviderProps<TRow, TSummaryRow, TKey extends RowKey =
23
21
  id: number | string;
24
22
  children: ReactNode;
25
23
  rowsCount: number;
26
- size: GridProps<any, any, any>['size'];
27
24
  }
28
25
  export type RowHeightState = {
29
26
  rowHVariant: RowHeightVariants;
@@ -41,6 +38,4 @@ export interface DataGridContextProps<TRow, TSummaryRow, TKey extends RowKey = R
41
38
  onChangeColumnsConfig: (newColumnsConfig: IConfigColumn[]) => void;
42
39
  onChangeColumnsOrder: (sourceKey: string, targetKey: string) => void;
43
40
  onChangeColumnWidth: (columnKey: string, width: number) => void;
44
- classes?: Record<DataGridSlots | ActionsSlots | RowsCountSlots | TableSlots | TextEditorSlots | ColumnsConfigSlots | ControlNavigateSlots, string>;
45
- size: GridProps<any, any, any>['size'];
46
41
  }
@@ -1,8 +1,9 @@
1
+ export declare const DATAGRID_DICTIONARY_ID = "data_grid";
1
2
  /**
2
3
  * TODO: Documentar
3
4
  */
4
5
  export declare function getDataGridComponentsDictionary(): string[];
5
- export declare const dictionary: {
6
+ export declare const DICTIONARY: {
6
7
  LABEL_ACTIONS: string;
7
8
  LABEL_ROWS_PER_PAGE: string;
8
9
  LABEL_OF: string;
@@ -1,30 +1,31 @@
1
1
  import { g as getMenuActionsComponentsDictionary } from "../MenuActions/dictionary.js";
2
2
  import { g as getModalDictionary } from "../ModalDialog/dictionary.js";
3
3
  import { g as getPagerComponentsDictionary } from "../Pager/dicctionary.js";
4
+ const DATAGRID_DICTIONARY_ID = "data_grid";
4
5
  function getDataGridComponentsDictionary() {
5
- return ["data_grid"].concat(getPagerComponentsDictionary()).concat(getMenuActionsComponentsDictionary()).concat(getModalDictionary());
6
+ return [DATAGRID_DICTIONARY_ID].concat(getPagerComponentsDictionary()).concat(getMenuActionsComponentsDictionary()).concat(getModalDictionary());
6
7
  }
7
- const dictionary = {
8
- DENSITY_COMPACT: `${getDataGridComponentsDictionary()[0]}.density_compact`,
9
- DENSITY_STANDARD: `${getDataGridComponentsDictionary()[0]}.density_standard`,
10
- DENSITY_CONFORTABLE: `${getDataGridComponentsDictionary()[0]}.density_confortable`,
11
- DENSITY_TOOLTIP: `${getDataGridComponentsDictionary()[0]}.tooltip_density`,
12
- TOOLTIP_FILTER_HIDE: `${getDataGridComponentsDictionary()[0]}.tooltip_filter_hide`,
13
- TOOLTIP_FILTER_SHOW: `${getDataGridComponentsDictionary()[0]}.tooltip_filter_show`,
14
- SETTINGS_COLUMN_NAME: `${getDataGridComponentsDictionary()[0]}.settings_column_name`,
15
- SETTINGS_COLUMN_POSITION: `${getDataGridComponentsDictionary()[0]}.settings_column_position`,
16
- SETTINGS_COLUMN_VISIBLE: `${getDataGridComponentsDictionary()[0]}.settings_column_visible`,
17
- SETTINGS_COLUMNS_FROZEN: `${getDataGridComponentsDictionary()[0]}.settings_column_frozen`,
18
- SETTINGS_SEL_COLUMNS: `${getDataGridComponentsDictionary()[0]}.settings_sel_columns`,
19
- SETTINGS_MOVE_FIRST: `${getDataGridComponentsDictionary()[0]}.settings_move_first`,
20
- SETTINGS_MOVE_UP: `${getDataGridComponentsDictionary()[0]}.settings_move_up`,
21
- SETTINGS_MOVE_LAST: `${getDataGridComponentsDictionary()[0]}.settings_move_last`,
22
- SETTINGS_MOVE_DOWN: `${getDataGridComponentsDictionary()[0]}.settings_move_down`,
23
- SETTINGS_VISIBLE_ALL: `${getDataGridComponentsDictionary()[0]}.settings_visible_all`,
24
- SETTINGS_NO_VISIBLE_ALL: `${getDataGridComponentsDictionary()[0]}.settings_no_visible_all`,
25
- SETTINGS_RESTORE: `${getDataGridComponentsDictionary()[0]}.settings_restore`
8
+ const DICTIONARY = {
9
+ DENSITY_COMPACT: `${DATAGRID_DICTIONARY_ID}.density_compact`,
10
+ DENSITY_STANDARD: `${DATAGRID_DICTIONARY_ID}.density_standard`,
11
+ DENSITY_CONFORTABLE: `${DATAGRID_DICTIONARY_ID}.density_confortable`,
12
+ DENSITY_TOOLTIP: `${DATAGRID_DICTIONARY_ID}.tooltip_density`,
13
+ TOOLTIP_FILTER_HIDE: `${DATAGRID_DICTIONARY_ID}.tooltip_filter_hide`,
14
+ TOOLTIP_FILTER_SHOW: `${DATAGRID_DICTIONARY_ID}.tooltip_filter_show`,
15
+ SETTINGS_COLUMN_NAME: `${DATAGRID_DICTIONARY_ID}.settings_column_name`,
16
+ SETTINGS_COLUMN_POSITION: `${DATAGRID_DICTIONARY_ID}.settings_column_position`,
17
+ SETTINGS_COLUMN_VISIBLE: `${DATAGRID_DICTIONARY_ID}.settings_column_visible`,
18
+ SETTINGS_COLUMNS_FROZEN: `${DATAGRID_DICTIONARY_ID}.settings_column_frozen`,
19
+ SETTINGS_SEL_COLUMNS: `${DATAGRID_DICTIONARY_ID}.settings_sel_columns`,
20
+ SETTINGS_MOVE_FIRST: `${DATAGRID_DICTIONARY_ID}.settings_move_first`,
21
+ SETTINGS_MOVE_UP: `${DATAGRID_DICTIONARY_ID}.settings_move_up`,
22
+ SETTINGS_MOVE_LAST: `${DATAGRID_DICTIONARY_ID}.settings_move_last`,
23
+ SETTINGS_MOVE_DOWN: `${DATAGRID_DICTIONARY_ID}.settings_move_down`,
24
+ SETTINGS_VISIBLE_ALL: `${DATAGRID_DICTIONARY_ID}.settings_visible_all`,
25
+ SETTINGS_NO_VISIBLE_ALL: `${DATAGRID_DICTIONARY_ID}.settings_no_visible_all`,
26
+ SETTINGS_RESTORE: `${DATAGRID_DICTIONARY_ID}.settings_restore`
26
27
  };
27
28
  export {
28
- dictionary as d,
29
+ DICTIONARY as D,
29
30
  getDataGridComponentsDictionary as g
30
31
  };
@@ -24,6 +24,7 @@ function ColumnIconFormatter(props) {
24
24
  children: /* @__PURE__ */ jsx(
25
25
  IconStyled,
26
26
  {
27
+ ownerState: {},
27
28
  src: iconUrl,
28
29
  onClick,
29
30
  tooltipContent: tooltip,
@@ -37,6 +38,7 @@ function ColumnIconFormatter(props) {
37
38
  return /* @__PURE__ */ jsx(
38
39
  IconStyled,
39
40
  {
41
+ ownerState: {},
40
42
  src: iconUrl,
41
43
  onClick,
42
44
  tooltipContent: tooltip,
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { C as CheckBox } from "../../../mui_extended/CheckBox/CheckBox.js";
2
+ import { Checkbox } from "@mui/material";
3
3
  function ColumnInteractiveCheckFormatter(props) {
4
4
  const { row, onRowChange, column } = props;
5
5
  const handleChange = () => {
@@ -8,7 +8,7 @@ function ColumnInteractiveCheckFormatter(props) {
8
8
  onRowChange(newRow);
9
9
  };
10
10
  return /* @__PURE__ */ jsx(
11
- CheckBox,
11
+ Checkbox,
12
12
  {
13
13
  size: "small",
14
14
  checked: row[column.key] || false,
@@ -12,5 +12,4 @@ export declare const pathIcons: {
12
12
  checkAll: string;
13
13
  uncheckAll: string;
14
14
  restoreColumns: string;
15
- search: string;
16
15
  };
@@ -2,8 +2,8 @@ const pathIcons = {
2
2
  compact: "frontend/components/data_grid/assets/icons/compact.svg",
3
3
  standard: "frontend/components/data_grid/assets/icons/standard.svg",
4
4
  confortable: "frontend/components/data_grid/assets/icons/confortable.svg",
5
- filter: "frontend/components/data_grid/assets/icons/list-filter.svg",
6
- configuration: "frontend/components/data_grid/assets/icons/settings.svg",
5
+ filter: "frontend/components/data_grid/assets/icons/filter.svg",
6
+ configuration: "frontend/components/data_grid/assets/icons/configuration.svg",
7
7
  menu: "frontend/components/data_grid/assets/icons/menu.svg",
8
8
  moveFirstPlace: "frontend/components/data_grid/assets/icons/move_first_place.svg",
9
9
  moveUpPlace: "frontend/components/data_grid/assets/icons/move_up_place.svg",
@@ -11,8 +11,7 @@ const pathIcons = {
11
11
  moveDownPlace: "frontend/components/data_grid/assets/icons/move_down_place.svg",
12
12
  checkAll: "frontend/components/data_grid/assets/icons/check_all.svg",
13
13
  uncheckAll: "frontend/components/data_grid/assets/icons/uncheck_all.svg",
14
- restoreColumns: "frontend/components/data_grid/assets/icons/restore_columns.svg",
15
- search: "frontend/components/data_grid/assets/icons/search.svg"
14
+ restoreColumns: "frontend/components/data_grid/assets/icons/restore_columns.svg"
16
15
  };
17
16
  export {
18
17
  pathIcons as p
@@ -4,8 +4,6 @@ export declare enum DataGridSlots {
4
4
  }
5
5
  export declare enum ActionsSlots {
6
6
  actionsRoot = "actionsRoot",
7
- containerLeftActions = "containerLeftActions",
8
- containerRightActions = "containerRightActions",
9
7
  actionsConfigContainer = "actionsConfigContainer"
10
8
  }
11
9
  export declare enum RowsCountSlots {
@@ -17,7 +15,6 @@ export declare enum TableSlots {
17
15
  tableContaniner = "tableContaniner",
18
16
  tableWrapperDataGrid = "tableWrapperDataGrid",
19
17
  draggableHeaderRoot = "draggableHeaderRoot",
20
- iconSearch = "iconSearch",
21
18
  draggableWrapperInputBase = "draggableWrapperInputBase",
22
19
  headerInputBase = "headerInputBase",
23
20
  wrapperSkeleton = "wrapperSkeleton",
@@ -32,6 +29,3 @@ export declare enum ColumnsConfigSlots {
32
29
  columnsConfigDataGrid = "columnsConfigDataGrid",
33
30
  columnsConfigActios = "columnsConfigActios"
34
31
  }
35
- export declare enum ControlNavigateSlots {
36
- controlNavigate = "controlNavigate"
37
- }
@@ -5,8 +5,6 @@ var DataGridSlots = /* @__PURE__ */ ((DataGridSlots2) => {
5
5
  })(DataGridSlots || {});
6
6
  var ActionsSlots = /* @__PURE__ */ ((ActionsSlots2) => {
7
7
  ActionsSlots2["actionsRoot"] = "actionsRoot";
8
- ActionsSlots2["containerLeftActions"] = "containerLeftActions";
9
- ActionsSlots2["containerRightActions"] = "containerRightActions";
10
8
  ActionsSlots2["actionsConfigContainer"] = "actionsConfigContainer";
11
9
  return ActionsSlots2;
12
10
  })(ActionsSlots || {});
@@ -20,7 +18,6 @@ var TableSlots = /* @__PURE__ */ ((TableSlots2) => {
20
18
  TableSlots2["tableContaniner"] = "tableContaniner";
21
19
  TableSlots2["tableWrapperDataGrid"] = "tableWrapperDataGrid";
22
20
  TableSlots2["draggableHeaderRoot"] = "draggableHeaderRoot";
23
- TableSlots2["iconSearch"] = "iconSearch";
24
21
  TableSlots2["draggableWrapperInputBase"] = "draggableWrapperInputBase";
25
22
  TableSlots2["headerInputBase"] = "headerInputBase";
26
23
  TableSlots2["wrapperSkeleton"] = "wrapperSkeleton";
@@ -38,16 +35,11 @@ var ColumnsConfigSlots = /* @__PURE__ */ ((ColumnsConfigSlots2) => {
38
35
  ColumnsConfigSlots2["columnsConfigActios"] = "columnsConfigActios";
39
36
  return ColumnsConfigSlots2;
40
37
  })(ColumnsConfigSlots || {});
41
- var ControlNavigateSlots = /* @__PURE__ */ ((ControlNavigateSlots2) => {
42
- ControlNavigateSlots2["controlNavigate"] = "controlNavigate";
43
- return ControlNavigateSlots2;
44
- })(ControlNavigateSlots || {});
45
38
  export {
46
39
  ActionsSlots as A,
47
- ControlNavigateSlots as C,
40
+ ColumnsConfigSlots as C,
48
41
  DataGridSlots as D,
49
42
  RowsCountSlots as R,
50
43
  TextEditorSlots as T,
51
- ColumnsConfigSlots as a,
52
- TableSlots as b
44
+ TableSlots as a
53
45
  };
@@ -11,8 +11,6 @@ export declare const CustomHeaderStyled: import('@emotion/styled').StyledCompone
11
11
  * ****************
12
12
  */
13
13
  export declare const ActionsRootStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
14
- export declare const ContainerLeftActionsStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
15
- export declare const ContainerRightActionsStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
16
14
  export declare const ActionsConfigContainerStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
17
15
  /**
18
16
  * ****************
@@ -39,7 +37,6 @@ export declare const ColumnsConfigActiosStyled: import('@emotion/styled').Styled
39
37
  export declare const TableContainerStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
40
38
  export declare const TableWrapperDataGridStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
41
39
  export declare const DraggableHeaderRootStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
42
- export declare const IconSearchStyled: import('@emotion/styled').StyledComponent<any, {}, {}>;
43
40
  export declare const DraggableWrapperInputBaseStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
44
41
  export declare const HeaderInputBaseStyled: import('@emotion/styled').StyledComponent<any, {}, {}>;
45
42
  export declare const WrapperSkeletonStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -50,9 +47,3 @@ export declare const ContentModalSettingStyled: import('@emotion/styled').Styled
50
47
  * ****************
51
48
  */
52
49
  export declare const InputTextEditorStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import('react').ClassAttributes<HTMLInputElement> | keyof import('react').InputHTMLAttributes<HTMLInputElement>>, {}>;
53
- /**
54
- * ****************
55
- * Slots ControlNavigate
56
- * ****************
57
- */
58
- export declare const ControlNavigateStyled: import('@emotion/styled').StyledComponent<any, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -1,9 +1,8 @@
1
1
  import { styled } from "@mui/material/styles";
2
2
  import { InputBase } from "@mui/material";
3
3
  import { D as DATAGRID_PREFIX_NAME } from "../constants.js";
4
- import { D as DataGridSlots, T as TextEditorSlots, A as ActionsSlots, b as TableSlots, C as ControlNavigateSlots, R as RowsCountSlots, a as ColumnsConfigSlots } from "./DataGridEnum.js";
5
- import { d as dataGridStyles } from "../Datagrid.styles.js";
6
- import { I as Icon } from "../../Icon/Icon.js";
4
+ import { D as DataGridSlots, T as TextEditorSlots, A as ActionsSlots, a as TableSlots, R as RowsCountSlots, C as ColumnsConfigSlots } from "./DataGridEnum.js";
5
+ import { d as dataGridStyles } from "../styles.js";
7
6
  const DataGridRootStyled = styled("div", {
8
7
  name: DATAGRID_PREFIX_NAME,
9
8
  slot: DataGridSlots.datagridRoot
@@ -16,14 +15,6 @@ const ActionsRootStyled = styled("div", {
16
15
  name: DATAGRID_PREFIX_NAME,
17
16
  slot: ActionsSlots.actionsRoot
18
17
  })(dataGridStyles.actionsRoot);
19
- const ContainerLeftActionsStyled = styled("div", {
20
- name: DATAGRID_PREFIX_NAME,
21
- slot: ActionsSlots.containerLeftActions
22
- })(dataGridStyles.containerLeftActions);
23
- const ContainerRightActionsStyled = styled("div", {
24
- name: DATAGRID_PREFIX_NAME,
25
- slot: ActionsSlots.containerRightActions
26
- })(dataGridStyles.containerRightActions);
27
18
  const ActionsConfigContainerStyled = styled("div", {
28
19
  name: DATAGRID_PREFIX_NAME,
29
20
  slot: ActionsSlots.actionsConfigContainer
@@ -68,10 +59,6 @@ const DraggableHeaderRootStyled = styled("div", {
68
59
  name: DATAGRID_PREFIX_NAME,
69
60
  slot: TableSlots.draggableHeaderRoot
70
61
  })(dataGridStyles.draggableHeaderRoot);
71
- const IconSearchStyled = styled(Icon, {
72
- name: DATAGRID_PREFIX_NAME,
73
- slot: TableSlots.iconSearch
74
- })(dataGridStyles.iconSearch);
75
62
  const DraggableWrapperInputBaseStyled = styled("div", {
76
63
  name: DATAGRID_PREFIX_NAME,
77
64
  slot: TableSlots.draggableWrapperInputBase
@@ -92,32 +79,24 @@ const InputTextEditorStyled = styled("input", {
92
79
  name: DATAGRID_PREFIX_NAME,
93
80
  slot: TextEditorSlots.inputTexEditor
94
81
  })(dataGridStyles.inputTexEditor);
95
- const ControlNavigateStyled = styled("div", {
96
- name: DATAGRID_PREFIX_NAME,
97
- slot: ControlNavigateSlots.controlNavigate
98
- })(dataGridStyles.controlNavigate);
99
82
  export {
100
83
  ActionsRootStyled as A,
101
84
  CustomHeaderStyled as C,
102
85
  DataGridRootStyled as D,
103
86
  HeaderInputBaseStyled as H,
104
- IconSearchStyled as I,
87
+ InputTextEditorStyled as I,
105
88
  RowsCountRootStyled as R,
106
89
  TableWrapperDataGridStyled as T,
107
90
  WrapperSkeletonStyled as W,
108
- ControlNavigateStyled as a,
109
- ActionsConfigContainerStyled as b,
110
- ContainerLeftActionsStyled as c,
111
- ContainerRightActionsStyled as d,
112
- RowsCountLabelStyled as e,
113
- RowsCountValueStyled as f,
114
- ColumnsConfigWrapperStyled as g,
115
- ColumnsConfigDataGridStyled as h,
116
- ColumnsConfigSelColumnsStyled as i,
117
- ColumnsConfigActiosStyled as j,
118
- ContentModalSettingStyled as k,
119
- TableContainerStyled as l,
120
- DraggableHeaderRootStyled as m,
121
- DraggableWrapperInputBaseStyled as n,
122
- InputTextEditorStyled as o
91
+ ActionsConfigContainerStyled as a,
92
+ RowsCountLabelStyled as b,
93
+ RowsCountValueStyled as c,
94
+ ColumnsConfigWrapperStyled as d,
95
+ ColumnsConfigSelColumnsStyled as e,
96
+ ColumnsConfigDataGridStyled as f,
97
+ ColumnsConfigActiosStyled as g,
98
+ ContentModalSettingStyled as h,
99
+ TableContainerStyled as i,
100
+ DraggableHeaderRootStyled as j,
101
+ DraggableWrapperInputBaseStyled as k
123
102
  };