@m4l/components 0.1.85 → 0.1.87
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.
- package/components/AccountPopover/{index.35c29a55.js → index.0bee6fca.js} +15 -20
- package/components/AppBar/{index.291da9fd.js → index.8e3e0148.js} +7 -7
- package/components/CommonActions/components/ActionCancel/{index.67b91376.js → index.e66f9b5f.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.d4503410.js → index.51311bde.js} +15 -15
- package/components/CommonActions/components/ActionFormIntro/{index.01ed67de.js → index.2ecd7ba1.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.53e7fe2b.js → index.33892c01.js} +2 -2
- package/components/CommonActions/components/Actions/{index.c91c27f9.js → index.018d4c62.js} +13 -13
- package/components/CommonActions/index.d.ts +1 -0
- package/components/DataGrid/{index.37e14e83.js → index.c348b106.js} +7 -7
- package/components/DataGrid/subcomponents/Actions/{index.155c63af.js → index.080e8c7d.js} +20 -19
- package/components/DynamicFilter/classes/types.d.ts +1 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/index.d.ts +6 -2
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +4 -0
- package/components/DynamicFilter/{index.a8c2609c.js → index.20ee6e21.js} +47 -32
- package/components/HelperText/{index.8b5911d1.js → index.d00b45e5.js} +7 -7
- package/components/Icon/{index.c3a579e7.js → index.435df215.js} +1 -1
- package/components/LanguagePopover/{index.7681b08e.js → index.3f25054a.js} +7 -7
- package/components/ModalDialog/{index.b85ee3cb.js → index.df9b1e97.js} +4 -4
- package/components/NavLink/{index.bb879650.js → index.cc66f31f.js} +7 -7
- package/components/ObjectLogs/{index.2ed38a84.js → index.ca98686d.js} +24 -40
- package/components/PaperForm/{index.989377a5.js → index.ad703ab6.js} +1 -1
- package/components/Period/{index.061c9b2f.js → index.83b88249.js} +14 -14
- package/components/PropertyValue/{index.ac46f441.js → index.45b365c3.js} +1 -1
- package/components/ScrollBar/classes/constants.d.ts +1 -0
- package/components/ScrollBar/classes/index.d.ts +6 -0
- package/components/ScrollBar/classes/types.d.ts +6 -0
- package/components/ScrollBar/{index.1247c1c5.js → index.65bb2930.js} +29 -9
- package/components/SideBar/{index.e0587639.js → index.387a2fa1.js} +3 -3
- package/components/areas/components/AreasAdmin/{index.f505897a.js → index.f0fd024a.js} +29 -29
- package/components/areas/components/AreasViewer/{index.cacec884.js → index.6c28b2c0.js} +35 -35
- package/components/areas/components/{index.6d5dfeec.js → index.d920205b.js} +11 -11
- package/components/areas/contexts/AreasContext/{index.6f56b1da.js → index.060aa7b0.js} +2 -2
- package/components/areas/contexts/{index.999e8b1e.js → index.1485986f.js} +1 -1
- package/components/areas/hooks/useAreas/{index.4baec91c.js → index.e4e54402.js} +1 -1
- package/components/areas/{index.3088f99e.js → index.e9f2274c.js} +11 -11
- package/components/formatters/BooleanFormatter/{index.e7f0b76a.js → index.14cfcbc7.js} +1 -1
- package/components/formatters/{index.d911949d.js → index.b574dda9.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.aca6984f.js → index.f4eb65ce.js} +8 -8
- package/components/hook-form/RHFAutocompleteAsync/{index.8511bcf8.js → index.8ecce8fd.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.0f45e6b0.js → index.45b6ee0b.js} +8 -8
- package/components/hook-form/RHFDateTime/{index.07412ef0.js → index.802fb228.js} +8 -8
- package/components/hook-form/RHFPeriod/{index.15b8f11e.js → index.6395b24a.js} +2 -2
- package/components/hook-form/RHFTextField/{index.94c8c59b.js → index.75129118.js} +3 -3
- package/components/hook-form/RHFUpload/{index.7ef1e124.js → index.fead1c63.js} +8 -8
- package/components/modal/{WindowBase.d485315d.js → WindowBase.f568bcac.js} +25 -12
- package/components/modal/{WindowConfirm.3d9cd6e1.js → WindowConfirm.3c4da58c.js} +23 -23
- package/components/modal/{index.c7e4beba.js → index.8d846036.js} +15 -15
- package/components/modal/index.d.ts +1 -1
- package/components/mui_extended/Accordion/{index.854f4c90.js → index.1d182a0e.js} +3 -3
- package/components/mui_extended/Button/{index.40af964e.js → index.f79eb74e.js} +2 -1
- package/components/mui_extended/IconButton/{index.be111a34.js → index.d88a3f2e.js} +1 -1
- package/components/mui_extended/MenuActions/{index.b16e84c1.js → index.c53370f6.js} +2 -2
- package/components/mui_extended/Pager/{index.5b77fa4c.js → index.d6c87c44.js} +1 -1
- package/components/mui_extended/Tab/{index.c1dc7bbf.js → index.8592b93c.js} +1 -1
- package/components/mui_extended/{index.d1ee9a6a.js → index.5ffe6d2b.js} +7 -7
- package/contexts/ModalContext/{index.1ea79d7e.js → index.9fb8e0a2.js} +1 -1
- package/contexts/RHFormContext/dictionary.d.ts +3 -0
- package/contexts/RHFormContext/{index.e019f87d.js → index.ea2758ed.js} +6 -2
- package/contexts/index.d.ts +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/dictionary.d.ts +1 -0
- package/hooks/useFormAddEdit/index.3f77d470.js +111 -0
- package/hooks/useFormAddEdit/index.d.ts +1 -0
- package/hooks/useModal/{index.c906706c.js → index.caaeaddd.js} +1 -1
- package/index.js +51 -49
- package/package.json +1 -1
- package/{vendor.f27b86c9.js → vendor.15beabcd.js} +56 -56
- package/hooks/useFormAddEdit/index.15de3ba8.js +0 -49
|
@@ -2,27 +2,27 @@ import { useEnvironment, useModuleDictionary, useNetwork } from "@m4l/core";
|
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, styled, useTheme, ButtonBase } from "@mui/material";
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
11
11
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
12
12
|
import { A as Avatar } from "../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.
|
|
15
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
16
16
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
17
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
18
18
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
19
19
|
import "../Image/index.c18ebf5a.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
22
22
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
23
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
24
|
-
import "../mui_extended/Tab/index.
|
|
25
|
-
import "../mui_extended/Pager/index.
|
|
24
|
+
import "../mui_extended/Tab/index.8592b93c.js";
|
|
25
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
26
26
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
28
28
|
const componentName = "M4LAccountPopover";
|
|
@@ -81,26 +81,21 @@ const AcountPopOverRoot = styled("div")(({
|
|
|
81
81
|
function MyAvatar(props) {
|
|
82
82
|
const {
|
|
83
83
|
avatarUrl,
|
|
84
|
-
firstName,
|
|
85
|
-
lastName,
|
|
84
|
+
firstName = "",
|
|
85
|
+
lastName = "arreee",
|
|
86
86
|
...other
|
|
87
87
|
} = props;
|
|
88
88
|
const {
|
|
89
89
|
host_static_assets,
|
|
90
90
|
environment_assets
|
|
91
91
|
} = useEnvironment();
|
|
92
|
-
function stringAvatar(name) {
|
|
93
|
-
return {
|
|
94
|
-
children: `${name.split(" ")[0][0]}${name.split(" ")[1][0]}`
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
92
|
return /* @__PURE__ */ jsx(Avatar, {
|
|
98
93
|
alt: "full_name",
|
|
99
94
|
color: "default",
|
|
100
95
|
...avatarUrl ? {
|
|
101
96
|
src: `${host_static_assets}/${environment_assets}/frontend/domain/${avatarUrl}`
|
|
102
97
|
} : {
|
|
103
|
-
|
|
98
|
+
children: `${firstName[0]}${lastName[0]}`
|
|
104
99
|
},
|
|
105
100
|
...other
|
|
106
101
|
});
|
|
@@ -215,14 +210,14 @@ const MenuPopOver = (props) => {
|
|
|
215
210
|
} : {},
|
|
216
211
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
217
212
|
className: classes.containerSetting,
|
|
213
|
+
onClick: () => {
|
|
214
|
+
settingHandleOpen();
|
|
215
|
+
handleClose();
|
|
216
|
+
},
|
|
218
217
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
219
218
|
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/configuration.svg`
|
|
220
219
|
}), /* @__PURE__ */ jsx("div", {
|
|
221
220
|
className: classes.menuItem,
|
|
222
|
-
onClick: () => {
|
|
223
|
-
settingHandleOpen();
|
|
224
|
-
handleClose();
|
|
225
|
-
},
|
|
226
221
|
children: getLabel("account_popover.label_settings")
|
|
227
222
|
})]
|
|
228
223
|
}), data ? data.length !== 0 && data.map((option) => /* @__PURE__ */ jsx("div", {
|
|
@@ -244,11 +239,11 @@ const MenuPopOver = (props) => {
|
|
|
244
239
|
})]
|
|
245
240
|
}), /* @__PURE__ */ jsxs("div", {
|
|
246
241
|
className: classes.containerlogOut,
|
|
242
|
+
onClick: handleLogOut,
|
|
247
243
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
248
244
|
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/sign_off.svg`
|
|
249
245
|
}), /* @__PURE__ */ jsx("div", {
|
|
250
246
|
role: "presentation",
|
|
251
|
-
onClick: handleLogOut,
|
|
252
247
|
className: classes.logOut,
|
|
253
248
|
...process.env.NODE_ENV !== "production" ? {
|
|
254
249
|
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("logOut")
|
|
@@ -2,9 +2,9 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
-
import "../mui_extended/Accordion/index.
|
|
7
|
-
import "../Icon/index.
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
6
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
7
|
+
import "../Icon/index.435df215.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
@@ -12,16 +12,16 @@ import "../mui_extended/Typography/index.443590d6.js";
|
|
|
12
12
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.
|
|
15
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
16
16
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
17
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
18
18
|
import "../Image/index.c18ebf5a.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
20
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
21
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
22
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
24
|
-
import "../mui_extended/Pager/index.
|
|
23
|
+
import "../mui_extended/Tab/index.8592b93c.js";
|
|
24
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
25
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
26
|
import { styled } from "@mui/material/styles";
|
|
27
27
|
import { unstable_composeClasses } from "@mui/base";
|
package/components/CommonActions/components/ActionCancel/{index.67b91376.js → index.e66f9b5f.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
3
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
3
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.018d4c62.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.d4503410.js → index.51311bde.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
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 { B as Button } from "../../../mui_extended/Button/index.
|
|
4
|
+
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
5
5
|
import { useCallback, useEffect } from "react";
|
|
6
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
6
|
+
import { u as useModal } from "../../../../hooks/useModal/index.caaeaddd.js";
|
|
7
7
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
8
8
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../../../Icon/index.
|
|
11
|
+
import "../../../Icon/index.435df215.js";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../../modal/index.
|
|
14
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
15
|
-
import "../../../mui_extended/IconButton/index.
|
|
16
|
-
import "../../../mui_extended/Accordion/index.
|
|
13
|
+
import "../../../modal/index.8d846036.js";
|
|
14
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.3c4da58c.js";
|
|
15
|
+
import "../../../mui_extended/IconButton/index.d88a3f2e.js";
|
|
16
|
+
import "../../../mui_extended/Accordion/index.1d182a0e.js";
|
|
17
17
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
18
18
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
19
19
|
import "react-router-dom";
|
|
@@ -21,23 +21,23 @@ import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
|
21
21
|
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
22
22
|
import "../../../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../../mui_extended/MenuActions/index.c53370f6.js";
|
|
25
25
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../../mui_extended/Tab/index.
|
|
28
|
-
import "../../../mui_extended/Pager/index.
|
|
27
|
+
import "../../../mui_extended/Tab/index.8592b93c.js";
|
|
28
|
+
import "../../../mui_extended/Pager/index.d6c87c44.js";
|
|
29
29
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
import "zustand";
|
|
31
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
32
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
31
|
+
import "../../../areas/contexts/AreasContext/index.060aa7b0.js";
|
|
32
|
+
import "../../../areas/components/AreasAdmin/index.f0fd024a.js";
|
|
33
33
|
import "zustand/shallow";
|
|
34
|
-
import "../../../ScrollBar/index.
|
|
35
|
-
import "../../../areas/components/AreasViewer/index.
|
|
34
|
+
import "../../../ScrollBar/index.65bb2930.js";
|
|
35
|
+
import "../../../areas/components/AreasViewer/index.6c28b2c0.js";
|
|
36
36
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
37
37
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
38
38
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
39
39
|
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
40
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
40
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.018d4c62.js";
|
|
41
41
|
function ActionFormCancel() {
|
|
42
42
|
const {
|
|
43
43
|
getLabel
|
package/components/CommonActions/components/ActionFormIntro/{index.01ed67de.js → index.2ecd7ba1.js}
RENAMED
|
@@ -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.
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
4
|
+
import { L as LoadingButton } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.018d4c62.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.53e7fe2b.js → index.33892c01.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
4
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.018d4c62.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
@@ -6,37 +6,37 @@ import { g as getComponentUtilityClass } from "../../../../utils/index.c43a95f4.
|
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import "@m4l/core";
|
|
8
8
|
import "@mui/material/Button";
|
|
9
|
-
import "../../../mui_extended/Button/index.
|
|
9
|
+
import "../../../mui_extended/Button/index.f79eb74e.js";
|
|
10
10
|
import "clsx";
|
|
11
11
|
import "react-hook-form";
|
|
12
12
|
import "react";
|
|
13
|
-
import "../../../../contexts/ModalContext/index.
|
|
13
|
+
import "../../../../contexts/ModalContext/index.9fb8e0a2.js";
|
|
14
14
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
15
15
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
-
import "../../../Icon/index.
|
|
18
|
-
import "../../../modal/index.
|
|
17
|
+
import "../../../Icon/index.435df215.js";
|
|
18
|
+
import "../../../modal/index.8d846036.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
20
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
21
21
|
import "../../../Image/index.c18ebf5a.js";
|
|
22
|
-
import "../../../mui_extended/IconButton/index.
|
|
23
|
-
import "../../../mui_extended/Accordion/index.
|
|
22
|
+
import "../../../mui_extended/IconButton/index.d88a3f2e.js";
|
|
23
|
+
import "../../../mui_extended/Accordion/index.1d182a0e.js";
|
|
24
24
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
25
25
|
import "react-router-dom";
|
|
26
26
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
27
27
|
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
28
|
-
import "../../../mui_extended/MenuActions/index.
|
|
28
|
+
import "../../../mui_extended/MenuActions/index.c53370f6.js";
|
|
29
29
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
30
30
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
31
|
-
import "../../../mui_extended/Tab/index.
|
|
32
|
-
import "../../../mui_extended/Pager/index.
|
|
31
|
+
import "../../../mui_extended/Tab/index.8592b93c.js";
|
|
32
|
+
import "../../../mui_extended/Pager/index.d6c87c44.js";
|
|
33
33
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
34
34
|
import "zustand";
|
|
35
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
36
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
35
|
+
import "../../../areas/contexts/AreasContext/index.060aa7b0.js";
|
|
36
|
+
import "../../../areas/components/AreasAdmin/index.f0fd024a.js";
|
|
37
37
|
import "zustand/shallow";
|
|
38
|
-
import "../../../ScrollBar/index.
|
|
39
|
-
import "../../../areas/components/AreasViewer/index.
|
|
38
|
+
import "../../../ScrollBar/index.65bb2930.js";
|
|
39
|
+
import "../../../areas/components/AreasViewer/index.6c28b2c0.js";
|
|
40
40
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
41
41
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
42
42
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -3,4 +3,5 @@ export { ActionCancel } from './components/ActionCancel';
|
|
|
3
3
|
export { ActionIntro } from './components/ActionIntro';
|
|
4
4
|
export { ActionFormCancel } from './components/ActionFormCancel';
|
|
5
5
|
export { ActionFormIntro } from './components/ActionFormIntro';
|
|
6
|
+
export { getCommonActionsDictionary } from './dictionary';
|
|
6
7
|
export * from './dictionary';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.
|
|
2
|
-
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.
|
|
1
|
+
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.df9b1e97.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.d6c87c44.js";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
4
|
import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
|
|
5
5
|
import { S as SELECT_COLUMN_KEY, u as useRowSelection, a as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.d46d625e.js";
|
|
@@ -8,16 +8,16 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
8
8
|
import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
11
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.
|
|
11
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.080e8c7d.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.
|
|
15
|
-
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.
|
|
14
|
+
import { g as getNameDataTestId } from "../../vendor.15beabcd.js";
|
|
15
|
+
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.14cfcbc7.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
-
import "../Icon/index.
|
|
17
|
+
import "../Icon/index.435df215.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
20
|
-
import { C as ConcatenatedFormatter } from "../formatters/index.
|
|
20
|
+
import { C as ConcatenatedFormatter } from "../formatters/index.b574dda9.js";
|
|
21
21
|
const DataGridRoot = styled("div")(({
|
|
22
22
|
theme
|
|
23
23
|
}) => ({
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
2
|
-
import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.
|
|
1
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.c53370f6.js";
|
|
2
|
+
import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.c348b106.js";
|
|
3
3
|
import { useTheme, Checkbox, Skeleton } from "@mui/material";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { P as Pager } from "../../../mui_extended/Pager/index.
|
|
6
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
5
|
+
import { P as Pager } from "../../../mui_extended/Pager/index.d6c87c44.js";
|
|
6
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.d88a3f2e.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.d46d625e.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
12
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
13
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
11
|
+
import { u as useModal } from "../../../../hooks/useModal/index.caaeaddd.js";
|
|
12
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.e66f9b5f.js";
|
|
13
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.33892c01.js";
|
|
14
14
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
15
15
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
16
16
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
17
|
-
import "../../../Icon/index.
|
|
17
|
+
import "../../../Icon/index.435df215.js";
|
|
18
18
|
import "clsx";
|
|
19
|
-
import "../../../modal/index.
|
|
20
|
-
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.
|
|
19
|
+
import "../../../modal/index.8d846036.js";
|
|
20
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.018d4c62.js";
|
|
21
21
|
import "react-hook-form";
|
|
22
22
|
import "@mui/material/Button";
|
|
23
|
-
import "../../../mui_extended/Button/index.
|
|
23
|
+
import "../../../mui_extended/Button/index.f79eb74e.js";
|
|
24
24
|
import "zustand";
|
|
25
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
26
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
25
|
+
import "../../../areas/contexts/AreasContext/index.060aa7b0.js";
|
|
26
|
+
import "../../../areas/components/AreasAdmin/index.f0fd024a.js";
|
|
27
27
|
import "zustand/shallow";
|
|
28
|
-
import "../../../ScrollBar/index.
|
|
29
|
-
import "../../../mui_extended/Accordion/index.
|
|
28
|
+
import "../../../ScrollBar/index.65bb2930.js";
|
|
29
|
+
import "../../../mui_extended/Accordion/index.1d182a0e.js";
|
|
30
30
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
31
31
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
32
32
|
import "react-router-dom";
|
|
@@ -36,13 +36,13 @@ import "../../../Image/index.c18ebf5a.js";
|
|
|
36
36
|
import "@mui/lab";
|
|
37
37
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
38
38
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
39
|
-
import "../../../mui_extended/Tab/index.
|
|
39
|
+
import "../../../mui_extended/Tab/index.8592b93c.js";
|
|
40
40
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
41
|
-
import "../../../areas/components/AreasViewer/index.
|
|
41
|
+
import "../../../areas/components/AreasViewer/index.6c28b2c0.js";
|
|
42
42
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
43
43
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
44
44
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
45
|
-
import { W as WindowBase } from "../../../modal/WindowBase.
|
|
45
|
+
import { W as WindowBase } from "../../../modal/WindowBase.f568bcac.js";
|
|
46
46
|
const ACTIONS_COLUMN_KEY = "actions-row";
|
|
47
47
|
function ActionsFormatter(props) {
|
|
48
48
|
const {
|
|
@@ -129,7 +129,8 @@ const WrapperDataGrid = styled("div")(() => ({
|
|
|
129
129
|
position: "relative",
|
|
130
130
|
display: "flex",
|
|
131
131
|
flexDirection: "column",
|
|
132
|
-
flexGrow: 1
|
|
132
|
+
flexGrow: 1,
|
|
133
|
+
overflow: "auto"
|
|
133
134
|
}));
|
|
134
135
|
styled("div")(() => ({
|
|
135
136
|
display: "flex",
|
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
import { DynamicFilterProviderProps } from './types';
|
|
3
3
|
declare const DynamicFilterContext: import("react").Context<(Omit<Omit<import("zustand").StoreApi<import("./store").DynamicFilterStateWithActions>, "setState"> & {
|
|
4
4
|
setState<A extends string | {
|
|
5
|
-
type: unknown;
|
|
5
|
+
type: unknown; /**
|
|
6
|
+
* Efecto para lanzar el fire onChngeFilters, basado en el cambio del contador countOnChangeFiltersApplyed
|
|
7
|
+
*/
|
|
6
8
|
}>(partial: import("./store").DynamicFilterStateWithActions | Partial<import("./store").DynamicFilterStateWithActions> | ((state: import("./store").DynamicFilterStateWithActions) => import("./store").DynamicFilterStateWithActions | Partial<import("./store").DynamicFilterStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
7
9
|
}, "setState"> & {
|
|
8
10
|
setState(nextStateOrUpdater: import("./store").DynamicFilterStateWithActions | Partial<import("./store").DynamicFilterStateWithActions> | ((state: import("immer/dist/internal").WritableDraft<import("./store").DynamicFilterStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
|
|
9
|
-
type: unknown;
|
|
11
|
+
type: unknown; /**
|
|
12
|
+
* Efecto para lanzar el fire onChngeFilters, basado en el cambio del contador countOnChangeFiltersApplyed
|
|
13
|
+
*/
|
|
10
14
|
} | undefined): void;
|
|
11
15
|
}) | null>;
|
|
12
16
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { shallow } from "zustand/shallow";
|
|
2
|
-
import { S as ScrollBar } from "../ScrollBar/index.
|
|
2
|
+
import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
|
|
3
3
|
import { useContext, useMemo, useEffect, createContext, useRef, createElement, useState, useCallback } from "react";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
7
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
7
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
9
|
+
import { g as getNameDataTestId } from "../../vendor.15beabcd.js";
|
|
10
10
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
|
|
12
|
-
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.
|
|
12
|
+
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.c53370f6.js";
|
|
13
13
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
14
|
-
import { I as Icon } from "../Icon/index.
|
|
14
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
15
15
|
import { styled, useTheme } from "@mui/material/styles";
|
|
16
|
-
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.
|
|
17
|
-
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.
|
|
18
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
19
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
16
|
+
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.ea2758ed.js";
|
|
17
|
+
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.018d4c62.js";
|
|
18
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.e66f9b5f.js";
|
|
19
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.33892c01.js";
|
|
20
20
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
21
21
|
import "@mui/material/Button";
|
|
22
|
-
import "../mui_extended/Button/index.
|
|
23
|
-
import "../../contexts/ModalContext/index.
|
|
22
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
23
|
+
import "../../contexts/ModalContext/index.9fb8e0a2.js";
|
|
24
24
|
import "../../react-draggable.7abb5d0a.js";
|
|
25
25
|
import "../Resizeable/index.9a9c79a4.js";
|
|
26
|
-
import "../modal/index.
|
|
26
|
+
import "../modal/index.8d846036.js";
|
|
27
27
|
import "../Image/index.c18ebf5a.js";
|
|
28
|
-
import "../mui_extended/Accordion/index.
|
|
28
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
29
29
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
30
30
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
31
31
|
import "react-router-dom";
|
|
@@ -33,13 +33,13 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
33
33
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
34
34
|
import "@mui/lab";
|
|
35
35
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
36
|
-
import "../mui_extended/Tab/index.
|
|
37
|
-
import "../mui_extended/Pager/index.
|
|
36
|
+
import "../mui_extended/Tab/index.8592b93c.js";
|
|
37
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
38
38
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
39
39
|
import { useStore, createStore } from "zustand";
|
|
40
|
-
import "../areas/contexts/AreasContext/index.
|
|
41
|
-
import "../areas/components/AreasAdmin/index.
|
|
42
|
-
import "../areas/components/AreasViewer/index.
|
|
40
|
+
import "../areas/contexts/AreasContext/index.060aa7b0.js";
|
|
41
|
+
import "../areas/components/AreasAdmin/index.f0fd024a.js";
|
|
42
|
+
import "../areas/components/AreasViewer/index.6c28b2c0.js";
|
|
43
43
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
44
44
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
45
45
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -47,19 +47,19 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
47
47
|
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.c43a95f4.js";
|
|
48
48
|
import { devtools } from "zustand/middleware";
|
|
49
49
|
import { immer } from "zustand/middleware/immer";
|
|
50
|
-
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.
|
|
50
|
+
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.f4eb65ce.js";
|
|
51
51
|
import "lodash/debounce";
|
|
52
|
-
import "../hook-form/RHFAutocompleteAsync/index.
|
|
53
|
-
import "../hook-form/RHFCheckbox/index.
|
|
54
|
-
import "../HelperText/index.
|
|
52
|
+
import "../hook-form/RHFAutocompleteAsync/index.8ecce8fd.js";
|
|
53
|
+
import "../hook-form/RHFCheckbox/index.45b6ee0b.js";
|
|
54
|
+
import "../HelperText/index.d00b45e5.js";
|
|
55
55
|
import "@mui/x-date-pickers";
|
|
56
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.
|
|
57
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.
|
|
58
|
-
import "../hook-form/RHFPeriod/index.
|
|
59
|
-
import "../Period/index.
|
|
56
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.802fb228.js";
|
|
57
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.75129118.js";
|
|
58
|
+
import "../hook-form/RHFPeriod/index.6395b24a.js";
|
|
59
|
+
import "../Period/index.83b88249.js";
|
|
60
60
|
import "lodash/isString";
|
|
61
61
|
import "react-dropzone";
|
|
62
|
-
import "../hook-form/RHFUpload/index.
|
|
62
|
+
import "../hook-form/RHFUpload/index.fead1c63.js";
|
|
63
63
|
import * as Yup from "yup";
|
|
64
64
|
const COMPONENT_PREFIX = "M4LDynamicFilter";
|
|
65
65
|
const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
|
|
@@ -117,11 +117,12 @@ const dynamicFilterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
|
117
117
|
"inEdition",
|
|
118
118
|
"isDirty",
|
|
119
119
|
"isInvalid",
|
|
120
|
-
"noSetted"
|
|
120
|
+
"noSetted",
|
|
121
|
+
"isEmpty"
|
|
121
122
|
]);
|
|
122
123
|
const useUtilityClasses = (ownerState) => {
|
|
123
124
|
const slots = {
|
|
124
|
-
root: ["root", ownerState.inEdition && "inEdition", ownerState.isDirty && "isDirty", !ownerState.isValid && "isInvalid", ownerState.isMobile && "isMobile", ownerState.isSkeleton && "isSkeleton"],
|
|
125
|
+
root: ["root", ownerState.inEdition && "inEdition", ownerState.isDirty && "isDirty", !ownerState.isValid && "isInvalid", ownerState.isMobile && "isMobile", ownerState.isSkeleton && "isSkeleton", ownerState.isEmpty && "isEmpty"],
|
|
125
126
|
filterButton: ["filterButton"],
|
|
126
127
|
containerFistRow: ["containerFistRow"],
|
|
127
128
|
containerInputFilter: ["containerInputFilter"],
|
|
@@ -898,6 +899,8 @@ const createAreaStore = (initProps) => {
|
|
|
898
899
|
initialFiltersApplyed,
|
|
899
900
|
state.actions.getFieldByName
|
|
900
901
|
);
|
|
902
|
+
state.ownerState.isEmpty = state.applyedFilters.length > 0 ? false : true;
|
|
903
|
+
updateOwnerStateClasses(state);
|
|
901
904
|
updateAutomatic(state);
|
|
902
905
|
});
|
|
903
906
|
},
|
|
@@ -917,6 +920,10 @@ const createAreaStore = (initProps) => {
|
|
|
917
920
|
);
|
|
918
921
|
if (index_to_remove > -1) {
|
|
919
922
|
state.applyedFilters.splice(index_to_remove, 1);
|
|
923
|
+
if (state.applyedFilters.length === 0) {
|
|
924
|
+
state.ownerState.isEmpty = true;
|
|
925
|
+
updateOwnerStateClasses(state);
|
|
926
|
+
}
|
|
920
927
|
updateAutomatic(state);
|
|
921
928
|
}
|
|
922
929
|
});
|
|
@@ -952,6 +959,10 @@ const createAreaStore = (initProps) => {
|
|
|
952
959
|
clearFilters: () => {
|
|
953
960
|
set((state) => {
|
|
954
961
|
state.applyedFilters = state.applyedFilters.filter((f) => f.fixed);
|
|
962
|
+
if (state.applyedFilters.length === 0) {
|
|
963
|
+
state.ownerState.isEmpty = true;
|
|
964
|
+
updateOwnerStateClasses(state);
|
|
965
|
+
}
|
|
955
966
|
updateAvailableFields(state);
|
|
956
967
|
});
|
|
957
968
|
},
|
|
@@ -972,6 +983,10 @@ const createAreaStore = (initProps) => {
|
|
|
972
983
|
addFilter: (newFilter) => {
|
|
973
984
|
set((state) => {
|
|
974
985
|
state.applyedFilters.push(newFilter);
|
|
986
|
+
if (state.applyedFilters.length > 0) {
|
|
987
|
+
state.ownerState.isEmpty = false;
|
|
988
|
+
updateOwnerStateClasses(state);
|
|
989
|
+
}
|
|
975
990
|
updateAutomatic(state);
|
|
976
991
|
});
|
|
977
992
|
},
|
|
@@ -1059,7 +1074,8 @@ function DynamicFilterProvider(props) {
|
|
|
1059
1074
|
isDirty: !automatic,
|
|
1060
1075
|
inEdition: false,
|
|
1061
1076
|
isValid: true,
|
|
1062
|
-
isMobile: !isDesktop
|
|
1077
|
+
isMobile: !isDesktop,
|
|
1078
|
+
isEmpty: true
|
|
1063
1079
|
}
|
|
1064
1080
|
});
|
|
1065
1081
|
dynamicFilterStoreRef.current.getState().actions.init(initialApplyedFilters);
|
|
@@ -1108,8 +1124,7 @@ const DynamicFilterRoot = styled("div", {})(({
|
|
|
1108
1124
|
[`&.${dynamicFilterClasses.isMobile}`]: {
|
|
1109
1125
|
flexDirection: "column",
|
|
1110
1126
|
justifyContent: "space-between",
|
|
1111
|
-
minWidth: theme.spacing(25)
|
|
1112
|
-
gap: theme.spacing(0.75)
|
|
1127
|
+
minWidth: theme.spacing(25)
|
|
1113
1128
|
},
|
|
1114
1129
|
[`&.${dynamicFilterClasses.root}.${dynamicFilterClasses.inEdition}`]: {
|
|
1115
1130
|
border: `1px solid ${theme.palette.primary.main}`
|