@m4l/components 9.1.9 → 9.1.10

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 (455) hide show
  1. package/@types/types.d.ts +274 -136
  2. package/components/AccountPopover/classes/index.d.ts +1 -1
  3. package/components/AccountPopover/subcomponents/PopOver/index.d.ts +1 -0
  4. package/components/AccountPopover/subcomponents/PopOver/index.js +2 -2
  5. package/components/AppBar/AppBar.d.ts +15 -20
  6. package/components/AppBar/AppBar.js +29 -31
  7. package/components/AppBar/constants.d.ts +2 -0
  8. package/components/AppBar/constants.js +6 -0
  9. package/components/AppBar/slots/AppBarEnum.d.ts +8 -0
  10. package/components/AppBar/slots/AppBarEnum.js +12 -0
  11. package/components/AppBar/slots/AppBarSlots.d.ts +18 -0
  12. package/components/AppBar/slots/AppBarSlots.js +39 -0
  13. package/components/AppBar/styles.d.ts +2 -1
  14. package/components/AppBar/styles.js +97 -5
  15. package/components/AppBar/tests/utils.d.ts +1 -2
  16. package/components/AppBar/tests/utils.js +2 -3
  17. package/components/AppBar/types.d.ts +20 -12
  18. package/components/CommonActions/classes/index.d.ts +1 -1
  19. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  20. package/components/CommonActions/components/ActionCancel/types.d.ts +2 -2
  21. package/components/CommonActions/components/ActionFormCancel/index.js +1 -1
  22. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionIntro/types.d.ts +2 -2
  24. package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +1 -0
  25. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  26. package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +2 -2
  27. package/components/DataGrid/dictionary.d.ts +4 -0
  28. package/components/DataGrid/dictionary.js +1 -1
  29. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +2 -2
  30. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.js +3 -3
  31. package/components/DragResizeWindow/hooks/useDimensionEffects.d.ts +1 -1
  32. package/components/DragResizeWindow/hooks/useDimensionEffects.js +7 -2
  33. package/components/DragResizeWindow/hooks/useDragOptions.d.ts +2 -2
  34. package/components/DragResizeWindow/hooks/useDragOptions.js +14 -8
  35. package/components/DragResizeWindow/hooks/useResizeOptions.d.ts +1 -1
  36. package/components/DragResizeWindow/hooks/useResizeOptions.js +37 -26
  37. package/components/DragResizeWindow/slots/DragResizeWindowSlots.d.ts +2 -2
  38. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +12 -12
  39. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +12 -12
  40. package/components/GridLayout/classes/index.d.ts +1 -1
  41. package/components/Icon/Icon.d.ts +2 -2
  42. package/components/Icon/Icon.js +12 -4
  43. package/components/Icon/slots/IconSlots.d.ts +2 -2
  44. package/components/InputNumberSpinner/slots/InputNumberSpinnerSlots.d.ts +1 -1
  45. package/components/Label/slots/LabelSlots.d.ts +1 -1
  46. package/components/LanguagePopover/LanguagePopover.d.ts +1 -0
  47. package/components/LanguagePopover/LanguagePopover.js +2 -2
  48. package/components/ModalDialog/ModalDialog.d.ts +57 -0
  49. package/components/ModalDialog/ModalDialog.js +94 -0
  50. package/components/ModalDialog/ModalDialog.styles.d.ts +2 -0
  51. package/components/ModalDialog/ModalDialog.styles.js +44 -0
  52. package/components/ModalDialog/constants.d.ts +1 -0
  53. package/components/ModalDialog/constants.js +4 -0
  54. package/components/{modal/ModalDialog → ModalDialog}/dictionary.js +1 -1
  55. package/components/ModalDialog/index.d.ts +8 -0
  56. package/components/ModalDialog/index.js +1 -0
  57. package/components/ModalDialog/slots/ModalDialogEnum.d.ts +7 -0
  58. package/components/ModalDialog/slots/ModalDialogEnum.js +11 -0
  59. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +9 -0
  60. package/components/ModalDialog/slots/ModalDialogSlots.js +34 -0
  61. package/components/ModalDialog/slots/index.d.ts +2 -0
  62. package/components/ModalDialog/slots/index.js +1 -0
  63. package/components/ModalDialog/subcomponents/ResizeHandle/index.js +4 -0
  64. package/components/ModalDialog/types.d.ts +16 -0
  65. package/components/ModalDialog/types.js +1 -0
  66. package/components/NavLink/NavLink.d.ts +2 -2
  67. package/components/NavLink/NavLink.js +4 -4
  68. package/components/ObjectLogs/components/DetailFormatter/index.js +1 -1
  69. package/components/PaperForm/PaperForm.d.ts +9 -1
  70. package/components/PaperForm/PaperForm.js +10 -10
  71. package/components/PaperForm/components/Header.d.ts +8 -1
  72. package/components/PaperForm/components/Header.js +20 -12
  73. package/components/PaperForm/constants.d.ts +1 -0
  74. package/components/PaperForm/constants.js +4 -0
  75. package/components/PaperForm/slots/PaperFormEnum.d.ts +7 -0
  76. package/components/PaperForm/slots/PaperFormEnum.js +11 -0
  77. package/components/PaperForm/slots/PaperFormSlots.d.ts +15 -0
  78. package/components/PaperForm/slots/PaperFormSlots.js +33 -0
  79. package/components/PaperForm/styles.d.ts +2 -6
  80. package/components/PaperForm/styles.js +97 -49
  81. package/components/PaperForm/types.d.ts +28 -4
  82. package/components/SideBar/SideBar.d.ts +25 -23
  83. package/components/SideBar/SideBar.js +36 -64
  84. package/components/SideBar/constants.d.ts +6 -2
  85. package/components/SideBar/constants.js +10 -4
  86. package/components/SideBar/context/sideBarContext/index.d.ts +5 -0
  87. package/components/SideBar/context/sideBarContext/index.js +18 -30
  88. package/components/SideBar/context/sideBarContext/types.d.ts +9 -5
  89. package/components/SideBar/dictionary.d.ts +1 -0
  90. package/components/SideBar/helpers/getDataToSkeleton/index.d.ts +15 -0
  91. package/components/SideBar/helpers/getDataToSkeleton/index.js +14 -0
  92. package/components/SideBar/helpers/getMenuDataWithState/index.d.ts +13 -0
  93. package/components/SideBar/helpers/getMenuDataWithState/index.js +27 -0
  94. package/components/SideBar/helpers/getMenuDataWithState/types.d.ts +6 -0
  95. package/components/SideBar/slots/SideBarEnum.d.ts +29 -0
  96. package/components/SideBar/slots/SideBarEnum.js +45 -0
  97. package/components/SideBar/slots/SideBarSlots.d.ts +45 -0
  98. package/components/SideBar/slots/SideBarSlots.js +80 -0
  99. package/components/SideBar/styles.d.ts +2 -15
  100. package/components/SideBar/styles.js +17 -19
  101. package/components/SideBar/subcomponents/ContentComponent/index.d.ts +10 -0
  102. package/components/SideBar/subcomponents/ContentComponent/index.js +27 -0
  103. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -0
  104. package/components/SideBar/subcomponents/ContentComponent/style.js +18 -0
  105. package/components/SideBar/subcomponents/ContentGroups/index.d.ts +4 -0
  106. package/components/SideBar/subcomponents/ContentGroups/index.js +33 -41
  107. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -3
  108. package/components/SideBar/subcomponents/ContentGroups/styles.js +70 -26
  109. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +12 -0
  110. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +60 -0
  111. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -0
  112. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +44 -0
  113. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +9 -0
  114. package/components/SideBar/subcomponents/ContentGroups/subcomponents/{ItemListRoot → ContainerMenuItemsMain}/subcomponents/ArrowIcon/index.js +8 -8
  115. package/components/SideBar/subcomponents/ContentGroups/subcomponents/{ItemListRoot → ContainerMenuItemsMain}/subcomponents/ArrowIcon/types.d.ts +1 -0
  116. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/types.d.ts +5 -0
  117. package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +13 -0
  118. package/components/SideBar/subcomponents/FooterSidebar/index.js +33 -0
  119. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -0
  120. package/components/SideBar/subcomponents/FooterSidebar/styles.js +20 -0
  121. package/components/SideBar/subcomponents/FooterSidebar/types.d.ts +5 -0
  122. package/components/SideBar/subcomponents/HeaderSidebar/index.d.ts +10 -0
  123. package/components/SideBar/subcomponents/HeaderSidebar/index.js +25 -0
  124. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -0
  125. package/components/SideBar/subcomponents/HeaderSidebar/styles.js +32 -0
  126. package/components/SideBar/subcomponents/HeaderSidebar/types.d.ts +5 -0
  127. package/components/SideBar/subcomponents/SideBarDesktop/index.d.ts +8 -0
  128. package/components/SideBar/subcomponents/SideBarDesktop/index.js +80 -0
  129. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -0
  130. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +73 -0
  131. package/components/SideBar/subcomponents/SideBarMobile/index.d.ts +8 -0
  132. package/components/SideBar/subcomponents/SideBarMobile/index.js +36 -0
  133. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -0
  134. package/components/SideBar/subcomponents/SideBarMobile/styles.js +15 -0
  135. package/components/SideBar/subcomponents/SideBarMobile/subcomponents/Drawer.d.ts +9 -0
  136. package/components/SideBar/tests/SideBar.integration.test.d.ts +0 -0
  137. package/components/SideBar/tests/SideBar.test.d.ts +0 -0
  138. package/components/SideBar/tests/utils.d.ts +34 -2
  139. package/components/SideBar/types.d.ts +34 -37
  140. package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
  141. package/components/WindowBase/WindowBase.d.ts +11 -0
  142. package/components/WindowBase/WindowBase.js +63 -0
  143. package/components/WindowBase/WindowBase.styles.d.ts +9 -0
  144. package/components/WindowBase/WindowBase.styles.js +204 -0
  145. package/components/WindowBase/constants.d.ts +1 -0
  146. package/components/WindowBase/constants.js +4 -0
  147. package/components/WindowBase/icons.d.ts +6 -0
  148. package/components/WindowBase/icons.js +9 -0
  149. package/components/WindowBase/index.d.ts +9 -0
  150. package/components/WindowBase/index.js +1 -0
  151. package/components/WindowBase/slots/WindowBaseEnum.d.ts +16 -0
  152. package/components/WindowBase/slots/WindowBaseEnum.js +20 -0
  153. package/components/WindowBase/slots/WindowBaseSlots.d.ts +95 -0
  154. package/components/WindowBase/slots/WindowBaseSlots.js +81 -0
  155. package/components/WindowBase/slots/index.d.ts +2 -0
  156. package/components/WindowBase/slots/index.js +1 -0
  157. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +46 -0
  158. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +78 -0
  159. package/components/WindowBase/subcomponents/Header/index.d.ts +2 -0
  160. package/components/WindowBase/subcomponents/Header/index.js +1 -0
  161. package/components/WindowBase/subcomponents/Header/types.d.ts +90 -0
  162. package/components/WindowBase/subcomponents/Header/types.js +1 -0
  163. package/components/WindowBase/types.d.ts +136 -0
  164. package/components/WindowBase/types.js +1 -0
  165. package/components/WindowConfirm/WindowConfirm.d.ts +28 -0
  166. package/components/WindowConfirm/WindowConfirm.js +117 -0
  167. package/components/WindowConfirm/WindowConfirm.styles.d.ts +2 -0
  168. package/components/WindowConfirm/WindowConfirm.styles.js +202 -0
  169. package/components/WindowConfirm/constants.d.ts +1 -0
  170. package/components/WindowConfirm/constants.js +4 -0
  171. package/components/WindowConfirm/index.d.ts +9 -0
  172. package/components/WindowConfirm/slots/WindowConfirmEnum.d.ts +15 -0
  173. package/components/WindowConfirm/slots/WindowConfirmEnum.js +19 -0
  174. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +39 -0
  175. package/components/WindowConfirm/slots/WindowConfirmSlots.js +77 -0
  176. package/components/WindowConfirm/slots/index.d.ts +2 -0
  177. package/components/WindowConfirm/slots/index.js +1 -0
  178. package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.d.ts +10 -0
  179. package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.js +47 -0
  180. package/components/WindowConfirm/subcomponents/MessageIllustration/index.d.ts +2 -0
  181. package/components/WindowConfirm/subcomponents/MessageIllustration/index.js +1 -0
  182. package/components/WindowConfirm/subcomponents/MessageIllustration/types.d.ts +2 -0
  183. package/components/WindowConfirm/subcomponents/MessageIllustration/types.js +1 -0
  184. package/components/WindowConfirm/types.d.ts +46 -0
  185. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  186. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.d.ts +4 -0
  187. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.js +1 -1
  188. package/components/commercial/HamburgerMenu/HamburgerMenu.d.ts +6 -0
  189. package/components/commercial/HamburgerMenu/HamburgerMenu.js +3 -7
  190. package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +2 -2
  191. package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +2 -2
  192. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +4 -0
  193. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.js +5 -2
  194. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.js +6 -3
  195. package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
  196. package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +1 -1
  197. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +4 -4
  198. package/components/index.d.ts +1 -0
  199. package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +3 -3
  200. package/components/maps/components/Map/slots/MapSlots.d.ts +3 -3
  201. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +1 -1
  202. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +4 -0
  203. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +2 -2
  204. package/components/modal/classes/index.d.ts +9 -5
  205. package/components/modal/classes/index.js +4 -4
  206. package/components/modal/classes/types.d.ts +1 -0
  207. package/components/modal/index.d.ts +5 -5
  208. package/components/mui_extended/Accordion/Accordion.d.ts +4 -4
  209. package/components/mui_extended/Accordion/Accordion.js +48 -71
  210. package/components/mui_extended/Accordion/constants.d.ts +2 -1
  211. package/components/mui_extended/Accordion/constants.js +4 -2
  212. package/components/mui_extended/Accordion/slots/AccordionEnum.d.ts +8 -0
  213. package/components/mui_extended/Accordion/slots/AccordionEnum.js +12 -0
  214. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +23 -0
  215. package/components/mui_extended/Accordion/slots/AccordionSlots.js +39 -0
  216. package/components/mui_extended/Accordion/styles.d.ts +2 -3
  217. package/components/mui_extended/Accordion/styles.js +109 -23
  218. package/components/mui_extended/Accordion/tests/Accordion.test.d.ts +1 -0
  219. package/components/mui_extended/Accordion/types.d.ts +12 -7
  220. package/components/mui_extended/Autocomplete/Autocomplete.d.ts +2 -0
  221. package/components/mui_extended/Autocomplete/AutocompleteStyles.d.ts +2 -0
  222. package/components/mui_extended/Autocomplete/constants.d.ts +9 -0
  223. package/components/mui_extended/Autocomplete/dictionary.d.ts +3 -0
  224. package/components/mui_extended/Autocomplete/index.d.ts +1 -0
  225. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +16 -0
  226. package/components/mui_extended/Autocomplete/slots /AutocompleteEnum.d.ts +14 -0
  227. package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +38 -0
  228. package/components/mui_extended/Autocomplete/slots /index.d.ts +2 -0
  229. package/components/mui_extended/Autocomplete/types.d.ts +67 -0
  230. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
  231. package/components/mui_extended/Button/ButtonStyles.js +1 -0
  232. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  233. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
  234. package/components/mui_extended/Chip/Chip.d.ts +13 -0
  235. package/components/mui_extended/Chip/ChipStyles.d.ts +2 -0
  236. package/components/mui_extended/Chip/constants.d.ts +8 -0
  237. package/components/mui_extended/Chip/index copy.d.ts +2 -0
  238. package/components/mui_extended/Chip/index.d.ts +0 -0
  239. package/components/mui_extended/Chip/slots/ChipEnum.d.ts +7 -0
  240. package/components/mui_extended/Chip/slots/ChipSlots.d.ts +16 -0
  241. package/components/mui_extended/Chip/slots/index.d.ts +3 -0
  242. package/components/mui_extended/Chip/types.d.ts +49 -0
  243. package/components/mui_extended/CircularProgress/CircularProgress.d.ts +5 -0
  244. package/components/mui_extended/CircularProgress/CircularProgress.js +30 -0
  245. package/components/mui_extended/CircularProgress/CircularProgress.styles.d.ts +5 -0
  246. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +57 -0
  247. package/components/mui_extended/CircularProgress/CircularProgress.test.d.ts +1 -0
  248. package/components/mui_extended/CircularProgress/constants.d.ts +13 -0
  249. package/components/mui_extended/CircularProgress/constants.js +6 -0
  250. package/components/mui_extended/CircularProgress/index.d.ts +1 -2
  251. package/components/mui_extended/CircularProgress/index.js +1 -8
  252. package/components/mui_extended/CircularProgress/slots/CircularProgressEnum.d.ts +4 -0
  253. package/components/mui_extended/CircularProgress/slots/CircularProgressEnum.js +8 -0
  254. package/components/mui_extended/CircularProgress/slots/CircularProgressSlots.d.ts +12 -0
  255. package/components/mui_extended/CircularProgress/slots/CircularProgressSlots.js +17 -0
  256. package/components/mui_extended/CircularProgress/types.d.ts +48 -0
  257. package/components/mui_extended/Dialog/Dialog.d.ts +54 -0
  258. package/components/mui_extended/Dialog/Dialog.js +38 -0
  259. package/components/mui_extended/Dialog/Dialog.styles.d.ts +2 -0
  260. package/components/mui_extended/Dialog/Dialog.styles.js +26 -0
  261. package/components/mui_extended/Dialog/constants.d.ts +1 -0
  262. package/components/mui_extended/Dialog/constants.js +4 -0
  263. package/components/mui_extended/Dialog/dictionary.d.ts +3 -0
  264. package/components/mui_extended/Dialog/dictionary.js +7 -0
  265. package/components/mui_extended/Dialog/index.d.ts +7 -0
  266. package/components/mui_extended/Dialog/index.js +1 -0
  267. package/components/mui_extended/Dialog/slots/DialogEnum.d.ts +5 -0
  268. package/components/mui_extended/Dialog/slots/DialogEnum.js +9 -0
  269. package/components/mui_extended/Dialog/slots/DialogSlots.d.ts +9 -0
  270. package/components/mui_extended/Dialog/slots/DialogSlots.js +20 -0
  271. package/components/mui_extended/Dialog/slots/index.d.ts +2 -0
  272. package/components/mui_extended/Dialog/slots/index.js +1 -0
  273. package/components/mui_extended/Dialog/tests/Dialog.test.d.ts +1 -0
  274. package/components/mui_extended/Dialog/types.d.ts +60 -0
  275. package/components/mui_extended/Dialog/types.js +1 -0
  276. package/components/mui_extended/IconButton/IconButton.js +79 -83
  277. package/components/mui_extended/IconButton/IconButton.styles.js +104 -189
  278. package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +3 -1
  279. package/components/mui_extended/IconButton/slots/IconButtonEnum.js +2 -0
  280. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +8 -2
  281. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +14 -3
  282. package/components/mui_extended/IconButton/types.d.ts +25 -3
  283. package/components/mui_extended/MenuActions/MenuActions.js +7 -4
  284. package/components/mui_extended/MenuActions/MenuActions.styles.js +11 -2
  285. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +1 -0
  286. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.js +1 -0
  287. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +16 -5
  288. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.js +8 -2
  289. package/components/mui_extended/MenuActions/types.d.ts +38 -1
  290. package/components/mui_extended/MenuItem/MenuItem.d.ts +2 -2
  291. package/components/mui_extended/MenuItem/MenuItem.js +25 -17
  292. package/components/mui_extended/MenuItem/MenuItem.styles.js +18 -29
  293. package/components/mui_extended/MenuItem/slots/MenuItemEnum.d.ts +3 -3
  294. package/components/mui_extended/MenuItem/slots/MenuItemEnum.js +3 -3
  295. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +5 -5
  296. package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +12 -12
  297. package/components/mui_extended/MenuItem/types.d.ts +3 -2
  298. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  299. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  300. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  301. package/components/mui_extended/Tabs/styles.d.ts +1 -1
  302. package/components/mui_extended/TextField/TextField.d.ts +2 -2
  303. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  304. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +1 -1
  305. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  306. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +6 -6
  307. package/contexts/ModalContext/index.d.ts +1 -1
  308. package/contexts/ModalContext/index.js +4 -8
  309. package/contexts/ModalContext/types.d.ts +1 -1
  310. package/hooks/useFormAddEdit/index.d.ts +4 -0
  311. package/hooks/useFormAddEdit/index.js +2 -2
  312. package/index.js +114 -89
  313. package/package.json +1 -1
  314. package/storybook/components/ModalDialog/ModalDialog.stories.d.ts +7 -0
  315. package/storybook/components/ModalDialog/subcomponent/WithExtendedContainer.d.ts +37 -0
  316. package/storybook/components/SideBar/SideBar.stories.d.ts +24 -0
  317. package/storybook/components/SideBar/data/menuData.d.ts +2 -0
  318. package/storybook/components/SideBar/subcomponents/SibarDecorator.d.ts +3 -0
  319. package/storybook/components/WindowBase/windowBase.stories.d.ts +9 -0
  320. package/storybook/components/WindowConfirm/windowConfirm.stories.d.ts +8 -0
  321. package/storybook/components/appBar/AppBar.stories.d.ts +11 -0
  322. package/storybook/components/extended/mui/Autocomplete/AutoComple.stories.d.ts +17 -0
  323. package/storybook/components/extended/mui/Chip/Chip.stories.d.ts +29 -0
  324. package/storybook/components/extended/mui/CircularProgress/CircularProgress.default.stories.d.ts +14 -0
  325. package/storybook/components/extended/mui/CircularProgress/CircularProgress.sizes.stories.d.ts +18 -0
  326. package/storybook/components/extended/mui/Dialog/Dialog.stories.d.ts +7 -0
  327. package/storybook/components/extended/mui/Dialog/subcomponents/ContentExample.d.ts +12 -0
  328. package/storybook/components/extended/mui/Dialog/subcomponents/WithExtendedContainer.d.ts +38 -0
  329. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/IconButton.containedDefault.stories.d.ts +1 -1
  330. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/IconButton.textDefault.stories.d.ts +1 -1
  331. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/iconButton.outlinedDefault.stories.d.ts +1 -1
  332. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/IconButton.containedDisable.stories.d.ts +1 -1
  333. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/IconButton.textDisable.stories.d.ts +1 -1
  334. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/iconButton.outlinedDisable.stories.d.ts +1 -1
  335. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/IconButton.stories.d.ts +9 -1
  336. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/IconButton.containedPrimary.stories.d.ts +1 -1
  337. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/IconButton.textPrimary.stories.d.ts +1 -1
  338. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/iconButton.outlinedPrimary.stories.d.ts +1 -1
  339. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/IconButton.containedError.stories.d.ts +1 -1
  340. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/IconButton.textError.stories.d.ts +1 -1
  341. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/iconButton.outlinedError.stories.d.ts +1 -1
  342. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/IconButton.containedInfo.stories.d.ts +1 -1
  343. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/IconButton.textInfo.stories.d.ts +1 -1
  344. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/iconButton.outlinedInfo.stories.d.ts +1 -1
  345. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/IconButton.containedSuccess.stories.d.ts +1 -1
  346. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/IconButton.textSucces.stories.d.ts +1 -1
  347. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/iconButton.outlinedSucces.stories.d.ts +1 -1
  348. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/IconButton.containedWarning.stories.d.ts +1 -1
  349. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/IconButton.textWarning.stories.d.ts +1 -1
  350. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/iconButton.outlinedWarning.stories.d.ts +1 -1
  351. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SizesIconButton/IconButtonSizeMedium.stories.d.ts +1 -1
  352. package/{components/mui_extended/MenuActions/stories → storybook/components/extended/mui/MenuActions}/MenuActions.default.stories.d.ts +5 -1
  353. package/{components/mui_extended/MenuActions/stories → storybook/components/extended/mui/MenuActions}/MenuActions.othersProps.stories.d.ts +1 -1
  354. package/storybook/components/mui_extended/Accordion/Accordion.stories.d.ts +25 -0
  355. package/storybook/components/paperForm/PaperForm.stories.d.ts +18 -0
  356. package/utils/getComponentSlotRoot.d.ts +13 -0
  357. package/utils/getComponentSlotRoot.js +13 -0
  358. package/components/AppBar/classes/constants.d.ts +0 -1
  359. package/components/AppBar/classes/constants.js +0 -4
  360. package/components/AppBar/classes/index.d.ts +0 -27
  361. package/components/AppBar/classes/index.js +0 -33
  362. package/components/AppBar/classes/types.d.ts +0 -11
  363. package/components/AppBar/tests/constants.js +0 -4
  364. package/components/AppBar/tests/index.test.d.ts +0 -5
  365. package/components/CommonActions/tests/index.test.d.ts +0 -7
  366. package/components/PaperForm/classes/constants.d.ts +0 -1
  367. package/components/PaperForm/classes/constants.js +0 -4
  368. package/components/PaperForm/classes/index.d.ts +0 -15
  369. package/components/PaperForm/classes/index.js +0 -33
  370. package/components/PaperForm/classes/types.d.ts +0 -11
  371. package/components/SideBar/classes/constants.d.ts +0 -1
  372. package/components/SideBar/classes/constants.js +0 -4
  373. package/components/SideBar/classes/index.d.ts +0 -47
  374. package/components/SideBar/classes/index.js +0 -131
  375. package/components/SideBar/classes/types.d.ts +0 -42
  376. package/components/SideBar/subcomponents/ContentDesktop/index.d.ts +0 -4
  377. package/components/SideBar/subcomponents/ContentDesktop/index.js +0 -12
  378. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.d.ts +0 -13
  379. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.js +0 -29
  380. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -2
  381. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.js +0 -10
  382. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/types.d.ts +0 -5
  383. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/index.d.ts +0 -4
  384. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/index.js +0 -74
  385. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.d.ts +0 -8
  386. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.js +0 -95
  387. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -1
  388. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.js +0 -9
  389. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/index.d.ts +0 -5
  390. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -1
  391. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.js +0 -9
  392. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.d.ts +0 -5
  393. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.js +0 -44
  394. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -8
  395. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.js +0 -29
  396. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.d.ts +0 -5
  397. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.js +0 -44
  398. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/type.d.ts +0 -8
  399. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +0 -17
  400. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.d.ts +0 -5
  401. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.js +0 -78
  402. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -1
  403. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.js +0 -8
  404. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.d.ts +0 -5
  405. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.js +0 -20
  406. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/styles.d.ts +0 -7
  407. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.d.ts +0 -5
  408. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.js +0 -57
  409. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -5
  410. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.js +0 -39
  411. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/types.d.ts +0 -8
  412. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/types.d.ts +0 -16
  413. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/type.d.ts +0 -11
  414. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/types.d.ts +0 -12
  415. package/components/SideBar/subcomponents/ContentGroups/type.d.ts +0 -5
  416. package/components/SideBar/subcomponents/ContentGroups/utils/index.d.ts +0 -2
  417. package/components/SideBar/subcomponents/ContentMobile/index.d.ts +0 -4
  418. package/components/SideBar/subcomponents/ContentMobile/index.js +0 -81
  419. package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -2
  420. package/components/SideBar/subcomponents/ContentMobile/styles.js +0 -18
  421. package/components/SideBar/subcomponents/ContentMobile/subcomponents/Drawer.d.ts +0 -5
  422. package/components/modal/ModalDialog/index.d.ts +0 -8
  423. package/components/modal/ModalDialog/index.js +0 -60
  424. package/components/modal/ModalDialog/styles.d.ts +0 -6
  425. package/components/modal/ModalDialog/types.d.ts +0 -7
  426. package/components/modal/WindowBase/index.d.ts +0 -7
  427. package/components/modal/WindowBase/index.js +0 -20
  428. package/components/modal/WindowBase/styles.d.ts +0 -1
  429. package/components/modal/WindowBase/subcomponents/Header/index.d.ts +0 -5
  430. package/components/modal/WindowBase/subcomponents/Header/index.js +0 -29
  431. package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -1
  432. package/components/modal/WindowBase/subcomponents/Header/types.d.ts +0 -5
  433. package/components/modal/WindowBase/types.d.ts +0 -11
  434. package/components/modal/WindowConfirm/index.d.ts +0 -16
  435. package/components/modal/WindowConfirm/index.js +0 -43
  436. package/components/modal/WindowConfirm/styles.d.ts +0 -1
  437. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.d.ts +0 -5
  438. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.js +0 -35
  439. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/types.d.ts +0 -6
  440. package/components/modal/WindowConfirm/types.d.ts +0 -44
  441. package/components/mui_extended/Accordion/classes/constants.d.ts +0 -1
  442. package/components/mui_extended/Accordion/classes/constants.js +0 -4
  443. package/components/mui_extended/Accordion/classes/index.d.ts +0 -13
  444. package/components/mui_extended/Accordion/classes/index.js +0 -31
  445. package/components/mui_extended/Accordion/classes/types.d.ts +0 -10
  446. package/components/mui_extended/Accordion/tests/constants.d.ts +0 -1
  447. package/components/mui_extended/Accordion/tests/utils.d.ts +0 -2
  448. /package/components/{modal/ModalDialog → ModalDialog}/dictionary.d.ts +0 -0
  449. /package/components/{modal/ModalDialog → ModalDialog}/subcomponents/ResizeHandle/index.d.ts +0 -0
  450. /package/components/{hook-form/RHFTextFieldPassword/tests/index.test.d.ts → ModalDialog/tests/ModalDialog.test.d.ts} +0 -0
  451. /package/components/SideBar/subcomponents/{ContentMobile → SideBarMobile}/subcomponents/Drawer.js +0 -0
  452. /package/components/SideBar/subcomponents/{ContentMobile → SideBarMobile}/subcomponents/types.d.ts +0 -0
  453. /package/components/{modal/WindowConfirm → WindowConfirm}/dictionary.d.ts +0 -0
  454. /package/components/{modal/WindowConfirm → WindowConfirm}/dictionary.js +0 -0
  455. /package/components/{mui_extended/Accordion/tests/index.test.d.ts → WindowConfirm/test/WindowConfirm.test.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').InputNumberSpinnerOwnerState> & Record<string, unknown> & {
2
2
  ownerState: Partial<import('../types').InputNumberSpinnerOwnerState> & Record<string, unknown>;
3
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
4
  export declare const InputStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').InputNumberSpinnerOwnerState> & Record<string, unknown> & {
5
5
  ownerState: Partial<import('../types').InputNumberSpinnerOwnerState> & Record<string, unknown>;
6
6
  }, Pick<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import('react').ClassAttributes<HTMLInputElement> | keyof import('react').InputHTMLAttributes<HTMLInputElement>>, {}>;
