@m4l/components 0.2.2 → 0.2.4

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 (141) hide show
  1. package/@types/export.d.ts +16 -4
  2. package/{commonjs.565e6834.js → commonjs.333e55c7.js} +5 -0
  3. package/components/AccountPopover/{index.37803642.js → index.2604c389.js} +2 -4
  4. package/components/AccountPopover/index.d.ts +1 -0
  5. package/components/AppBar/AppBar.d.ts +24 -0
  6. package/components/AppBar/classes/index.d.ts +2 -0
  7. package/components/AppBar/classes/types.d.ts +2 -0
  8. package/components/AppBar/{index.d17827eb.js → index.9522f237.js} +26 -5
  9. package/components/AppBar/types.d.ts +14 -0
  10. package/components/CommonActions/components/ActionCancel/{index.6aa59730.js → index.06539086.js} +2 -2
  11. package/components/CommonActions/components/ActionFormCancel/{index.e6ac3a19.js → index.33fc6c79.js} +5 -14
  12. package/components/CommonActions/components/ActionFormIntro/{index.ebadee33.js → index.5a719043.js} +2 -2
  13. package/components/CommonActions/components/ActionIntro/{index.33acdebb.js → index.3e8a2e60.js} +2 -2
  14. package/components/CommonActions/components/Actions/{index.f358ae72.js → index.2f6286eb.js} +1 -1
  15. package/components/DataGrid/formatters/columnPointsFormatter/{index.5e645334.js → index.a19b7b90.js} +1 -1
  16. package/components/DataGrid/{index.e93a1a31.js → index.8fbcf147.js} +8 -9
  17. package/components/DataGrid/subcomponents/Actions/{index.bcf7a8d7.js → index.bad681dc.js} +9 -9
  18. package/components/DraggableWindow/{index.ddc7327b.js → index.f9f067bd.js} +1 -1
  19. package/components/DynamicFilter/classes/index.d.ts +1 -1
  20. package/components/DynamicFilter/classes/types.d.ts +1 -0
  21. package/components/DynamicFilter/{index.6663cc83.js → index.cd7691e0.js} +17 -13
  22. package/components/GridLayout/{index.c26989d8.js → index.e8c04242.js} +2 -2
  23. package/components/GridLayout/subcomponents/Griditem/{index.da0a3c47.js → index.4d38f12e.js} +3 -3
  24. package/components/GridLayout/subcomponents/Responsive/{index.2e641db2.js → index.e25df1dc.js} +1 -1
  25. package/components/Icon/index.05984e7f.js +248 -0
  26. package/components/Icon/types.d.ts +1 -0
  27. package/components/Image/{index.2a2e0b27.js → index.bf37e923.js} +46 -4
  28. package/components/Image/types.d.ts +2 -2
  29. package/components/LanguagePopover/{index.ff7c862e.js → index.5ff37dbf.js} +2 -2
  30. package/components/LinearProgressIndeterminate/{index.7f4ed9b7.js → index.a0ad2d9e.js} +1 -1
  31. package/components/LoadingError/{index.0ac9e74d.js → index.fabad214.js} +3 -3
  32. package/components/MFLoader/{index.cd087354.js → index.7b4ee2a4.js} +1 -1
  33. package/components/ModalDialog/{index.8c4fde10.js → index.89e26413.js} +4 -4
  34. package/components/NoItemSelected/{index.afc12ed9.js → index.7db73e77.js} +1 -1
  35. package/components/ObjectLogs/{index.cb303905.js → index.9c353020.js} +7 -7
  36. package/components/PDFViewer/PDFViewer.d.ts +2 -0
  37. package/components/PDFViewer/classes/constants.d.ts +1 -0
  38. package/components/PDFViewer/classes/index.d.ts +7 -0
  39. package/components/PDFViewer/classes/types.d.ts +7 -0
  40. package/components/PDFViewer/index.5c2db67a.js +63 -0
  41. package/components/PDFViewer/index.d.ts +1 -0
  42. package/components/PDFViewer/types.d.ts +3 -0
  43. package/components/Page/{index.190e2356.js → index.710cb16f.js} +1 -1
  44. package/components/PaperForm/{index.7a206d69.js → index.7ea3883f.js} +1 -1
  45. package/components/Period/{index.906f1ce2.js → index.0aa8e507.js} +2 -2
  46. package/components/PrintingSystem/{index.bbf52442.js → index.ed3b22b7.js} +15 -43
  47. package/components/PrintingSystem/subcomponents/BodyNode/{index.ee81edc5.js → index.7acc6016.js} +1 -1
  48. package/components/PrintingSystem/subcomponents/ChartNode/{index.b56666cf.js → index.e4a23bdd.js} +4 -4
  49. package/components/PrintingSystem/subcomponents/DividerNode/{index.ca3332b1.js → index.16fff262.js} +1 -1
  50. package/components/PrintingSystem/subcomponents/FooterNode/{index.932c3e33.js → index.6c67dec0.js} +1 -1
  51. package/components/PrintingSystem/subcomponents/GridNode/{index.16748040.js → index.f466062b.js} +4 -4
  52. package/components/PrintingSystem/subcomponents/HeaderNode/{index.0ddbbbad.js → index.77d3d39a.js} +1 -1
  53. package/components/PrintingSystem/subcomponents/PaperNode/{index.efd9af2f.js → index.2a3d54a3.js} +4 -4
  54. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.75ed9752.js → index.e71ad971.js} +1 -1
  55. package/components/PrintingSystem/subcomponents/QRImageNode/index.d.ts +2 -0
  56. package/components/PrintingSystem/subcomponents/QRImageNode/types.d.ts +3 -0
  57. package/components/PrintingSystem/subcomponents/SectionNode/{index.68cac21a.js → index.ce4f6d16.js} +1 -1
  58. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.91ba514f.js → index.850d20a1.js} +3 -3
  59. package/components/PrintingSystem/types.d.ts +10 -1
  60. package/components/PropertyValue/classes/index.d.ts +1 -1
  61. package/components/PropertyValue/classes/types.d.ts +4 -1
  62. package/components/PropertyValue/index.37d91d0c.js +206 -0
  63. package/components/PropertyValue/types.d.ts +5 -7
  64. package/components/Resizeable/{index.383eb1aa.js → index.6478d7d8.js} +1 -1
  65. package/components/ScrollBar/{index.65bb2930.js → index.010f1b9d.js} +5 -1
  66. package/components/SideBar/classes/index.d.ts +1 -1
  67. package/components/SideBar/{index.7e4a79a6.js → index.58d29b84.js} +12 -12
  68. package/components/SideBar/types.d.ts +3 -3
  69. package/components/SplitLayout/{index.9ef430f6.js → index.30fd5861.js} +1 -1
  70. package/components/ToastContainer/ToastContainer.d.ts +2 -0
  71. package/components/ToastContainer/classes/constants.d.ts +1 -0
  72. package/components/ToastContainer/classes/index.d.ts +8 -0
  73. package/components/ToastContainer/classes/types.d.ts +9 -0
  74. package/components/ToastContainer/index.d.ts +2 -0
  75. package/components/ToastContainer/index.ed440301.js +87 -0
  76. package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +2 -0
  77. package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +5 -0
  78. package/components/ToastContainer/types.d.ts +4 -0
  79. package/components/areas/components/AreasAdmin/{index.74532c2a.js → index.a14ba797.js} +12 -12
  80. package/components/areas/components/AreasViewer/{index.3cd1a452.js → index.c4545f2d.js} +15 -15
  81. package/components/areas/contexts/AreasContext/{index.55981647.js → index.54893ef7.js} +4 -4
  82. package/components/areas/hooks/useAreas/{index.5cbbe91c.js → index.a15b3d9c.js} +1 -1
  83. package/components/formatters/BooleanFormatter/{index.5379222a.js → index.4f3cbdce.js} +2 -2
  84. package/components/formatters/PointsFormatter/{index.80a4e414.js → index.5c94c5e8.js} +2 -2
  85. package/components/formatters/PointsFormatter/index.d.ts +1 -1
  86. package/components/formatters/{index.d0a0800d.js → index.4ca6946d.js} +1 -1
  87. package/components/hook-form/RHFAutocomplete/classes/types.d.ts +2 -0
  88. package/components/hook-form/RHFAutocomplete/{index.09ff3d84.js → index.0ce87ac3.js} +26 -35
  89. package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
  90. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +1 -2
  91. package/components/hook-form/RHFAutocomplete/types.d.ts +8 -3
  92. package/components/hook-form/RHFAutocompleteAsync/{index.54b4dca3.js → index.57789d3a.js} +1 -1
  93. package/components/hook-form/RHFColorPicker/classes/constants.d.ts +1 -0
  94. package/components/hook-form/RHFColorPicker/classes/index.d.ts +11 -0
  95. package/components/hook-form/RHFColorPicker/classes/types.d.ts +11 -0
  96. package/components/hook-form/RHFColorPicker/index.d.ts +6 -0
  97. package/components/hook-form/RHFColorPicker/index.d00a2b53.js +150 -0
  98. package/components/hook-form/RHFColorPicker/subcomponents/Skeleton/indext.d.ts +1 -0
  99. package/components/hook-form/RHFColorPicker/types.d.ts +5 -0
  100. package/components/hook-form/RHFDateTime/{index.2b76899e.js → index.ae5d3a39.js} +1 -1
  101. package/components/hook-form/RHFDateTime/types.d.ts +0 -1
  102. package/components/hook-form/RHFPeriod/{index.d6c8587a.js → index.ae9bcf41.js} +1 -1
  103. package/components/hook-form/RHFTextField/{index.f546c18a.js → index.80cc07e0.js} +2 -2
  104. package/components/hook-form/RHFUpload/{index.a5621247.js → index.587aac00.js} +4 -4
  105. package/components/index.d.ts +2 -0
  106. package/components/maps/{GpsTools.34a27c0a.js → components/GpsTools/index.889b0c39.js} +28 -27
  107. package/components/maps/{Map.9fc17398.js → components/Map/index.665e5c5d.js} +4 -4
  108. package/components/modal/{WindowBase.38d4b8e7.js → WindowBase.ea17cf20.js} +3 -3
  109. package/components/modal/{WindowConfirm.cd776fe5.js → WindowConfirm.19ddbd5d.js} +6 -6
  110. package/components/mui_extended/Accordion/{index.5b4b2075.js → index.b9b427d7.js} +3 -3
  111. package/components/mui_extended/Button/classes/types.d.ts +2 -0
  112. package/components/mui_extended/Button/{index.fc5132fa.js → index.570fd3a4.js} +3 -3
  113. package/components/mui_extended/IconButton/{index.df52ae90.js → index.26de70bd.js} +1 -1
  114. package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -1
  115. package/components/mui_extended/MenuActions/{index.04d87c36.js → index.8c02ff61.js} +2 -2
  116. package/components/mui_extended/Pager/{index.c6990cd4.js → index.5629e82b.js} +1 -1
  117. package/components/mui_extended/Tab/{index.53203047.js → index.724d5948.js} +1 -1
  118. package/components/mui_extended/ToggleButton/{index.4b7b7df0.js → index.21a1f8e5.js} +1 -1
  119. package/components/mui_extended/ToggleIconButton/{index.e430bed4.js → index.00f13c40.js} +1 -1
  120. package/contexts/ModalContext/{index.aa3bd23f.js → index.b39d303d.js} +1 -1
  121. package/hooks/useFormAddEdit/{index.59c74cbf.js → index.32aa4f64.js} +2 -2
  122. package/hooks/useModal/{index.b4b84d5d.js → index.abdc0962.js} +1 -1
  123. package/hooks/useTab/{index.6ab00d5a.js → index.991b13a7.js} +1 -1
  124. package/index.js +100 -86
  125. package/node_modules.8f15d11f.js +6921 -0
  126. package/package.json +5 -2
  127. package/{react-draggable.cdce362f.js → react-draggable.ee21cb7e.js} +4 -4
  128. package/{react-json-view.57125fcf.js → react-json-view.5636414a.js} +1 -1
  129. package/{react-resizable.806822ee.js → react-resizable.ee028152.js} +5 -5
  130. package/{react-splitter-layout.8b1655c8.js → react-splitter-layout.c5d98bf7.js} +3 -3
  131. package/utils/{index.b22c4c1a.js → index.de903261.js} +0 -32
  132. package/vendor.8f8b0ac9.js +112 -0
  133. package/components/Icon/index.6db034b5.js +0 -147
  134. package/components/PrintingSystem/utils/getEvalValue/index.d.ts +0 -1
  135. package/components/PropertyValue/index.a36c1223.js +0 -220
  136. package/components/PropertyValue/skeleton.d.ts +0 -2
  137. package/components/maps/index.7057e217.js +0 -1
  138. package/node_modules.f907e6dd.js +0 -4736
  139. package/vendor.caaaf054.js +0 -168
  140. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
  141. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
