@m4l/components 0.2.23 → 0.2.25

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 (178) hide show
  1. package/@types/export.d.ts +15 -1
  2. package/components/AccountPopover/classes/index.d.ts +9 -0
  3. package/components/AccountPopover/classes/types.d.ts +10 -0
  4. package/components/AccountPopover/{index.5d50006d.js → index.505e278a.js} +1 -1
  5. package/components/AccountPopover/subcomponents/MyAvatar/index.d.ts +7 -0
  6. package/components/AccountPopover/subcomponents/MyAvatar/types.d.ts +12 -0
  7. package/components/AccountPopover/subcomponents/PopOver/index.d.ts +1 -0
  8. package/components/AccountPopover/subcomponents/PopOver/types.d.ts +15 -0
  9. package/components/AppBar/classes/index.d.ts +17 -0
  10. package/components/AppBar/{index.25161cf9.js → index.7106417d.js} +2 -2
  11. package/components/AppBar/types.d.ts +6 -0
  12. package/components/CommonActions/components/ActionCancel/{index.a29b596a.js → index.de862adf.js} +2 -2
  13. package/components/CommonActions/components/ActionFormCancel/{index.00a61ea9.js → index.3fd5c858.js} +4 -4
  14. package/components/CommonActions/components/ActionFormIntro/{index.911bca41.js → index.07394f62.js} +2 -2
  15. package/components/CommonActions/components/ActionIntro/{index.44b80eb3.js → index.79fc2386.js} +2 -2
  16. package/components/CommonActions/components/Actions/{index.b8a1d42a.js → index.2f6286eb.js} +1 -1
  17. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0b8b64ff.js → index.36270dd1.js} +1 -1
  18. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.b54e968c.js → index.8b008692.js} +1 -1
  19. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.20762ae8.js → index.cb308086.js} +1 -1
  20. package/components/DataGrid/{index.f4623c6b.js → index.b1eafce1.js} +3 -3
  21. package/components/DataGrid/subcomponents/Actions/{index.ecd849b9.js → index.9af87fa1.js} +10 -10
  22. package/components/DragResizeWindow/{index.7b1dfc74.js → index.051c743d.js} +3 -3
  23. package/components/DynamicFilter/{index.3297b25f.js → index.b93e5649.js} +10 -10
  24. package/components/GridLayout/{index.88b62a5d.js → index.0996cd19.js} +2 -2
  25. package/components/GridLayout/subcomponents/Griditem/{index.5256b153.js → index.ded0e80e.js} +3 -3
  26. package/components/GridLayout/subcomponents/Responsive/{index.dfed4e68.js → index.0fd1b7f8.js} +1 -1
  27. package/components/GridLayout/subcomponents/SizeProvider/{index.6b5de802.js → index.7669a2cd.js} +1 -1
  28. package/components/HamburgerMenu/index.25029e23.js +82 -0
  29. package/components/Icon/{index.b99160ae.js → index.b920baf8.js} +1 -1
  30. package/components/Image/{index.2b8dec69.js → index.d034ca68.js} +9 -13
  31. package/components/LanguagePopover/{index.730b4b7e.js → index.e54c5cc7.js} +2 -2
  32. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.d.ts +4 -0
  33. package/components/LinearProgressIndeterminate/{index.32caeee2.js → index.a0ad2d9e.js} +1 -1
  34. package/components/Loadable/index.d.ts +5 -0
  35. package/components/LoadingError/LoadingError.d.ts +12 -0
  36. package/components/LoadingError/classes/index.d.ts +12 -0
  37. package/components/LoadingError/{index.8a4ce00b.js → index.123e16f8.js} +3 -3
  38. package/components/LoadingError/types.d.ts +7 -0
  39. package/components/MFLoader/MFLoader.d.ts +11 -0
  40. package/components/MFLoader/{index.d0b06c1d.js → index.52096ea5.js} +1 -1
  41. package/components/MFLoader/types.d.ts +12 -0
  42. package/components/ModalDialog/{index.9ac45602.js → index.2e931b5f.js} +4 -4
  43. package/components/NoItemSelected/{index.b4afe0ba.js → index.1024b856.js} +1 -1
  44. package/components/ObjectLogs/{index.d467f09f.js → index.d10f4a2f.js} +5 -5
  45. package/components/PDFViewer/{index.6be96baf.js → index.98852f91.js} +1 -1
  46. package/components/Page/{index.ba64b2c4.js → index.def863f2.js} +1 -1
  47. package/components/PaperForm/{index.bcf95def.js → index.8a617a66.js} +1 -1
  48. package/components/Period/{index.fbaf483d.js → index.d80dff10.js} +2 -2
  49. package/components/PrintingSystem/{index.1e83a6c5.js → index.2e17cae5.js} +13 -13
  50. package/components/PrintingSystem/subcomponents/BodyNode/{index.6f508c56.js → index.c5ffe20a.js} +1 -1
  51. package/components/PrintingSystem/subcomponents/ChartNode/{index.f8892226.js → index.020c037c.js} +1 -1
  52. package/components/PrintingSystem/subcomponents/DividerNode/{index.31415ece.js → index.78b023bb.js} +1 -1
  53. package/components/PrintingSystem/subcomponents/FooterNode/{index.e635b0e3.js → index.b29fc1e9.js} +1 -1
  54. package/components/PrintingSystem/subcomponents/GridNode/{index.d0f23fe4.js → index.11626284.js} +1 -1
  55. package/components/PrintingSystem/subcomponents/HeaderNode/{index.9c404c02.js → index.ef44c8ab.js} +1 -1
  56. package/components/PrintingSystem/subcomponents/PaperNode/{index.750602dd.js → index.d72d224b.js} +1 -1
  57. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.2e67247f.js → index.8e53440c.js} +1 -1
  58. package/components/PrintingSystem/subcomponents/SectionNode/{index.68cacbbf.js → index.0b66458e.js} +1 -1
  59. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.62188b50.js → index.b4c72fef.js} +1 -1
  60. package/components/PropertyValue/{index.f88a296e.js → index.3b6670d4.js} +1 -1
  61. package/components/Resizeable/{index.14ab4804.js → index.0eb66c37.js} +1 -1
  62. package/components/SideBar/SideBar.d.ts +55 -0
  63. package/components/SideBar/classes/types.d.ts +2 -0
  64. package/components/SideBar/context/sideBarContext/index.d.ts +10 -0
  65. package/components/SideBar/context/sideBarContext/types.d.ts +12 -0
  66. package/components/SideBar/hooks/useSideBar/index.d.ts +3 -0
  67. package/components/SideBar/{index.62a5659b.js → index.cdb70977.js} +29 -18
  68. package/components/SideBar/subcomponents/ContentDesktop/index.d.ts +4 -0
  69. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.d.ts +9 -0
  70. package/components/SideBar/subcomponents/ContentGroups/index.d.ts +4 -0
  71. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.d.ts +7 -0
  72. package/components/SideBar/subcomponents/ContentMobile/index.d.ts +4 -0
  73. package/components/SideBar/types.d.ts +32 -1
  74. package/components/SplitLayout/SplitLayout.d.ts +12 -0
  75. package/components/SplitLayout/classes/index.d.ts +7 -0
  76. package/components/SplitLayout/types.d.ts +9 -0
  77. package/components/ToastContainer/{index.7c9bc5be.js → index.97fdba82.js} +3 -3
  78. package/components/animate/AnimatedScroll/animatedScroll.d.ts +5 -0
  79. package/components/animate/AnimatedScroll/types.d.ts +9 -0
  80. package/components/animate/IconButtonAnimate/index.d.ts +9 -0
  81. package/components/animate/IconButtonAnimate/types.d.ts +5 -0
  82. package/components/animate/LoadingScreen/index.d.ts +5 -0
  83. package/components/animate/LoadingScreen/types.d.ts +12 -0
  84. package/components/animate/MotionContainer/index.d.ts +20 -0
  85. package/components/animate/MotionLazyContainer/index.d.ts +8 -0
  86. package/components/animate/PropagateLoader/index.d.ts +5 -0
  87. package/components/animate/type.d.ts +32 -0
  88. package/components/areas/components/AreasAdmin/classes/index.d.ts +6 -0
  89. package/components/areas/components/AreasAdmin/classes/types.d.ts +30 -0
  90. package/components/areas/components/AreasAdmin/index.d.ts +6 -0
  91. package/components/areas/components/AreasAdmin/{index.df17052d.js → index.e4f0ccc1.js} +10 -10
  92. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/index.d.ts +3 -0
  93. package/components/areas/components/AreasViewer/{index.36975375.js → index.f87c63ca.js} +14 -14
  94. package/components/areas/contexts/AreasContext/{index.4fed7a17.js → index.3e3d8c62.js} +4 -4
  95. package/components/areas/contexts/DynamicMFParmsContext/index.d.ts +11 -0
  96. package/components/areas/contexts/DynamicMFParmsContext/store.d.ts +14 -0
  97. package/components/areas/contexts/DynamicMFParmsContext/types.d.ts +12 -0
  98. package/components/areas/contexts/WindowToolsMFContext/index.d.ts +14 -0
  99. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +51 -0
  100. package/components/areas/hooks/useAreas/{index.511b843f.js → index.b18fe111.js} +1 -1
  101. package/components/areas/types.d.ts +80 -0
  102. package/components/commercial/AppBarCommercial/classes/constants.d.ts +1 -0
  103. package/components/commercial/AppBarCommercial/classes/index.d.ts +4 -0
  104. package/components/commercial/AppBarCommercial/classes/types.d.ts +6 -0
  105. package/components/commercial/AppBarCommercial/index.c5022fdd.js +30 -0
  106. package/components/commercial/AppBarCommercial/index.d.ts +2 -0
  107. package/components/commercial/AppBarCommercial/types.d.ts +4 -0
  108. package/components/commercial/HamburgerMenu/HamburgerMenu.d.ts +29 -0
  109. package/components/commercial/HamburgerMenu/classes/constants.d.ts +1 -0
  110. package/components/commercial/HamburgerMenu/classes/index.d.ts +7 -0
  111. package/components/commercial/HamburgerMenu/classes/type.d.ts +7 -0
  112. package/components/commercial/HamburgerMenu/index.d.ts +2 -0
  113. package/components/commercial/HamburgerMenu/test/constants.d.ts +1 -0
  114. package/components/commercial/HamburgerMenu/test/utils.d.ts +2 -0
  115. package/components/commercial/HamburgerMenu/types.d.ts +5 -0
  116. package/components/commercial/SectionCommercial/classes/constants.d.ts +1 -0
  117. package/components/commercial/SectionCommercial/classes/index.d.ts +5 -0
  118. package/components/commercial/SectionCommercial/classes/types.d.ts +9 -0
  119. package/components/commercial/SectionCommercial/index.d.ts +2 -0
  120. package/components/commercial/SectionCommercial/types.d.ts +9 -0
  121. package/components/commercial/TopBar/TopBar.d.ts +16 -0
  122. package/components/commercial/TopBar/classes/constants.d.ts +1 -0
  123. package/components/commercial/TopBar/classes/index.d.ts +12 -0
  124. package/components/commercial/TopBar/classes/types.d.ts +12 -0
  125. package/components/commercial/TopBar/component/ConteinItem/index.d.ts +5 -0
  126. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/index.d.ts +12 -0
  127. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/index.d.ts +2 -0
  128. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/types.d.ts +4 -0
  129. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/types.d.ts +4 -0
  130. package/components/commercial/TopBar/context/index.d.ts +16 -0
  131. package/components/commercial/TopBar/context/type.d.ts +12 -0
  132. package/components/commercial/TopBar/hook/topBarContext/index.d.ts +5 -0
  133. package/components/commercial/TopBar/index.8e2163f7.js +288 -0
  134. package/components/commercial/TopBar/index.d.ts +1 -0
  135. package/components/commercial/TopBar/type.d.ts +7 -0
  136. package/components/commercial/TopBar/utils/isActive/index.d.ts +12 -0
  137. package/components/commercial/index.d.ts +4 -0
  138. package/components/formatters/BooleanFormatter/{index.c6f50487.js → index.b3052107.js} +2 -2
  139. package/components/formatters/{index.611e3264.js → index.95cc337e.js} +1 -1
  140. package/components/hook-form/RHFAutocomplete/{index.2c851533.js → index.cf399b24.js} +6 -2
  141. package/components/hook-form/RHFAutocompleteAsync/{index.e35ebd61.js → index.b2b75475.js} +1 -1
  142. package/components/hook-form/RHFColorPicker/{index.1b42bae4.js → index.48a1ee1b.js} +3 -3
  143. package/components/hook-form/RHFDateTime/{index.f8bbac56.js → index.5a673a96.js} +1 -1
  144. package/components/hook-form/RHFPeriod/{index.fe6f9b45.js → index.4205c8ab.js} +1 -1
  145. package/components/hook-form/RHFTextField/{index.09c5da15.js → index.fbb29ee1.js} +2 -2
  146. package/components/hook-form/RHFUpload/{index.f424caee.js → index.05d7e2a7.js} +2 -2
  147. package/components/index.d.ts +1 -0
  148. package/components/modal/WindowBase/index.d.ts +5 -0
  149. package/components/modal/WindowBase/types.d.ts +4 -0
  150. package/components/modal/{WindowBase.321fa298.js → WindowBase.998b8a38.js} +3 -3
  151. package/components/modal/WindowConfirm/index.d.ts +6 -0
  152. package/components/modal/WindowConfirm/types.d.ts +33 -0
  153. package/components/modal/{WindowConfirm.aae5a438.js → WindowConfirm.55ac3c8f.js} +23 -20
  154. package/components/mui_extended/Accordion/{index.e06aaefc.js → index.fb4eb664.js} +2 -2
  155. package/components/mui_extended/Button/Button.d.ts +1 -2
  156. package/components/mui_extended/Button/{index.717945f3.js → index.e520bd15.js} +1 -1
  157. package/components/mui_extended/IconButton/{index.b3fe7a6e.js → index.9ea23f87.js} +1 -1
  158. package/components/mui_extended/MenuActions/{index.5871d199.js → index.fa7c26a5.js} +2 -2
  159. package/components/mui_extended/Pager/{index.eda63c51.js → index.0c703574.js} +1 -1
  160. package/components/mui_extended/ToggleButton/{index.5222f1ac.js → index.bcaea74b.js} +1 -1
  161. package/components/mui_extended/ToggleIconButton/{index.b2e79e73.js → index.131772d7.js} +1 -1
  162. package/contexts/ModalContext/{index.e8f5ad3e.js → index.978a412d.js} +1 -1
  163. package/hooks/useFormAddEdit/{index.aa4e720e.js → index.4caddd24.js} +2 -2
  164. package/hooks/useModal/{index.50b23c06.js → index.786a4439.js} +1 -1
  165. package/index.js +85 -76
  166. package/{node_modules.3c6b318a.js → node_modules.71622512.js} +1 -1
  167. package/package.json +1 -1
  168. package/{react-draggable.38b6012b.js → react-draggable.ee21cb7e.js} +1 -1
  169. package/{react-resizable.3cdda6a7.js → react-resizable.ee028152.js} +2 -2
  170. package/utils/index.d.ts +7 -5
  171. package/vendor.a735310a.js +162 -0
  172. package/utils/getComponentUtilityClass.d.ts +0 -1
  173. package/utils/getPaletteColor.d.ts +0 -2
  174. package/utils/getThemeVariantColor.d.ts +0 -3
  175. package/utils/getTransformXY.d.ts +0 -4
  176. package/utils/isValidDate.d.ts +0 -1
  177. package/vendor.9acc9c5b.js +0 -114
  178. package/utils/{index.79b6a2c1.js → index.de903261.js} +3 -3