@@ -12,6 +12,6 @@ export declare const IconHelperMessageStyled: import('@emotion/styled').StyledCo
12
12
  }, {}, {}>;
13
13
  export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
14
14
  ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
15
- }, "children" | "style" | "variant" | "width" | "height" | "animation" | "sx" | "classes" | "className">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "variant" | "width" | "height" | "translate" | "animation" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "onResize" | "onResizeCapture" | "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" | "key"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
15
+ }, "children" | "style" | "variant" | "width" | "height" | "className" | "classes" | "sx" | "animation">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "variant" | "width" | "height" | "className" | "classes" | "onChange" | "sx" | "translate" | "animation" | "slot" | "key" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
16
16
  ownerState: Partial<import('../types').LabelOwnerState> & Record<string, unknown>;
17
17
  }, {}, {}>;
@@ -1,6 +1,7 @@
1
1
  import { LanguagePopoverProps } from './types';
2
2
  /**
3
3
  * Provee un componente que le permite al usuario cambiar la configuración del idioma en la plataforma.
4
+ * Se debe refactorizar el componente LangueagePopover para recibir la propr de size.
4
5
  * @param props
5
6
  * @returns
6
7
  */
@@ -3,7 +3,6 @@ import { useState, useEffect } from "react";
3
3
  import { Stack, MenuItem } from "@mui/material";
