@m4l/components 0.2.31 → 0.2.33

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 (109) hide show
  1. package/@types/export.d.ts +416 -413
  2. package/components/AccountPopover/{index.69cda48b.js → index.e0f283a2.js} +1 -1
  3. package/components/AppBar/{index.0cc0bd40.js → index.a93fc76c.js} +2 -2
  4. package/components/CommonActions/components/ActionCancel/{index.f00f026d.js → index.6a991836.js} +2 -2
  5. package/components/CommonActions/components/ActionFormCancel/{index.674a0faa.js → index.9801982c.js} +4 -4
  6. package/components/CommonActions/components/ActionFormIntro/{index.b5a5c4b4.js → index.f7ee99e7.js} +2 -2
  7. package/components/CommonActions/components/ActionIntro/{index.574967a0.js → index.7d321553.js} +2 -2
  8. package/components/CommonActions/components/Actions/{index.23bfc86b.js → index.5ebb95fe.js} +1 -1
  9. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  10. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.cf410875.js → index.de8a24bb.js} +1 -1
  11. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.00f9ed87.js → index.220dc8f0.js} +1 -1
  12. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.c2a8a7d0.js → index.fef17717.js} +1 -1
  13. package/components/DataGrid/{index.ca78a0a9.js → index.27810831.js} +3 -3
  14. package/components/DataGrid/subcomponents/Actions/{index.6cfca40a.js → index.810ec53e.js} +88 -19
  15. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +1 -0
  16. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +2 -0
  17. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/types.d.ts +4 -0
  18. package/components/DragResizeWindow/{index.ff74eed8.js → index.1091606d.js} +3 -3
  19. package/components/DynamicFilter/DynamicFilter.d.ts +2 -2
  20. package/components/DynamicFilter/classes/index.d.ts +1 -1
  21. package/components/DynamicFilter/classes/types.d.ts +1 -0
  22. package/components/DynamicFilter/constants.d.ts +2 -1
  23. package/components/DynamicFilter/contexts/DynamicFilterContext/helpers.d.ts +2 -3
  24. package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +3 -2
  25. package/components/DynamicFilter/dictionary.d.ts +4 -0
  26. package/components/DynamicFilter/{index.740ab57c.js → index.781f1212.js} +189 -35
  27. package/components/DynamicFilter/subcomponents/fieldstypes/SelectFilter/helpers.d.ts +51 -0
  28. package/components/DynamicFilter/subcomponents/fieldstypes/SelectFilter/index.d.ts +5 -0
  29. package/components/DynamicFilter/subcomponents/fieldstypes/factory.d.ts +12 -4
  30. package/components/DynamicFilter/subcomponents/fieldstypes/validations.d.ts +8 -1
  31. package/components/DynamicFilter/types.d.ts +40 -19
  32. package/components/FieldLabel/{index.75e89ace.js → index.6127de0c.js} +2 -2
  33. package/components/GridLayout/{index.e005b65b.js → index.cd9b0723.js} +6 -9
  34. package/components/GridLayout/subcomponents/Griditem/{index.ee5c31cd.js → index.9d65edbc.js} +3 -3
  35. package/components/GridLayout/subcomponents/Responsive/{index.69e13d04.js → index.26128960.js} +1 -1
  36. package/components/GridLayout/subcomponents/SizeProvider/{index.607d8861.js → index.003027c6.js} +1 -1
  37. package/components/HamburgerMenu/{index.fb1a3aae.js → index.35df83ad.js} +2 -2
  38. package/components/Icon/{index.14670a00.js → index.d34ed400.js} +1 -1
  39. package/components/Image/{index.6aa1ae49.js → index.7ca22fd5.js} +2 -2
  40. package/components/LanguagePopover/{index.4149a8da.js → index.47796ed9.js} +2 -2
  41. package/components/LinearProgressIndeterminate/{index.6e5db737.js → index.7349e210.js} +1 -1
  42. package/components/LoadingError/{index.1ec78dd5.js → index.423d70c8.js} +3 -3
  43. package/components/MFLoader/{index.6037f834.js → index.9bf3be25.js} +1 -1
  44. package/components/ModalDialog/{index.7b85f8b0.js → index.17a7be82.js} +18 -12
  45. package/components/NoItemSelected/{index.54023226.js → index.16500ea3.js} +1 -1
  46. package/components/ObjectLogs/{index.c0a6ebab.js → index.c33d046a.js} +5 -5
  47. package/components/PDFViewer/{index.d185afd0.js → index.195bf4c3.js} +1 -1
  48. package/components/Page/{index.2c550c91.js → index.f4ce7c75.js} +1 -1
  49. package/components/PaperForm/{index.63dc4b29.js → index.243b20bd.js} +1 -1
  50. package/components/Period/{index.ddf8716c.js → index.0e647446.js} +2 -2
  51. package/components/PrintingSystem/{index.bcef9a6f.js → index.7aff86a4.js} +13 -13
  52. package/components/PrintingSystem/subcomponents/BodyNode/{index.14ecdd97.js → index.e7c04442.js} +1 -1
  53. package/components/PrintingSystem/subcomponents/ChartNode/{index.aa2b8706.js → index.7bfbe141.js} +1 -1
  54. package/components/PrintingSystem/subcomponents/DividerNode/{index.ce81726b.js → index.2e68dba0.js} +1 -1
  55. package/components/PrintingSystem/subcomponents/FooterNode/{index.7fc8c316.js → index.bb2a7dcb.js} +1 -1
  56. package/components/PrintingSystem/subcomponents/GridNode/{index.88fcc856.js → index.53d82ef7.js} +1 -1
  57. package/components/PrintingSystem/subcomponents/HeaderNode/{index.d3f4e000.js → index.3630fe0c.js} +1 -1
  58. package/components/PrintingSystem/subcomponents/PaperNode/{index.30cbab70.js → index.a7086296.js} +1 -1
  59. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.05a3579e.js → index.633304a0.js} +1 -1
  60. package/components/PrintingSystem/subcomponents/SectionNode/{index.d6344807.js → index.40da2bf8.js} +1 -1
  61. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.79d2e283.js → index.0c9719ce.js} +1 -1
  62. package/components/PropertyValue/{index.1dbf6ef8.js → index.1b45d87a.js} +2 -2
  63. package/components/Resizeable/{index.eba4fda9.js → index.e663ca86.js} +1 -1
  64. package/components/SideBar/{index.b1455bd0.js → index.31e9929f.js} +4 -4
  65. package/components/ToastContainer/{index.a33ebb52.js → index.3c3c05b2.js} +3 -3
  66. package/components/areas/components/AreasAdmin/{index.c116bd31.js → index.971a3f2d.js} +10 -10
  67. package/components/areas/components/AreasViewer/{index.88cb57e4.js → index.dfa954fe.js} +14 -14
  68. package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
  69. package/components/areas/contexts/AreasContext/{index.7d883aa4.js → index.732db5ce.js} +6 -6
  70. package/components/areas/hooks/useAreas/{index.01011617.js → index.2b111188.js} +1 -1
  71. package/components/areas/types.d.ts +1 -1
  72. package/components/commercial/AppBarCommercial/{index.3e0ad6ef.js → index.d9adaa14.js} +1 -1
  73. package/components/commercial/TopBar/{index.7b22d97b.js → index.5fe97d82.js} +4 -4
  74. package/components/formatters/BooleanFormatter/{index.fb44d69d.js → index.96191097.js} +2 -2
  75. package/components/formatters/{index.05c4e1a4.js → index.3166cf12.js} +1 -1
  76. package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -0
  77. package/components/hook-form/RHFAutocomplete/classes/types.d.ts +2 -1
  78. package/components/hook-form/RHFAutocomplete/{index.4b666e32.js → index.48f7b38f.js} +75 -42
  79. package/components/hook-form/RHFAutocomplete/types.d.ts +4 -2
  80. package/components/hook-form/RHFAutocompleteAsync/{index.0536f712.js → index.e5aa7194.js} +1 -1
  81. package/components/hook-form/RHFCheckbox/{index.4942ed5e.js → index.2a9f91d2.js} +2 -2
  82. package/components/hook-form/RHFColorPicker/{index.b2d1edf3.js → index.b9ce28a2.js} +5 -5
  83. package/components/hook-form/RHFDateTime/{index.59623e57.js → index.d4644a5b.js} +3 -3
  84. package/components/hook-form/RHFPeriod/{index.d3960c8c.js → index.2550b309.js} +3 -3
  85. package/components/hook-form/RHFTextField/{index.ad830000.js → index.01d225ef.js} +4 -4
  86. package/components/hook-form/RHFUpload/{index.9d4d4460.js → index.e4cdfb40.js} +2 -2
  87. package/components/maps/leaflet-geoman.d.ts +1633 -1633
  88. package/components/modal/{WindowBase.ab22627c.js → WindowBase.1cb35b2d.js} +3 -3
  89. package/components/modal/{WindowConfirm.0aae86b3.js → WindowConfirm.8feb23c6.js} +6 -6
  90. package/components/mui_extended/Accordion/{index.f9042228.js → index.32ebf85f.js} +2 -2
  91. package/components/mui_extended/Button/{index.d5a031be.js → index.7265987f.js} +1 -1
  92. package/components/mui_extended/{CheckBox.0dcf39ae.js → CheckBox.4e2fa17c.js} +1 -1
  93. package/components/mui_extended/IconButton/{index.d8bdadaa.js → index.21215143.js} +1 -1
  94. package/components/mui_extended/MenuActions/{index.154d57f0.js → index.40352568.js} +2 -2
  95. package/components/mui_extended/Pager/{index.91696066.js → index.0d7d95be.js} +13 -2
  96. package/components/mui_extended/ToggleButton/{index.595ea955.js → index.aa37e2cb.js} +1 -1
  97. package/components/mui_extended/ToggleIconButton/ToggleIconButton.d.ts +1 -1
  98. package/components/mui_extended/ToggleIconButton/{index.c588d5e1.js → index.827d5856.js} +1 -1
  99. package/contexts/ModalContext/{index.f9da6aa8.js → index.365ae264.js} +3 -1
  100. package/hooks/useFormAddEdit/{index.8127dd88.js → index.7f3162c9.js} +2 -2
  101. package/hooks/useModal/{index.b64e2ea0.js → index.5a463055.js} +1 -1
  102. package/index.js +82 -82
  103. package/{node_modules.98455a76.js → node_modules.0fb6293f.js} +1 -1
  104. package/package.json +1 -1
  105. package/{react-draggable.6cf19cba.js → react-draggable.483e2eaa.js} +1 -1
  106. package/{react-resizable.0ebffd82.js → react-resizable.059cf55c.js} +2 -2
  107. package/{vendor.1c5be0ff.js → vendor.52f0234f.js} +65 -65
  108. package/vite-env.d.ts +3 -3
  109. /package/utils/{index.24b5284a.js → index.d2e8f376.js} +0 -0