@@ -391,6 +391,20 @@ declare module '@mui/material/styles' {
391
391
  M4LPDFViewer?: {
392
392
  styleOverrides?: ComponentsOverrides<Theme>['M4LPDFViewer'];
393
393
  };
394
-
394
+ M4LTopBar?: {
395
+ styleOverrides?: ComponentsOverrides<Theme>['M4LTopBar'];
396
+ };
397
+ M4LPopoverTopBar?: {
398
+ styleOverrides?: ComponentsOverrides<Theme>['M4LPopoverTopBar'];
399
+ };
400
+ M4LAppBarCommercial?: {
401
+ styleOverrides?: ComponentsOverrides<Theme>['M4LAppBarComercial'];
402
+ };
403
+ M4LHamburgerMenuCommercial?: {
404
+ styleOverrides?: ComponentsOverrides<Theme>['M4LHamburgerMenuCommercial'];
405
+ };
406
+ M4LSectionCommercial?: {
407
+ styleOverrides?: ComponentsOverrides<Theme>['M4LSectionComercial'];
408
+ };
395
409
  }
396
410
  }
@@ -1,6 +1,15 @@
1
1
  import { AccountPopoverClassesType } from './types';
2
2
  export declare const accountPopoverClasses: AccountPopoverClassesType;