4
4
  import { I as Image } from "../Image/Image.js";
5
5
  import { useLocales } from "@m4l/graphics";
6
- import { C as CircularProgress } from "../mui_extended/CircularProgress/index.js";
7
6
  import { L as LanguagePopoverRoot, C as ContainerMenuItems, a as ContainerProgress, b as ContainerImage, c as LabelItem } from "./styles.js";
8
7
  import { I as ImageButton } from "../mui_extended/ImageButton/ImageButton.js";
9
8
  import { useEnvironment, useNetwork } from "@m4l/core";
@@ -12,6 +11,7 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
12
11
  import { L as LANGUAGEPOPOVER_KEY_COMPONENT } from "./tests/constants.js";
13
12
  import { g as getNameDataTestId } from "../../test/getNameDataTestId.js";
14
13
  import { P as Popover } from "../mui_extended/Popover/Popover.js";
14
+ import { C as CircularProgress } from "../mui_extended/CircularProgress/CircularProgress.js";
15
15
  function LanguagePopover(props) {
16
16
  const { testingProps, dataTestId } = props;
17
17
  const { currentLocale, onChangeLocale } = useLocales();
@@ -105,7 +105,7 @@ function LanguagePopover(props) {
105
105
  {
106
106
  className: classes.containerProgress,
107
107
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId(LANGUAGEPOPOVER_KEY_COMPONENT, "containerProgress", dataTestId) } : {},
108
- children: /* @__PURE__ */ jsx(CircularProgress, { size: "20px" })
108
+ children: /* @__PURE__ */ jsx(CircularProgress, { size: "small" })
109
109
  }
110
110
  ),
