@m4l/components 0.1.56 → 0.1.57

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 (157) hide show
  1. package/assets/Logo.d.ts +0 -1
  2. package/components/CommonActions/components/ActionCancel/index.d.ts +0 -1
  3. package/components/CommonActions/components/ActionFormCancel/{index.a99b84aa.js → index.9021e223.js} +10 -10
  4. package/components/CommonActions/components/ActionFormCancel/index.d.ts +0 -1
  5. package/components/CommonActions/components/ActionFormIntro/index.d.ts +0 -1
  6. package/components/CommonActions/components/ActionIntro/{index.bb313873.js → index.56c7d4b4.js} +1 -1
  7. package/components/CommonActions/components/ActionIntro/index.d.ts +0 -1
  8. package/components/CommonActions/components/Actions/{index.7c749647.js → index.a97f42b3.js} +9 -9
  9. package/components/CommonActions/components/Actions/index.d.ts +0 -1
  10. package/components/DataGrid/formatters/columnBooleanFormatter/index.d.ts +0 -1
  11. package/components/DataGrid/formatters/columnConcatenatedValueFormatter/index.d.ts +0 -1
  12. package/components/DataGrid/formatters/columnDateFormatter/index.d.ts +0 -1
  13. package/components/DataGrid/formatters/columnNestedValueFormatter/index.d.ts +0 -1
  14. package/components/DataGrid/formatters/columnPointsFormatter/index.d.ts +0 -1
  15. package/components/DataGrid/formatters/columnPriceFormatter/index.d.ts +0 -1
  16. package/components/DataGrid/formatters/columnUncertaintyFormatter/index.d.ts +0 -1
  17. package/components/DataGrid/{index.f2bd89c9.js → index.6406b096.js} +11 -11
  18. package/components/DataGrid/index.d.ts +0 -1
  19. package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -1
  20. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +0 -1
  21. package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/index.d.ts +0 -1
  22. package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/index.d.ts +0 -1
  23. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +0 -1
  24. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/subcomponents/FormatterColumn/index.d.ts +0 -1
  25. package/components/DataGrid/subcomponents/Table/index.d.ts +0 -1
  26. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.d.ts +0 -1
  27. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.d.ts +0 -1
  28. package/components/DraggableWindow/index.d.ts +0 -1
  29. package/components/DynamicFilter/DynamicFilter.d.ts +0 -1
  30. package/components/DynamicFilter/index.d.ts +1 -1
  31. package/components/DynamicFilter/{index.18aa9ca3.js → index.f21f52fe.js} +53 -24
  32. package/components/DynamicFilter/subcomponents/ApplyedFilters/index.d.ts +0 -1
  33. package/components/DynamicFilter/subcomponents/ApplyedFilters/subcomponents/ApplyedFilter/index.d.ts +0 -1
  34. package/components/DynamicFilter/subcomponents/ClearFilters/index.d.ts +0 -1
  35. package/components/DynamicFilter/subcomponents/FilterButton/index.d.ts +0 -1
  36. package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +0 -1
  37. package/components/DynamicFilter/subcomponents/InputFilter/index.d.ts +0 -1
  38. package/components/DynamicFilter/subcomponents/PopoverFilter/index.d.ts +0 -1
  39. package/components/DynamicFilter/subcomponents/PopoverMenuFields/index.d.ts +0 -1
  40. package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/index.d.ts +0 -1
  41. package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/index.d.ts +0 -1
  42. package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/index.d.ts +0 -1
  43. package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/index.d.ts +0 -1
  44. package/components/DynamicFilter/subcomponents/fieldstypes/factory.d.ts +0 -1
  45. package/components/ErrorLabel/index.d.ts +0 -1
  46. package/components/HelmetPage/index.d.ts +0 -1
  47. package/components/Icon/Icon.d.ts +0 -1
  48. package/components/Image/Image.d.ts +0 -1
  49. package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +0 -1
  50. package/components/Image/subcomponents/Skeleton/index.d.ts +0 -1
  51. package/components/LanguagePopover/LanguagePopover.d.ts +0 -1
  52. package/components/ModalDialog/{index.cecce13a.js → index.117fc0b2.js} +2 -2
  53. package/components/NoItemSelected/index.d.ts +0 -1
  54. package/components/ObjectLogs/components/DetailDialog/index.d.ts +0 -1
  55. package/components/ObjectLogs/components/DetailFormatter/index.d.ts +0 -1
  56. package/components/ObjectLogs/{index.8c50aac4.js → index.a8b29035.js} +12 -12
  57. package/components/ObjectLogs/index.d.ts +0 -1
  58. package/components/PaperForm/components/Header.d.ts +0 -1
  59. package/components/PaperForm/index.d.ts +0 -1
  60. package/components/Period/index.d.ts +0 -1
  61. package/components/Period/{index.dbe9d7fc.js → index.d262f353.js} +10 -10
  62. package/components/PropertyValue/index.d.ts +0 -1
  63. package/components/PropertyValue/skeleton.d.ts +0 -1
  64. package/components/ResizeableWindow/index.d.ts +0 -1
  65. package/components/SplitLayout/index.d.ts +0 -1
  66. package/components/WrapperComponent/index.d.ts +0 -1
  67. package/components/animate/LoadingScreen/index.d.ts +0 -1
  68. package/components/animate/MotionContainer/index.d.ts +0 -1
  69. package/components/animate/PropagateLoader/index.d.ts +0 -1
  70. package/components/areas/components/Area/index.d.ts +0 -1
  71. package/components/areas/components/Area/subcomponents/InnerForHooks/index.d.ts +0 -1
  72. package/components/areas/components/AreasAdmin/{index.a77794f0.js → index.97a4203b.js} +1 -1
  73. package/components/areas/components/AreasAdmin/index.d.ts +0 -1
  74. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/index.d.ts +0 -1
  75. package/components/areas/components/AreasContainer/index.d.ts +0 -1
  76. package/components/areas/components/AreasContainer/{index.ebea50de.js → index.f9e22f14.js} +2 -2
  77. package/components/areas/components/GridLayout/{index.ac6c97ec.js → index.8381ec66.js} +4 -4
  78. package/components/areas/components/GridLayout/index.d.ts +0 -1
  79. package/components/areas/components/Window/{index.c7dbcfdb.js → index.0a18cc28.js} +19 -19
  80. package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/Header/index.d.ts +0 -1
  81. package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/Header/skeleton.d.ts +0 -1
  82. package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/index.d.ts +0 -1
  83. package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/index.d.ts +0 -1
  84. package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/index.d.ts +0 -1
  85. package/components/areas/components/WindowPopUp/{index.d578142d.js → index.f98b8799.js} +20 -20
  86. package/components/areas/components/WindowsPanel/index.d.ts +0 -1
  87. package/components/areas/components/{index.c8687ec7.js → index.6b36068b.js} +7 -7
  88. package/components/areas/contexts/AreaContext/{index.ea45d809.js → index.5f0f4b38.js} +1 -1
  89. package/components/areas/contexts/AreasContext/{index.b8494c26.js → index.6d2c0374.js} +1 -1
  90. package/components/areas/contexts/{index.41841fbb.js → index.b67b8c4d.js} +1 -1
  91. package/components/areas/hooks/{index.39148e1d.js → index.63b52d03.js} +1 -1
  92. package/components/areas/hooks/useArea/{index.88c16040.js → index.7241cfef.js} +2 -2
  93. package/components/areas/{index.400beeb3.js → index.287d600f.js} +5 -5
  94. package/components/formatters/BooleanFormatter/index.d.ts +0 -1
  95. package/components/formatters/ConcatenatedFormatter/index.d.ts +0 -1
  96. package/components/formatters/DateFormatter/index.d.ts +0 -1
  97. package/components/formatters/PeriodFormatter/index.d.ts +0 -1
  98. package/components/formatters/PointsFormatter/index.d.ts +0 -1
  99. package/components/formatters/PriceFormatter/index.d.ts +0 -1
  100. package/components/formatters/UncertaintyFormatter/index.d.ts +0 -1
  101. package/components/hook-form/RHFAutocomplete/{index.1e466cd7.js → index.7a46159a.js} +1 -1
  102. package/components/hook-form/RHFAutocomplete/index.d.ts +0 -1
  103. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/index.d.ts +0 -1
  104. package/components/hook-form/RHFAutocompleteAsync/{index.0a2173d3.js → index.29f251bb.js} +1 -1
  105. package/components/hook-form/RHFAutocompleteAsync/index.d.ts +0 -1
  106. package/components/hook-form/RHFCheckbox/RHFCheckbox.d.ts +0 -1
  107. package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/index.d.ts +0 -1
  108. package/components/hook-form/RHFDateTime/index.d.ts +0 -1
  109. package/components/hook-form/RHFDateTime/subcomponents/Skeleton/index.d.ts +0 -1
  110. package/components/hook-form/RHFMultiCheckbox/index.d.ts +0 -1
  111. package/components/hook-form/RHFPeriod/index.d.ts +0 -1
  112. package/components/hook-form/RHFPeriod/{index.aa3db361.js → index.e55c55a8.js} +1 -1
  113. package/components/hook-form/RHFRadioGroup.d.ts +0 -1
  114. package/components/hook-form/RHFSelect.d.ts +0 -1
  115. package/components/hook-form/RHFTextField/{index.09c6aab5.js → index.f5d29656.js} +1 -1
  116. package/components/hook-form/RHFTextField/subcomponents/Skeleton/index.d.ts +0 -1
  117. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.d.ts +0 -1
  118. package/components/hook-form/RHFUpload/RHFUploadImage/index.d.ts +0 -1
  119. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +0 -1
  120. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/index.d.ts +0 -1
  121. package/components/modal/ModalDialog/index.d.ts +0 -1
  122. package/components/modal/WindowBase/index.d.ts +0 -1
  123. package/components/modal/WindowBase/subcomponents/Header/index.d.ts +0 -1
  124. package/components/modal/{WindowBase.398b3152.js → WindowBase.a7b686f4.js} +1 -1
  125. package/components/modal/WindowConfirm/index.d.ts +0 -1
  126. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.d.ts +0 -1
  127. package/components/modal/{WindowConfirm.5e8c22dc.js → WindowConfirm.03749198.js} +10 -10
  128. package/components/modal/{index.fa29078b.js → index.bbeec3c6.js} +10 -10
  129. package/components/mui_extended/Accordion/components/AccordionLabel.d.ts +0 -1
  130. package/components/mui_extended/Accordion/index.d.ts +0 -1
  131. package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +0 -1
  132. package/components/mui_extended/BoxIcon/index.d.ts +0 -1
  133. package/components/mui_extended/Breadcrumbs/components/LinkItem/index.d.ts +0 -1
  134. package/components/mui_extended/Breadcrumbs/index.d.ts +0 -1
  135. package/components/mui_extended/Button/Button.d.ts +0 -1
  136. package/components/mui_extended/CircularProgress/index.d.ts +0 -1
  137. package/components/mui_extended/IconButton/IconButton.d.ts +0 -1
  138. package/components/mui_extended/IconButton/subcomponents/SkeletonIconButton/index.d.ts +0 -1
  139. package/components/mui_extended/ImageButton/ImageButton.d.ts +0 -1
  140. package/components/mui_extended/LinearProgress/index.d.ts +0 -1
  141. package/components/mui_extended/LinkWithRoute/index.d.ts +0 -1
  142. package/components/mui_extended/LoadingButton/index.d.ts +0 -1
  143. package/components/mui_extended/LoadingButton/subcomponents/Skeleton/index.d.ts +0 -1
  144. package/components/mui_extended/MenuActions/index.d.ts +0 -1
  145. package/components/mui_extended/MenuActions/types.d.ts +0 -1
  146. package/components/mui_extended/Pager/components/PagerActions/index.d.ts +0 -1
  147. package/components/mui_extended/Pager/index.d.ts +0 -1
  148. package/components/mui_extended/Popover/Popover.d.ts +0 -1
  149. package/components/mui_extended/Tab/index.d.ts +0 -1
  150. package/components/mui_extended/Typography/index.d.ts +0 -1
  151. package/components/mui_extended/Typography/subcomponents/index.d.ts +0 -1
  152. package/contexts/ModalContext/{index.bd535720.js → index.64f9722d.js} +1 -1
  153. package/contexts/RHFormContext/index.d.ts +0 -1
  154. package/hooks/useModal/{index.6b980dd0.js → index.16cbca11.js} +1 -1
  155. package/index.js +29 -29
  156. package/package.json +1 -1
  157. package/{vendor.1735f56f.js → vendor.7d963451.js} +22 -22
