@m4l/components 9.3.34-BE20251127-beta.1 → 9.3.34-JT20251210-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/@types/export.d.ts +6 -0
  2. package/@types/types.d.ts +60 -6
  3. package/components/AccountPopover/AccountPopover.styles.js +5 -2
  4. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +6 -6
  5. package/components/ActionsGroup/ActionsGroup.d.ts +5 -0
  6. package/components/ActionsGroup/ActionsGroup.js +40 -0
  7. package/components/ActionsGroup/ActionsGroup.styles.d.ts +2 -0
  8. package/components/ActionsGroup/ActionsGroup.styles.js +95 -0
  9. package/components/ActionsGroup/__tests__/ActionsGroup.test.d.ts +1 -0
  10. package/components/ActionsGroup/constants.d.ts +2 -0
  11. package/components/ActionsGroup/constants.js +8 -0
  12. package/components/ActionsGroup/icons.d.ts +3 -0
  13. package/components/ActionsGroup/icons.js +6 -0
  14. package/components/ActionsGroup/index.d.ts +1 -0
  15. package/components/ActionsGroup/slots/ActionsGroupEnum.d.ts +8 -0
  16. package/components/ActionsGroup/slots/ActionsGroupEnum.js +12 -0
  17. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +15 -0
  18. package/components/ActionsGroup/slots/ActionsGroupSlots.js +35 -0
  19. package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.d.ts +6 -0
  20. package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.js +76 -0
  21. package/components/ActionsGroup/subcomponents/ActionIconButton/types.d.ts +7 -0
  22. package/components/ActionsGroup/types.d.ts +60 -0
  23. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  24. package/components/CheckableList/CheckableList.d.ts +20 -0
  25. package/components/CheckableList/CheckableList.js +225 -0
  26. package/components/CheckableList/CheckableList.styles.d.ts +2 -0
  27. package/components/CheckableList/CheckableList.styles.js +247 -0
  28. package/components/CheckableList/constants.d.ts +5 -0
  29. package/components/CheckableList/constants.js +17 -0
  30. package/components/CheckableList/dictionary.d.ts +14 -0
  31. package/components/CheckableList/dictionary.js +14 -0
  32. package/components/CheckableList/hooks/index.d.ts +6 -0
  33. package/components/CheckableList/hooks/useCheckableListHandlers.d.ts +21 -0
  34. package/components/CheckableList/hooks/useCheckableListHandlers.js +66 -0
  35. package/components/CheckableList/hooks/useCheckableListItems.d.ts +19 -0
  36. package/components/CheckableList/hooks/useCheckableListItems.js +79 -0
  37. package/components/CheckableList/hooks/useCheckableListRender.d.ts +52 -0
  38. package/components/CheckableList/hooks/useCheckableListRender.js +223 -0
  39. package/components/CheckableList/hooks/useCheckableListSelection.d.ts +19 -0
  40. package/components/CheckableList/hooks/useCheckableListSelection.js +69 -0
  41. package/components/CheckableList/hooks/useCheckableListState.d.ts +17 -0
  42. package/components/CheckableList/hooks/useCheckableListState.js +59 -0
  43. package/components/CheckableList/hooks/useCheckableListVirtualization.d.ts +14 -0
  44. package/components/CheckableList/hooks/useCheckableListVirtualization.js +42 -0
  45. package/components/CheckableList/icons.d.ts +5 -0
  46. package/components/CheckableList/icons.js +8 -0
  47. package/components/CheckableList/index.d.ts +3 -0
  48. package/components/CheckableList/slots/index.d.ts +2 -0
  49. package/components/CheckableList/slots/index.js +1 -0
  50. package/components/CheckableList/slots/slots.d.ts +26 -0
  51. package/components/CheckableList/slots/slots.js +30 -0
  52. package/components/CheckableList/slots/styled.d.ts +72 -0
  53. package/components/CheckableList/slots/styled.js +130 -0
  54. package/components/CheckableList/types.d.ts +277 -0
  55. package/components/Chip/slots/ChipSlots.d.ts +2 -2
  56. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  57. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.js +1 -1
  58. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  59. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  60. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  61. package/components/ContainerFlow/ContainerFlow.js +1 -1
  62. package/components/DataGrid/DataGrid.js +9 -1
  63. package/components/DataGrid/Datagrid.styles.js +169 -72
  64. package/components/DataGrid/constants.d.ts +13 -0
  65. package/components/DataGrid/constants.js +11 -0
  66. package/components/DataGrid/contexts/DataGridContext/index.js +62 -275
  67. package/components/DataGrid/contexts/DataGridContext/types.d.ts +24 -23
  68. package/components/DataGrid/dictionary.d.ts +1 -0
  69. package/components/DataGrid/dictionary.js +2 -1
  70. package/components/DataGrid/formatters/ColumnColorFormatter/tests/ColumnColorFormatter.test.d.ts +1 -0
  71. package/components/DataGrid/formatters/ColumnColorFormatter/tests/useColumnColor.test.d.ts +1 -0
  72. package/components/DataGrid/formatters/ColumnImageFormatter/ImageFormatterCell.d.ts +13 -0
  73. package/components/DataGrid/formatters/ColumnImageFormatter/ImageFormatterCell.js +33 -0
  74. package/components/DataGrid/formatters/ColumnImageFormatter/constants.d.ts +6 -0
  75. package/components/DataGrid/formatters/ColumnImageFormatter/constants.js +6 -0
  76. package/components/DataGrid/formatters/ColumnImageFormatter/formatter.d.ts +8 -0
  77. package/components/DataGrid/formatters/ColumnImageFormatter/formatter.js +25 -0
  78. package/components/DataGrid/formatters/ColumnImageFormatter/index.d.ts +3 -0
  79. package/components/DataGrid/formatters/ColumnImageFormatter/index.js +1 -0
  80. package/components/DataGrid/formatters/ColumnImageFormatter/tests/ColumnImageFormatter.test.d.ts +1 -0
  81. package/components/DataGrid/formatters/ColumnImageFormatter/types.d.ts +44 -0
  82. package/components/DataGrid/formatters/ColumnImageFormatter/types.js +1 -0
  83. package/components/DataGrid/formatters/ColumnImageFormatter/useColumnImage.d.ts +9 -0
  84. package/components/DataGrid/formatters/ColumnImageFormatter/useColumnImage.js +22 -0
  85. package/components/DataGrid/formatters/ColumnTagsFormatter/tests/ColumnTagsFormatter.test.d.ts +1 -0
  86. package/components/DataGrid/formatters/ColumnTagsFormatter/tests/useColumnTags.test.d.ts +1 -0
  87. package/components/DataGrid/formatters/index.d.ts +1 -0
  88. package/components/DataGrid/helpers/getAllViewModes/getAllViewModes.d.ts +19 -0
  89. package/components/DataGrid/helpers/getAllViewModes/getAllViewModes.js +6 -0
  90. package/components/DataGrid/helpers/getAllViewModes/getAllViewModes.test.d.ts +1 -0
  91. package/components/DataGrid/helpers/getAllViewModes/index.d.ts +1 -0
  92. package/components/DataGrid/helpers/getAllViewModes/index.js +1 -0
  93. package/components/DataGrid/helpers/getColumnsWidth/getColumnsWidth.d.ts +47 -0
  94. package/components/DataGrid/helpers/getColumnsWidth/getColumnsWidth.js +32 -0
  95. package/components/DataGrid/helpers/getColumnsWidth/getColumnsWidth.test.d.ts +1 -0
  96. package/components/DataGrid/helpers/getColumnsWidth/index.d.ts +1 -0
  97. package/components/DataGrid/helpers/getColumnsWidth/index.js +1 -0
  98. package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.d.ts +24 -0
  99. package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.js +12 -0
  100. package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.test.d.ts +1 -0
  101. package/components/DataGrid/helpers/getIndexRowHeightVariant/index.d.ts +1 -0
  102. package/components/DataGrid/helpers/getIndexRowHeightVariant/index.js +1 -0
  103. package/components/DataGrid/helpers/getInitialColumnsConfig/getInitialColumnsConfig.d.ts +48 -0
  104. package/components/DataGrid/helpers/getInitialColumnsConfig/getInitialColumnsConfig.js +35 -0
  105. package/components/DataGrid/helpers/getInitialColumnsConfig/getInitialColumnsConfig.test.d.ts +1 -0
  106. package/components/DataGrid/helpers/getInitialColumnsConfig/index.d.ts +1 -0
  107. package/components/DataGrid/helpers/getInitialColumnsConfig/index.js +1 -0
  108. package/components/DataGrid/helpers/getViewMode/getViewMode.d.ts +41 -0
  109. package/components/DataGrid/helpers/getViewMode/getViewMode.js +19 -0
  110. package/components/DataGrid/helpers/getViewMode/getViewMode.test.d.ts +1 -0
  111. package/components/DataGrid/helpers/getViewMode/index.d.ts +1 -0
  112. package/components/DataGrid/helpers/getViewMode/index.js +1 -0
  113. package/components/DataGrid/helpers/getViewSpecificConfig/getViewSpecificConfig.d.ts +28 -0
  114. package/components/DataGrid/helpers/getViewSpecificConfig/getViewSpecificConfig.js +22 -0
  115. package/components/DataGrid/helpers/getViewSpecificConfig/getViewSpecificConfig.test.d.ts +1 -0
  116. package/components/DataGrid/helpers/getViewSpecificConfig/index.d.ts +1 -0
  117. package/components/DataGrid/helpers/getViewSpecificConfig/index.js +1 -0
  118. package/components/DataGrid/helpers/getViewSuffix/getViewSuffix.d.ts +24 -0
  119. package/components/DataGrid/helpers/getViewSuffix/getViewSuffix.js +9 -0
  120. package/components/DataGrid/helpers/getViewSuffix/getViewSuffix.test.d.ts +1 -0
  121. package/components/DataGrid/helpers/getViewSuffix/index.d.ts +1 -0
  122. package/components/DataGrid/helpers/getViewSuffix/index.js +1 -0
  123. package/components/DataGrid/helpers/index.d.ts +13 -0
  124. package/components/DataGrid/helpers/index.js +1 -0
  125. package/components/DataGrid/helpers/loadViewConfig/index.d.ts +1 -0
  126. package/components/DataGrid/helpers/loadViewConfig/index.js +1 -0
  127. package/components/DataGrid/helpers/loadViewConfig/loadViewConfig.d.ts +23 -0
  128. package/components/DataGrid/helpers/loadViewConfig/loadViewConfig.js +12 -0
  129. package/components/DataGrid/helpers/loadViewConfig/loadViewConfig.test.d.ts +1 -0
  130. package/components/DataGrid/helpers/saveColumnsWidth/index.d.ts +1 -0
  131. package/components/DataGrid/helpers/saveColumnsWidth/index.js +1 -0
  132. package/components/DataGrid/helpers/saveColumnsWidth/saveColumnsWidth.d.ts +52 -0
  133. package/components/DataGrid/helpers/saveColumnsWidth/saveColumnsWidth.js +18 -0
  134. package/components/DataGrid/helpers/saveColumnsWidth/saveColumnsWidth.test.d.ts +1 -0
  135. package/components/DataGrid/helpers/saveViewConfig/index.d.ts +1 -0
  136. package/components/DataGrid/helpers/saveViewConfig/index.js +1 -0
  137. package/components/DataGrid/helpers/saveViewConfig/saveViewConfig.d.ts +35 -0
  138. package/components/DataGrid/helpers/saveViewConfig/saveViewConfig.js +15 -0
  139. package/components/DataGrid/helpers/saveViewConfig/saveViewConfig.test.d.ts +1 -0
  140. package/components/DataGrid/helpers/saveViewMode/index.d.ts +1 -0
  141. package/components/DataGrid/helpers/saveViewMode/index.js +1 -0
  142. package/components/DataGrid/helpers/saveViewMode/saveViewMode.d.ts +33 -0
  143. package/components/DataGrid/helpers/saveViewMode/saveViewMode.js +13 -0
  144. package/components/DataGrid/helpers/saveViewMode/saveViewMode.test.d.ts +1 -0
  145. package/components/DataGrid/hooks/index.d.ts +6 -0
  146. package/components/DataGrid/hooks/index.js +1 -0
  147. package/components/DataGrid/hooks/useChangeColumnsConfig/index.d.ts +1 -0
  148. package/components/DataGrid/hooks/useChangeColumnsConfig/index.js +1 -0
  149. package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.d.ts +9 -0
  150. package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.js +27 -0
  151. package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.test.d.ts +1 -0
  152. package/components/DataGrid/hooks/useChangeColumnsOrder/index.d.ts +1 -0
  153. package/components/DataGrid/hooks/useChangeColumnsOrder/index.js +1 -0
  154. package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.d.ts +10 -0
  155. package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.js +34 -0
  156. package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.test.d.ts +1 -0
  157. package/components/DataGrid/hooks/useColumnsWidth/index.d.ts +1 -0
  158. package/components/DataGrid/hooks/useColumnsWidth/index.js +1 -0
  159. package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.d.ts +11 -0
  160. package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.js +29 -0
  161. package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.test.d.ts +1 -0
  162. package/components/DataGrid/hooks/useModalCardDetail.d.ts +1 -1
  163. package/components/DataGrid/hooks/useModalCardDetail.js +6 -1
  164. package/components/DataGrid/hooks/useRowHeight/index.d.ts +1 -0
  165. package/components/DataGrid/hooks/useRowHeight/index.js +1 -0
  166. package/components/DataGrid/hooks/useRowHeight/useRowHeight.d.ts +28 -0
  167. package/components/DataGrid/hooks/useRowHeight/useRowHeight.js +51 -0
  168. package/components/DataGrid/hooks/useRowHeight/useRowHeight.test.d.ts +1 -0
  169. package/components/DataGrid/hooks/useViewConfig/index.d.ts +1 -0
  170. package/components/DataGrid/hooks/useViewConfig/index.js +1 -0
  171. package/components/DataGrid/hooks/useViewConfig/useViewConfig.d.ts +9 -0
  172. package/components/DataGrid/hooks/useViewConfig/useViewConfig.js +30 -0
  173. package/components/DataGrid/hooks/useViewConfig/useViewConfig.test.d.ts +1 -0
  174. package/components/DataGrid/hooks/useViewMode/index.d.ts +1 -0
  175. package/components/DataGrid/hooks/useViewMode/index.js +1 -0
  176. package/components/DataGrid/hooks/useViewMode/useViewMode.d.ts +31 -0
  177. package/components/DataGrid/hooks/useViewMode/useViewMode.js +44 -0
  178. package/components/DataGrid/hooks/useViewMode/useViewMode.test.d.ts +1 -0
  179. package/components/DataGrid/icons.d.ts +1 -0
  180. package/components/DataGrid/icons.js +2 -1
  181. package/components/DataGrid/index.d.ts +5 -4
  182. package/components/DataGrid/slots/DataGridEnum.d.ts +4 -1
  183. package/components/DataGrid/slots/DataGridEnum.js +3 -0
  184. package/components/DataGrid/slots/DataGridSlot.d.ts +3 -0
  185. package/components/DataGrid/slots/DataGridSlot.js +48 -33
  186. package/components/DataGrid/subcomponents/Cards/helpers/calculateCardHeight.d.ts +5 -4
  187. package/components/DataGrid/subcomponents/Cards/helpers/calculateCardHeight.js +4 -1
  188. package/components/DataGrid/subcomponents/Cards/helpers/scrollToCardElement.js +2 -2
  189. package/components/DataGrid/subcomponents/Cards/hooks/useCardContent.d.ts +1 -1
  190. package/components/DataGrid/subcomponents/Cards/hooks/useCardContent.js +47 -5
  191. package/components/DataGrid/subcomponents/Cards/index.js +22 -6
  192. package/components/DataGrid/subcomponents/Cards/subcomponents/CardDetails/index.d.ts +1 -1
  193. package/components/DataGrid/subcomponents/Cards/subcomponents/CardDetails/index.js +57 -15
  194. package/components/DataGrid/subcomponents/Cards/subcomponents/CardHeader/index.js +16 -8
  195. package/components/DataGrid/subcomponents/Cards/subcomponents/CardRow/index.d.ts +2 -2
  196. package/components/DataGrid/subcomponents/Cards/subcomponents/CardRow/index.js +6 -1
  197. package/components/DataGrid/subcomponents/Cards/types.d.ts +16 -0
  198. package/components/DataGrid/subcomponents/CheckboxCellAdapter/index.js +5 -2
  199. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +1 -1
  200. package/components/DataGrid/subcomponents/HeaderActions/index.js +2 -2
  201. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Density/index.js +0 -3
  202. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/RowsCount/index.js +1 -1
  203. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +1 -1
  204. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfigCards/index.js +1 -1
  205. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/ViewMode/index.js +1 -1
  206. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +6 -2
  207. package/components/DataGrid/subcomponents/Table/index.js +11 -2
  208. package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +0 -3
  209. package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.js +1 -0
  210. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +39 -14
  211. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +1 -1
  212. package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.js +1 -1
  213. package/components/DataGrid/subcomponents/Table/subcomponents/RadioFormatter.d.ts +6 -0
  214. package/components/DataGrid/subcomponents/Table/subcomponents/RadioFormatter.js +12 -0
  215. package/components/DataGrid/subcomponents/Table/subcomponents/RadioSelectColumn.d.ts +64 -0
  216. package/components/DataGrid/subcomponents/Table/subcomponents/RadioSelectColumn.js +46 -0
  217. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  218. package/components/DataGrid/tests/helpers/types.d.ts +10 -0
  219. package/components/DataGrid/tests/table/subcomponents/RadioFormatter.test.d.ts +1 -0
  220. package/components/DataGrid/tests/table/subcomponents/RadioSelectColumn.test.d.ts +1 -0
  221. package/components/DataGrid/types.d.ts +49 -6
  222. package/components/DataGrid/types.helpers.d.ts +55 -0
  223. package/components/DataGrid/types.helpers.js +1 -0
  224. package/components/DataGrid/types.hooks.d.ts +81 -0
  225. package/components/DynamicFilter/DynamicFilter.styles.js +5 -2
  226. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  227. package/components/DynamicFilter/store/DynamicFilterContext.js +11 -0
  228. package/components/DynamicFilter/store/DynamicFilterStore.js +9 -0
  229. package/components/DynamicFilter/subcomponents/DynamicFilterBase/useDynamicFilterBase.d.ts +1 -1
  230. package/components/DynamicFilter/types.d.ts +4 -0
  231. package/components/DynamicSort/DynamicSort.styles.js +5 -2
  232. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  233. package/components/DynamicSort/store/DynamicSortStore.js +6 -0
  234. package/components/DynamicSort/subcomponents/DynamicSortBase/useDynamicSortBase.d.ts +1 -1
  235. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +3 -0
  236. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +3 -0
  237. package/components/DynamicSort/types.d.ts +4 -0
  238. package/components/EditLabel/constants.d.ts +1 -1
  239. package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
  240. package/components/GridLayout/styles.js +0 -1
  241. package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
  242. package/components/ImageText/constants.d.ts +1 -1
  243. package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
  244. package/components/Label/index.d.ts +1 -1
  245. package/components/Label/slots/LabelSlots.d.ts +3 -3
  246. package/components/Label/types.d.ts +6 -0
  247. package/components/LanguagePopover/LanguagePopover.styles.js +13 -4
  248. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  249. package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
  250. package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -2
  251. package/components/MFLoader/styles.js +0 -1
  252. package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
  253. package/components/ModalDialog/ModalDialog.styles.js +8 -1
  254. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  255. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  256. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +2 -2
  257. package/components/Pager/slots/PagerSlots.d.ts +3 -3
  258. package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
  259. package/components/PrintingSystem/PrintingSystem.js +3 -1
  260. package/components/PrintingSystem/PrintingSystem.styles.js +179 -2
  261. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +3 -3
  262. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  263. package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -3
  264. package/components/Stepper/Stepper.styles.js +13 -8
  265. package/{helpers → components/Stepper/helpers}/getStepsAndValidationSchema/getStepsAndValidationSchema.d.ts +4 -4
  266. package/{helpers → components/Stepper/helpers}/getStepsAndValidationSchema/getStepsAndValidationSchema.js +6 -12
  267. package/components/Stepper/helpers/getStepsAndValidationSchema/index.js +1 -0
  268. package/{helpers → components/Stepper/helpers}/getStepsAndValidationSchema/types.d.ts +6 -3
  269. package/components/Stepper/helpers/getStepsAndValidationSchema/types.js +1 -0
  270. package/components/Stepper/hooks/useDynamicValidation/index.d.ts +2 -1
  271. package/components/Stepper/hooks/useDynamicValidation/index.js +31 -6
  272. package/components/Stepper/index.d.ts +1 -0
  273. package/components/Stepper/slots/StepperSlot.d.ts +4 -4
  274. package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +12 -12
  275. package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
  276. package/components/WindowBase/WindowBase.styles.js +8 -0
  277. package/components/WindowBase/hooks/useDynamicMFParameters/index.d.ts +4 -4
  278. package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
  279. package/components/WindowBase/subcomponents/Header/useButtonActions.js +23 -13
  280. package/components/animate/variants/background.d.ts +9 -9
  281. package/components/animate/variants/bounce.d.ts +9 -9
  282. package/components/animate/variants/fade.d.ts +20 -20
  283. package/components/animate/variants/flip.d.ts +6 -6
  284. package/components/animate/variants/rotate.d.ts +3 -3
  285. package/components/animate/variants/scale.d.ts +6 -6
  286. package/components/animate/variants/slide.d.ts +16 -16
  287. package/components/animate/variants/transition.d.ts +3 -3
  288. package/components/animate/variants/zoom.d.ts +15 -15
  289. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +3 -3
  290. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +5 -0
  291. package/components/commercial/AppBarCommercial/styles.js +1 -3
  292. package/components/commercial/HamburgerMenu/styles.js +1 -3
  293. package/components/commercial/SectionCommercial/styles.d.ts +1 -1
  294. package/components/commercial/SectionCommercial/styles.js +1 -3
  295. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/index.js +1 -3
  296. package/components/commercial/TopBar/style.js +1 -3
  297. package/components/extended/React-Resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
  298. package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
  299. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +6 -6
  300. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -1
  301. package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
  302. package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
  303. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
  304. package/components/formatters/ImageFormatter/ImageFormatter.d.ts +10 -0
  305. package/components/formatters/ImageFormatter/ImageFormatter.js +72 -0
  306. package/components/formatters/ImageFormatter/ImageFormatter.styles.d.ts +2 -0
  307. package/components/formatters/ImageFormatter/ImageFormatter.styles.js +42 -0
  308. package/components/formatters/ImageFormatter/constants.d.ts +5 -0
  309. package/components/formatters/ImageFormatter/constants.js +10 -0
  310. package/components/formatters/ImageFormatter/index.d.ts +2 -0
  311. package/components/formatters/ImageFormatter/index.js +1 -0
  312. package/components/formatters/ImageFormatter/slots/ImageFormatterEnum.d.ts +5 -0
  313. package/components/formatters/ImageFormatter/slots/ImageFormatterEnum.js +9 -0
  314. package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +9 -0
  315. package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.js +23 -0
  316. package/components/formatters/ImageFormatter/tests/ImageFormatter.test.d.ts +1 -0
  317. package/components/formatters/ImageFormatter/types.d.ts +51 -0
  318. package/components/formatters/ImageFormatter/types.js +1 -0
  319. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
  320. package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
  321. package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
  322. package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
  323. package/components/formatters/index.d.ts +1 -0
  324. package/components/hook-form/RHFActionsGroup/RHFActionsGroup.d.ts +7 -0
  325. package/components/hook-form/RHFActionsGroup/RHFActionsGroup.js +87 -0
  326. package/components/hook-form/RHFActionsGroup/RHFActionsGroupStyles.d.ts +2 -0
  327. package/components/hook-form/RHFActionsGroup/RHFActionsGroupStyles.js +14 -0
  328. package/components/hook-form/RHFActionsGroup/constants.d.ts +9 -0
  329. package/components/hook-form/RHFActionsGroup/constants.js +8 -0
  330. package/components/hook-form/RHFActionsGroup/index.d.ts +2 -0
  331. package/components/hook-form/RHFActionsGroup/index.js +1 -0
  332. package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupEnum.d.ts +3 -0
  333. package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupEnum.js +7 -0
  334. package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.d.ts +1 -0
  335. package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.js +11 -0
  336. package/components/hook-form/RHFActionsGroup/slots/index.d.ts +2 -0
  337. package/components/hook-form/RHFActionsGroup/slots/index.js +1 -0
  338. package/components/hook-form/RHFActionsGroup/tests/RHFActionsGroup.test.d.ts +1 -0
  339. package/components/hook-form/RHFActionsGroup/tests/common.d.ts +28 -0
  340. package/components/hook-form/RHFActionsGroup/types.d.ts +54 -0
  341. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +2 -2
  342. package/components/hook-form/RHFCheckableList/RHFCheckableList.d.ts +7 -0
  343. package/components/hook-form/RHFCheckableList/RHFCheckableList.js +91 -0
  344. package/components/hook-form/RHFCheckableList/RHFCheckableList.styles.d.ts +2 -0
  345. package/components/hook-form/RHFCheckableList/RHFCheckableList.styles.js +30 -0
  346. package/components/hook-form/RHFCheckableList/constants.d.ts +8 -0
  347. package/components/hook-form/RHFCheckableList/constants.js +11 -0
  348. package/components/hook-form/RHFCheckableList/index.d.ts +2 -0
  349. package/components/hook-form/RHFCheckableList/index.js +1 -0
  350. package/components/hook-form/RHFCheckableList/slots/RHFCheckableListEnum.d.ts +6 -0
  351. package/components/hook-form/RHFCheckableList/slots/RHFCheckableListEnum.js +10 -0
  352. package/components/hook-form/RHFCheckableList/slots/RHFCheckableListSlots.d.ts +20 -0
  353. package/components/hook-form/RHFCheckableList/slots/RHFCheckableListSlots.js +29 -0
  354. package/components/hook-form/RHFCheckableList/slots/index.d.ts +2 -0
  355. package/components/hook-form/RHFCheckableList/types.d.ts +60 -0
  356. package/components/hook-form/RHFCheckbox/RHFCheckbox.js +2 -2
  357. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  358. package/components/hook-form/RHFColorPicker/RFHColorPicker.js +2 -2
  359. package/components/hook-form/RHFColorPicker/hooks/useColorPicker/useColorPicker.d.ts +1 -1
  360. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
  361. package/components/hook-form/RHFDatePicker/RHFDatePicker.js +2 -2
  362. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +3 -3
  363. package/components/hook-form/RHFDateTime/RHFDateTime.js +2 -2
  364. package/components/hook-form/RHFNumberInput/RHFNumberInput.js +2 -2
  365. package/components/hook-form/RHFPeriod/RHFPeriod.js +2 -2
  366. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  367. package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +4 -4
  368. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts +3 -3
  369. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +66 -24
  370. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.d.ts +5 -0
  371. package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.js +29 -0
  372. package/components/hook-form/RHFRadioGroup/constants.d.ts +5 -0
  373. package/components/hook-form/RHFRadioGroup/constants.js +8 -0
  374. package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts +2 -2
  375. package/components/hook-form/RHFRadioGroup/slots/slots.d.ts +5 -0
  376. package/components/hook-form/RHFRadioGroup/slots/slots.js +9 -0
  377. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +9 -0
  378. package/components/hook-form/RHFRadioGroup/slots/styled.js +20 -0
  379. package/components/hook-form/RHFRadioGroup/types.d.ts +55 -11
  380. package/components/hook-form/RHFSelect/RHFSelect.js +2 -2
  381. package/components/hook-form/RHFSelect/constants.d.ts +1 -1
  382. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  383. package/components/hook-form/RHFTextField/RHFTextField.js +2 -2
  384. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  385. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +2 -2
  386. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
  387. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +3 -1
  388. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
  389. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +5 -4
  390. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +4 -0
  391. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +6 -4
  392. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +1 -1
  393. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
  394. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +3 -2
  395. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/types.d.ts +1 -1
  396. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/UploadSingleFile/index.js +13 -4
  397. package/components/hook-form/RHFUpload/RHFUploadSingleFile/types.d.ts +4 -0
  398. package/components/hook-form/RHFormProvider/classes/index.d.ts +1 -1
  399. package/components/hook-form/RHFormProvider/styles.js +4 -3
  400. package/components/hook-form/index.d.ts +2 -0
  401. package/components/index.d.ts +2 -0
  402. package/components/mui_extended/Accordion/Accordion.js +3 -3
  403. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +3 -3
  404. package/components/mui_extended/Accordion/styles.js +8 -5
  405. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +11 -1
  406. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +6 -6
  407. package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
  408. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
  409. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +2 -2
  410. package/components/mui_extended/CheckBox/CheckBox.js +2 -0
  411. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
  412. package/components/mui_extended/DatePicker/constants.d.ts +1 -1
  413. package/components/mui_extended/DatePicker/slots/DatePickerSlots.d.ts +3 -3
  414. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +158 -129
  415. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +4 -4
  416. package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
  417. package/components/mui_extended/IconButton/constants.d.ts +1 -1
  418. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +1 -1
  419. package/components/mui_extended/ImageButton/styles.js +1 -3
  420. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  421. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  422. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +2 -2
  423. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +1 -1
  424. package/components/mui_extended/Popover/Popover.styles.js +6 -1
  425. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  426. package/components/mui_extended/Radio/Radio.d.ts +20 -0
  427. package/components/mui_extended/Radio/Radio.js +111 -0
  428. package/components/mui_extended/Radio/Radio.styles.d.ts +2 -0
  429. package/components/mui_extended/Radio/Radio.styles.js +101 -0
  430. package/components/mui_extended/Radio/constants.d.ts +2 -0
  431. package/components/mui_extended/Radio/constants.js +8 -0
  432. package/components/mui_extended/Radio/icons.d.ts +4 -0
  433. package/components/mui_extended/Radio/icons.js +7 -0
  434. package/components/mui_extended/Radio/index.d.ts +1 -0
  435. package/components/mui_extended/Radio/index.js +1 -0
  436. package/components/mui_extended/Radio/slots/slots.d.ts +6 -0
  437. package/components/mui_extended/Radio/slots/slots.js +10 -0
  438. package/components/mui_extended/Radio/slots/styled.d.ts +14 -0
  439. package/components/mui_extended/Radio/slots/styled.js +28 -0
  440. package/components/mui_extended/Radio/tests/Radio.test.d.ts +1 -0
  441. package/components/mui_extended/Radio/types.d.ts +53 -0
  442. package/components/mui_extended/Select/Select.js +2 -18
  443. package/components/mui_extended/Select/Select.styles.js +33 -1
  444. package/components/mui_extended/Select/constants.d.ts +2 -1
  445. package/components/mui_extended/Select/slots/SelectEnum.d.ts +2 -1
  446. package/components/mui_extended/Select/slots/SelectEnum.js +1 -0
  447. package/components/mui_extended/Select/slots/SelectSlots.d.ts +5 -5
  448. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  449. package/components/mui_extended/Stack/Stack.d.ts +1 -1
  450. package/components/mui_extended/Stack/Stack.js +5 -2
  451. package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
  452. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +2 -2
  453. package/components/mui_extended/TabContent/TabContent.styles.js +2 -2
  454. package/components/mui_extended/Tabs/Tabs.js +48 -2
  455. package/components/mui_extended/Tabs/Tabs.styles.js +52 -26
  456. package/components/mui_extended/Tabs/icons.d.ts +4 -0
  457. package/components/mui_extended/Tabs/icons.js +7 -0
  458. package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
  459. package/components/mui_extended/Tabs/types.d.ts +4 -1
  460. package/components/mui_extended/TextField/TextField.styles.js +2 -1
  461. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +4 -4
  462. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +3 -3
  463. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  464. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  465. package/components/mui_extended/Tooltip/Tooltip.styles.js +22 -4
  466. package/components/mui_extended/Tooltip/constants.d.ts +1 -1
  467. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  468. package/components/mui_extended/index.d.ts +1 -0
  469. package/hooks/useDataGridPersistence/constants.d.ts +2 -0
  470. package/hooks/useDataGridPersistence/constants.js +6 -2
  471. package/hooks/useDataGridPersistence/helpers.d.ts +5 -1
  472. package/hooks/useDataGridPersistence/helpers.js +8 -1
  473. package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts +11 -3
  474. package/hooks/useDataGridPersistence/useDataGridPersistence.js +65 -20
  475. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortEnum.d.ts +2 -1
  476. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortEnum.js +1 -0
  477. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -3
  478. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.js +6 -0
  479. package/hooks/useDynamicFilterAndSort/styles.js +23 -0
  480. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -0
  481. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +27 -21
  482. package/index.d.ts +0 -1
  483. package/index.js +258 -240
  484. package/package.json +1 -1
  485. package/components/DataGrid/formatters/ColumnIconFormatter/constants.d.ts +0 -4
  486. package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.js +0 -16
  487. package/helpers/index.d.ts +0 -1
  488. /package/{helpers/getStepsAndValidationSchema → components/ActionsGroup}/index.js +0 -0
  489. /package/{helpers → components/CheckableList/hooks}/index.js +0 -0
  490. /package/{helpers/getStepsAndValidationSchema/types.js → components/CheckableList/index.js} +0 -0
  491. /package/{helpers → components/Stepper/helpers}/getStepsAndValidationSchema/index.d.ts +0 -0