111
111
  allLocales.length > 0 && /* Stack, MenuItem, Image, LabelItem: El grupo de componentes conforma las opciones del menú de idioma,
@@ -0,0 +1,57 @@
1
+ /**
2
+ * ModalDialog Component
3
+ *
4
+ * This component is a customizable modal dialog that supports draggable and resizable windows
5
+ * for non-mobile and non-fullscreen modes. It renders a basic fullscreen view for mobile and fullscreen scenarios.
6
+ *
7
+ * ### Features:
8
+ * - **Fullscreen Support:** Renders a fullscreen modal dialog when `fullScreen` is enabled or when viewed on a mobile device.
9
+ * - **Draggable and Resizable:** For non-mobile and non-fullscreen modes, the modal is draggable and resizable.
10
+ * - **Dynamic Sizing:** Accepts initial width, height, and maximum constraints for the dialog's dimensions.
11
+ * - **Custom Content:** The dialog's content is dynamically rendered using the `window` prop.
12
+ *
13
+ * ### Props:
14
+ * The component leverages the `useModal` hook for the following properties:
15
+ * - **open** (`boolean`): Controls the visibility of the modal dialog.
16
+ * - **initialWidth** (`number`): Initial width of the dialog in pixels. Default is `600px`.
17
+ * - **initialHeight** (`number`): Initial height of the dialog in pixels. Default is `400px`.
18
+ * - **maxWidth** (`number` | `undefined`): Maximum width of the dialog.
19
+ * - **maxHeight** (`number` | `undefined`): Maximum height of the dialog.
20
+ * - **fullScreen** (`boolean`): Enables fullscreen mode.
21
+ * - **variant** (`string`): Defines the style variant for the modal dialog.
22
+ * - **window** (`ReactNode` | `() => ReactNode`): Content to display inside the modal dialog.
23
+ * - **closeModal** (`VoidFunction`): Callback to close the modal dialog.
24
+ *
25
+ * ### Dependencies:
26
+ * - **useModal**: Supplies the modal dialog properties.
27
+ * - **useIsMobile**: Determines if the current environment is mobile.
28
+ * - **useStateRef**: Provides a mutable reference to the modal dialog for resizing and dragging.
29
+ * - **BaseProvider**: Supplies dimension properties (`initialWidth`, `initialHeight`, etc.) to the children.
30
+ *
31
+ * ### Behavior:
32
+ * - Selects `PaperComponent` for fullscreen and mobile views.
33
+ * - Selects `DraggablePaperComponent` for non-mobile, non-fullscreen views.
34
+ * - Dynamically updates the fullscreen mode when the `fullScreen` prop changes.
35
+ *
36
+ * ### Example Usage:
37
+ * ```tsx
38
+ * import { ModalDialog } from './ModalDialog';
39
+ * import { useModal } from './hooks/useModal';
40
+ *
41
+ * const App = () => {
42
+ * const { openModal } = useModal();
43
+ *
44
+ * return (
45
+ * <div>
46
+ * <button onClick={() => openModal({ fullScreen: false })}>Open Modal</button>
47
+ * <ModalDialog />
48
+ * </div>
49
+ * );
50
+ * };
51
+ * ```
52
+ * @author cesar - automatic
53
+ * @createdAt 2024-11-28 08:35:15 - automatic
54
+ * @updatedAt 2024-12-02 17:50:36 - automatic
55
+ * @updatedUser cesar - automatic
56
+ */
57
+ export declare const ModalDialog: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,94 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { u as useModal } from "../../hooks/useModal/index.js";
3
+ import { useIsMobile } from "@m4l/graphics";
4
+ import { useState, useEffect } from "react";
5
+ import { u as useStateRef } from "../../hooks/useStateRef/index.js";
6
+ import { BaseProvider, useBase } from "@m4l/core";
7
+ import { C as ContentComponent, D as DialogRootStyled, a as DragResizeWindowStyled, P as PaperModalDialogStyled, M as ModalDialogRootStyled } from "./slots/ModalDialogSlots.js";
8
+ const DraggablePaperComponent = (ref, setRef) => {
9
+ return (props) => {
10
+ const { initialWidth, initialHeight, maxWidth, maxHeight } = useBase();
11
+ if (!ref) {
12
+ return props.children;
13
+ }
14
+ const topPosition = Math.max(0, window.innerHeight / 2 - (initialHeight ?? 100) / 2);
15
+ const leftPosition = Math.max(0, window.innerWidth / 2 - (initialWidth ?? 100) / 2);
16
+ return /* @__PURE__ */ jsx(
17
+ DragResizeWindowStyled,
18
+ {
19
+ containerElement: ref,
20
+ minWindowWidth: maxWidth,
21
+ minWindowHeight: maxHeight,
22
+ bounds: { left: 0, top: 0, right: 0, bottom: 0 },
23
+ resizeHandles: ["se", "nw", "sw", "ne", "n", "e", "s", "w"],
24
+ defaultPosition: {
25
+ vertical: { top: topPosition, height: initialHeight ?? 100 },
26
+ horizontal: { left: leftPosition, width: initialWidth ?? 100 }
27
+ },
28
+ children: /* @__PURE__ */ jsx(PaperModalDialogStyled, { ref: setRef, ...props, children: props.children })
29
+ }
30
+ );
31
+ };
32
+ };
33
+ const PaperComponent = (props) => {
34
+ return /* @__PURE__ */ jsx(
35
+ ModalDialogRootStyled,
36
+ {
37
+ ...props
38
+ }
39
+ );
40
+ };
41
+ const ModalDialog = () => {
42
+ const {
43
+ open,
44
+ initialWidth = 600,
45
+ initialHeight = 400,
46
+ maxWidth,
47
+ maxHeight,
48
+ window: window2,
49
+ fullScreen,
50
+ variant,
51
+ closeModal
52
+ } = useModal();
53
+ const isMobile = useIsMobile();
54
+ const [isFullScreenMode, setIsFullScreenMode] = useState(fullScreen);
55
+ const [ref, setRef] = useStateRef(null);
56
+ useEffect(() => {
57
+ setIsFullScreenMode(fullScreen);
58
+ }, [fullScreen]);
59
+ const ownerState = {
60
+ windowConfirmVariant: variant
61
+ };
62
+ const contentComponent = /* @__PURE__ */ jsx(ContentComponent, { children: typeof window2 === "function" ? window2() : window2 });
63
+ const SelectedPaperComponent = isFullScreenMode || isMobile ? PaperComponent : DraggablePaperComponent(ref, setRef);
64
+ return /* @__PURE__ */ jsx(
65
+ BaseProvider,
66
+ {
67
+ value: {
68
+ initialWidth,
69
+ initialHeight,
70
+ maxWidth,
71
+ maxHeight
72
+ },
73
+ children: /* @__PURE__ */ jsx(
74
+ DialogRootStyled,
75
+ {
76
+ ref: setRef,
77
+ role: "dialog-modal",
78
+ "data-fullscreen": isFullScreenMode || isMobile ? "true" : "false",
79
+ ownerState,
80
+ open,
81
+ onClose: closeModal,
82
+ fullScreen: isFullScreenMode || isMobile,
83
+ "aria-labelledby": "child-modal-title",
84
+ PaperComponent: SelectedPaperComponent,
85
+ disableEnforceFocus: true,
86
+ children: contentComponent
87
+ }
88
+ )
89
+ }
90
+ );
91
+ };
92
+ export {
93
+ ModalDialog as M
94
+ };
@@ -0,0 +1,2 @@
1
+ import { ModalDialogStyles } from './types';
2
+ export declare const modalDialogStyles: ModalDialogStyles;
@@ -0,0 +1,44 @@
1
+ const modalDialogStyles = {
2
+ /**
3
+ * Modal Dialog Root style
4
+ * @author cesar - automatic
5
+ * @createdAt 2024-11-26 08:22:10 - automatic
6
+ * @updatedAt 2024-11-29 09:50:22 - automatic
7
+ * @updatedUser cesar - automatic
8
+ */
9
+ modalDialogRoot: () => ({
10
+ position: "absolute",
11
+ left: "10px",
12
+ top: "10px",
13
+ right: "10px",
14
+ bottom: "10px"
15
+ }),
16
+ /**
17
+ * Modal Dialog Content style
18
+ * @author cesar - automatic
19
+ * @createdAt 2024-11-29 07:54:20 - automatic
20
+ * @updatedAt 2024-11-29 09:50:22 - automatic
21
+ * @updatedUser cesar - automatic
22
+ */
23
+ contentComponent: () => ({
24
+ width: "100%",
25
+ height: "100%"
26
+ }),
27
+ /**
28
+ * Modal Dialog Paper style
29
+ * @author cesar - automatic
30
+ * @createdAt 2024-11-27 15:21:40 - automatic
31
+ * @updatedAt 2024-11-29 09:50:22 - automatic
32
+ * @updatedUser cesar - automatic
33
+ */
34
+ paperModalDialog: () => ({
35
+ height: "100%",
36
+ padding: 0,
37
+ margin: "0 !important",
38
+ position: "absolute",
39
+ background: "transparent"
40
+ })
41
+ };
42
+ export {
43
+ modalDialogStyles as m
44
+ };
@@ -0,0 +1 @@
1
+ export declare const MODAL_DIALOG_KEY_COMPONENT = "M4LModalDialog";
@@ -0,0 +1,4 @@
1
+ const MODAL_DIALOG_KEY_COMPONENT = "M4LModalDialog";
2
+ export {
3
+ MODAL_DIALOG_KEY_COMPONENT as M
4
+ };
@@ -1,4 +1,4 @@
1
- import { g as getCommonActionsDictionary } from "../../CommonActions/dictionary.js";
1
+ import { g as getCommonActionsDictionary } from "../CommonActions/dictionary.js";
2
2
  function getModalDialogComponentsDictionary() {
3
3
  return ["modal_dialog"].concat(getCommonActionsDictionary());
4
4
  }