package/assets/Logo.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BoxProps } from '@mui/material';
3
2
  interface Props extends BoxProps {
4
3
  disabledLink?: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from '@mui/material';
3
2
  export declare const ActionCancel: (props: ButtonProps) => JSX.Element;
@@ -3,28 +3,28 @@ import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
3
3
  import { Skeleton } from "@mui/material";
4
4
  import { B as Button } from "../../../mui_extended/Button/index.8406ed5b.js";
5
5
  import { useCallback } from "react";
6
- import { u as useModal } from "../../../../hooks/useModal/index.6b980dd0.js";
6
+ import { u as useModal } from "../../../../hooks/useModal/index.16cbca11.js";
7
7
  import "../../../../react-draggable.6471b07e.js";
8
- import "../../../ModalDialog/index.cecce13a.js";
8
+ import "../../../ModalDialog/index.117fc0b2.js";
9
9
  import "../../../Resizeable/index.04fa8de5.js";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
  import "@m4l/graphics";
12
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.5e8c22dc.js";
13
- import "../../../modal/WindowBase.398b3152.js";
12
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.03749198.js";
13
+ import "../../../modal/WindowBase.a7b686f4.js";
14
14
  import "../../../Icon/index.b29ff2d9.js";
15
15
  import "@mui/material/styles";
16
- import "../../../areas/components/index.c8687ec7.js";
17
- import "../../../areas/components/AreasAdmin/index.a77794f0.js";
16
+ import "../../../areas/components/index.6b36068b.js";
17
+ import "../../../areas/components/AreasAdmin/index.97a4203b.js";
18
18
  import "../../../mui_extended/IconButton/index.460c0476.js";
19
19
  import "zustand";
20
- import "../../../areas/contexts/AreasContext/index.b8494c26.js";
20
+ import "../../../areas/contexts/AreasContext/index.6d2c0374.js";
21
21
  import "zustand/shallow";
22
- import "../../../areas/components/AreasContainer/index.ebea50de.js";
22
+ import "../../../areas/components/AreasContainer/index.f9e22f14.js";
23
23
  import "react-grid-layout/css/styles.css";
24
24
  import "../../../../react-resizable.b620abed.js";
25
- import "../../../areas/contexts/index.41841fbb.js";
25
+ import "../../../areas/contexts/index.b67b8c4d.js";
26
26
  import "../../../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
27
- import { u as useWindowToolsMF } from "../../../areas/hooks/index.39148e1d.js";
27
+ import { u as useWindowToolsMF } from "../../../areas/hooks/index.63b52d03.js";
28
28
  function ActionFormCancel() {
29
29
  const {
30
30
  getLabel
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function ActionFormCancel(): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { LoadingButtonProps } from '@mui/lab';
3
2
  export declare function ActionFormIntro(props: LoadingButtonProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
2
  import { B as Button } from "../../../mui_extended/Button/index.8406ed5b.js";
3
- import { T as TEST_PROP_ID } from "../../../../vendor.1735f56f.js";
3
+ import { T as TEST_PROP_ID } from "../../../../vendor.7d963451.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const ACTIONINTRO_TEST_ID = "m4lactions";
6
6
  const ActionIntro = (props) => {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from '@mui/material';
3
2
  export declare const ActionIntro: (props: ButtonProps) => JSX.Element;
@@ -6,25 +6,25 @@ import "@mui/material/Button";
6
6
  import "../../../mui_extended/Button/index.8406ed5b.js";
7
7
  import "react-hook-form";
8
8
  import "react";
9
- import "../../../../contexts/ModalContext/index.bd535720.js";
9
+ import "../../../../contexts/ModalContext/index.64f9722d.js";
10
10
  import "../../../../react-draggable.6471b07e.js";
11
- import "../../../ModalDialog/index.cecce13a.js";
11
+ import "../../../ModalDialog/index.117fc0b2.js";
12
12
  import "../../../Resizeable/index.04fa8de5.js";
13
13
  import "@m4l/graphics";
14
14
  import "@mui/lab";
15
- import "../../../modal/WindowConfirm.5e8c22dc.js";
15
+ import "../../../modal/WindowConfirm.03749198.js";
16
16
  import "../../../Icon/index.b29ff2d9.js";
17
- import "../../../modal/WindowBase.398b3152.js";
18
- import "../../../areas/components/index.c8687ec7.js";
19
- import "../../../areas/components/AreasAdmin/index.a77794f0.js";
17
+ import "../../../modal/WindowBase.a7b686f4.js";
18
+ import "../../../areas/components/index.6b36068b.js";
19
+ import "../../../areas/components/AreasAdmin/index.97a4203b.js";
20
20
  import "../../../mui_extended/IconButton/index.460c0476.js";
21
21
  import "zustand";
22
- import "../../../areas/contexts/AreasContext/index.b8494c26.js";
22
+ import "../../../areas/contexts/AreasContext/index.6d2c0374.js";
23
23
  import "zustand/shallow";
24
- import "../../../areas/components/AreasContainer/index.ebea50de.js";
24
+ import "../../../areas/components/AreasContainer/index.f9e22f14.js";
25
25
  import "react-grid-layout/css/styles.css";
26
26
  import "../../../../react-resizable.b620abed.js";
27
- import "../../../areas/contexts/index.41841fbb.js";
27
+ import "../../../areas/contexts/index.b67b8c4d.js";
28
28
  import "../../../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
29
29
  const WrapperStandarActions = styled("div")(({
30
30
  theme
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { CommonActionsProps } from './types';
3
2
  export declare const Actions: (props: CommonActionsProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ColumnBooleanFormatterProps } from './types';
3
2
  export declare function columnBooleanFormatter(props: ColumnBooleanFormatterProps): (obProps: any) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColumnConcatenatedValuesFormatterProps } from './types';
3
2
  /**
4
3
  * Función especial para el DataGrid que concatena un array de strings
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { ColumnDateFormatterProps } from './types';
3
2
  export declare function columnDateFormatter(props: ColumnDateFormatterProps): (obProps: any) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ColumnNestedValueFormatterProps } from './types';
3
2
  export declare function columnNestedValueFormatter(props: ColumnNestedValueFormatterProps): (obProps: any) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ColumnPointsFormatterProps } from './types';
3
2
  export declare function columnPointsFormatter(props: ColumnPointsFormatterProps): (obProps: any) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ColumnPriceFormatterProps } from './types';
3
2
  export declare function columnPriceFormatter(props: ColumnPriceFormatterProps): (obProps: any) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ColumnUncertaintyFormatterProps } from './types';
3
2
  export declare function columnUncertaintyFormatter(props: ColumnUncertaintyFormatterProps): (obProps: any) => JSX.Element;
@@ -9,31 +9,31 @@ import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByStri
9
9
  import { M as MenuActions } from "../mui_extended/MenuActions/index.1affe51a.js";
10
10
  import { P as Pager, g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.458f9f0d.js";
11
11
  import { I as IconButton } from "../mui_extended/IconButton/index.460c0476.js";
12
- import { u as useModal } from "../../hooks/useModal/index.6b980dd0.js";
12
+ import { u as useModal } from "../../hooks/useModal/index.16cbca11.js";
13
13
  import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.a81752ef.js";
14
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.bb313873.js";
14
+ import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.56c7d4b4.js";
15
15
  import "../../react-draggable.6471b07e.js";
16
- import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.cecce13a.js";
16
+ import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.117fc0b2.js";
17
17
  import "../Resizeable/index.04fa8de5.js";
18
18
  import { useResponsiveDesktop } from "@m4l/graphics";
19
- import { A as Actions$1 } from "../CommonActions/components/Actions/index.7c749647.js";
19
+ import { A as Actions$1 } from "../CommonActions/components/Actions/index.a97f42b3.js";
20
20
  import "react-hook-form";
21
21
  import "@mui/material/Button";
22
22
  import "../mui_extended/Button/index.8406ed5b.js";
23
- import "../areas/components/index.c8687ec7.js";
24
- import "../areas/components/AreasAdmin/index.a77794f0.js";
23
+ import "../areas/components/index.6b36068b.js";
24
+ import "../areas/components/AreasAdmin/index.97a4203b.js";
25
25
  import "zustand";
26
- import "../areas/contexts/AreasContext/index.b8494c26.js";
26
+ import "../areas/contexts/AreasContext/index.6d2c0374.js";
27
27
  import "zustand/shallow";
28
- import "../areas/components/AreasContainer/index.ebea50de.js";
28
+ import "../areas/components/AreasContainer/index.f9e22f14.js";
29
29
  import "react-grid-layout/css/styles.css";
30
30
  import "../../react-resizable.b620abed.js";
31
- import "../areas/contexts/index.41841fbb.js";
31
+ import "../areas/contexts/index.b67b8c4d.js";
32
32
  import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
33
33
  import "@mui/lab";
34
- import "../modal/WindowConfirm.5e8c22dc.js";
34
+ import "../modal/WindowConfirm.03749198.js";
35
35
  import "../Icon/index.b29ff2d9.js";
36
- import { W as WindowBase } from "../modal/WindowBase.398b3152.js";
36
+ import { W as WindowBase } from "../modal/WindowBase.a7b686f4.js";
37
37
  import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.a50933fb.js";
38
38
  import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
39
39
  import { C as ConcatenatedFormatter } from "../formatters/index.7d2ad9ca.js";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { DataGridProps } from './types';
3
2
  export declare function DataGrid<TRow, TSummaryRow>(props: DataGridProps<TRow, TSummaryRow>): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { InternalActionsProps } from './types';
3
2
  export declare function Actions(props: InternalActionsProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Density(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Filter(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function RowsCount(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Settings(): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormatterProps } from 'react-data-grid';
3
2
  import { Row } from '../../types';
4
3
  export declare function FormatterColumn({ row, onRowChange, column }: FormatterProps<Row>): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { GridProps } from '../../types';
3
2
  export declare function Table<TRow, TSummaryRow>(props: GridProps<TRow, TSummaryRow>): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SvgIconProps } from '@mui/material';
3
2
  export declare function CloseIcon(props: SvgIconProps): JSX.Element;
4
3
  export declare function StarIcon(props: SvgIconProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function SkeletonFormatter(): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DraggableWindowProps } from './types';
3
2
  export declare const DraggableWindow: (props: DraggableWindowProps) => JSX.Element;
4
3
  export default DraggableWindow;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DynamicFilterProps } from './types';
3
2
  /**
4
3
  * @description Punto de entrada del componente
@@ -1,4 +1,4 @@
1
1
  export * from './DynamicFilter';
2
2
  export * from './dictionary';
3
- export type { FilterFieldApplyed as FilterFieldApply, RawFilterFieldApply, InitialFilterApplyed as InitialFilterFieldApplyed, } from './types';
3
+ export type { FilterFieldApplyed as FilterFieldApply, RawFilterFieldApply, InitialFilterApplyed, } from './types';
4
4
  export type { DynamicFilterClassesKey } from './classes/types';
@@ -5,33 +5,33 @@ import { useContext, useMemo, useEffect, createContext, useRef, createElement, u
5
5
  import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent, CommonFlags } from "@m4l/core";
6
6
  import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
7
7
  import clsx from "clsx";
8
- import { T as TEST_PROP_ID } from "../../vendor.1735f56f.js";
8
+ import { T as TEST_PROP_ID } from "../../vendor.7d963451.js";
9
9
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
10
10
  import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
11
11
  import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.1affe51a.js";
12
12
  import { P as Popover } from "../mui_extended/Popover/index.8ed52492.js";
13
13
  import { I as Icon } from "../Icon/index.b29ff2d9.js";
14
14
  import { R as RHFormProvider } from "../../contexts/RHFormContext/index.3dc6e2f5.js";
15
- import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.7c749647.js";
15
+ import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.a97f42b3.js";
16
16
  import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.a81752ef.js";
17
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.bb313873.js";
17
+ import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.56c7d4b4.js";
18
18
  import { useFormContext, useWatch } from "react-hook-form";
19
19
  import "@mui/material/Button";
20
20
  import "../mui_extended/Button/index.8406ed5b.js";
21
- import "../../contexts/ModalContext/index.bd535720.js";
21
+ import "../../contexts/ModalContext/index.64f9722d.js";
22
22
  import "../../react-draggable.6471b07e.js";
23
- import "../ModalDialog/index.cecce13a.js";
23
+ import "../ModalDialog/index.117fc0b2.js";
24
24
  import "../Resizeable/index.04fa8de5.js";
25
- import "../modal/WindowConfirm.5e8c22dc.js";
26
- import "../modal/WindowBase.398b3152.js";
27
- import "../areas/components/index.c8687ec7.js";
28
- import "../areas/components/AreasAdmin/index.a77794f0.js";
25
+ import "../modal/WindowConfirm.03749198.js";
26
+ import "../modal/WindowBase.a7b686f4.js";
27
+ import "../areas/components/index.6b36068b.js";
28
+ import "../areas/components/AreasAdmin/index.97a4203b.js";
29
29
  import { useStore, createStore } from "zustand";
30
- import "../areas/contexts/AreasContext/index.b8494c26.js";
31
- import "../areas/components/AreasContainer/index.ebea50de.js";
30
+ import "../areas/contexts/AreasContext/index.6d2c0374.js";
31
+ import "../areas/components/AreasContainer/index.f9e22f14.js";
32
32
  import "react-grid-layout/css/styles.css";
33
33
  import "../../react-resizable.b620abed.js";
34
- import "../areas/contexts/index.41841fbb.js";
34
+ import "../areas/contexts/index.b67b8c4d.js";
35
35
  import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
36
36
  import "@mui/lab";
37
37
  import "../mui_extended/Accordion/index.002bad72.js";
@@ -45,16 +45,16 @@ import { unstable_composeClasses } from "@mui/base";
45
45
  import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.b6ae791a.js";
46
46
  import { devtools } from "zustand/middleware";
47
47
  import { immer } from "zustand/middleware/immer";
48
- import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.1e466cd7.js";
48
+ import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.7a46159a.js";
49
49
  import "lodash/debounce";
50
50
  import "../hook-form/RHFCheckbox/index.da7bc824.js";
51
51
  import { styled, alpha as alpha$1 } from "@mui/material/styles";
52
52
  import "../ErrorLabel/index.908fb555.js";
53
53
  import "@mui/x-date-pickers";
54
54
  import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.6c129ce4.js";
55
- import { R as RHFTextField } from "../hook-form/RHFTextField/index.09c6aab5.js";
56
- import "../hook-form/RHFPeriod/index.aa3db361.js";
57
- import "../Period/index.dbe9d7fc.js";
55
+ import { R as RHFTextField } from "../hook-form/RHFTextField/index.f5d29656.js";
56
+ import "../hook-form/RHFPeriod/index.e55c55a8.js";
57
+ import "../Period/index.d262f353.js";
58
58
  import "lodash/isString";
59
59
  import "react-dropzone";
60
60
  import "../hook-form/RHFUpload/index.7fdff30f.js";
@@ -798,6 +798,9 @@ const formatToInitialFilters = (applyedFilters) => {
798
798
  ret.operand1 = af.operand1.toISOString();
799
799
  ret.operand2 = af.operator === "b" ? af.operand2.toISOString() : void 0;
800
800
  }
801
+ if (ret.operand2 === void 0) {
802
+ delete ret.operand2;
803
+ }
801
804
  return ret;
802
805
  });
803
806
  };
@@ -877,7 +880,7 @@ const getPurgedInitialFiltersApplyed = (fields, initialFilters, getFieldByName)
877
880
  }
878
881
  return newFilters;
879
882
  };
880
- const updateAvailableFieldsNoBoilerPlate = (state) => {
883
+ const updateAvailableFields = (state) => {
881
884
  const newFields = [];
882
885
  for (let index = 0; index < state.fields.length; index++) {
883
886
  let add;
@@ -895,9 +898,33 @@ const updateAvailableFieldsNoBoilerPlate = (state) => {
895
898
  }
896
899
  state.availableFields = newFields;
897
900
  };
901
+ const updateOwnerStateIsValid = (state) => {
902
+ state.ownerState.isValid = true;
903
+ for (let index = 0; index < state.applyedFilters.length; index++) {
904
+ const element = state.applyedFilters[index];
905
+ if (!element.isSetted) {
906
+ state.ownerState.isValid = false;
907
+ }
908
+ }
909
+ };
898
910
  const updateOwnerStateClasses = (state) => {
899
911
  state.classes = useUtilityClasses(state.ownerState);
900
912
  };
913
+ const updateAutomatic = (state) => {
914
+ updateOwnerStateIsValid(state);
915
+ updateAvailableFields(state);
916
+ console.log("updateAutomatic", state.ownerState.isValid);
917
+ if (state.ownerState.isValid) {
918
+ if (state.automatic) {
919
+ state.ownerState.isDirty = false;
920
+ state.onChangeFilters(
921
+ formatToInitialFilters(state.applyedFilters),
922
+ formatToRawFilter(state.applyedFilters)
923
+ );
924
+ }
925
+ }
926
+ updateOwnerStateClasses(state);
927
+ };
901
928
  const createAreaStore = (initProps) => {
902
929
  const startProps = {
903
930
  applyedFilters: [],
@@ -920,7 +947,7 @@ const createAreaStore = (initProps) => {
920
947
  initialFiltersApplyed,
921
948
  state.actions.getFieldByName
922
949
  );
923
- updateAvailableFieldsNoBoilerPlate(state);
950
+ updateAvailableFields(state);
924
951
  });
925
952
  },
926
953
  getFieldByName: (name) => {
@@ -939,8 +966,8 @@ const createAreaStore = (initProps) => {
939
966
  );
940
967
  if (index_to_remove > -1) {
941
968
  state.applyedFilters.splice(index_to_remove, 1);
969
+ updateAutomatic(state);
942
970
  }
943
- updateAvailableFieldsNoBoilerPlate(state);
944
971
  });
945
972
  },
946
973
  showPopoverFilterForAdd: (anchorEl, field) => {
@@ -974,19 +1001,18 @@ const createAreaStore = (initProps) => {
974
1001
  clearFilters: () => {
975
1002
  set((state) => {
976
1003
  state.applyedFilters = state.applyedFilters.filter((f) => f.fixed);
977
- updateAvailableFieldsNoBoilerPlate(state);
1004
+ updateAvailableFields(state);
978
1005
  });
979
1006
  },
980
1007
  fireOnChangeFilters: () => {
981
1008
  set((state) => {
982
1009
  if (state.ownerState.isValid) {
983
- if (!state.automatic) {
984
- state.ownerState.isDirty = false;
985
- }
1010
+ state.ownerState.isDirty = false;
986
1011
  state.onChangeFilters(
987
1012
  formatToInitialFilters(state.applyedFilters),
988
1013
  formatToRawFilter(state.applyedFilters)
989
1014
  );
1015
+ updateOwnerStateClasses(state);
990
1016
  }
991
1017
  });
992
1018
  },
@@ -998,6 +1024,7 @@ const createAreaStore = (initProps) => {
998
1024
  addFilter: (newFilter) => {
999
1025
  set((state) => {
1000
1026
  state.applyedFilters.push(newFilter);
1027
+ updateAutomatic(state);
1001
1028
  });
1002
1029
  },
1003
1030
  updateFilter: (editFilter) => {
@@ -1008,6 +1035,7 @@ const createAreaStore = (initProps) => {
1008
1035
  if (index > -1) {
1009
1036
  state.applyedFilters[index] = editFilter;
1010
1037
  }
1038
+ updateAutomatic(state);
1011
1039
  });
1012
1040
  },
1013
1041
  setInputData: (inputData) => {
@@ -1705,7 +1733,8 @@ const PopoverFilter = () => {
1705
1733
  ...getFilterFromFormValue({
1706
1734
  ...filterFormValue,
1707
1735
  ...data
1708
- })
1736
+ }),
1737
+ isSetted: true
1709
1738
  };
1710
1739
  if (popoverFilterData?.openFor === "add") {
1711
1740
  addFilter(newFilter);
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function ApplyedFilters(): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { FilterFieldApplyed } from '../../../../types';
3
2
  export declare function ApplyedFilter(props: FilterFieldApplyed): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ClearFilters: () => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description Boton para aplicar los filtros
4
3
  * Si es invalido, debe tener un borde que lo indique, y el tooltip debe ser de tooltip de error
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description InnerForHooks es una estrategia de mover el componente a nivel interno para poder acceder a los hooks que acceden al contexto DynamicFilterProvider
4
3
  * @returns Componente DynamicFilter
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description Subcomponente encargado de cargar los campos que pueden ser filtrados
4
3
  * Si el componente permite filtrar por todos los campos, al digita algun texto y luego se presiona anter, se aplica un filtro ALL_FIELD
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description
4
3
  * Subcomponente encargado de permitir agregar o modificar un filtro.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverMenuFieldsProps } from './types';
3
2
  /**
4
3
  * @description Subcomponente encargado de mostrar los campos disponibles don el esuario selecciona uno en especifico
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description Subcomponente encargado de los filtros con el tipo de dato "boolean"
4
3
  * @returns
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description Subcomponente encargado de los filtros con el tipo de dato "datetime"
4
3
  * @returns JSX
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description Subcomponente encargado de los filtros con el tipo de dato "number"
4
3
  * @returns JSX
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @description Subcomponente encargado de los filtros con el tipo de dato "string"
4
3
  * @returns JSX
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GetLabelType } from '@m4l/core';
3
2
  import { Formatters } from '@m4l/graphics';
4
3
  import type { FilterFieldApplyed, Field, DataTypeFilerLabels, FilterValue, FormFilterValue, FormFilterFieldApplyed } from '../../types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ErrorLabelProps } from './types';
3
2
  import { ErrorLabelClassesType } from './utils/Clases/types';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HelmetPageProps } from './types';
3
2
  export declare const HelmetPage: {
4
3
  (props: HelmetPageProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IconProps } from './types';
3
2
  /**
4
3
  * Provee de un medio por el cual se carga un icono svg en la plataforma web, aporta su versión provisional de carga en red.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ImageProps } from './types';
3
2
  /**
4
3
  * Provee de un medio por el cual se carga una imagen tipo mapa de bits, en la plataforma web, aporta su versión provisional de carga en red
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LazyLoadComponentProps } from '../../types';
3
2
  /**
4
3
  * Sub-componente encargado de validar y condicionar la funcionalidad del intersection observer.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SkeletonProps } from './types';
3
2
  export declare const Skeleton: (props: SkeletonProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LanguagePopoverProps } from './types';
3
2
  /**
4
3
  * Provee un componente que le permite al usuario cambiar la configuración del idioma en la plataforma.
@@ -1,12 +1,12 @@
1
1
  import { Dialog, Paper } from "@mui/material";
2
2
  import { c as cjs } from "../../react-draggable.6471b07e.js";
3
- import { u as useModal } from "../../hooks/useModal/index.6b980dd0.js";
3
+ import { u as useModal } from "../../hooks/useModal/index.16cbca11.js";
4
4
  import { styled } from "@mui/material/styles";
5
5
  import { b as getThemeVariantColor } from "../../utils/index.b6ae791a.js";
6
6
  import { R as ResizeableWindow } from "../Resizeable/index.04fa8de5.js";
7
7
  import { useResponsiveDesktop } from "@m4l/graphics";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
- import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.7c749647.js";
9
+ import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.a97f42b3.js";
10
10
  const WrapperDialog = styled(Dialog)(() => ({}));
11
11
  const Container = styled("div")(({ theme }) => ({
12
12
  display: "flex",
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function NoItemSelected(): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { DetailDialogProps } from './types';
3
2
  export declare function DetailDialog(props: DetailDialogProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { DetailFormatterProps } from './types';
3
2
  export declare function DetailFormatter(props: DetailFormatterProps): JSX.Element;