@@ -83,7 +83,7 @@ declare module '@mui/material/styles' {
83
83
  M4LErrorLabel: HelperTextProps;
84
84
  M4LTypography: TypographyProps;
85
85
  M4LButton: ExtendButtonProps;
86
- M4LoadingButton: MuiLabLoadingButtonProps;
86
+ M4LLoadingButton: MuiLabLoadingButtonProps;
87
87
  M4LNavLink: NavLinkProps;
88
88
  M4LSideBar: SideBarProps;
89
89
  M4LAppBar: AppBarProps;
@@ -118,7 +118,7 @@ declare module '@mui/material/styles' {
118
118
  // M4LErrorLabel: ErrorLabelClassesKey;
119
119
  // M4LTypography: TypographyClassesKey;
120
120
  // M4LButton: ButtonBaseClassKey;
121
- // M4LoadingButton: LoadingbuttonClassesKey;
121
+ // M4LLoadingButton: LoadingbuttonClassesKey;
122
122
  // M4LNavLink: ButtonBaseClassKey;
123
123
  // M4LSideBar: SideBarClassesKey;
124
124
  // M4LAppBar: AppBarClassesKey;
@@ -221,6 +221,12 @@ declare module '@mui/material/styles' {
221
221
  M4LRHFCheckbox?: {
222
222
  styleOverrides?: ComponentsOverrides<Theme>['M4LRHFCheckbox'];
223
223
  };
224
+ M4LRHFColorPicker?: {
225
+ styleOverrides?: ComponentsOverrides<Theme>['M4LRHFColorPicker'];
226
+ };
227
+ M4LRHFColorPickerPopoverRoot?: {
228
+ styleOverrides?: ComponentsOverrides<Theme>['M4LRHFColorPickerPopoverRoot'];
229
+ };
224
230
  M4LCheckBox?: {
225
231
  styleOverrides?: ComponentsOverrides<Theme>['M4LCheckBox'];
226
232
  };
@@ -242,8 +248,8 @@ declare module '@mui/material/styles' {
242
248
  M4LButton?: {
243
249
  styleOverrides?: ComponentsOverrides<Theme>['M4LButton'];
244
250
  };
245
- M4LoadingButton?: {
246
- styleOverrides?: ComponentsOverrides<Theme>['M4LoadingButton'];
251
+ M4LLoadingButton?: {
252
+ styleOverrides?: ComponentsOverrides<Theme>['M4LLoadingButton'];
247
253
  };
248
254
  M4LNavLink?: {
249
255
  styleOverrides?: ComponentsOverrides<Theme>['M4LNavLink'];
@@ -376,6 +382,12 @@ declare module '@mui/material/styles' {
376
382
  M4LMFLoader?: {
377
383
  styleOverrides?: ComponentsOverrides<Theme>['M4LMFLoader'];
378
384
  };
385
+ M4LToastContainer?: {
386
+ styleOverrides?: ComponentsOverrides<Theme>['M4LToastContainer'];
387
+ };
388
+ M4LPDFViewer?: {
389
+ styleOverrides?: ComponentsOverrides<Theme>['M4LPDFViewer'];
390
+ };
379
391
 
380
392
  }
381
393
  }
@@ -2,6 +2,11 @@ import "react";
2
2
  import "prop-types";
3
3
  import "react-dom";
4
4
  import "clsx";
5
+ import "lodash/isString";
6
+ import "lodash/forOwn";
7
+ import "lodash/isPlainObject";
8
+ import "lodash/map";
9
+ import "lodash/cloneDeep";
5
10
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
6
11
  function getDefaultExportFromCjs(x) {
7
12
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -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.6db034b5.js";
10
+ import { I as Icon } from "../Icon/index.05984e7f.js";
11
11
  import clsx from "clsx";
12
12
  const componentName = "M4LAccountPopover";
13
13
  generateUtilityClasses(componentName, [
@@ -57,9 +57,7 @@ const useAccountPopoverUtilityClasses = () => {
57
57
  ...composedClasses
58
58
  };
59
59
  };
60
- const AcountPopOverRoot = styled("div")(({
61
- theme
62
- }) => ({
60
+ const AcountPopOverRoot = styled("div")(({ theme }) => ({
63
61
  ...theme.components?.M4LAccountPopover?.styleOverrides
64
62
  }));
65
63
  function MyAvatar(props) {
@@ -1,2 +1,3 @@
1
1
  export { AccountPopover } from './AccountPopover';
2
2
  export { getAccountPopoverDictionary } from './dictionary';
3
+ export type { RightMenuData } from './types';
@@ -1,2 +1,26 @@
1
1
  import { AppBarProps } from './types';
2
+ /**
3
+ * Componente de la interfaz de usuario que se encuentra en la parte superior de una aplicación móvil o de escritorio. Por lo general, contiene elementos de navegación, como botones para ir hacia atrás o hacia adelante, un botón de menú para acceder a opciones adicionales y un campo de búsqueda. También puede mostrar información relevante, como el título de la página actual o el nombre del usuario conectado.
4
+ *
5
+ * @param {AppBarProps} props - Propiedades del componente.
6
+ * @returns {JSX.Element} Elemento que se retorna.
7
+ *
8
+ * @example
9
+ *
10
+ * // Ejemplo de uso:
11
+ *
12
+ * <AppBar onToggleVisible={onToggleVisible}>
13
+ <AreasAdmin />
14
+ <div style={{display: 'flex', gap: '10px', alignItems: 'center'}}>
15
+ <LanguagePopover />
16
+ <AccountPopover
17
+ itemHandleClick={itemHandleClick}
18
+ handleLogOut={handleLogOut}
19
+ version={APP_VERSION}
20
+ userData={user}
21
+ settingsHandleOpen={handleOpen}
22
+ />
23
+ </div>
24
+ </AppBar>
25
+ */
2
26
  export declare const AppBar: (props: AppBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,6 @@ export declare const useAppBarUtilityClasses: () => {
6
6
  containerChilds: string;
7
7
  containerIconMenuToggle: string;
8
8
  iconMenuToggle: string;
9
+ containerLogo: string;
10
+ containerImageTypography: string;
9
11
  };
@@ -4,6 +4,8 @@ export interface AppBarClassesType {
4
4
  containerChilds: string;
5
5
  containerIconMenuToggle: string;
6
6
  iconMenuToggle: string;
7
+ containerLogo: string;
8
+ containerImageTypography: string;
7
9
  }
8
10
  export declare type AppBarClassesKey = keyof AppBarClassesType;
9
11
  export declare type Classes = ReturnType<typeof useAppBarUtilityClasses>;
@@ -5,7 +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 IconButton } from "../mui_extended/IconButton/index.df52ae90.js";
8
+ import { I as Image } from "../Image/index.bf37e923.js";
9
+ import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
10
+ import { I as IconButton } from "../mui_extended/IconButton/index.26de70bd.js";
9
11
  const AppBarRoot = styled("header")(({
10
12
  theme
11
13
  }) => ({
@@ -20,7 +22,9 @@ generateUtilityClasses(componentName, [
20
22
  "root",
21
23
  "containerChilds",
22
24
  "containerIconMenuToggle",
23
- "iconMenuToggle"
25
+ "iconMenuToggle",
26
+ "containerLogo",
27
+ "containerImageTypography"
24
28
  ]);
25
29
  function getAppBarClassesUtilityClass(slot) {
26
30
  return generateUtilityClass(componentName, slot);
@@ -30,7 +34,9 @@ const useAppBarUtilityClasses = () => {
30
34
  root: ["root"],
31
35
  containerChilds: ["containerChilds"],
32
36
  containerIconMenuToggle: ["containerIconMenuToggle"],
33
- iconMenuToggle: ["iconMenuToggle"]
37
+ iconMenuToggle: ["iconMenuToggle"],
38
+ containerLogo: ["containerLogo"],
39
+ containerImageTypography: ["containerImageTypography"]
34
40
  };
35
41
  const composedClasses = unstable_composeClasses(slots, getAppBarClassesUtilityClass, {});
36
42
  return {
@@ -40,7 +46,9 @@ const useAppBarUtilityClasses = () => {
40
46
  const AppBar = (props) => {
41
47
  const {
42
48
  onToggleVisible,
43
- children
49
+ children,
50
+ companyLogo,
51
+ companyName
44
52
  } = props;
45
53
  const isDesktop = useResponsiveDesktop();
46
54
  const {
@@ -56,7 +64,20 @@ const AppBar = (props) => {
56
64
  ...process.env.NODE_ENV !== "production" ? {
57
65
  [TEST_PROP_ID]: getNameDataTestId("root")
58
66
  } : {},
59
- children: [!isDesktop ? /* @__PURE__ */ jsx("div", {
67
+ children: [companyLogo && isDesktop ? /* @__PURE__ */ jsx("div", {
68
+ className: classes.containerLogo,
69
+ children: /* @__PURE__ */ jsxs("div", {
70
+ className: classes.containerImageTypography,
71
+ children: [/* @__PURE__ */ jsx(Image, {
72
+ src: companyLogo,
73
+ alt: "logo"
74
+ }, "Logo"), /* @__PURE__ */ jsx(Typography, {
75
+ variant: "bodyDens",
76
+ skeletonWidth: "100px",
77
+ children: companyName
78
+ })]
79
+ })
80
+ }) : null, !isDesktop ? /* @__PURE__ */ jsx("div", {
60
81
  className: classes.containerIconMenuToggle,
61
82
  ...process.env.NODE_ENV !== "production" ? {
62
83
  [TEST_PROP_ID]: getNameDataTestId("containerIconMenuToggle")
@@ -5,6 +5,20 @@ export declare type RootStyleProps = {
5
5
  isSideBarVisible: boolean;
6
6
  };
7
7
  export interface AppBarProps {
8
+ /**
9
+ * Función que activa la visualización del menú de la aplicación en la vista móvil.
10
+ */
8
11
  onToggleVisible: VoidFunction;
12
+ /**
13
+ * Puede ser cualquier cosa, desde un solo elemento hasta un array de elementos. Los elementos secundarios pueden ser componentes de React, elementos HTML, o incluso otros tipos de datos, como cadenas o números.
14
+ */
9
15
  children: ReactNode;
16
+ /**
17
+ * companyLogo: Enlace de acceso para el recurso gráfico de logo.
18
+ */
19
+ companyLogo?: string;
20
+ /**
21
+ * companyName: Nombre de la compañía
22
+ */
23
+ companyName?: string;
10
24
  }
@@ -1,6 +1,6 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
- import { B as Button } from "../../../mui_extended/Button/index.fc5132fa.js";
3
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.f358ae72.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.570fd3a4.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,18 +1,16 @@
1
1
  import { useFormContext, useFormState } from "react-hook-form";
2
- import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
3
- import { Skeleton } from "@mui/material";
4
- import { B as Button } from "../../../mui_extended/Button/index.fc5132fa.js";
2
+ import { useModuleDictionary } from "@m4l/core";
3
+ import { B as Button } from "../../../mui_extended/Button/index.570fd3a4.js";
5
4
  import { useCallback, useEffect } from "react";
6
- import { u as useModal } from "../../../../hooks/useModal/index.b4b84d5d.js";
7
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.f358ae72.js";
5
+ import { u as useModal } from "../../../../hooks/useModal/index.abdc0962.js";
6
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
8
7
  import { jsx } from "react/jsx-runtime";
9
8
  import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
10
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.cd776fe5.js";
9
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.19ddbd5d.js";
11
10
  function ActionFormCancel() {
12
11
  const {
13
12
  getLabel
14
13
  } = useModuleDictionary();
15
- const isSkeleton = useModuleSkeleton();
16
14
  const {
17
15
  openModal
18
16
  } = useModal();
@@ -50,13 +48,6 @@ function ActionFormCancel() {
50
48
  setQueryClose(onClickCancel);
51
49
  }, [onClickCancel]);
52
50
  const classes = useCommonActionsUtilityClasses();
53
- if (isSkeleton) {
54
- return /* @__PURE__ */ jsx(Skeleton, {
55
- variant: "text",
56
- width: 57,
57
- height: 30
58
- });
59
- }
60
51
  return /* @__PURE__ */ jsx(Button, {
61
52
  variant: "outlined",
62
53
  color: "inherit",
@@ -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.fc5132fa.js";
5
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.f358ae72.js";
4
+ import { L as LoadingButton } from "../../../mui_extended/Button/index.570fd3a4.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.fc5132fa.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.570fd3a4.js";
3
3
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
4
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.f358ae72.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.b22c4c1a.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,4 +1,4 @@
1
- import { P as PointsFormatter } from "../../../formatters/PointsFormatter/index.80a4e414.js";
1
+ import { P as PointsFormatter } from "../../../formatters/PointsFormatter/index.5c94c5e8.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  function columnPointsFormatter(props) {
4
4
  return (obProps) => {
@@ -1,20 +1,20 @@
1
1
  import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.8c4fde10.js";
4
- import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.c6990cd4.js";
3
+ import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.89e26413.js";
4
+ import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.5629e82b.js";
5
5
  import { styled } from "@mui/material/styles";
6
6
  import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
7
7
  import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.c5377916.js";
8
8
  import { useDrag, useDrop, DndProvider } from "react-dnd";
9
9
  import { HTML5Backend } from "react-dnd-html5-backend";
10
10
  import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
11
- import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.bcf7a8d7.js";
11
+ import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.bad681dc.js";
12
12
  import { unstable_composeClasses } from "@mui/base";
13
13
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
14
- import { g as getNameDataTestId } from "../../vendor.caaaf054.js";
15
- import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.5379222a.js";
14
+ import { g as getNameDataTestId } from "../../vendor.8f8b0ac9.js";
15
+ import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.4f3cbdce.js";
16
16
  import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
17
- import { C as ConcatenatedFormatter } from "../formatters/index.d0a0800d.js";
17
+ import { C as ConcatenatedFormatter } from "../formatters/index.4ca6946d.js";
18
18
  const DataGridRoot = styled("div")(({
19
19
  theme
20
20
  }) => ({
@@ -162,8 +162,8 @@ function DataGridProvider(props) {
162
162
  rows,
163
163
  rowsCount,
164
164
  rowActionsGetter,
165
- rowHeights = [36, 52, 67],
166
- rowHeaderHeights = [44, 63, 75],
165
+ rowHeights = [28, 32, 36],
166
+ rowHeaderHeights = [28, 32, 36],
167
167
  initialRowHeightVariant = "compact",
168
168
  checkedRows,
169
169
  onCheckedRowsChange,
@@ -931,7 +931,6 @@ function DataGrid(props) {
931
931
  onCheckedRowsChange,
932
932
  dataTestId = ""
933
933
  } = props;
934
- console.log("test columns", columns);
935
934
  const ownerState = {
936
935
  actionsProps,
937
936
  withActions
@@ -1,19 +1,19 @@
1
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.04d87c36.js";
2
- import { D as DATAGRID_ACTIONS_COLUMN_KEY, u as useDataGrid, a as useFilters, C as ColumnInteractiveCheckFormatterColumn, b as DataGridRoot, d as dictionary } from "../../index.e93a1a31.js";
1
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index.8c02ff61.js";
2
+ import { D as DATAGRID_ACTIONS_COLUMN_KEY, u as useDataGrid, a as useFilters, C as ColumnInteractiveCheckFormatterColumn, b as DataGridRoot, d as dictionary } from "../../index.8fbcf147.js";
3
3
  import { useTheme, Skeleton } from "@mui/material";
4
4
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
5
- import { P as Pager } from "../../../mui_extended/Pager/index.c6990cd4.js";
6
- import { I as IconButton } from "../../../mui_extended/IconButton/index.df52ae90.js";
5
+ import { P as Pager } from "../../../mui_extended/Pager/index.5629e82b.js";
6
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.26de70bd.js";
7
7
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
8
8
  import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
9
9
  import { D as DataGrid$1 } from "../../../../react-data-grid.c5377916.js";
10
10
  import { styled } from "@mui/material/styles";
11
- import { u as useModal } from "../../../../hooks/useModal/index.b4b84d5d.js";
12
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.6aa59730.js";
13
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.33acdebb.js";
11
+ import { u as useModal } from "../../../../hooks/useModal/index.abdc0962.js";
12
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.06539086.js";
13
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.3e8a2e60.js";
14
14
  import { useResponsiveDesktop } from "@m4l/graphics";
15
- import { W as WindowBase } from "../../../modal/WindowBase.38d4b8e7.js";
16
- import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.f358ae72.js";
15
+ import { W as WindowBase } from "../../../modal/WindowBase.ea17cf20.js";
16
+ import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.2f6286eb.js";
17
17
  function ActionsFormatter(props) {
18
18
  const {
19
19
  rowActionsGetter,
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { c as cjs } from "../../react-draggable.cdce362f.js";
2
+ import { c as cjs } from "../../react-draggable.ee21cb7e.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  const DraggableWindow = (props) => {
5
5
  const {
@@ -1,5 +1,5 @@
1
1
  import { DynamicFilterClasses } from './types';
2
2
  import { OwnerState } from '../contexts/DynamicFilterContext/store';
3
3
  export declare const dynamicFilterClasses: DynamicFilterClasses;
4
- export declare const useUtilityClasses: (ownerState: OwnerState) => Record<"root" | "containerFistRow" | "filterButton" | "containerInputFilter" | "wrapperApplyedFilters" | "containerApplyedFilters" | "containerClearFilter" | "applyedFilter" | "clearFiltersButton" | "popoverMenuFields" | "popoverMenuFieldsPaper" | "popoverMenuFieldsItem" | "classesFilterButton" | "popoverFilter" | "popoverFilterPaper" | "popoverFilterHeader" | "popoverHeaderTitle" | "containerBooleanFilter" | "containerDateTimeFilter" | "containerNumberFilter" | "containerStringFilter" | "classespopoverLabelMemuItem" | "popoverContainerFields", string>;
4
+ export declare const useUtilityClasses: (ownerState: OwnerState) => Record<"root" | "containerFistRow" | "filterButton" | "containerInputFilter" | "wrapperApplyedFilters" | "containerApplyedFilters" | "containerClearFilter" | "applyedFilter" | "clearFiltersButton" | "popoverMenuFields" | "popoverMenuFieldsPaper" | "popoverMenuFieldsItem" | "classesFilterButton" | "popoverFilter" | "popoverFilterPaper" | "popoverFilterHeader" | "popoverHeaderTitle" | "containerBooleanFilter" | "containerDateTimeFilter" | "containerNumberFilter" | "containerStringFilter" | "classespopoverLabelMemuItem" | "popoverContainerFields" | "inputFilter", string>;
5
5
  export declare type Classes = ReturnType<typeof useUtilityClasses>;
@@ -22,6 +22,7 @@ export interface DynamicFilterClasses {
22
22
  containerStringFilter: string;
23
23
  classespopoverLabelMemuItem: string;
24
24
  popoverContainerFields: string;
25
+ inputFilter: string;
25
26
  isSkeleton: string;
26
27
  inEdition: string;
27
28
  isInvalid: string;
@@ -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.b22c4c1a.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.f358ae72.js";
11
- import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.09ff3d84.js";
12
- import { g as getNameDataTestId } from "../../vendor.caaaf054.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.0ce87ac3.js";
12
+ import { g as getNameDataTestId } from "../../vendor.8f8b0ac9.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.2b76899e.js";
17
- import { R as RHFTextField } from "../hook-form/RHFTextField/index.f546c18a.js";
16
+ import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.ae5d3a39.js";
17
+ import { R as RHFTextField } from "../hook-form/RHFTextField/index.80cc07e0.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
- import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
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.df52ae90.js";
24
- import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.04d87c36.js";
23
+ import { I as IconButton } from "../mui_extended/IconButton/index.26de70bd.js";
24
+ import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.8c02ff61.js";
25
25
  import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
26
- import { I as Icon } from "../Icon/index.6db034b5.js";
26
+ import { I as Icon } from "../Icon/index.05984e7f.js";
27
27
  import { R as RHFormProvider } from "../../contexts/RHFormContext/index.7769076a.js";
28
- import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.6aa59730.js";
29
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.33acdebb.js";
28
+ import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.06539086.js";
29
+ import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.3e8a2e60.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";
@@ -79,6 +79,7 @@ const dynamicFilterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
79
79
  "classespopoverLabelMemuItem",
80
80
  "popoverContainerFields",
81
81
  "classesFilterButton",
82
+ "inputFilter",
82
83
  "isSkeleton",
83
84
  "isMobile",
84
85
  "inEdition",
@@ -111,7 +112,8 @@ const useUtilityClasses = (ownerState) => {
111
112
  containerBooleanFilter: ["containerBooleanFilter"],
112
113
  containerDateTimeFilter: ["containerDateTimeFilter"],
113
114
  containerNumberFilter: ["containerNumberFilter"],
114
- containerStringFilter: ["containerStringFilter"]
115
+ containerStringFilter: ["containerStringFilter"],
116
+ inputFilter: ["inputFilter"]
115
117
  };
116
118
  return unstable_composeClasses(slots, getComponentUtilityClass(COMPONENT_CLASS_NAME), {});
117
119
  };
@@ -1461,6 +1463,7 @@ function InputFilter() {
1461
1463
  const availableFields = useDynamicFilter((state) => state.availableFields, shallow);
1462
1464
  const dataTestId = useDynamicFilter((state) => state.dataTestId, shallow);
1463
1465
  const classesContainerInputFilter = useDynamicFilter((state) => state.classes.containerInputFilter, shallow);
1466
+ const classesInputFilter = useDynamicFilter((state) => state.classes.inputFilter, shallow);
1464
1467
  const isSkeleton = useDynamicFilter((state) => state.ownerState.isSkeleton, shallow);
1465
1468
  const {
1466
1469
  showPopoverFilterForAdd,
@@ -1571,6 +1574,7 @@ function InputFilter() {
1571
1574
  value: inputData,
1572
1575
  placeholder: getLabel(getDynamicFilterDictionary(DICCTIONARY.input_placeholder)),
1573
1576
  onFocus: onFocusInputFilter,
1577
+ className: classesInputFilter,
1574
1578
  onChange: onChangeInputFilter,
1575
1579
  onKeyDown: handleKeyDown
1576
1580
  })]
@@ -1,8 +1,8 @@
1
1
  import { useState, useRef, useEffect, useCallback, useMemo } from "react";
2
2
  import clsx from "clsx";
3
- import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.da0a3c47.js";
3
+ import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.4d38f12e.js";
4
4
  import { styled, alpha } from "@mui/material/styles";
5
- import { r as react_resizable_css } from "../../react-resizable.806822ee.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.cdce362f.js";
3
- import { R as Resizable } from "../../../../react-resizable.806822ee.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.c26989d8.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.e8c04242.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.c26989d8.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.e8c04242.js";
2
2
  import { useState, useRef, useEffect, useCallback } from "react";
3
3
  import { useFirstRender } from "@m4l/graphics";
4
4
  import { deepEqual } from "fast-equals";