@@ -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.d85de73b.js";
10
- import { I as Icon } from "../Icon/index.14670a00.js";
10
+ import { I as Icon } from "../Icon/index.d34ed400.js";
11
11
  import clsx from "clsx";
12
12
  const componentName = "M4LAccountPopover";
13
13
  generateUtilityClasses(componentName, [
@@ -4,9 +4,9 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
4
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
6
  import { jsxs, jsx } from "react/jsx-runtime";
7
- import { I as Image } from "../Image/index.6aa1ae49.js";
7
+ import { I as Image } from "../Image/index.7ca22fd5.js";
8
8
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
9
- import { I as IconButton } from "../mui_extended/IconButton/index.d8bdadaa.js";
9
+ import { I as IconButton } from "../mui_extended/IconButton/index.21215143.js";
10
10
  const AppBarRoot = styled("header")(({
11
11
  theme
12
12
  }) => ({
@@ -1,6 +1,6 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
- import { B as Button } from "../../../mui_extended/Button/index.d5a031be.js";
3
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.23bfc86b.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.7265987f.js";
3
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.5ebb95fe.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.d5a031be.js";
3
+ import { B as Button } from "../../../mui_extended/Button/index.7265987f.js";
4
4
  import { useCallback, useEffect } from "react";
5
- import { u as useModal } from "../../../../hooks/useModal/index.b64e2ea0.js";
6
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.23bfc86b.js";
5
+ import { u as useModal } from "../../../../hooks/useModal/index.5a463055.js";
6
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.5ebb95fe.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.0aae86b3.js";
9
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.8feb23c6.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.d5a031be.js";
5
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.23bfc86b.js";
4
+ import { L as LoadingButton } from "../../../mui_extended/Button/index.7265987f.js";
5
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.5ebb95fe.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.d5a031be.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.7265987f.js";
3
3
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
4
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.23bfc86b.js";
4
+ import { u as useCommonActionsUtilityClasses } from "../Actions/index.5ebb95fe.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, styled } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../../../utils/index.24b5284a.js";
4
+ import { g as getComponentUtilityClass } from "../../../../utils/index.d2e8f376.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  function getCommonActionsDictionary() {
7
7
  return ["common_actions"];
@@ -1,4 +1,4 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10 13H6C3.245 13 1 10.755 1 8C1 5.245 3.245 3 6 3H10C12.755 3 15 5.245 15 8C15 10.755 12.755 13 10 13ZM6 4C3.795 4 2 5.795 2 8C2 10.205 3.795 12 6 12H10C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4H6Z" fill="#2F3737"/>
3
- <path d="M10 11C8.345 11 7 9.655 7 8C7 6.345 8.345 5 10 5C11.655 5 13 6.345 13 8C13 9.655 11.655 11 10 11ZM10 6C8.895 6 8 6.895 8 8C8 9.105 8.895 10 10 10C11.105 10 12 9.105 12 8C12 6.895 11.105 6 10 6Z" fill="#2F3737"/>
4
- </svg>
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 13H6C3.245 13 1 10.755 1 8C1 5.245 3.245 3 6 3H10C12.755 3 15 5.245 15 8C15 10.755 12.755 13 10 13ZM6 4C3.795 4 2 5.795 2 8C2 10.205 3.795 12 6 12H10C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4H6Z" fill="#2F3737"/>
3
+ <path d="M10 11C8.345 11 7 9.655 7 8C7 6.345 8.345 5 10 5C11.655 5 13 6.345 13 8C13 9.655 11.655 11 10 11ZM10 6C8.895 6 8 6.895 8 8C8 9.105 8.895 10 10 10C11.105 10 12 9.105 12 8C12 6.895 11.105 6 10 6Z" fill="#2F3737"/>
4
+ </svg>
@@ -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.fb44d69d.js";
3
+ import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.96191097.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.05c4e1a4.js";
3
+ import { C as ConcatenatedFormatter } from "../../../formatters/index.3166cf12.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.ca78a0a9.js";
2
+ import { d as dataGridClasses } from "../../index.27810831.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.7b85f8b0.js";
2
- import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.91696066.js";
1
+ import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.17a7be82.js";
2
+ import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.0d7d95be.js";
3
3
  import { styled, SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
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";
@@ -8,7 +8,7 @@ import { HTML5Backend } from "react-dnd-html5-backend";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  import { D as DATAGRID_SELECT_COLUMN_KEY, c as componentName, a as DATAGRID_PREFIX_NAME } from "./constants.e334cd50.js";
10
10
  import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
11
- import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.6cfca40a.js";
11
+ import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.810ec53e.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
14
  import { g as getNameDataTestId } from "../../test/getNameDataTestId.14875ec7.js";
@@ -1,20 +1,20 @@
1
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.154d57f0.js";
2
- import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.ca78a0a9.js";
1
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index.40352568.js";
2
+ import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.27810831.js";
3
3
  import { useTheme, styled, 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.91696066.js";
7
- import { I as IconButton } from "../../../mui_extended/IconButton/index.d8bdadaa.js";
6
+ import { P as Pager } from "../../../mui_extended/Pager/index.0d7d95be.js";
7
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.21215143.js";
8
8
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
9
+ import { useIsMobile, useResponsiveContainerStore } from "@m4l/graphics";
9
10
  import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
10
11
  import { D as DataGrid$1 } from "../../../../react-data-grid.c5377916.js";
11
- import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.c2a8a7d0.js";
12
- import { u as useModal } from "../../../../hooks/useModal/index.b64e2ea0.js";
13
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.f00f026d.js";
14
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.574967a0.js";
15
- import { useResponsiveDesktop, useResponsiveContainerStore } from "@m4l/graphics";
16
- import { W as WindowBase } from "../../../modal/WindowBase.ab22627c.js";
17
- import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.23bfc86b.js";
12
+ import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.fef17717.js";
13
+ import { u as useModal } from "../../../../hooks/useModal/index.5a463055.js";
14
+ import { W as WindowBase } from "../../../modal/WindowBase.1cb35b2d.js";
15
+ import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.5ebb95fe.js";
16
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.6a991836.js";
17
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.7d321553.js";
18
18
  import { shallow } from "zustand/shallow";
19
19
  function ActionsFormatter(props) {
20
20
  const {
@@ -376,7 +376,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
376
376
  });
377
377
  });
378
378
  ColumnsConfig.displayName = "ColumnsConfig";
379
- function Settings() {
379
+ const useModalSettings = () => {
380
380
  const {
381
381
  openModal,
382
382
  closeModal
@@ -392,7 +392,8 @@ function Settings() {
392
392
  host_static_assets,
393
393
  environment_assets
394
394
  } = useEnvironment();
395
- const isDesktop = useResponsiveDesktop();
395
+ const isMobile = useIsMobile();
396
+ console.log("isMobile", isMobile);
396
397
  const {
397
398
  classes
398
399
  } = useDataGrid();
@@ -402,14 +403,14 @@ function Settings() {
402
403
  }, [closeModal]);
403
404
  const onClickIntro = useCallback(() => {
404
405
  if (ref.current?.onClickIntro) {
405
- ref.current?.onClickIntro();
406
+ ref.current.onClickIntro();
406
407
  }
407
408
  }, []);
408
- const onClickSettings = useCallback(() => {
409
+ const onClickSettings = () => {
409
410
  openModal({
410
411
  initialWidth: 500,
411
412
  initialHeigth: 680,
412
- fullScreen: !isDesktop ? true : false,
413
+ fullScreen: isMobile,
413
414
  window: /* @__PURE__ */ jsxs(WindowBase, {
414
415
  title: getLabel("data_grid.settings_title"),
415
416
  urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`,
@@ -440,11 +441,23 @@ function Settings() {
440
441
  })]
441
442
  })
442
443
  });
443
- }, [closeModal, columnsConfig, getLabel, onChangeColumnsConfig, onCloseSettings, openModal, onClickIntro]);
444
+ };
445
+ return onClickSettings;
446
+ };
447
+ const useModalSettings$1 = useModalSettings;
448
+ function Settings() {
449
+ const {
450
+ host_static_assets,
451
+ environment_assets
452
+ } = useEnvironment();
453
+ const {
454
+ classes
455
+ } = useDataGrid();
456
+ const modalSettings = useModalSettings$1();
444
457
  return /* @__PURE__ */ jsx(IconButton, {
445
458
  className: classes.actionSettings,
446
459
  dictionaryTooltipId: "data_grid.tooltip_settings",
447
- onClick: onClickSettings,
460
+ onClick: modalSettings,
448
461
  "aria-label": "settings",
449
462
  src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`
450
463
  });
@@ -552,6 +565,62 @@ function Density() {
552
565
  toolTip: getLabel("data_grid.tooltip_density")
553
566
  });
554
567
  }
568
+ const MobileMenuActions = () => {
569
+ const {
570
+ host_static_assets,
571
+ environment_assets
572
+ } = useEnvironment();
573
+ const {
574
+ currentRowHeightVariant,
575
+ setRowHeightVariant
576
+ } = useDataGrid();
577
+ const {
578
+ activeFilters,
579
+ setActiveFilters
580
+ } = useFilters();
581
+ const modalSettings = useModalSettings$1();
582
+ const toggleIcon = () => {
583
+ setActiveFilters(!activeFilters);
584
+ };
585
+ const menuActions = [{
586
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
587
+ onClick: () => setRowHeightVariant("compact"),
588
+ disabled: currentRowHeightVariant === "compact",
589
+ dictionaryId: "data_grid.density_compact"
590
+ }, {
591
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
592
+ onClick: () => setRowHeightVariant("standard"),
593
+ disabled: currentRowHeightVariant === "standard",
594
+ dictionaryId: "data_grid.density_standard"
595
+ }, {
596
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
597
+ onClick: () => setRowHeightVariant("confortable"),
598
+ disabled: currentRowHeightVariant === "confortable",
599
+ dictionaryId: "data_grid.density_confortable"
600
+ }, {
601
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/filter.svg`,
602
+ onClick: () => toggleIcon(),
603
+ dictionaryId: activeFilters ? "data_grid.tooltip_filter_hide" : "data_grid.tooltip_filter_show"
604
+ }, {
605
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`,
606
+ onClick: () => modalSettings(),
607
+ dictionaryId: "data_grid.tooltip_settings"
608
+ }];
609
+ return /* @__PURE__ */ jsx(MenuActions, {
610
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/menu.svg`,
611
+ arrowType: "no-arrow",
612
+ marginTop: "12px",
613
+ anchorOrigin: {
614
+ vertical: "bottom",
615
+ horizontal: "right"
616
+ },
617
+ transformOrigin: {
618
+ vertical: "top",
619
+ horizontal: "right"
620
+ },
621
+ menuActions
622
+ });
623
+ };
555
624
  function Actions(props) {
556
625
  const isXs = useResponsiveContainerStore((state) => state.isXs, shallow);
557
626
  const {
@@ -579,7 +648,7 @@ function Actions(props) {
579
648
  isXs,
580
649
  labelRows: getLabel(dictionary.LABEL_ROWS_PER_PAGE),
581
650
  labelOf: getLabel(dictionary.LABEL_OF)
582
- }), /* @__PURE__ */ jsxs("div", {
651
+ }), isXs ? /* @__PURE__ */ jsx(MobileMenuActions, {}) : /* @__PURE__ */ jsxs("div", {
583
652
  className: classes.actionsConfigContainer,
584
653
  children: [typeof rowHeights !== "number" && /* @__PURE__ */ jsx(Density, {}), withLocalFilters && /* @__PURE__ */ jsx(Filter, {}), withSettings && /* @__PURE__ */ jsx(Settings, {
585
654
  ...settingsProps
@@ -0,0 +1 @@
1
+ export declare const MobileMenuActions: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const useModalSettings: () => () => void;
2
+ export default useModalSettings;
@@ -0,0 +1,4 @@
1
+ export declare type ColumnsConfigRef = {
2
+ onClickIntro: () => void;
3
+ current: HTMLDivElement | null;
4
+ };
@@ -1,11 +1,11 @@
1
1
  import React__default, { useState, useRef, useCallback, useEffect, useMemo } from "react";
2
- import { D as DraggableCore_1 } from "../../react-draggable.6cf19cba.js";
2
+ import { D as DraggableCore_1 } from "../../react-draggable.483e2eaa.js";
3
3
  import clsx from "clsx";
4
4
  import { styled, generateUtilityClasses } from "@mui/material";
5
- import { M as MAP_ZINDEX_OVER_MAP } from "../../vendor.1c5be0ff.js";
5
+ import { M as MAP_ZINDEX_OVER_MAP } from "../../vendor.52f0234f.js";
6
6
  import "@mui/base";
7
7
  import { M as MAP_ZINDEX_OVER_MAP$1 } from "../PopupsProvider/index.3d5ad0ee.js";
8
- import { R as Resizable } from "../../react-resizable.0ebffd82.js";
8
+ import { R as Resizable } from "../../react-resizable.059cf55c.js";
9
9
  import { jsx } from "react/jsx-runtime";
10
10
  const DraggeableWindowRoot = styled("div")`
11
11
  position: absolute;
@@ -2,7 +2,7 @@ import type { DynamicFilterProps } from './types';
2
2
  /**
3
3
  * @description Punto de entrada del componente
4
4
  * El componente inicia su renderización cuando si el Flag FLAG_DICTIONARY_LOADED ha llegado.
5
- * @param inProps
5
+ * @param props
6
6
  * @returns
7
7
  */
8
- export declare const DynamicFilter: (inProps: DynamicFilterProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ export declare const DynamicFilter: (props: DynamicFilterProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -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" | "inputFilter", 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" | "containerSelectFilter" | "classespopoverLabelMemuItem" | "popoverContainerFields" | "inputFilter", string>;
5
5
  export declare type Classes = ReturnType<typeof useUtilityClasses>;
@@ -20,6 +20,7 @@ export interface DynamicFilterClasses {
20
20
  containerDateTimeFilter: string;
21
21
  containerNumberFilter: string;
22
22
  containerStringFilter: string;
23
+ containerSelectFilter: string;
23
24
  classespopoverLabelMemuItem: string;
24
25
  popoverContainerFields: string;
25
26
  inputFilter: string;
@@ -1,4 +1,4 @@
1
- import { BooleanOperator, DateTimeOperator, Field, NumberOperator, Operator, StringOperator } from './types';
1
+ import { BooleanOperator, DateTimeOperator, Field, NumberOperator, Operator, SelectOperator, StringOperator } from './types';
2
2
  export declare const COMPONENT_TEST_ID = "M4LDynamicFilter";
3
3
  export declare const COMPONENT_PREFIX = "M4LDynamicFilter";
4
4
  export declare const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
@@ -12,4 +12,5 @@ export declare const OPERATORS: Array<Operator>;
12
12
  export declare const STRING_OPERATORS: Array<StringOperator>;
13
13
  export declare const NUMBER_OPERATORS: Array<NumberOperator>;
14
14
  export declare const BOOLEAN_OPERATORS: Array<BooleanOperator>;
15
+ export declare const SELECT_OPERATORS: Array<SelectOperator>;
15
16
  export declare const DATE_TIME_OPERATORS: Array<DateTimeOperator>;
@@ -1,5 +1,4 @@
1
1
  import { Field, FilterFieldApplyed, InitialFilterApplyed, RawFilterFieldApply } from '../../types';
2
- export declare const getFilterById: (id: number, applyedFilters: Array<FilterFieldApplyed>) => number;
3
2
  /**
4
3
  * @description Función formateadora filtros como el DynamicFilter los usa a nivel interno a como se guardan en las cookies
5
4
  * @param applyedFilters Filtros actualmente aplicados
@@ -8,10 +7,10 @@ export declare const getFilterById: (id: number, applyedFilters: Array<FilterFie
8
7
  export declare const formatToInitialFilters: (applyedFilters: Array<FilterFieldApplyed>) => Array<InitialFilterApplyed>;
9
8
  /**
10
9
  * @description Función formateadora filtros como el DynamicFilter los usa a nivel interno a como se envían a la API
11
- * @param applyedFilters Filtros actualmente aplicados
10
+ * @param appliedFilters Filtros actualmente aplicados
12
11
  * @returns
13
12
  */
14
- export declare const formatToRawFilter: (applyedFilters: Array<FilterFieldApplyed>) => Array<RawFilterFieldApply>;
13
+ export declare const formatToRawFilter: (appliedFilters: Array<FilterFieldApplyed>) => Array<RawFilterFieldApply>;
15
14
  /**
16
15
  * @name getPurgedInitialFiltersApplyed
17
16
  * @description Función encargada de purgar cualquier error que pueda venir del endpoint, por algun cambio de versión
@@ -26,6 +26,7 @@ export interface PopoverFilterDataEdit extends PopoverFilterDataBase {
26
26
  * "filter" filtro que se va a editar
27
27
  */
28
28
  filter: FilterFieldApplyed;
29
+ field: Field;
29
30
  }
30
31
  /**
31
32
  *
@@ -162,9 +163,9 @@ export interface DynamicFilterStateWithActions extends DynamicFilterState {
162
163
  showPopoverFilterForEdit: (anchorEl: Element, filterToEdit: FilterFieldApplyed) => void;
163
164
  /**
164
165
  * @description Oculta la ventana de edición
165
- * @param stayInEditon determina si continua en edicióin
166
+ * @param stayInEdition determina si continua en edicióin
166
167
  */
167
- hidePopoverFilter: (stayInEditon: boolean) => void;
168
+ hidePopoverFilter: (stayInEdition: boolean) => void;
168
169
  /**
169
170
  * @description Limpia todos los filtros aplicados menos los fixed
170
171
  */
@@ -17,6 +17,8 @@ export declare const DICCTIONARY: {
17
17
  readonly operator_lte: "operator_lte";
18
18
  readonly operator_c: "operator_c";
19
19
  readonly operator_nc: "operator_nc";
20
+ readonly operator_in: "operator_in";
21
+ readonly operator_nin: "operator_nin";
20
22
  readonly label_boolean_operator: "label_boolean_operator";
21
23
  readonly label_boolean_operand1: "label_boolean_operand1";
22
24
  readonly label_operator_date_time: "label_operator_date_time";
@@ -30,6 +32,8 @@ export declare const DICCTIONARY: {
30
32
  readonly operator_required: "operator_required";
31
33
  readonly error_invalid_date: "error_invalid_date";
32
34
  readonly error_less_than_start: "error_less_than_start";
35
+ readonly label_select_operator: "label_select_operator";
36
+ readonly label_select_operands_array: "label_select_operands_array";
33
37
  readonly error_operand_required: "error_operand_required";
34
38
  };
35
39
  export declare type TypeDictionary = typeof DICCTIONARY;