@@ -0,0 +1,8 @@
1
+ export * from './ModalDialog.styles';
2
+ export * from './ModalDialog';
3
+ export * from './constants';
4
+ export * from './dictionary';
5
+ export * from './slots/ModalDialogEnum';
6
+ export * from './slots/ModalDialogSlots';
7
+ export * from './subcomponents/ResizeHandle/index';
8
+ export * from './types';
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,7 @@
1
+ export declare enum ModalDialogSlots {
2
+ modalDialogRoot = "modalDialogRoot",
3
+ dialogRoot = "dialogRoot",
4
+ contentComponent = "contentComponent",
5
+ dragResizeWindow = "dragResizeWindow",
6
+ paperModalDialog = "paperModalDialog"
7
+ }
@@ -0,0 +1,11 @@
1
+ var ModalDialogSlots = /* @__PURE__ */ ((ModalDialogSlots2) => {
2
+ ModalDialogSlots2["modalDialogRoot"] = "modalDialogRoot";
3
+ ModalDialogSlots2["dialogRoot"] = "dialogRoot";
4
+ ModalDialogSlots2["contentComponent"] = "contentComponent";
5
+ ModalDialogSlots2["dragResizeWindow"] = "dragResizeWindow";
6
+ ModalDialogSlots2["paperModalDialog"] = "paperModalDialog";
7
+ return ModalDialogSlots2;
8
+ })(ModalDialogSlots || {});
9
+ export {
10
+ ModalDialogSlots as M
11
+ };
@@ -0,0 +1,9 @@
1
+ export declare const ModalDialogRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
+ }, "children" | "style" | "square" | "variant" | "className" | "classes" | "elevation" | "sx">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "square" | "variant" | "className" | "classes" | "onChange" | "elevation" | "sx" | "translate" | "slot" | "key" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
4
+ export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "className" | "classes" | "onChange" | "sx" | "transitionDuration" | "translate" | "TransitionComponent" | "TransitionProps" | "slots" | "slotProps" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "componentsProps" | "dataTestId" | "fullScreen" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "fullWidth" | "PaperComponent" | "PaperProps" | keyof import('react').RefAttributes<HTMLDivElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
5
+ export declare const ContentComponent: 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
+ export declare const DragResizeWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../DragResizeWindow/types').DragResizeWindowProps & import('react').RefAttributes<HTMLDivElement>, keyof import('../../DragResizeWindow/types').DragResizeWindowProps | keyof import('react').RefAttributes<HTMLDivElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
7
+ export declare const PaperModalDialogStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
9
+ }, "children" | "style" | "square" | "variant" | "className" | "classes" | "elevation" | "sx">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "square" | "variant" | "className" | "classes" | "onChange" | "elevation" | "sx" | "translate" | "slot" | "key" | "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" | "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" | "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" | "onResize" | "onResizeCapture" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
@@ -0,0 +1,34 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { M as MODAL_DIALOG_KEY_COMPONENT } from "../constants.js";
3
+ import { M as ModalDialogSlots } from "./ModalDialogEnum.js";
4
+ import { m as modalDialogStyles } from "../ModalDialog.styles.js";
5
+ import { Paper } from "@mui/material";
6
+ import { D as Dialog } from "../../mui_extended/Dialog/Dialog.js";
7
+ import { D as DragResizeWindow } from "../../DragResizeWindow/DragResizeWindow.js";
8
+ const ModalDialogRootStyled = styled(Paper, {
9
+ name: MODAL_DIALOG_KEY_COMPONENT,
10
+ slot: ModalDialogSlots.modalDialogRoot
11
+ })(modalDialogStyles?.modalDialogRoot);
12
+ const DialogRootStyled = styled(Dialog, {
13
+ name: MODAL_DIALOG_KEY_COMPONENT,
14
+ slot: ModalDialogSlots.dialogRoot
15
+ })(modalDialogStyles?.dialogRoot);
16
+ const ContentComponent = styled("div", {
17
+ name: MODAL_DIALOG_KEY_COMPONENT,
18
+ slot: ModalDialogSlots.contentComponent
19
+ })(modalDialogStyles?.contentComponent);
20
+ const DragResizeWindowStyled = styled(DragResizeWindow, {
21
+ name: MODAL_DIALOG_KEY_COMPONENT,
22
+ slot: ModalDialogSlots.dragResizeWindow
23
+ })(modalDialogStyles?.dragResizeWindow);
24
+ const PaperModalDialogStyled = styled(Paper, {
25
+ name: MODAL_DIALOG_KEY_COMPONENT,
26
+ slot: ModalDialogSlots.paperModalDialog
27
+ })(modalDialogStyles?.paperModalDialog);
28
+ export {
29
+ ContentComponent as C,
30
+ DialogRootStyled as D,
31
+ ModalDialogRootStyled as M,
32
+ PaperModalDialogStyled as P,
33
+ DragResizeWindowStyled as a
34
+ };
@@ -0,0 +1,2 @@
1
+ export * from './ModalDialogEnum';
2
+ export * from './ModalDialogSlots';
@@ -0,0 +1,4 @@
1
+ import "react/jsx-runtime";
2
+ import "@m4l/core";
3
+ import "react";
4
+ import "clsx";
@@ -0,0 +1,16 @@
1
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
2
+ import { VariantColor } from '../../utils/types';
3
+ import { MODAL_DIALOG_KEY_COMPONENT } from './constants';
4
+ import { Theme } from '@mui/material';
5
+ import { ModalDialogSlots } from './slots';
6
+ export type ModalDialogType = keyof typeof ModalDialogSlots;
7
+ export interface DialogProperties {
8
+ initialWidth: number;
9
+ initialHeight: number;
10
+ maxWidth?: number;
11
+ maxHeight?: number;
12
+ }
13
+ export interface VariantProps {
14
+ variant?: VariantColor;
15
+ }
16
+ export type ModalDialogStyles = Partial<OverridesStyleRules<ModalDialogType, typeof MODAL_DIALOG_KEY_COMPONENT, Theme> | undefined> | undefined;
@@ -0,0 +1 @@
1
+
@@ -3,7 +3,7 @@ import { NavLinkProps } from './types';
3
3
  * TODO: Documentar
