@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
@@ -1 +1 @@
1
- export declare const UncertaintyFormatterRootStyled: 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" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "content" | "style" | "position" | "ellipsis" | "padding" | "variant" | "borderRadius" | "width" | "display" | "borderColor" | "height" | "gap" | "minHeight" | "margin" | "overflow" | "boxShadow" | "minWidth" | "justifyContent" | "alignItems" | "paddingLeft" | "borderLeft" | "borderTop" | "maxWidth" | "flexDirection" | "paddingRight" | "borderRight" | "flexGrow" | "marginLeft" | "textOverflow" | "borderBottom" | "gridTemplateColumns" | "marginBottom" | "dataTestid" | "alignContent" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateRows" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginRight" | "marginTop" | "maxHeight" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingTop" | "rowGap" | "textAlign" | "translate" | "visibility" | "whiteSpace" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "p" | "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" | "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" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
1
+ export declare const UncertaintyFormatterRootStyled: 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>, {}, {}>;
@@ -10,3 +10,4 @@ export * from './DistanceToNowFormatter';
10
10
  export type { UncertaintyRange } from './UncertaintyFormatter/types';
11
11
  export { TagsFormatter } from './TagsFormatter';
12
12
  export { ColorFormatter } from './ColorFormatter';
13
+ export { ImageFormatter } from './ImageFormatter';
@@ -0,0 +1,7 @@
1
+ import { ActionsGroupValueType } from '../../ActionsGroup/types';
2
+ import { RHFActionsGroupProps } from './types';
3
+ /**
4
+ * RHFActionsGroup is a custom actions group component integrated with React Hook Form.
5
+ * It renders an ActionsGroup with form integration, handling value and onChange automatically.
6
+ */
7
+ export declare const RHFActionsGroup: <T extends ActionsGroupValueType>(props: RHFActionsGroupProps<T>) => JSX.Element;
@@ -0,0 +1,87 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { useId } from "react";
3
+ import { useFormContext, Controller } from "react-hook-form";
4
+ import { A as ActionsGroup } from "../../ActionsGroup/ActionsGroup.js";
5
+ import { r as rhfActionsGroupClasses } from "./constants.js";
6
+ import clsx from "clsx";
7
+ import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
8
+ import { A as ActionsGroupRootStyled } from "./slots/RHFActionsGroupSlots.js";
9
+ import { L as Label } from "../../Label/Label.js";
10
+ import { H as HelperError } from "../../HelperError/HelperError.js";
11
+ const RHFActionsGroup = (props) => {
12
+ const {
13
+ name,
14
+ actions,
15
+ label,
16
+ disabled,
17
+ className,
18
+ ariaLabel,
19
+ ariaLabelledBy,
20
+ size = "medium",
21
+ variant,
22
+ mandatory,
23
+ mandatoryMessage,
24
+ helperMessage,
25
+ id
26
+ } = props;
27
+ const { control } = useFormContext();
28
+ const { currentSize } = useComponentSize(size);
29
+ const htmlForId = useId();
30
+ const hookId = useId();
31
+ const finalId = id || hookId;
32
+ return /* @__PURE__ */ jsx(
33
+ ActionsGroupRootStyled,
34
+ {
35
+ className: clsx(className, rhfActionsGroupClasses.actionsGroupRoot),
36
+ children: /* @__PURE__ */ jsx(
37
+ Controller,
38
+ {
39
+ name,
40
+ control,
41
+ render: ({ field: { value, onChange }, fieldState: { error }, formState: { isSubmitting } }) => {
42
+ const currentValue = value ?? null;
43
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
44
+ label && /* @__PURE__ */ jsx(
45
+ Label,
46
+ {
47
+ size: currentSize,
48
+ label,
49
+ htmlFor: finalId,
50
+ mandatory,
51
+ mandatoryMessage,
52
+ helperMessage,
53
+ disabled,
54
+ error: !!error
55
+ }
56
+ ),
57
+ /* @__PURE__ */ jsx(
58
+ ActionsGroup,
59
+ {
60
+ actions,
61
+ value: currentValue,
62
+ onChange,
63
+ disabled: disabled || isSubmitting,
64
+ ariaLabel,
65
+ ariaLabelledBy,
66
+ size,
67
+ variant
68
+ }
69
+ ),
70
+ error?.message && /* @__PURE__ */ jsx(
71
+ HelperError,
72
+ {
73
+ htmlFor: htmlForId,
74
+ size: currentSize,
75
+ message: error.message
76
+ }
77
+ )
78
+ ] });
79
+ }
80
+ }
81
+ )
82
+ }
83
+ );
84
+ };
85
+ export {
86
+ RHFActionsGroup as R
87
+ };
@@ -0,0 +1,2 @@
1
+ import { RHFActionsGroupStyles } from './types';
2
+ export declare const rhfActionsGroupStyles: RHFActionsGroupStyles;
@@ -0,0 +1,14 @@
1
+ const rhfActionsGroupStyles = {
2
+ /**
3
+ * Styles for the root component.
4
+ */
5
+ actionsGroupRoot: ({ theme }) => ({
6
+ display: "flex",
7
+ flexDirection: "column",
8
+ gap: theme.vars.size.baseSpacings.sp1,
9
+ width: "100%"
10
+ })
11
+ };
12
+ export {
13
+ rhfActionsGroupStyles as r
14
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Clave de identificación del componente RHFActionsGroup dentro del sistema.
3
+ *
4
+ * Esta constante se utiliza como identificador único para asociar y personalizar estilos y configuraciones
5
+ * relacionadas con el componente `RHFActionsGroup` dentro del sistema de temas y estilos.
6
+ * @default 'RHFM4LActionsGroup'
7
+ */
8
+ export declare const RHFACTIONSGROUP_KEY_COMPONENT = "RHFM4LActionsGroup";
9
+ export declare const rhfActionsGroupClasses: Record<"actionsGroupRoot", string>;
@@ -0,0 +1,8 @@
1
+ import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
2
+ import { R as RHFActionsGroupSlots } from "./slots/RHFActionsGroupEnum.js";
3
+ const RHFACTIONSGROUP_KEY_COMPONENT = "RHFM4LActionsGroup";
4
+ const rhfActionsGroupClasses = getComponentClasses(RHFACTIONSGROUP_KEY_COMPONENT, RHFActionsGroupSlots);
5
+ export {
6
+ RHFACTIONSGROUP_KEY_COMPONENT as R,
7
+ rhfActionsGroupClasses as r
8
+ };
@@ -0,0 +1,2 @@
1
+ export { RHFActionsGroup } from './RHFActionsGroup';
2
+ export type { RHFActionsGroupProps } from './types';
@@ -0,0 +1,3 @@
1
+ export declare enum RHFActionsGroupSlots {
2
+ actionsGroupRoot = "actionsGroupRoot"
3
+ }
@@ -0,0 +1,7 @@
1
+ var RHFActionsGroupSlots = /* @__PURE__ */ ((RHFActionsGroupSlots2) => {
2
+ RHFActionsGroupSlots2["actionsGroupRoot"] = "actionsGroupRoot";
3
+ return RHFActionsGroupSlots2;
4
+ })(RHFActionsGroupSlots || {});
5
+ export {
6
+ RHFActionsGroupSlots as R
7
+ };
@@ -0,0 +1 @@
1
+ export declare const ActionsGroupRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -0,0 +1,11 @@
1
+ import { styled } from "@mui/material";
2
+ import { r as rhfActionsGroupStyles } from "../RHFActionsGroupStyles.js";
3
+ import { R as RHFACTIONSGROUP_KEY_COMPONENT } from "../constants.js";
4
+ import { R as RHFActionsGroupSlots } from "./RHFActionsGroupEnum.js";
5
+ const ActionsGroupRootStyled = styled("div", {
6
+ name: RHFACTIONSGROUP_KEY_COMPONENT,
7
+ slot: RHFActionsGroupSlots.actionsGroupRoot
8
+ })(rhfActionsGroupStyles?.actionsGroupRoot);
9
+ export {
10
+ ActionsGroupRootStyled as A
11
+ };
@@ -0,0 +1,2 @@
1
+ export * from './RHFActionsGroupEnum';
2
+ export * from './RHFActionsGroupSlots';
@@ -0,0 +1,28 @@
1
+ import { renderMaterialUI } from '../../../../test';
2
+ import { FieldValues } from 'react-hook-form';
3
+ import { RHFActionsGroupProps } from '../types';
4
+ import { ActionGroupItem } from '../../../ActionsGroup/types';
5
+ import * as Yup from 'yup';
6
+ export declare const FIELD_NAME = "rhf-actions-group";
7
+ export declare const FIELD_NAME_REQUIRED = "rhf-actions-group-required";
8
+ export declare const FIELD_NAME_PRESELECTED = "rhf-actions-group-preselected";
9
+ export declare const mockActions: ActionGroupItem<string>[];
10
+ export declare const mockActionPreselected: string;
11
+ export declare const INITIAL_FORM_VALUES: FieldValues;
12
+ export declare const DEFAULT_PROPS: RHFActionsGroupProps<string>;
13
+ export declare const errorMessage = "This field is required";
14
+ export declare const VALIDATION_SCHEMA: Yup.ObjectSchema<import('yup/lib/object').Assign<import('yup/lib/object').ObjectShape, {
15
+ "rhf-actions-group-required": import('yup/lib/string').RequiredStringSchema<string | undefined, import('yup/lib/types').AnyObject>;
16
+ }>, import('yup/lib/object').AnyObject, import('yup/lib/object').TypeOfShape<import('yup/lib/object').Assign<import('yup/lib/object').ObjectShape, {
17
+ "rhf-actions-group-required": import('yup/lib/string').RequiredStringSchema<string | undefined, import('yup/lib/types').AnyObject>;
18
+ }>>, import('yup/lib/object').AssertsShape<import('yup/lib/object').Assign<import('yup/lib/object').ObjectShape, {
19
+ "rhf-actions-group-required": import('yup/lib/string').RequiredStringSchema<string | undefined, import('yup/lib/types').AnyObject>;
20
+ }>>>;
21
+ /**
22
+ * Renderiza el componente con el contexto de EnvironmentProvider y RHFormProvider.
23
+ */
24
+ export declare const renderWithContexts: (ui: React.ReactElement, initialValuesFormContext?: FieldValues, validationSchema?: any) => ReturnType<typeof renderMaterialUI>;
25
+ /**
26
+ * Renders the RHFActionsGroup component with the provided props.
27
+ */
28
+ export declare const renderRHFActionsGroup: (fieldName: string, overrideProps?: Partial<RHFActionsGroupProps<string>>, withFormValidation?: boolean) => ReturnType<typeof renderMaterialUI>;
@@ -0,0 +1,54 @@
1
+ import { ActionsGroupValueType, ActionGroupItem } from '../../ActionsGroup/types';
2
+ import { Sizes } from '@m4l/styles';
3
+ import { M4LOverridesStyleRules } from '../../../@types/augmentations';
4
+ import { Theme } from '@mui/material';
5
+ import { RHFActionsGroupSlots } from './slots';
6
+ import { RHFACTIONSGROUP_KEY_COMPONENT } from './constants';
7
+ import { LabelPropsBase } from '../../../components/Label/types';
8
+ /**
9
+ * Props for the RHFActionsGroup component.
10
+ */
11
+ export interface RHFActionsGroupProps<T extends ActionsGroupValueType> extends LabelPropsBase {
12
+ /**
13
+ * The name of the field in the form.
14
+ */
15
+ name: string;
16
+ /**
17
+ * List of actions for the group.
18
+ */
19
+ actions: ActionGroupItem<T>[];
20
+ /**
21
+ * Indicates if the actions group is disabled.
22
+ */
23
+ disabled?: boolean;
24
+ /**
25
+ * Custom class name for the actions group.
26
+ */
27
+ className?: string;
28
+ /**
29
+ * Accessible label for the group (role toolbar).
30
+ */
31
+ ariaLabel?: string;
32
+ /**
33
+ * ID of element that labels the group (alternative to ariaLabel).
34
+ */
35
+ ariaLabelledBy?: string;
36
+ /**
37
+ * Size of the actions group.
38
+ */
39
+ size?: Extract<Sizes, 'small' | 'medium'>;
40
+ /**
41
+ * Variant of the actions group.
42
+ */
43
+ variant?: 'vertical' | 'horizontal';
44
+ }
45
+ /**
46
+ * Owner state for RHFActionsGroup component.
47
+ */
48
+ export interface RHFActionsGroupOwnerState {
49
+ disabled?: RHFActionsGroupProps<any>['disabled'];
50
+ }
51
+ /**
52
+ * Styles for RHFActionsGroup component.
53
+ */
54
+ export type RHFActionsGroupStyles = M4LOverridesStyleRules<keyof typeof RHFActionsGroupSlots, typeof RHFACTIONSGROUP_KEY_COMPONENT, Theme>;
@@ -73,7 +73,7 @@ function RHFAutocomplete(props) {
73
73
  {
74
74
  name: nameRHF,
75
75
  control,
76
- render: ({ field: { onChange, value }, fieldState: { error } }) => {
76
+ render: ({ field: { onChange, value }, fieldState: { error }, formState: { isSubmitting } }) => {
77
77
  const [inputValue, setInputValue] = useState(
78
78
  getOptionLabelLocal(value)
79
79
  );
@@ -113,7 +113,7 @@ function RHFAutocomplete(props) {
113
113
  },
114
114
  onChangeFilterParmsLocal,
115
115
  refresh,
116
- disabled,
116
+ disabled: disabled || isSubmitting,
117
117
  loading,
118
118
  onOpen: onOpenLocal,
119
119
  onClose: onCloseLocal,
@@ -0,0 +1,7 @@
1
+ import { RHFCheckableListProps } from './types';
2
+ /**
3
+ * RHFCheckableList is a custom checkable list component integrated with React Hook Form.
4
+ * It renders a list of checkable items that can optionally be grouped, with optional label,
5
+ * helper text, and error message.
6
+ */
7
+ export declare const RHFCheckableList: (props: RHFCheckableListProps) => JSX.Element;
@@ -0,0 +1,91 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { useFormContext, Controller } from "react-hook-form";
4
+ import { useId } from "react";
5
+ import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
6
+ import { R as RHF_CHECKABLE_LIST_COMPONENT_KEY, a as RHF_CHECKABLE_LIST_CLASSES } from "./constants.js";
7
+ import { R as RHFCheckableListEnum } from "./slots/RHFCheckableListEnum.js";
8
+ import { R as RootStyled, L as LabelStyled, C as CheckableListStyled, H as HelperErrorStyled } from "./slots/RHFCheckableListSlots.js";
9
+ import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
10
+ const RHFCheckableList = (props) => {
11
+ const {
12
+ id,
13
+ name,
14
+ items,
15
+ groups,
16
+ label,
17
+ labelSkeletonWidth,
18
+ helperErrorSkeletonWidth,
19
+ helperMessage,
20
+ mandatory,
21
+ mandatoryMessage,
22
+ disabled,
23
+ size = "medium",
24
+ className,
25
+ dataTestId,
26
+ width = "100%",
27
+ ...other
28
+ } = props;
29
+ const reactId = useId();
30
+ const htmlForId = id || reactId;
31
+ const { currentSize } = useComponentSize(size);
32
+ const { control } = useFormContext();
33
+ return /* @__PURE__ */ jsx(RootStyled, { className: clsx(RHF_CHECKABLE_LIST_CLASSES.root, className), children: /* @__PURE__ */ jsx(
34
+ Controller,
35
+ {
36
+ name,
37
+ control,
38
+ render: ({ field: { value, onChange }, fieldState: { error } }) => {
39
+ const onChangeLocal = (selectedIds) => {
40
+ onChange(selectedIds || []);
41
+ };
42
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
43
+ label && /* @__PURE__ */ jsx(
44
+ LabelStyled,
45
+ {
46
+ id: `${htmlForId}-label`,
47
+ htmlFor: htmlForId,
48
+ label,
49
+ mandatory,
50
+ mandatoryMessage,
51
+ helperMessage,
52
+ size: currentSize,
53
+ skeletonWidth: labelSkeletonWidth,
54
+ error: Boolean(error),
55
+ disabled
56
+ }
57
+ ),
58
+ /* @__PURE__ */ jsx(
59
+ CheckableListStyled,
60
+ {
61
+ items,
62
+ groups,
63
+ value: value || [],
64
+ onChange: onChangeLocal,
65
+ disabled,
66
+ size: currentSize,
67
+ width,
68
+ ...getPropDataTestId(
69
+ RHF_CHECKABLE_LIST_COMPONENT_KEY,
70
+ RHFCheckableListEnum.checkableList,
71
+ dataTestId
72
+ ),
73
+ ...other
74
+ }
75
+ ),
76
+ error?.message && /* @__PURE__ */ jsx(
77
+ HelperErrorStyled,
78
+ {
79
+ size: currentSize,
80
+ message: error.message,
81
+ skeletonWidth: helperErrorSkeletonWidth
82
+ }
83
+ )
84
+ ] });
85
+ }
86
+ }
87
+ ) });
88
+ };
89
+ export {
90
+ RHFCheckableList as R
91
+ };
@@ -0,0 +1,2 @@
1
+ import { RHFCheckableListStyles } from './types';
2
+ export declare const rhfCheckableListStyles: RHFCheckableListStyles;
@@ -0,0 +1,30 @@
1
+ const rhfCheckableListStyles = {
2
+ /**
3
+ * Root: Estilos del contenedor principal del componente.
4
+ */
5
+ root: () => ({
6
+ width: "100%",
7
+ display: "flex",
8
+ flexDirection: "column",
9
+ position: "relative",
10
+ height: "100%",
11
+ gap: 8
12
+ }),
13
+ /**
14
+ * label: Estilos del label del componente.
15
+ */
16
+ label: () => ({}),
17
+ /**
18
+ * checkableList: Estilos de la lista chequeable del componente.
19
+ */
20
+ checkableList: () => ({
21
+ width: "100%"
22
+ }),
23
+ /**
24
+ * helperError: Estilos del mensaje de error del componente.
25
+ */
26
+ helperError: () => ({})
27
+ };
28
+ export {
29
+ rhfCheckableListStyles as r
30
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Key del componente RHFCheckableList usado para identificar el componente en el registro de componentes.
3
+ */
4
+ export declare const RHF_CHECKABLE_LIST_COMPONENT_KEY = "RHFCheckableList";
5
+ /**
6
+ * Clases CSS generadas dinámicamente para el componente RHFCheckableList.
7
+ */
8
+ export declare const RHF_CHECKABLE_LIST_CLASSES: Record<"label" | "root" | "checkableList" | "helperError", string>;
@@ -0,0 +1,11 @@
1
+ import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
2
+ import { R as RHFCheckableListEnum } from "./slots/RHFCheckableListEnum.js";
3
+ const RHF_CHECKABLE_LIST_COMPONENT_KEY = "RHFCheckableList";
4
+ const RHF_CHECKABLE_LIST_CLASSES = getComponentClasses(
5
+ RHF_CHECKABLE_LIST_COMPONENT_KEY,
6
+ RHFCheckableListEnum
7
+ );
8
+ export {
9
+ RHF_CHECKABLE_LIST_COMPONENT_KEY as R,
10
+ RHF_CHECKABLE_LIST_CLASSES as a
11
+ };
@@ -0,0 +1,2 @@
1
+ export { RHFCheckableList } from './RHFCheckableList';
2
+ export type { RHFCheckableListProps } from './types';
@@ -0,0 +1,6 @@
1
+ export declare enum RHFCheckableListEnum {
2
+ root = "root",
3
+ label = "label",
4
+ checkableList = "checkableList",
5
+ helperError = "helperError"
6
+ }
@@ -0,0 +1,10 @@
1
+ var RHFCheckableListEnum = /* @__PURE__ */ ((RHFCheckableListEnum2) => {
2
+ RHFCheckableListEnum2["root"] = "root";
3
+ RHFCheckableListEnum2["label"] = "label";
4
+ RHFCheckableListEnum2["checkableList"] = "checkableList";
5
+ RHFCheckableListEnum2["helperError"] = "helperError";
6
+ return RHFCheckableListEnum2;
7
+ })(RHFCheckableListEnum || {});
8
+ export {
9
+ RHFCheckableListEnum as R
10
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Elemento div de react construido a través de styled,
3
+ * sirve para agrupar el contenido del componente `RHFCheckableList`
4
+ */
5
+ export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
6
+ /**
7
+ * Elemento Label construido a través de styled,
8
+ * sirve para mostrar el label del componente `RHFCheckableList`
9
+ */
10
+ export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
11
+ /**
12
+ * Elemento CheckableList construido a través de styled,
13
+ * sirve para mostrar la lista chequeable del componente `RHFCheckableList`
14
+ */
15
+ export declare const CheckableListStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../CheckableList').CheckableListProps, keyof import('../../../CheckableList').CheckableListProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
16
+ /**
17
+ * Elemento HelperError construido a través de styled,
18
+ * sirve para mostrar el mensaje de error del componente `RHFCheckableList`
19
+ */
20
+ export declare const HelperErrorStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../HelperError').HelperErrorProps & import('react').RefAttributes<HTMLLabelElement>, keyof import('../../../HelperError').HelperErrorProps | keyof import('react').RefAttributes<HTMLLabelElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
@@ -0,0 +1,29 @@
1
+ import { styled } from "@mui/material";
2
+ import { R as RHF_CHECKABLE_LIST_COMPONENT_KEY } from "../constants.js";
3
+ import { R as RHFCheckableListEnum } from "./RHFCheckableListEnum.js";
4
+ import { r as rhfCheckableListStyles } from "../RHFCheckableList.styles.js";
5
+ import { L as Label } from "../../../Label/Label.js";
6
+ import { C as CheckableList } from "../../../CheckableList/CheckableList.js";
7
+ import { H as HelperError } from "../../../HelperError/HelperError.js";
8
+ const RootStyled = styled("div", {
9
+ name: RHF_CHECKABLE_LIST_COMPONENT_KEY,
10
+ slot: RHFCheckableListEnum.root
11
+ })(rhfCheckableListStyles?.root);
12
+ const LabelStyled = styled(Label, {
13
+ name: RHF_CHECKABLE_LIST_COMPONENT_KEY,
14
+ slot: RHFCheckableListEnum.label
15
+ })(rhfCheckableListStyles?.label);
16
+ const CheckableListStyled = styled(CheckableList, {
17
+ name: RHF_CHECKABLE_LIST_COMPONENT_KEY,
18
+ slot: RHFCheckableListEnum.checkableList
19
+ })(rhfCheckableListStyles?.checkableList);
20
+ const HelperErrorStyled = styled(HelperError, {
21
+ name: RHF_CHECKABLE_LIST_COMPONENT_KEY,
22
+ slot: RHFCheckableListEnum.helperError
23
+ })(rhfCheckableListStyles?.helperError);
24
+ export {
25
+ CheckableListStyled as C,
26
+ HelperErrorStyled as H,
27
+ LabelStyled as L,
28
+ RootStyled as R
29
+ };
@@ -0,0 +1,2 @@
1
+ export * from './RHFCheckableListEnum';
2
+ export * from './RHFCheckableListSlots';