3
+ /**
4
+ * Obtiene el nombre de la clase de utilidad para una ranura específica.
5
+ * @param slot La ranura para la que se desea obtener la clase de utilidad.
6
+ * @returns El nombre de la clase de utilidad para la ranura especificada.
7
+ */
3
8
  export declare function getAccountPopoverClassesUtilityClass(slot: string): string;
9
+ /**
10
+ * Hook personalizado para utilizar las clases de utilidad del componente AccountPopover.
11
+ * @returns Las clases de utilidad del componente AccountPopover.
12
+ */
4
13
  export declare const useAccountPopoverUtilityClasses: () => {
5
14
  root: string;
6
15
  containerUserName: string;
@@ -1,4 +1,7 @@
1
1
  import { useAccountPopoverUtilityClasses } from ".";
2
+ /**
3
+ * Tipos de datos para las clases del componente AccountPopover.
4
+ */
2
5
  export interface AccountPopoverClassesType {
3
6
  root: string;
4
7
  containerUserName: string;
@@ -18,5 +21,12 @@ export interface AccountPopoverClassesType {
18
21
  logOut: string;
19
22
  menuItem: string;
20
23
  }
24
+ /**
25
+ * Tipo de dato para las claves de las clases del componente AccountPopover.
26
+ * Utilizado para construir overrides en el objeto del tema.
27
+ */
21
28
  export declare type AccountPopoverClassesKey = keyof AccountPopoverClassesType;
29
+ /**
30
+ * Tipo para las clases del componente AccountPopover.
31
+ */
22
32
  export declare type AccountPopoverClasses = ReturnType<typeof useAccountPopoverUtilityClasses>;
@@ -7,7 +7,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { A as Avatar } from "../mui_extended/Avatar/index.75e6ed57.js";
8
8
  import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
9
9
  import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
10
- import { I as Icon } from "../Icon/index.b99160ae.js";
10
+ import { I as Icon } from "../Icon/index.b920baf8.js";
11
11
  import clsx from "clsx";
12
12
  const componentName = "M4LAccountPopover";
13
13
  generateUtilityClasses(componentName, [
@@ -1,2 +1,9 @@
1
1
  import { MyAvatarProps } from './types';
2
+ /**
3
+ * Componente utilizado para mostrar avatares de usuarios.
4
+ * Si se proporciona una URL de imagen para el avatar, se muestra esa imagen.
5
+ * Si no se proporciona una URL de imagen, se generan iniciales a partir del primer nombre y el apellido del usuario.
6
+ * @param {MyAvatarProps} props - Las propiedades del componente MyAvatar.
7
+ * @returns {JSX.Element} El componente MyAvatar.
8
+ */
2
9
  export default function MyAvatar(props: MyAvatarProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,19 @@
1
1
  import { Maybe } from "@m4l/core";
2
2
  import { AvatarProps } from "@mui/material";
3
+ /**
4
+ * Propiedades del componente MyAvatar.
5
+ */
3
6
  export interface MyAvatarProps extends AvatarProps {
7
+ /**
8
+ * La URL del avatar.
9
+ */
4
10
  avatarUrl: Maybe<string>;
11
+ /**
12
+ * El primer nombre del usuario.
13
+ */
5
14
  firstName: string;
15
+ /**
16
+ * El apellido del usuario.
17
+ */
6
18
  lastName: string;
7
19
  }
@@ -2,6 +2,7 @@ import { PopOverProps } from './types';
2
2
  /**
3
3
  * MenuPopOver: Es el subcomponente de AccountPopover encargado de crear el menú popover y su contenido.
4
4
  * @param props
5
+ *
5
6
  * @type {PopOverProps}
6
7
  *
7
8
  */
@@ -1,8 +1,23 @@
1
1
  import { AccountPopoverClasses } from "../../classes/types";
2
2
  import { AccountPopoverProps, AsyncTypes, RightMenuData, UserAuth } from "../../types";
3
+ /**
4
+ * Propiedades extendidas para el componente PopOver.
5
+ */
3
6
  export interface PopOverProps extends Omit<AccountPopoverProps, 'userData'> {
7
+ /**
8
+ * Datos para renderizar los elementos del popover.
9
+ */
4
10
  data: Array<RightMenuData> | [];
11
+ /**
12
+ * Clases personalizadas para el componente.
13
+ */
5
14
  classes: AccountPopoverClasses;
15
+ /**
16
+ * Datos del usuario para el popover.
17
+ */
6
18
  userData: UserAuth | null | undefined;
19
+ /**
20
+ * Estado de carga asíncrona.
21
+ */
7
22
  asyncState: AsyncTypes;
8
23
  }
@@ -1,6 +1,23 @@
1
1
  import { AppBarClassesType } from './types';
2
+ /**
3
+ * @typedef {Object} AppBarClassesType
4
+ * @property {string} root - Clase para el contenedor raíz del AppBar.
5
+ * @property {string} containerChilds - Clase para el contenedor de elementos secundarios del AppBar.
6
+ * @property {string} containerIconMenuToggle - Clase para el contenedor del icono de menú del AppBar.
7
+ * @property {string} iconMenuToggle - Clase para el icono de menú del AppBar.
8
+ */
9
+ /**Inventario completo de clases del componente. */
2
10
  export declare const appBarClasses: AppBarClassesType;
11
+ /**
12
+ * Función que devuelve una clase de utilidad específica según el slot proporcionado.
13
+ * @param {string} slot - El slot para el cual se desea obtener la clase de utilidad.
14
+ * @returns {string} La clase de utilidad correspondiente al slot.
15
+ */
3
16
  export declare function getAppBarClassesUtilityClass(slot: string): string;
17
+ /**
18
+ * Función de gancho que proporciona las clases de utilidad compuestas para el componente AppBar.
19
+ * @returns {Object} Un objeto que contiene las clases de utilidad compuestas para el AppBar.
20
+ */
4
21
  export declare const useAppBarUtilityClasses: () => {
5
22
  root: string;
6
23
  containerChilds: string;
@@ -5,9 +5,9 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
5
5
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import { jsxs, jsx } from "react/jsx-runtime";
8
- import { I as Image } from "../Image/index.2b8dec69.js";
8
+ import { I as Image } from "../Image/index.d034ca68.js";
9
9
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
10
- import { I as IconButton } from "../mui_extended/IconButton/index.b3fe7a6e.js";
10
+ import { I as IconButton } from "../mui_extended/IconButton/index.9ea23f87.js";
11
11
  const AppBarRoot = styled("header")(({
12
12
  theme
13
13
  }) => ({
@@ -1,7 +1,13 @@
1
1
  import { ReactNode } from "react";
2
+ /**
3
+ * Propiedades de estilo para el componente raíz de la barra de aplicaciones.
4
+ */
2
5
  export declare type RootStyleProps = {
6
+ /** Indica si la barra de aplicaciones está colapsada. */
3
7
  isCollapse: boolean;
8
+ /** Indica si hay un desplazamiento (offset) aplicado a la barra de aplicaciones. */
4
9
  isOffset: boolean;
10
+ /** Indica si la barra lateral está visible.*/
5
11
  isSideBarVisible: boolean;
6
12
  };
7
13
  export interface AppBarProps {
@@ -1,6 +1,6 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
- import { B as Button } from "../../../mui_extended/Button/index.717945f3.js";
3
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.b8a1d42a.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.e520bd15.js";
3
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const ActionCancel = (props) => {
6
6
  const {
@@ -1,12 +1,12 @@
1
1
  import { useFormContext, useFormState } from "react-hook-form";
2
2
  import { useModuleDictionary } from "@m4l/core";
3
- import { B as Button } from "../../../mui_extended/Button/index.717945f3.js";
3
+ import { B as Button } from "../../../mui_extended/Button/index.e520bd15.js";
4
4
  import { useCallback, useEffect } from "react";
5
- import { u as useModal } from "../../../../hooks/useModal/index.50b23c06.js";
6
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.b8a1d42a.js";
5
+ import { u as useModal } from "../../../../hooks/useModal/index.786a4439.js";
6
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
9
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.aae5a438.js";
9
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.55ac3c8f.js";
10
10
  function ActionFormCancel() {
11
11
  const {
12
12
  getLabel
@@ -1,8 +1,8 @@
1
1
  import { useFormContext, useFormState } from "react-hook-form";
2
2
  import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
3
3
  import { Skeleton } from "@mui/material";
4
- import { L as LoadingButton } from "../../../mui_extended/Button/index.717945f3.js";
5
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.b8a1d42a.js";
4
+ import { L as LoadingButton } from "../../../mui_extended/Button/index.e520bd15.js";
5
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  function ActionFormIntro(props) {
8
8
  const {
@@ -1,7 +1,7 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
- import { B as Button } from "../../../mui_extended/Button/index.717945f3.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.e520bd15.js";
3
3
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
4
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.b8a1d42a.js";
4
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  const ACTIONINTRO_TEST_ID = "m4lactions";
7
7
  const ActionIntro = (props) => {
@@ -1,7 +1,7 @@
1
1
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
2
2
  import { generateUtilityClasses } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../../../utils/index.79b6a2c1.js";
4
+ import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
5
5
  import { styled } from "@mui/material/styles";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  const componentName = "M4LCommonActions";
@@ -1,6 +1,6 @@
1
1
  import { getPropertyByString } from "@m4l/core";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.c6f50487.js";
3
+ import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.b3052107.js";
4
4
  function ColumnBooleanFormatter(props) {
5
5
  const {
6
6
  fieldValue,
@@ -1,6 +1,6 @@
1
1
  import { getPropertyByString } from "@m4l/core";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { C as ConcatenatedFormatter } from "../../../formatters/index.611e3264.js";
3
+ import { C as ConcatenatedFormatter } from "../../../formatters/index.95cc337e.js";
4
4
  function ColumnConcatenatedValueFormatter(props) {
5
5
  const {
6
6
  fieldValue,
@@ -1,5 +1,5 @@
1
1
  import { Checkbox } from "@mui/material";
2
- import { d as dataGridClasses } from "../../index.f4623c6b.js";
2
+ import { d as dataGridClasses } from "../../index.b1eafce1.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  function ColumnInteractiveCheckFormatter(props) {
5
5
  const {
@@ -1,5 +1,5 @@
1
- import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.9ac45602.js";
2
- import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.eda63c51.js";
1
+ import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.2e931b5f.js";
2
+ import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.0c703574.js";
3
3
  import { styled } from "@mui/material/styles";
4
4
  import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
5
5
  import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.c5377916.js";
@@ -9,7 +9,7 @@ import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generat
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { D as DATAGRID_SELECT_COLUMN_KEY, c as componentName, a as DATAGRID_PREFIX_NAME } from "./constants.e334cd50.js";
11
11
  import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
12
- import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.ecd849b9.js";
12
+ import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.9af87fa1.js";
13
13
  import { unstable_composeClasses } from "@mui/base";
14
14
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
15
15
  import { g as getNameDataTestId } from "../../test/getNameDataTestId.14875ec7.js";
@@ -1,21 +1,21 @@
1
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.5871d199.js";
2
- import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.f4623c6b.js";
1
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index.fa7c26a5.js";
2
+ import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.b1eafce1.js";
3
3
  import { useTheme, Skeleton } from "@mui/material";
4
4
  import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants.e334cd50.js";
5
5
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
6
- import { P as Pager } from "../../../mui_extended/Pager/index.eda63c51.js";
7
- import { I as IconButton } from "../../../mui_extended/IconButton/index.b3fe7a6e.js";
6
+ import { P as Pager } from "../../../mui_extended/Pager/index.0c703574.js";
7
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.9ea23f87.js";
8
8
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
9
9
  import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
10
10
  import { D as DataGrid$1 } from "../../../../react-data-grid.c5377916.js";
11
11
  import { styled } from "@mui/material/styles";
12
- import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.20762ae8.js";
13
- import { u as useModal } from "../../../../hooks/useModal/index.50b23c06.js";
14
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.a29b596a.js";
15
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.44b80eb3.js";
12
+ import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.cb308086.js";
13
+ import { u as useModal } from "../../../../hooks/useModal/index.786a4439.js";
14
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.de862adf.js";
15
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.79fc2386.js";
16
16
  import { useResponsiveDesktop } from "@m4l/graphics";
17
- import { W as WindowBase } from "../../../modal/WindowBase.321fa298.js";
18
- import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.b8a1d42a.js";
17
+ import { W as WindowBase } from "../../../modal/WindowBase.998b8a38.js";
18
+ import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.2f6286eb.js";
19
19
  function ActionsFormatter(props) {
20
20
  const {
21
21
  rowActionsGetter,
@@ -1,12 +1,12 @@
1
1
  import React__default, { useState, useRef, useCallback, useEffect, useMemo } from "react";
2
- import { D as DraggableCore_1 } from "../../react-draggable.38b6012b.js";
2
+ import { D as DraggableCore_1 } from "../../react-draggable.ee21cb7e.js";
3
3
  import clsx from "clsx";
4
4
  import { styled } from "@mui/material/styles";
5
- import { M as MAP_ZINDEX_OVER_MAP } from "../../vendor.9acc9c5b.js";
5
+ import { M as MAP_ZINDEX_OVER_MAP } from "../../vendor.a735310a.js";
6
6
  import { generateUtilityClasses } from "@mui/material";
7
7
  import "@mui/base";
8
8
  import { M as MAP_ZINDEX_OVER_MAP$1 } from "../PopupsProvider/index.3d5ad0ee.js";
9
- import { R as Resizable } from "../../react-resizable.3cdda6a7.js";
9
+ import { R as Resizable } from "../../react-resizable.ee028152.js";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
  const DraggeableWindowRoot = styled("div")`
12
12
  position: absolute;
@@ -3,30 +3,30 @@ import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent
3
3
  import { useStore, createStore } from "zustand";
4
4
  import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.79b6a2c1.js";
6
+ import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.de903261.js";
7
7
  import { devtools } from "zustand/middleware";
8
8
  import { immer } from "zustand/middleware/immer";
9
9
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
10
- import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.b8a1d42a.js";
11
- import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.2c851533.js";
10
+ import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.2f6286eb.js";
11
+ import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.cf399b24.js";
12
12
  import { g as getNameDataTestId } from "../../test/getNameDataTestId.14875ec7.js";
13
13
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
14
14
  import { useFormContext, useWatch } from "react-hook-form";
15
15
  import { shallow } from "zustand/shallow";
16
- import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.f8bbac56.js";
17
- import { R as RHFTextField } from "../hook-form/RHFTextField/index.09c5da15.js";
16
+ import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.5a673a96.js";
17
+ import { R as RHFTextField } from "../hook-form/RHFTextField/index.fbb29ee1.js";
18
18
  import * as Yup from "yup";
19
19
  import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
20
20
  import { styled, useTheme } from "@mui/material/styles";
21
21
  import { S as ScrollBar } from "../ScrollBar/index.010f1b9d.js";
22
22
  import clsx from "clsx";
23
- import { I as IconButton } from "../mui_extended/IconButton/index.b3fe7a6e.js";
24
- import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.5871d199.js";
23
+ import { I as IconButton } from "../mui_extended/IconButton/index.9ea23f87.js";
24
+ import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.fa7c26a5.js";
25
25
  import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
26
- import { I as Icon } from "../Icon/index.b99160ae.js";
26
+ import { I as Icon } from "../Icon/index.b920baf8.js";
27
27
  import { R as RHFormProvider } from "../../contexts/RHFormContext/index.7769076a.js";
28
- import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.a29b596a.js";
29
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.44b80eb3.js";
28
+ import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.de862adf.js";
29
+ import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.79fc2386.js";
30
30
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
31
31
  const COMPONENT_PREFIX = "M4LDynamicFilter";
32
32
  const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
@@ -1,8 +1,8 @@
1
1
  import { useState, useRef, useEffect, useCallback } from "react";
2
2
  import clsx from "clsx";
3
- import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.5256b153.js";
3
+ import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.ded0e80e.js";
4
4
  import { styled, alpha } from "@mui/material/styles";
5
- import { r as react_resizable_css } from "../../react-resizable.3cdda6a7.js";
5
+ import { r as react_resizable_css } from "../../react-resizable.ee028152.js";
6
6
  import { generateUtilityClasses } from "@mui/material";
7
7
  import "@mui/base";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
2
- import { D as DraggableCore_1 } from "../../../../react-draggable.38b6012b.js";
3
- import { R as Resizable } from "../../../../react-resizable.3cdda6a7.js";
4
- import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.88b62a5d.js";
2
+ import { D as DraggableCore_1 } from "../../../../react-draggable.ee21cb7e.js";
3
+ import { R as Resizable } from "../../../../react-resizable.ee028152.js";
4
+ import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.0996cd19.js";
5
5
  import clsx from "clsx";
6
6
  import { deepEqual } from "fast-equals";
7
7
  import { jsx, Fragment } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.88b62a5d.js";
1
+ import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.0996cd19.js";
2
2
  import { useState, useRef, useEffect, useCallback } from "react";
3
3
  import { useFirstRender } from "@m4l/graphics";
4
4
  import { deepEqual } from "fast-equals";
@@ -2,7 +2,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
2
2
  import clsx from "clsx";
3
3
  import { throttle } from "lodash";
4
4
  import { useResizeObserver } from "@m4l/graphics";
5
- import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.88b62a5d.js";
5
+ import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.0996cd19.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  function withSizeProvider(ComposedComponent) {
8
8
  return (props) => {
@@ -0,0 +1,82 @@
1
+ import { useState } from "react";
2
+ import { styled } from "@mui/material/";
3
+ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
4
+ import { unstable_composeClasses } from "@mui/base";
5
+ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
+ import { useEnvironment } from "@m4l/core";
7
+ import { jsxs, jsx } from "react/jsx-runtime";
8
+ import { S as SideBar } from "../SideBar/index.cdb70977.js";
9
+ import { I as IconButton } from "../mui_extended/IconButton/index.9ea23f87.js";
10
+ const HamburgerMenuRoot = styled("header")(({
11
+ theme
12
+ }) => ({
13
+ ...theme.components?.M4LHamburgerMenuCommercial?.styleOverrides
14
+ }));
15
+ const componentName = "M4LHamburgerMenuCommercial";
16
+ generateUtilityClasses(componentName, ["root", "ImageLogo"]);
17
+ function getHamburgerMenuComercialClassesUtilityClass(slot) {
18
+ return generateUtilityClass(componentName, slot);
19
+ }
20
+ const useHamburgerMenuComercialUtilityClasses = () => {
21
+ const slots = {
22
+ root: ["root"],
23
+ ImageLogo: ["ImageLogo"]
24
+ };
25
+ const composedClasses = unstable_composeClasses(slots, getHamburgerMenuComercialClassesUtilityClass, {});
26
+ return {
27
+ ...composedClasses
28
+ };
29
+ };
30
+ const HAMBURGER_MENU_PREFIX = "M4LHamburgerMenu";
31
+ const getNameDataTestId = (KEY) => {
32
+ return `${HAMBURGER_MENU_PREFIX}-${KEY}`;
33
+ };
34
+ const HamburgerMenu = (props) => {
35
+ const {
36
+ data,
37
+ itemClick
38
+ } = props;
39
+ const [visible, setVisible] = useState(false);
40
+ const {
41
+ host_static_assets,
42
+ environment_assets
43
+ } = useEnvironment();
44
+ const handlerOnVisible = () => {
45
+ setVisible((val) => !val);
46
+ };
47
+ const handleCollapseToggle = () => {
48
+ if (visible) {
49
+ setVisible(false);
50
+ }
51
+ };
52
+ const Classes2 = useHamburgerMenuComercialUtilityClasses();
53
+ const handlerItemActive = (item) => {
54
+ return window.location.pathname === item.path;
55
+ };
56
+ return /* @__PURE__ */ jsxs(HamburgerMenuRoot, {
57
+ className: Classes2.root,
58
+ ...process.env.NODE_ENV !== "production" ? {
59
+ [TEST_PROP_ID]: getNameDataTestId("root")
60
+ } : {},
61
+ children: [/* @__PURE__ */ jsx(IconButton, {
62
+ src: `${host_static_assets}/${environment_assets}/frontend/web_comercial/menu.svg`,
63
+ className: Classes2.ImageLogo,
64
+ variant: "secondary",
65
+ onClick: () => handlerOnVisible()
66
+ }), /* @__PURE__ */ jsx(SideBar, {
67
+ menuData: data,
68
+ visible,
69
+ onClick: (item) => itemClick(item),
70
+ isItemActive: handlerItemActive,
71
+ onToggleCollapse: handleCollapseToggle,
72
+ onToggleVisible: handlerOnVisible,
73
+ collapsed: false,
74
+ companyLogoSmallUrl: "",
75
+ companyName: "",
76
+ variantStyle: "variantComercial"
77
+ })]
78
+ });
79
+ };
80
+ export {
81
+ HamburgerMenu as H
82
+ };
@@ -1,7 +1,7 @@
1
1
  import React__default, { useState, useEffect } from "react";
2
2
  import { useEnvironment } from "@m4l/core";
3
3
  import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
4
- import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.62a5659b.js";
4
+ import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.cdb70977.js";
5
5
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { unstable_composeClasses } from "@mui/base";
@@ -5,8 +5,8 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
5
5
  import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import clsx from "clsx";
8
- import { c as classes, g as getSize } from "../PrintingSystem/index.1e83a6c5.js";
9
- import { Q as QRCode } from "../../node_modules.3c6b318a.js";
8
+ import { c as classes, g as getSize } from "../PrintingSystem/index.2e17cae5.js";
9
+ import { Q as QRCode } from "../../node_modules.71622512.js";
10
10
  function isIntersectionObserverAvailable() {
11
11
  return typeof window !== "undefined" && "IntersectionObserver" in window && "IntersectionObserverEntry" in window;
12
12
  }
@@ -276,18 +276,14 @@ function Image(props) {
276
276
  ...process.env.NODE_ENV !== "production" ? {
277
277
  [TEST_PROP_ID]: getNameDataTestId("root")
278
278
  } : {},
279
- ...width && height ? {
280
- style: {
281
- minWidth: width,
282
- minHeight: height,
283
- width,
284
- height
285
- }
279
+ style: width && height ? {
280
+ minWidth: width,
281
+ minHeight: height,
282
+ width,
283
+ height
286
284
  } : {
287
- sx: {
288
- width: "100%",
289
- height: "100%"
290
- }
285
+ width: "100%",
286
+ height: "100%"
291
287
  },
292
288
  children: /* @__PURE__ */ jsxs(LazyLoadComponent, {
293
289
  width: "100%",
@@ -1,8 +1,8 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
3
- import { I as Image } from "../Image/index.2b8dec69.js";
3
+ import { I as Image } from "../Image/index.d034ca68.js";
4
4
  import { useLocales } from "@m4l/graphics";
5
- import { I as ImageButton } from "../mui_extended/Button/index.717945f3.js";
5
+ import { I as ImageButton } from "../mui_extended/Button/index.e520bd15.js";
6
6
  import { useEnvironment, useNetwork } from "@m4l/core";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
8
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
@@ -1 +1,5 @@
1
+ /** @function este componente proporciona una representación visual de una barra de progreso indeterminada con opciones de personalización y soporte para pruebas.
2
+ *
3
+ * @returns {JSX.Element} Elemento JSX que representa el componente.
4
+ */
1
5
  export declare const LinearProgressIndeterminate: () => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import clsx from "clsx";
2
2
  import { generateUtilityClasses, styled } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../utils/index.79b6a2c1.js";
4
+ import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
5
5
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  const LINEAR_PROGRESS_INDETERMINATE_CLASS_NAME = "M4LinearProgressIndeterminate";
@@ -1,2 +1,7 @@
1
1
  import { ElementType } from 'react';
2
+ /**
3
+ * Función que envuelve un componente en un componente Suspense con un loader de propagación como fallback.
4
+ * @param Component El componente a ser cargado dinámicamente.
5
+ * @returns Un componente funcional que carga dinámicamente el componente proporcionado.
6
+ */
2
7
  export declare const Loadable: (Component: ElementType) => (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,14 @@
1
1
  import { AreasLoadingErrorProps } from './types';
2
+ /**
3
+ *
4
+ * @param {AreasLoadingErrorProps} props El componente LoadingError espera recibir ciertas propiedades que están definidas en el tipo AreasLoadingErrorProps.
5
+ * @param {status} props.status Indica el estado actual del componente. Puede tener valores como 'error', 'cargando' u otros estados definidos por la aplicación.
6
+ * @param {Function} props.action - Es una función que se ejecutará cuando se presione el botón de error. Esta función puede contener lógica para manejar el error o realizar alguna acción específica cuando ocurra un error.
7
+ * @param {string} props.title - Es una cadena de texto que representa el título del mensaje de error. Este título se mostrará en el componente cuando ocurra un error.
8
+ * @param {string} props.description - Es una cadena de texto que proporciona una descripción detallada del error. Esta descripción se mostrará junto al título en el componente de mensaje de error.
9
+ * @param {string} props.recommendation - Es una cadena de texto que proporciona una recomendación sobre cómo manejar el error o qué acciones tomar para resolverlo.
10
+ * @param {string} props.introMessage - Es una cadena de texto que proporciona un mensaje introductorio adicional. Este mensaje se mostrará en el componente antes de mostrar el título, la descripción y la recomendación del error.
11
+ * @param {string} props.errorIcon - Es una cadena de texto que representa la ruta o el identificador del ícono que se mostrará junto al mensaje de error.
12
+ * @returns {JSX.Element} Elemento JSX que representa el componente.
13
+ */
2
14
  export declare const LoadingError: (props: AreasLoadingErrorProps) => import("react/jsx-runtime").JSX.Element;