4
4
  * @author Bruce Escobar - automatic
5
5
  * @createdAt 2024-10-22 09:41:31 - automatic
6
- * @updatedAt 2024-10-22 19:27:23 - automatic
7
- * @updatedUser Bruce Escobar - automatic
6
+ * @updatedAt 2024-11-25 09:34:36 - automatic
7
+ * @updatedUser cesar - automatic
8
8
  */
9
9
  export declare const NavLink: (props: NavLinkProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { NavLink as NavLink$1 } from "react-router-dom";
3
3
  import { u as useUtilityClasses } from "./classes/index.js";
4
4
  import { N as NavLinkRoot } from "./styles.js";
@@ -13,7 +13,7 @@ const NavLink = (props) => {
13
13
  {
14
14
  className: classes.root,
15
15
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("root") } : {},
16
- children: /* @__PURE__ */ jsx(NavLink$1, { ...others, children: /* @__PURE__ */ jsxs(Fragment, { children: [
16
+ children: /* @__PURE__ */ jsxs(NavLink$1, { ...others, children: [
17
17
  /* @__PURE__ */ jsx(
18
18
  Typography,
19
19
  {
@@ -22,8 +22,8 @@ const NavLink = (props) => {
22
22
  children: text
23
23
  }
24
24
  ),
25
- children
26
- ] }) })
25
+ typeof children === "function" ? children({ isActive: false }) : children
26
+ ] })
27
27
  }
28
28
  );
29
29
  };