@@ -0,0 +1,95 @@
1
+ import { g as getSizeStyles } from "../../utils/getSizeStyles/getSizeStyles.js";
2
+ const actionsGroupStyles = {
3
+ /**
4
+ * Styles for the actions group root element.
5
+ */
6
+ root: ({ theme, ownerState }) => ({
7
+ display: "flex",
8
+ flexDirection: "row",
9
+ gap: theme.vars.size.baseSpacings.sp1,
10
+ padding: theme.vars.size.baseSpacings["sp0-5"],
11
+ borderRadius: theme.vars.size.borderRadius.r2,
12
+ backgroundColor: theme.vars.palette.default.enabledOpacity,
13
+ width: "fit-content",
14
+ height: "fit-content",
15
+ ...ownerState?.variant === "vertical" && {
16
+ flexDirection: "column"
17
+ },
18
+ ...ownerState?.variant === "horizontal" && {
19
+ flexDirection: "row"
20
+ }
21
+ }),
22
+ /**
23
+ * Styles for the action icon button element.
24
+ */
25
+ actionIconButton: ({ theme, ownerState }) => ({
26
+ "&&&": {
27
+ ...getSizeStyles(theme, ownerState?.size || "medium", "case", (size) => ({
28
+ width: size,
29
+ height: size
30
+ })),
31
+ ...ownerState?.disabled && {
32
+ "& .M4LIcon-root .M4LIcon-icon": {
33
+ backgroundColor: `${theme.vars.palette.text.disabled} !important`
34
+ }
35
+ },
36
+ ...ownerState?.itemSelected && {
37
+ backgroundColor: theme.vars.palette.background.default,
38
+ boxShadow: theme.vars.customShadows.z1,
39
+ "& .M4LIcon-root .M4LIcon-icon": {
40
+ backgroundColor: `${theme.vars.palette.primary.semanticText} !important`
41
+ }
42
+ },
43
+ ...!ownerState?.itemDisabled && !ownerState?.itemSelected && {
44
+ "& .M4LIcon-root .M4LIcon-icon": {
45
+ backgroundColor: `${theme.vars.palette.text.secondary} !important`
46
+ }
47
+ }
48
+ }
49
+ }),
50
+ /**
51
+ * Styles for the action icon button skeleton element.
52
+ */
53
+ actionIconButtonSkeleton: ({ theme, ownerState }) => ({
54
+ "&&&": {
55
+ borderRadius: theme.vars.size.borderRadius["r1-5"],
56
+ ...getSizeStyles(theme, ownerState?.size || "medium", "case", (size) => ({
57
+ width: `${size}!important`,
58
+ height: `${size}!important`
59
+ }))
60
+ }
61
+ }),
62
+ /**
63
+ * Styles for the icon tooltip message element.
64
+ */
65
+ iconTooltipMessage: {},
66
+ /**
67
+ * Styles for the text tooltip message element.
68
+ */
69
+ textTooltipMessage: ({ theme }) => ({
70
+ color: theme.vars.palette.text.contrastText
71
+ }),
72
+ /**
73
+ * Styles for the tooltip element.
74
+ */
75
+ tooltip: ({ theme }) => ({
76
+ "&&&": {
77
+ display: "flex",
78
+ flexDirection: "row",
79
+ gap: theme.vars.size.baseSpacings.sp2,
80
+ paddingTop: theme.vars.size.baseSpacings.sp1,
81
+ paddingBottom: theme.vars.size.baseSpacings.sp1,
82
+ paddingLeft: theme.vars.size.baseSpacings.sp2,
83
+ paddingRight: theme.vars.size.baseSpacings.sp2,
84
+ "&.MuiTooltip-tooltip .M4LIcon-icon": {
85
+ backgroundColor: theme.vars.palette.text.contrastText
86
+ },
87
+ "& .M4LTypography-root": {
88
+ color: theme.vars.palette.text.contrastText
89
+ }
90
+ }
91
+ })
92
+ };
93
+ export {
94
+ actionsGroupStyles as a
95
+ };
@@ -0,0 +1,2 @@
1
+ export declare const ACTIONS_GROUP_KEY_COMPONENT = "M4LActionsGroup";
2
+ export declare const ACTIONS_GROUP_CLASSES: Record<"root" | "tooltip" | "actionIconButton" | "actionIconButtonSkeleton" | "iconTooltipMessage" | "textTooltipMessage", string>;
@@ -0,0 +1,8 @@
1
+ import { g as getComponentClasses } from "../../utils/getComponentSlotRoot.js";
2
+ import { A as ActionsGroupSlots } from "./slots/ActionsGroupEnum.js";
3
+ const ACTIONS_GROUP_KEY_COMPONENT = "M4LActionsGroup";
4
+ const ACTIONS_GROUP_CLASSES = getComponentClasses(ACTIONS_GROUP_KEY_COMPONENT, ActionsGroupSlots);
5
+ export {
6
+ ACTIONS_GROUP_CLASSES as A,
7
+ ACTIONS_GROUP_KEY_COMPONENT as a
8
+ };
@@ -0,0 +1,3 @@
1
+ export declare const ACTIONS_GROUP_ICONS: {
2
+ blocked: string;
3
+ };
@@ -0,0 +1,6 @@
1
+ const ACTIONS_GROUP_ICONS = {
2
+ blocked: "frontend/components/actions_group/assets/icons/lock.svg"
3
+ };
4
+ export {
5
+ ACTIONS_GROUP_ICONS as A
6
+ };
@@ -0,0 +1 @@
1
+ export { ActionsGroup } from './ActionsGroup';
@@ -0,0 +1,8 @@
1
+ export declare enum ActionsGroupSlots {
2
+ root = "root",
3
+ actionIconButton = "actionIconButton",
4
+ actionIconButtonSkeleton = "actionIconButtonSkeleton",
5
+ iconTooltipMessage = "iconTooltipMessage",
6
+ textTooltipMessage = "textTooltipMessage",
7
+ tooltip = "tooltip"
8
+ }
@@ -0,0 +1,12 @@
1
+ var ActionsGroupSlots = /* @__PURE__ */ ((ActionsGroupSlots2) => {
2
+ ActionsGroupSlots2["root"] = "root";
3
+ ActionsGroupSlots2["actionIconButton"] = "actionIconButton";
4
+ ActionsGroupSlots2["actionIconButtonSkeleton"] = "actionIconButtonSkeleton";
5
+ ActionsGroupSlots2["iconTooltipMessage"] = "iconTooltipMessage";
6
+ ActionsGroupSlots2["textTooltipMessage"] = "textTooltipMessage";
7
+ ActionsGroupSlots2["tooltip"] = "tooltip";
8
+ return ActionsGroupSlots2;
9
+ })(ActionsGroupSlots || {});
10
+ export {
11
+ ActionsGroupSlots as A
12
+ };
@@ -0,0 +1,15 @@
1
+ export declare const ActionsGroupRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
+ export declare const ActionIconButtonStyled: 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" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
+ ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
6
+ }, {}, {}>;
7
+ export declare const ActionIconButtonSkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Skeleton/types').SkeletonProps, keyof import('../../mui_extended/Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
+ ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
9
+ }, {}, {}>;
10
+ export declare const IconTooltipMessageStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
+ ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
12
+ }, {}, {}>;
13
+ export declare const TextTooltipMessageStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "variant" | "color" | "dataTestid" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
14
+ ownerState?: (Partial<import('../types').ActionsGroupOwnerState> & Record<string, unknown>) | undefined;
15
+ }, {}, {}>;
@@ -0,0 +1,35 @@
1
+ import { A as ActionsGroupSlots } from "./ActionsGroupEnum.js";
2
+ import { a as ACTIONS_GROUP_KEY_COMPONENT } from "../constants.js";
3
+ import { styled } from "@mui/material/styles";
4
+ import { a as actionsGroupStyles } from "../ActionsGroup.styles.js";
5
+ import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
6
+ import { I as IconButton } from "../../mui_extended/IconButton/IconButton.js";
7
+ import { T as Typography } from "../../mui_extended/Typography/Typography.js";
8
+ import { I as Icon } from "../../Icon/Icon.js";
9
+ const ActionsGroupRootStyled = styled("div", {
10
+ name: ACTIONS_GROUP_KEY_COMPONENT,
11
+ slot: ActionsGroupSlots.root
12
+ })(actionsGroupStyles?.root);
13
+ const ActionIconButtonStyled = styled(IconButton, {
14
+ name: ACTIONS_GROUP_KEY_COMPONENT,
15
+ slot: ActionsGroupSlots.actionIconButton
16
+ })(actionsGroupStyles?.actionIconButton);
17
+ const ActionIconButtonSkeletonStyled = styled(Skeleton, {
18
+ name: ACTIONS_GROUP_KEY_COMPONENT,
19
+ slot: ActionsGroupSlots.actionIconButtonSkeleton
20
+ })(actionsGroupStyles?.actionIconButtonSkeleton);
21
+ const IconTooltipMessageStyled = styled(Icon, {
22
+ name: ACTIONS_GROUP_KEY_COMPONENT,
23
+ slot: ActionsGroupSlots.iconTooltipMessage
24
+ })(actionsGroupStyles?.iconTooltipMessage);
25
+ const TextTooltipMessageStyled = styled(Typography, {
26
+ name: ACTIONS_GROUP_KEY_COMPONENT,
27
+ slot: ActionsGroupSlots.textTooltipMessage
28
+ })(actionsGroupStyles?.textTooltipMessage);
29
+ export {
30
+ ActionsGroupRootStyled as A,
31
+ IconTooltipMessageStyled as I,
32
+ TextTooltipMessageStyled as T,
33
+ ActionIconButtonSkeletonStyled as a,
34
+ ActionIconButtonStyled as b
35
+ };
@@ -0,0 +1,6 @@
1
+ import { ActionIconButtonProps } from './types';
2
+ import { ActionsGroupValueType } from '../../types';
3
+ /**
4
+ * ActionIconButton component that renders an icon button for an action.
5
+ */
6
+ export declare const ActionIconButton: <T extends ActionsGroupValueType>(props: ActionIconButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,76 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { u as useComponentSize } from "../../../../hooks/useComponentSize/useComponentSize.js";
3
+ import { a as ActionIconButtonSkeletonStyled, b as ActionIconButtonStyled, I as IconTooltipMessageStyled, T as TextTooltipMessageStyled } from "../../slots/ActionsGroupSlots.js";
4
+ import { useEnvironment, useModuleSkeleton } from "@m4l/core";
5
+ import { A as ACTIONS_GROUP_ICONS } from "../../icons.js";
6
+ import { a as actionsGroupStyles } from "../../ActionsGroup.styles.js";
7
+ import { T as Tooltip } from "../../../mui_extended/Tooltip/Tooltip.js";
8
+ const ActionIconButton = (props) => {
9
+ const { action, selected, ownerState, onChange, groupDisabled } = props;
10
+ const { iconUrl: urlIcon, onClick, disabled, label } = action;
11
+ const { host_static_assets, environment_assets } = useEnvironment();
12
+ const isSkeleton = useModuleSkeleton();
13
+ const { currentSize } = useComponentSize();
14
+ const handleClick = () => {
15
+ if (disabled) {
16
+ return;
17
+ }
18
+ onChange?.(action.id);
19
+ onClick?.(action.id);
20
+ };
21
+ if (isSkeleton) {
22
+ return /* @__PURE__ */ jsx(ActionIconButtonSkeletonStyled, { ownerState: { ...ownerState } });
23
+ }
24
+ return /* @__PURE__ */ jsx(
25
+ Tooltip,
26
+ {
27
+ arrow: true,
28
+ PopperProps: {
29
+ modifiers: [
30
+ {
31
+ name: "offset",
32
+ options: {
33
+ offset: [0, 10]
34
+ }
35
+ }
36
+ ]
37
+ },
38
+ slotProps: {
39
+ tooltip: {
40
+ /**
41
+ * Estilos del tooltip.
42
+ */
43
+ sx: (theme) => typeof actionsGroupStyles.tooltip === "function" ? actionsGroupStyles.tooltip({ theme }) : {}
44
+ }
45
+ },
46
+ title: /* @__PURE__ */ jsxs(Fragment, { children: [
47
+ (disabled || groupDisabled) && /* @__PURE__ */ jsx(
48
+ IconTooltipMessageStyled,
49
+ {
50
+ variant: "text",
51
+ size: "small",
52
+ src: `${host_static_assets}/${environment_assets}/${ACTIONS_GROUP_ICONS.blocked}`
53
+ }
54
+ ),
55
+ /* @__PURE__ */ jsx(TextTooltipMessageStyled, { variant: "body", children: label })
56
+ ] }),
57
+ children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
58
+ ActionIconButtonStyled,
59
+ {
60
+ ownerState: { ...ownerState, itemSelected: selected, itemDisabled: disabled },
61
+ size: currentSize,
62
+ src: urlIcon,
63
+ onClick: handleClick,
64
+ disabled: disabled || groupDisabled,
65
+ variant: "text",
66
+ color: selected ? "primary" : "default",
67
+ "aria-label": label,
68
+ "aria-pressed": selected
69
+ }
70
+ ) })
71
+ }
72
+ );
73
+ };
74
+ export {
75
+ ActionIconButton as A
76
+ };
@@ -0,0 +1,7 @@
1
+ import { ActionGroupItem, ActionsGroupOwnerState, ActionsGroupProps, ActionsGroupValueType } from '../../types';
2
+ export interface ActionIconButtonProps<T extends ActionsGroupValueType> extends Pick<ActionsGroupProps<T>, 'onChange'> {
3
+ action: ActionGroupItem<T>;
4
+ ownerState: ActionsGroupOwnerState;
5
+ groupDisabled: boolean;
6
+ selected: boolean;
7
+ }
@@ -0,0 +1,60 @@
1
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
2
+ import { ActionsGroupSlots } from './slots/ActionsGroupEnum';
3
+ import { ACTIONS_GROUP_KEY_COMPONENT } from './constants';
4
+ import { Theme } from '@mui/material';
5
+ import { Sizes } from '@m4l/styles';
6
+ export type ActionsGroupValueType = string | number | null;
7
+ export interface ActionGroupItem<T extends ActionsGroupValueType> {
8
+ id: T;
9
+ label: string;
10
+ iconUrl: string;
11
+ onClick?: (item: T) => void;
12
+ disabled?: boolean;
13
+ }
14
+ export interface ActionsGroupProps<T extends ActionsGroupValueType> {
15
+ /**
16
+ * Indica si el grupo de acciones está deshabilitado.
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * Clase personalizada para el grupo de acciones.
21
+ */
22
+ className?: string;
23
+ /**
24
+ * Etiqueta accesible para el grupo (role toolbar).
25
+ */
26
+ ariaLabel?: string;
27
+ /**
28
+ * ID de elemento que etiqueta al grupo (alternativa a ariaLabel).
29
+ */
30
+ ariaLabelledBy?: string;
31
+ /**
32
+ * Item seleccionado.
33
+ */
34
+ value: T;
35
+ /**
36
+ * Función que se ejecuta cuando se selecciona una acción.
37
+ */
38
+ onChange: (newValue: T) => void;
39
+ /**
40
+ * Tamaño del grupo de acciones.
41
+ */
42
+ size?: Extract<Sizes, 'small' | 'medium'>;
43
+ /**
44
+ * Lista de acciones para el grupo.
45
+ */
46
+ actions: ActionGroupItem<T>[];
47
+ /**
48
+ * Variante del grupo de acciones.
49
+ */
50
+ variant?: 'vertical' | 'horizontal';
51
+ }
52
+ export type ActionsGroupSlotsType = keyof typeof ActionsGroupSlots;
53
+ export type ActionsGroupOwnerState = {
54
+ size?: Extract<Sizes, 'small' | 'medium'>;
55
+ disabled?: boolean;
56
+ variant?: 'vertical' | 'horizontal';
57
+ itemSelected?: boolean;
58
+ itemDisabled?: boolean;
59
+ };
60
+ export type ActionsGroupStyles = M4LOverridesStyleRules<ActionsGroupSlotsType, typeof ACTIONS_GROUP_KEY_COMPONENT, Theme>;
@@ -4,7 +4,7 @@ export declare const AppBarRootStyled: import('@emotion/styled').StyledComponent
4
4
  export declare const ContainerIsotypeNameStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
5
  ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
- export declare const MenuIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
7
+ export declare const MenuIconButtonStyled: 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" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "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" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
8
  ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
9
9
  }, {}, {}>;
10
10
  export declare const ContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
@@ -0,0 +1,20 @@
1
+ import { CheckableListProps } from './types';
2
+ /**
3
+ * Componente CheckableList
4
+ *
5
+ * Componente que renderiza una lista de items chequeables que opcionalmente puede ser agrupada.
6
+ * Utiliza virtualización para manejar grandes cantidades de items de manera eficiente.
7
+ * @example
8
+ * ```tsx
9
+ * <CheckableList
10
+ * items={[
11
+ * { id: 1, label: 'Item 1' },
12
+ * { id: 2, label: 'Item 2' },
13
+ * ]}
14
+ * value={[1]}
15
+ * onChange={(ids) => console.log(ids)}
16
+ * width="100%"
17
+ * />
18
+ * ```
19
+ */
20
+ export declare const CheckableList: (props: CheckableListProps) => import("react/jsx-runtime").JSX.Element;