@@ -6,7 +6,7 @@ import { useModuleDictionary, useEnvironment } from "@m4l/core";
6
6
  import { I as Icon } from "../../../Icon/Icon.js";
7
7
  import { useResponsiveDesktop } from "@m4l/graphics";
8
8
  import { S as Stack } from "../../../mui_extended/Stack/Stack.js";
9
- import { W as WindowBase } from "../../../modal/WindowBase/index.js";
9
+ import { W as WindowBase } from "../../../WindowBase/WindowBase.js";
10
10
  function DetailFormatter(props) {
11
11
  const { log_id } = props;
12
12
  const { openModal } = useModal();
@@ -1,5 +1,13 @@
1
1
  import { PaperFormProps } from './types';
2
2
  /**
3
- * TODO: Documentar
3
+ * **********************************************************************
4
+ * PaperForm Component representa un contenedor para agrupar secciones
5
+ * con un encabezado, icono y children tipo ReactNode para representar
6
+ * un formulario o cualquier otro contenido.
7
+ * **********************************************************************
8
+ * @author Andrés Quintero - automatic
9
+ * @createdAt 2024-11-20 14:00:24 - automatic
10
+ * @updatedAt 2024-11-22 11:15:45 - automatic
11
+ * @updatedUser Andrés Quintero - automatic
4
12
  */
5
13
  export declare function PaperForm(props: PaperFormProps): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,16 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { P as PaperFormRoot, C as Content } from "./styles.js";
3
2
  import { H as Header } from "./components/Header.js";
4
- import { p as paperFormUtilityClasses } from "./classes/index.js";
3
+ import { P as PaperFormRootStyled, C as ContentStyled } from "./slots/PaperFormSlots.js";
4
+ import { useRef } from "react";
5
+ import { g as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
6
+ import { P as PAPER_FORM_KEY } from "./constants.js";
5
7
  function PaperForm(props) {
6
- const { urlIcon, title, children, isForm = false } = props;
7
- const ownerState = {
8
- isForm
9
- };
10
- const classes = paperFormUtilityClasses(ownerState);
11
- return /* @__PURE__ */ jsxs(PaperFormRoot, { className: classes.root, children: [
12
- /* @__PURE__ */ jsx(Header, { urlIcon, title, classes }),
13
- /* @__PURE__ */ jsx(Content, { className: classes.content, children })
8
+ const { urlIcon, title, children, dataTestId, color = "default", size } = props;
9
+ const paperFormRef = useRef(null);
10
+ const rootClass = getComponentSlotRoot(PAPER_FORM_KEY);
11
+ return /* @__PURE__ */ jsxs(PaperFormRootStyled, { className: rootClass, ref: paperFormRef, ownerState: {}, ...process.env.NODE_ENV !== "production" ? { "data-testid": dataTestId } : {}, children: [
12
+ /* @__PURE__ */ jsx(Header, { urlIcon, title, color, size }),
13
+ /* @__PURE__ */ jsx(ContentStyled, { ownerState: {}, children })
14
14
  ] });
15
15
  }
16
16
  export {
@@ -1,5 +1,12 @@
1
1
  import { HeaderProps } from '../types';
2
2
  /**
3
- * TODO: Documentar
3
+ * Componente que representa el encabezado del PaperForm
4
+ * este encabezado contiene un icono y un título
5
+ * @author Andrés Quintero - automatic
6
+ * @param props - Propiedades del componente
7
+ * @returns JSX.Element
8
+ * @createdAt 2024-11-21 11:29:19 - automatic
9
+ * @updatedAt 2024-12-03 11:01:24 - automatic
10
+ * @updatedUser Andrés Quintero - automatic
4
11
  */
5
12
  export declare const Header: (props: HeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +1,26 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton } from "@m4l/core";
3
- import { Skeleton } from "@mui/material";
4
- import { I as Icon } from "../../Icon/Icon.js";
5
- import { H as HeaderContainer, I as IconTitleContainer, a as IconHeader, S as SkTPaperFormHeader } from "../styles.js";
3
+ import { H as HeaderStyled, I as IconStyled, T as TitleStyled } from "../slots/PaperFormSlots.js";
4
+ import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
6
5
  const Header = (props) => {
7
- const { urlIcon, title, classes } = props;
6
+ const { urlIcon, title, size, dataTestId, color } = props;
8
7
  const isSkeleton = useModuleSkeleton();
9
- return /* @__PURE__ */ jsx(HeaderContainer, { id: "Header", className: classes.headerContainer, children: !isSkeleton ? /* @__PURE__ */ jsxs(IconTitleContainer, { className: classes.iconTitleContainer, children: [
10
- urlIcon ? /* @__PURE__ */ jsx(IconHeader, { className: classes.iconHeaderContainer, children: /* @__PURE__ */ jsx(Icon, { src: urlIcon }) }) : null,
11
- title
12
- ] }) : /* @__PURE__ */ jsxs(SkTPaperFormHeader, { className: classes.skeletonContainer, children: [
13
- /* @__PURE__ */ jsx(Skeleton, { variant: "circular", width: 16, height: 16 }),
14
- /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: 68, height: 14 })
15
- ] }) });
8
+ const ownerState = {
9
+ color
10
+ };
11
+ const renderSkeleton = () => {
12
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
13
+ urlIcon ? /* @__PURE__ */ jsx(Skeleton, { variant: "circular", width: 16, height: 16 }) : null,
14
+ /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: 80, height: 16 })
15
+ ] });
16
+ };
17
+ const renderContentHeader = () => {
18
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
19
+ urlIcon ? /* @__PURE__ */ jsx(IconStyled, { ownerState: {}, src: urlIcon, size }) : null,
20
+ /* @__PURE__ */ jsx(TitleStyled, { ownerState: {}, variant: "bodyDens", size, children: title })
21
+ ] });
22
+ };
23
+ return /* @__PURE__ */ jsx(HeaderStyled, { role: "heading", ownerState, ...process.env.NODE_ENV !== "production" ? { "data-testid": dataTestId } : {}, children: isSkeleton ? renderSkeleton() : renderContentHeader() });
16
24
  };
17
25
  export {
18
26
  Header as H