@m4l/components 0.1.70 → 0.1.72
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/@types/export.d.ts +20 -0
- package/components/CommonActions/components/ActionCancel/{index.9d521b2a.js → index.07ba5a89.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.4756457f.js → index.9bdae569.js} +21 -19
- package/components/CommonActions/components/ActionFormIntro/{index.40321b1b.js → index.e077d11f.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.1ba5b02b.js → index.a454d0e4.js} +3 -3
- package/components/CommonActions/components/Actions/{index.154d7cb6.js → index.e190561b.js} +20 -18
- package/components/DataGrid/{index.2f4a0e64.js → index.549bd646.js} +22 -20
- package/components/DynamicFilter/{index.789ab474.js → index.c1a3e2f1.js} +48 -98
- package/components/HelperText/{index.a69e9509.js → index.4c27bfc1.js} +11 -10
- package/components/Icon/{index.caaed284.js → index.9839297c.js} +6 -4
- package/components/Icon/types.d.ts +1 -0
- package/components/Image/{index.82a6cd46.js → index.a88f6341.js} +3 -3
- package/components/LanguagePopover/{index.5af28b9e.js → index.84c51cd3.js} +11 -11
- package/components/ModalDialog/{index.cdfd1ae8.js → index.75ddf6de.js} +19 -5
- package/components/NavLink/{index.251fcf0d.js → index.e88494ef.js} +12 -11
- package/components/NoItemSelected/{index.3b9d16e3.js → index.c3b67da1.js} +1 -1
- package/components/ObjectLogs/{index.57ea68b3.js → index.88bcf75a.js} +17 -15
- package/components/PaperForm/{index.d2d492ea.js → index.b141d583.js} +1 -1
- package/components/Period/{index.fbf074d3.js → index.2ab4f2a1.js} +20 -18
- package/components/Resizeable/{index.aafda79e.js → index.086ff29e.js} +20 -6
- package/components/SideBar/{index.3bc6a634.js → index.90137dc5.js} +55 -40
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/Drawer.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/types.d.ts +8 -0
- package/components/areas/components/AreasAdmin/index.218451cf.js +289 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +4 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -0
- package/components/areas/components/{index.359c2b18.js → AreasViewer/index.51ee3d38.js} +163 -197
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +3 -3
- package/components/areas/components/index.ae4cbf2e.js +14 -0
- package/components/areas/constants.66529246.js +6 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +6 -4
- package/components/areas/contexts/AreasContext/{index.de8b4e78.js → index.0b50676d.js} +102 -15
- package/components/areas/contexts/AreasContext/types.d.ts +8 -3
- package/components/areas/contexts/DynamicMFParmsContext/store.d.ts +1 -1
- package/components/areas/contexts/DynamicMFParmsContext/types.d.ts +1 -1
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +2 -10
- package/components/areas/contexts/{index.771827bb.js → index.b0ce327e.js} +1 -1
- package/components/areas/contexts/index.d.ts +2 -1
- package/components/areas/dictionary.d.ts +2 -0
- package/components/areas/dictionary.e72db809.js +22 -0
- package/components/areas/hooks/index.0184c6f7.js +4 -0
- package/components/areas/hooks/{useArea/index.2adbe001.js → useAreas/index.e868e3d9.js} +1 -1
- package/components/areas/hooks/{index.ae8d8631.js → useWindowToolsMF/index.b7afaf88.js} +1 -3
- package/components/areas/icons.b36751f2.js +17 -0
- package/components/areas/icons.d.ts +2 -0
- package/components/areas/index.05b7b8e2.js +16 -0
- package/components/areas/types.d.ts +25 -3
- package/components/formatters/BooleanFormatter/{index.7eb0498c.js → index.e610de08.js} +1 -1
- package/components/formatters/{index.f6b9ed01.js → index.982e909b.js} +3 -2
- package/components/hook-form/RHFAutocomplete/{index.09c400c3.js → index.b185393e.js} +12 -11
- package/components/hook-form/RHFAutocompleteAsync/{index.e8acff04.js → index.7a569646.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.70310f35.js → index.7a9ea396.js} +3 -3
- package/components/hook-form/RHFDateTime/{index.7b815072.js → index.2fd1d56b.js} +10 -10
- package/components/hook-form/RHFPeriod/{index.3c7d393c.js → index.df3d3f69.js} +2 -2
- package/components/hook-form/RHFTextField/{index.d4c39859.js → index.e1b50c30.js} +7 -6
- package/components/hook-form/RHFUpload/{index.31044674.js → index.ec977af6.js} +1 -1
- package/components/modal/{WindowBase.6a40a945.js → WindowBase.e5ec6128.js} +11 -11
- package/components/modal/{WindowConfirm.e21763cb.js → WindowConfirm.b89712de.js} +17 -15
- package/components/modal/index.97752555.js +36 -0
- package/components/mui_extended/Accordion/{index.437bb3f8.js → index.d420b666.js} +2 -2
- package/components/mui_extended/Button/{index.f8ce9ccd.js → index.1cd0c4e4.js} +6 -4
- package/components/mui_extended/Button/types.d.ts +2 -0
- package/components/mui_extended/IconButton/{index.57824447.js → index.590049b4.js} +7 -3
- package/components/mui_extended/MenuActions/{index.37043326.js → index.f9eb6463.js} +3 -3
- package/components/mui_extended/Pager/{index.eeed3bd5.js → index.c058b933.js} +1 -1
- package/components/mui_extended/Popover/{index.226f247e.js → index.9f35d0eb.js} +1 -3
- package/components/mui_extended/Popover/types.d.ts +6 -2
- package/components/mui_extended/Typography/{index.b3c6e71c.js → index.1659d310.js} +1 -1
- package/components/mui_extended/index.ec312b5a.js +20 -0
- package/contexts/ModalContext/{index.8e3cd7a8.js → index.92e80136.js} +1 -1
- package/hooks/useModal/{index.d590f506.js → index.18a7cb8f.js} +1 -1
- package/index.js +88 -85
- package/package.json +3 -1
- package/{react-draggable.0d64c8b1.js → react-draggable.21aa9ee1.js} +1 -1
- package/{react-resizable.8307e056.js → react-resizable.e78d1cc8.js} +3 -3
- package/utils/{index.a2312a73.js → index.8608d16c.js} +1 -1
- package/{vendor.8edaef93.js → vendor.d194839d.js} +48 -47
- package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/styles.d.ts +0 -2
- package/components/areas/index.8a58bcbf.js +0 -50
- package/components/modal/index.438777d9.js +0 -34
- package/components/mui_extended/index.dacbb059.js +0 -19
package/@types/export.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ declare module '@mui/material/styles' {
|
|
|
65
65
|
|
|
66
66
|
interface ComponentNameToClassKey {
|
|
67
67
|
M4LDynamicFilter: DynamicFilterClassesKey;
|
|
68
|
+
M4LDynamicFilterPopoverFilter: DynamicFilterClassesKey;
|
|
69
|
+
M4LDynamicFilterPopoverMenuFields: DynamicFilterClassesKey;
|
|
68
70
|
M4LRHFTextField: RHFTextFieldClassesKey;
|
|
69
71
|
M4LRHFTextFieldPassword: RHFTextFieldPasswordClassesKey;
|
|
70
72
|
M4LRHFAutocomplete: RHFAutocompleteClassesKey;
|
|
@@ -82,6 +84,8 @@ declare module '@mui/material/styles' {
|
|
|
82
84
|
M4LoadingButton: LoadingbuttonClassesKey;
|
|
83
85
|
M4LNavLink: ButtonBaseClassKey;
|
|
84
86
|
M4LSideBar: SideBarClassesKey;
|
|
87
|
+
M4LSideBarPopover: SideBarClassesKey;
|
|
88
|
+
M4LSideBarDrawer: SideBarClassesKey;
|
|
85
89
|
M4LRHFDateTime: RHFDateTimeClassesKey;
|
|
86
90
|
M4LAreasViewer: AreasViewerClassesKey;
|
|
87
91
|
M4LAreasAdmin: AreasAdminClassesKey;
|
|
@@ -100,6 +104,14 @@ declare module '@mui/material/styles' {
|
|
|
100
104
|
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilter'];
|
|
101
105
|
defaultProps?: ComponentsProps['M4LDynamicFilter'];
|
|
102
106
|
};
|
|
107
|
+
M4LDynamicFilterPopoverFilter?: {
|
|
108
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilterPopoverFilter'];
|
|
109
|
+
defaultProps?: ComponentsProps['M4LDynamicFilterPopoverFilter'];
|
|
110
|
+
};
|
|
111
|
+
M4LDynamicFilterPopoverMenuFields?: {
|
|
112
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilterPopoverMenuFields'];
|
|
113
|
+
defaultProps?: ComponentsProps['M4LDynamicFilterPopoverMenuFields'];
|
|
114
|
+
};
|
|
103
115
|
M4LRHFTextField?: {
|
|
104
116
|
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFTextField'];
|
|
105
117
|
defaultProps?: ComponentsProps['M4LRHFTextField'];
|
|
@@ -172,6 +184,14 @@ declare module '@mui/material/styles' {
|
|
|
172
184
|
styleOverrides?: ComponentsOverrides<Theme>['M4LSideBar'];
|
|
173
185
|
defaultProps?: ComponentsProps['M4LSideBar'];
|
|
174
186
|
};
|
|
187
|
+
M4LSideBarPopover?: {
|
|
188
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LSideBarPopover'];
|
|
189
|
+
defaultProps?: ComponentsProps['M4LSideBarPopover'];
|
|
190
|
+
};
|
|
191
|
+
M4LSideBarDrawer?: {
|
|
192
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LSideBarPopover'];
|
|
193
|
+
defaultProps?: ComponentsProps['M4LSideBarPopover'];
|
|
194
|
+
};
|
|
175
195
|
M4LAreasViewer?: {
|
|
176
196
|
styleOverrides?: ComponentsOverrides<Theme>['M4LAreasViewer'];
|
|
177
197
|
};
|
package/components/CommonActions/components/ActionCancel/{index.9d521b2a.js → index.07ba5a89.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 useUtilityClasses } from "../Actions/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.1cd0c4e4.js";
|
|
3
|
+
import { u as useUtilityClasses } from "../Actions/index.e190561b.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.4756457f.js → index.9bdae569.js}
RENAMED
|
@@ -1,37 +1,39 @@
|
|
|
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.1cd0c4e4.js";
|
|
5
5
|
import { useCallback } from "react";
|
|
6
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
7
|
-
import "../../../../react-draggable.
|
|
8
|
-
import "../../../ModalDialog/index.
|
|
9
|
-
import "../../../Resizeable/index.
|
|
6
|
+
import { u as useModal } from "../../../../hooks/useModal/index.18a7cb8f.js";
|
|
7
|
+
import "../../../../react-draggable.21aa9ee1.js";
|
|
8
|
+
import "../../../ModalDialog/index.75ddf6de.js";
|
|
9
|
+
import "../../../Resizeable/index.086ff29e.js";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
import "@m4l/graphics";
|
|
12
|
-
import
|
|
13
|
-
import "../../../modal/WindowBase.6a40a945.js";
|
|
14
|
-
import "../../../Icon/index.caaed284.js";
|
|
15
|
-
import "../../../mui_extended/IconButton/index.57824447.js";
|
|
12
|
+
import "../../../Icon/index.9839297c.js";
|
|
16
13
|
import "clsx";
|
|
17
|
-
import "../../../
|
|
14
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.b89712de.js";
|
|
15
|
+
import "../../../modal/WindowBase.e5ec6128.js";
|
|
16
|
+
import "../../../mui_extended/IconButton/index.590049b4.js";
|
|
17
|
+
import "../../../mui_extended/Accordion/index.d420b666.js";
|
|
18
18
|
import "../../../mui_extended/Avatar/index.fe06afd7.js";
|
|
19
19
|
import "react-router-dom";
|
|
20
|
-
import "../../../Image/index.
|
|
20
|
+
import "../../../Image/index.a88f6341.js";
|
|
21
21
|
import "@mui/lab";
|
|
22
|
-
import "../../../mui_extended/Typography/index.
|
|
23
|
-
import "../../../mui_extended/Popover/index.
|
|
24
|
-
import "../../../mui_extended/MenuActions/index.
|
|
25
|
-
import "../../../mui_extended/Pager/index.
|
|
22
|
+
import "../../../mui_extended/Typography/index.1659d310.js";
|
|
23
|
+
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
24
|
+
import "../../../mui_extended/MenuActions/index.f9eb6463.js";
|
|
25
|
+
import "../../../mui_extended/Pager/index.c058b933.js";
|
|
26
26
|
import "../../../mui_extended/Tab/index.e0653a0a.js";
|
|
27
27
|
import "zustand";
|
|
28
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
29
|
-
import "../../../areas/components/index.
|
|
28
|
+
import "../../../areas/contexts/AreasContext/index.0b50676d.js";
|
|
29
|
+
import "../../../areas/components/AreasAdmin/index.218451cf.js";
|
|
30
30
|
import "zustand/shallow";
|
|
31
|
+
import "../../../ScrollBar/index.bbe48f4d.js";
|
|
32
|
+
import "../../../areas/components/AreasViewer/index.51ee3d38.js";
|
|
31
33
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
32
34
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
33
|
-
import { u as useWindowToolsMF } from "../../../areas/hooks/index.
|
|
34
|
-
import { u as useUtilityClasses } from "../Actions/index.
|
|
35
|
+
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
36
|
+
import { u as useUtilityClasses } from "../Actions/index.e190561b.js";
|
|
35
37
|
function ActionFormCancel() {
|
|
36
38
|
const {
|
|
37
39
|
getLabel
|
package/components/CommonActions/components/ActionFormIntro/{index.40321b1b.js → index.e077d11f.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 useUtilityClasses } from "../Actions/index.
|
|
4
|
+
import { L as LoadingButton } from "../../../mui_extended/Button/index.1cd0c4e4.js";
|
|
5
|
+
import { u as useUtilityClasses } from "../Actions/index.e190561b.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.1ba5b02b.js → index.a454d0e4.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
3
|
-
import { T as TEST_PROP_ID } from "../../../../vendor.
|
|
4
|
-
import { u as useUtilityClasses } from "../Actions/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.1cd0c4e4.js";
|
|
3
|
+
import { T as TEST_PROP_ID } from "../../../../vendor.d194839d.js";
|
|
4
|
+
import { u as useUtilityClasses } from "../Actions/index.e190561b.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.8608d16c.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import "@m4l/core";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../../../mui_extended/Button/index.
|
|
8
|
+
import "../../../mui_extended/Button/index.1cd0c4e4.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
11
|
import "react";
|
|
12
|
-
import "../../../../contexts/ModalContext/index.
|
|
13
|
-
import "../../../../react-draggable.
|
|
14
|
-
import "../../../ModalDialog/index.
|
|
15
|
-
import "../../../Resizeable/index.
|
|
12
|
+
import "../../../../contexts/ModalContext/index.92e80136.js";
|
|
13
|
+
import "../../../../react-draggable.21aa9ee1.js";
|
|
14
|
+
import "../../../ModalDialog/index.75ddf6de.js";
|
|
15
|
+
import "../../../Resizeable/index.086ff29e.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
+
import "../../../Icon/index.9839297c.js";
|
|
17
18
|
import "@mui/lab";
|
|
18
|
-
import "../../../mui_extended/Typography/index.
|
|
19
|
-
import "../../../modal/WindowConfirm.
|
|
20
|
-
import "../../../
|
|
21
|
-
import "../../../
|
|
22
|
-
import "../../../mui_extended/
|
|
23
|
-
import "../../../mui_extended/Accordion/index.437bb3f8.js";
|
|
19
|
+
import "../../../mui_extended/Typography/index.1659d310.js";
|
|
20
|
+
import "../../../modal/WindowConfirm.b89712de.js";
|
|
21
|
+
import "../../../modal/WindowBase.e5ec6128.js";
|
|
22
|
+
import "../../../mui_extended/IconButton/index.590049b4.js";
|
|
23
|
+
import "../../../mui_extended/Accordion/index.d420b666.js";
|
|
24
24
|
import "../../../mui_extended/Avatar/index.fe06afd7.js";
|
|
25
25
|
import "react-router-dom";
|
|
26
|
-
import "../../../Image/index.
|
|
27
|
-
import "../../../mui_extended/Popover/index.
|
|
28
|
-
import "../../../mui_extended/MenuActions/index.
|
|
29
|
-
import "../../../mui_extended/Pager/index.
|
|
26
|
+
import "../../../Image/index.a88f6341.js";
|
|
27
|
+
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
28
|
+
import "../../../mui_extended/MenuActions/index.f9eb6463.js";
|
|
29
|
+
import "../../../mui_extended/Pager/index.c058b933.js";
|
|
30
30
|
import "../../../mui_extended/Tab/index.e0653a0a.js";
|
|
31
31
|
import "zustand";
|
|
32
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
33
|
-
import "../../../areas/components/index.
|
|
32
|
+
import "../../../areas/contexts/AreasContext/index.0b50676d.js";
|
|
33
|
+
import "../../../areas/components/AreasAdmin/index.218451cf.js";
|
|
34
34
|
import "zustand/shallow";
|
|
35
|
+
import "../../../ScrollBar/index.bbe48f4d.js";
|
|
36
|
+
import "../../../areas/components/AreasViewer/index.51ee3d38.js";
|
|
35
37
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
36
38
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
37
39
|
const componentName = "M4LCommonActions";
|
|
@@ -6,35 +6,37 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
6
6
|
import { SvgIcon, Checkbox, InputBase, Skeleton } from "@mui/material";
|
|
7
7
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString, useEnvironment } from "@m4l/core";
|
|
9
|
-
import { M as MenuActions } from "../mui_extended/MenuActions/index.
|
|
10
|
-
import { g as getPagerComponentsDictionary, P as Pager } from "../mui_extended/Pager/index.
|
|
11
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
12
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
13
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
14
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
15
|
-
import "../../react-draggable.
|
|
16
|
-
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.
|
|
17
|
-
import "../Resizeable/index.
|
|
9
|
+
import { M as MenuActions } from "../mui_extended/MenuActions/index.f9eb6463.js";
|
|
10
|
+
import { g as getPagerComponentsDictionary, P as Pager } from "../mui_extended/Pager/index.c058b933.js";
|
|
11
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.590049b4.js";
|
|
12
|
+
import { u as useModal } from "../../hooks/useModal/index.18a7cb8f.js";
|
|
13
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.07ba5a89.js";
|
|
14
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.a454d0e4.js";
|
|
15
|
+
import "../../react-draggable.21aa9ee1.js";
|
|
16
|
+
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.75ddf6de.js";
|
|
17
|
+
import "../Resizeable/index.086ff29e.js";
|
|
18
18
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
19
|
-
import
|
|
19
|
+
import "../Icon/index.9839297c.js";
|
|
20
|
+
import "clsx";
|
|
21
|
+
import { A as Actions$1 } from "../CommonActions/components/Actions/index.e190561b.js";
|
|
20
22
|
import "react-hook-form";
|
|
21
23
|
import "@mui/material/Button";
|
|
22
|
-
import "../mui_extended/Button/index.
|
|
23
|
-
import "clsx";
|
|
24
|
+
import "../mui_extended/Button/index.1cd0c4e4.js";
|
|
24
25
|
import "zustand";
|
|
25
|
-
import "../areas/contexts/AreasContext/index.
|
|
26
|
-
import "../areas/components/index.
|
|
26
|
+
import "../areas/contexts/AreasContext/index.0b50676d.js";
|
|
27
|
+
import "../areas/components/AreasAdmin/index.218451cf.js";
|
|
27
28
|
import "zustand/shallow";
|
|
28
|
-
import "../
|
|
29
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
30
|
+
import "../areas/components/AreasViewer/index.51ee3d38.js";
|
|
29
31
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
30
32
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
31
33
|
import "@mui/lab";
|
|
32
|
-
import "../mui_extended/Typography/index.
|
|
33
|
-
import "../modal/WindowConfirm.
|
|
34
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
35
|
-
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.
|
|
34
|
+
import "../mui_extended/Typography/index.1659d310.js";
|
|
35
|
+
import "../modal/WindowConfirm.b89712de.js";
|
|
36
|
+
import { W as WindowBase } from "../modal/WindowBase.e5ec6128.js";
|
|
37
|
+
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.e610de08.js";
|
|
36
38
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
37
|
-
import { C as ConcatenatedFormatter } from "../formatters/index.
|
|
39
|
+
import { C as ConcatenatedFormatter } from "../formatters/index.982e909b.js";
|
|
38
40
|
const WrapperGrid = styled("div")(() => ({
|
|
39
41
|
display: "flex",
|
|
40
42
|
flexDirection: "column",
|
|
@@ -4,57 +4,58 @@ import { useContext, useMemo, useEffect, createContext, useRef, createElement, u
|
|
|
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.
|
|
8
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
7
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.590049b4.js";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../vendor.d194839d.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
|
-
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.
|
|
12
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
13
|
-
import { I as Icon } from "../Icon/index.
|
|
11
|
+
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.f9eb6463.js";
|
|
12
|
+
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
13
|
+
import { I as Icon } from "../Icon/index.9839297c.js";
|
|
14
|
+
import { styled, useTheme } from "@mui/material/styles";
|
|
14
15
|
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.a7511399.js";
|
|
15
|
-
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.
|
|
16
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
17
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
16
|
+
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.e190561b.js";
|
|
17
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.07ba5a89.js";
|
|
18
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.a454d0e4.js";
|
|
18
19
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
19
20
|
import "@mui/material/Button";
|
|
20
|
-
import "../mui_extended/Button/index.
|
|
21
|
-
import "../../contexts/ModalContext/index.
|
|
22
|
-
import "../../react-draggable.
|
|
23
|
-
import "../ModalDialog/index.
|
|
24
|
-
import "../Resizeable/index.
|
|
25
|
-
import "../modal/WindowConfirm.
|
|
26
|
-
import "../modal/WindowBase.
|
|
27
|
-
import "../mui_extended/Accordion/index.
|
|
21
|
+
import "../mui_extended/Button/index.1cd0c4e4.js";
|
|
22
|
+
import "../../contexts/ModalContext/index.92e80136.js";
|
|
23
|
+
import "../../react-draggable.21aa9ee1.js";
|
|
24
|
+
import "../ModalDialog/index.75ddf6de.js";
|
|
25
|
+
import "../Resizeable/index.086ff29e.js";
|
|
26
|
+
import "../modal/WindowConfirm.b89712de.js";
|
|
27
|
+
import "../modal/WindowBase.e5ec6128.js";
|
|
28
|
+
import "../mui_extended/Accordion/index.d420b666.js";
|
|
28
29
|
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
29
30
|
import "react-router-dom";
|
|
30
|
-
import "../Image/index.
|
|
31
|
+
import "../Image/index.a88f6341.js";
|
|
31
32
|
import "@mui/lab";
|
|
32
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
33
|
-
import "../mui_extended/Pager/index.
|
|
33
|
+
import { T as Typography } from "../mui_extended/Typography/index.1659d310.js";
|
|
34
|
+
import "../mui_extended/Pager/index.c058b933.js";
|
|
34
35
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
35
36
|
import { useStore, createStore } from "zustand";
|
|
36
|
-
import "../areas/contexts/AreasContext/index.
|
|
37
|
-
import "../areas/components/index.
|
|
37
|
+
import "../areas/contexts/AreasContext/index.0b50676d.js";
|
|
38
|
+
import "../areas/components/AreasAdmin/index.218451cf.js";
|
|
39
|
+
import "../areas/components/AreasViewer/index.51ee3d38.js";
|
|
38
40
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
41
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
40
42
|
import { unstable_composeClasses } from "@mui/base";
|
|
41
|
-
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.
|
|
43
|
+
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.8608d16c.js";
|
|
42
44
|
import { devtools } from "zustand/middleware";
|
|
43
45
|
import { immer } from "zustand/middleware/immer";
|
|
44
|
-
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.
|
|
46
|
+
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.b185393e.js";
|
|
45
47
|
import "lodash/debounce";
|
|
46
|
-
import "../hook-form/RHFAutocompleteAsync/index.
|
|
47
|
-
import "../hook-form/RHFCheckbox/index.
|
|
48
|
-
import "../HelperText/index.
|
|
48
|
+
import "../hook-form/RHFAutocompleteAsync/index.7a569646.js";
|
|
49
|
+
import "../hook-form/RHFCheckbox/index.7a9ea396.js";
|
|
50
|
+
import "../HelperText/index.4c27bfc1.js";
|
|
49
51
|
import "@mui/x-date-pickers";
|
|
50
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.
|
|
51
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.
|
|
52
|
-
import "../hook-form/RHFPeriod/index.
|
|
53
|
-
import "../Period/index.
|
|
52
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.2fd1d56b.js";
|
|
53
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.e1b50c30.js";
|
|
54
|
+
import "../hook-form/RHFPeriod/index.df3d3f69.js";
|
|
55
|
+
import "../Period/index.2ab4f2a1.js";
|
|
54
56
|
import "lodash/isString";
|
|
55
57
|
import "react-dropzone";
|
|
56
|
-
import
|
|
57
|
-
import "../hook-form/RHFUpload/index.31044674.js";
|
|
58
|
+
import "../hook-form/RHFUpload/index.ec977af6.js";
|
|
58
59
|
import * as Yup from "yup";
|
|
59
60
|
import "@hookform/resolvers/yup";
|
|
60
61
|
const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
|
|
@@ -142,19 +143,6 @@ const useUtilityClasses = (ownerState) => {
|
|
|
142
143
|
};
|
|
143
144
|
return unstable_composeClasses(slots, getComponentUtilityClass(COMPONENT_CLASS_NAME), {});
|
|
144
145
|
};
|
|
145
|
-
const ContainerBooleanFilter = styled("div")(({
|
|
146
|
-
theme
|
|
147
|
-
}) => ({
|
|
148
|
-
display: "flex",
|
|
149
|
-
flexDirection: "column",
|
|
150
|
-
justifyContent: "center",
|
|
151
|
-
alignItems: "center",
|
|
152
|
-
width: "100%",
|
|
153
|
-
minWidth: theme.spacing(3.75),
|
|
154
|
-
height: "100%",
|
|
155
|
-
padding: theme.spacing(3, 0),
|
|
156
|
-
gap: theme.spacing(3)
|
|
157
|
-
}));
|
|
158
146
|
function useDynamicFilter(selector, equalityFn) {
|
|
159
147
|
const store = useContext(DynamicFilterContext);
|
|
160
148
|
if (!store)
|
|
@@ -217,7 +205,7 @@ function BooleanFilter() {
|
|
|
217
205
|
value: false,
|
|
218
206
|
label: getLabel(getDynamicFilterDictionary(`operand_false`))
|
|
219
207
|
}], [getLabel]);
|
|
220
|
-
return /* @__PURE__ */ jsxs(
|
|
208
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
221
209
|
...process.env.NODE_ENV !== "production" ? {
|
|
222
210
|
[TEST_PROP_ID]: getTestIdByClass("containerBooleanFilter")
|
|
223
211
|
} : {},
|
|
@@ -239,18 +227,6 @@ function BooleanFilter() {
|
|
|
239
227
|
})]
|
|
240
228
|
});
|
|
241
229
|
}
|
|
242
|
-
const ContainerDateTimeFilter = styled("div")(({
|
|
243
|
-
theme
|
|
244
|
-
}) => ({
|
|
245
|
-
display: "flex",
|
|
246
|
-
flexDirection: "column",
|
|
247
|
-
justifyContent: "center",
|
|
248
|
-
alignItems: "center",
|
|
249
|
-
width: "100%",
|
|
250
|
-
minWidth: theme.spacing(3.75),
|
|
251
|
-
padding: theme.spacing(3, 0),
|
|
252
|
-
gap: theme.spacing(3)
|
|
253
|
-
}));
|
|
254
230
|
function DateTimeFilter() {
|
|
255
231
|
const classesContainerDateTimeFilter = useDynamicFilter((state) => state.classes.containerDateTimeFilter, shallow);
|
|
256
232
|
const {
|
|
@@ -267,7 +243,7 @@ function DateTimeFilter() {
|
|
|
267
243
|
id: o,
|
|
268
244
|
label: getLabel(getDynamicFilterDictionary(`operator_${o}`))
|
|
269
245
|
})), [getLabel]);
|
|
270
|
-
return /* @__PURE__ */ jsxs(
|
|
246
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
271
247
|
className: classesContainerDateTimeFilter,
|
|
272
248
|
children: [/* @__PURE__ */ jsx(RHFAutocomplete, {
|
|
273
249
|
name: "formValueOperator",
|
|
@@ -285,18 +261,6 @@ function DateTimeFilter() {
|
|
|
285
261
|
})]
|
|
286
262
|
});
|
|
287
263
|
}
|
|
288
|
-
const ContainerNumberFilter = styled("div")(({
|
|
289
|
-
theme
|
|
290
|
-
}) => ({
|
|
291
|
-
display: "flex",
|
|
292
|
-
flexDirection: "column",
|
|
293
|
-
justifyContent: "center",
|
|
294
|
-
alignItems: "center",
|
|
295
|
-
width: "100%",
|
|
296
|
-
minWidth: theme.spacing(3.75),
|
|
297
|
-
padding: theme.spacing(3, 0),
|
|
298
|
-
gap: theme.spacing(3)
|
|
299
|
-
}));
|
|
300
264
|
function NumberFilter() {
|
|
301
265
|
const classesContainerNumberFilter = useDynamicFilter((state) => state.classes.containerNumberFilter);
|
|
302
266
|
const {
|
|
@@ -313,7 +277,7 @@ function NumberFilter() {
|
|
|
313
277
|
id: o,
|
|
314
278
|
label: getLabel(getDynamicFilterDictionary(`operator_${o}`))
|
|
315
279
|
})), [getLabel]);
|
|
316
|
-
return /* @__PURE__ */ jsxs(
|
|
280
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
317
281
|
className: classesContainerNumberFilter,
|
|
318
282
|
children: [/* @__PURE__ */ jsx(RHFAutocomplete, {
|
|
319
283
|
name: "formValueOperator",
|
|
@@ -333,18 +297,6 @@ function NumberFilter() {
|
|
|
333
297
|
})]
|
|
334
298
|
});
|
|
335
299
|
}
|
|
336
|
-
const ContainerStringFilter = styled("div")(({
|
|
337
|
-
theme
|
|
338
|
-
}) => ({
|
|
339
|
-
display: "flex",
|
|
340
|
-
flexDirection: "column",
|
|
341
|
-
justifyContent: "center",
|
|
342
|
-
alignItems: "center",
|
|
343
|
-
width: "100%",
|
|
344
|
-
minWidth: theme.spacing(3.75),
|
|
345
|
-
padding: theme.spacing(3, 0),
|
|
346
|
-
gap: theme.spacing(3)
|
|
347
|
-
}));
|
|
348
300
|
function StringFilter() {
|
|
349
301
|
const classesContainerStringFilter = useDynamicFilter((state) => state.classes.containerStringFilter);
|
|
350
302
|
const {
|
|
@@ -354,7 +306,7 @@ function StringFilter() {
|
|
|
354
306
|
id: o,
|
|
355
307
|
label: getLabel(getDynamicFilterDictionary(`operator_${o}`))
|
|
356
308
|
})), [getLabel]);
|
|
357
|
-
return /* @__PURE__ */ jsxs(
|
|
309
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
358
310
|
className: classesContainerStringFilter,
|
|
359
311
|
children: [/* @__PURE__ */ jsx(RHFAutocomplete, {
|
|
360
312
|
name: "formValueOperator",
|
|
@@ -1464,6 +1416,7 @@ function PopoverMenuFields(props) {
|
|
|
1464
1416
|
const handleClosePopover = () => {
|
|
1465
1417
|
closePopoverMenuFields(false);
|
|
1466
1418
|
};
|
|
1419
|
+
const theme = useTheme();
|
|
1467
1420
|
const handleOpenPopUpClickItem = (_event, field) => {
|
|
1468
1421
|
if (fnAnchorEl) {
|
|
1469
1422
|
showPopoverFilterForAdd(fnAnchorEl(), field);
|
|
@@ -1473,7 +1426,6 @@ function PopoverMenuFields(props) {
|
|
|
1473
1426
|
className: classesPopUpMenuFields,
|
|
1474
1427
|
disableRestoreFocus: true,
|
|
1475
1428
|
open: Boolean(fnAnchorEl),
|
|
1476
|
-
disablePortal: true,
|
|
1477
1429
|
anchorEl: fnAnchorEl && fnAnchorEl(),
|
|
1478
1430
|
onClose: handleClosePopover,
|
|
1479
1431
|
anchorOrigin: {
|
|
@@ -1487,12 +1439,7 @@ function PopoverMenuFields(props) {
|
|
|
1487
1439
|
disableAutoFocus: true,
|
|
1488
1440
|
arrowType: "top-left",
|
|
1489
1441
|
sx: {
|
|
1490
|
-
|
|
1491
|
-
px: 1,
|
|
1492
|
-
typography: "body2",
|
|
1493
|
-
borderRadius: 0.75
|
|
1494
|
-
},
|
|
1495
|
-
mt: "16px"
|
|
1442
|
+
...theme.components?.M4LDynamicFilterPopoverMenuFields?.styleOverrides
|
|
1496
1443
|
},
|
|
1497
1444
|
PaperProps: {
|
|
1498
1445
|
className: classesPopUpMenuFieldsPaper,
|
|
@@ -1671,6 +1618,7 @@ const PopoverFilter = () => {
|
|
|
1671
1618
|
let formFilter;
|
|
1672
1619
|
let filterFormValue;
|
|
1673
1620
|
let anchorEl;
|
|
1621
|
+
const theme = useTheme();
|
|
1674
1622
|
const popoverFilterData = useDynamicFilter((state) => state.popoverFilterData, shallow);
|
|
1675
1623
|
const refPreviousPopoverFilterData = useRef(popoverFilterData);
|
|
1676
1624
|
const classesPopoverFilter = useDynamicFilter((state) => state.classes.popoverFilter, shallow);
|
|
@@ -1755,7 +1703,6 @@ const PopoverFilter = () => {
|
|
|
1755
1703
|
className: classesPopoverFilter,
|
|
1756
1704
|
transitionDuration: 0,
|
|
1757
1705
|
open: true,
|
|
1758
|
-
disablePortal: true,
|
|
1759
1706
|
anchorEl,
|
|
1760
1707
|
disableRestoreFocus: true,
|
|
1761
1708
|
onKeyDown: handleKeyDownPopper,
|
|
@@ -1769,11 +1716,11 @@ const PopoverFilter = () => {
|
|
|
1769
1716
|
horizontal: "left"
|
|
1770
1717
|
},
|
|
1771
1718
|
arrowType: "top-left",
|
|
1719
|
+
sx: {
|
|
1720
|
+
...theme.components?.M4LDynamicFilterPopoverFilter?.styleOverrides
|
|
1721
|
+
},
|
|
1772
1722
|
PaperProps: {
|
|
1773
1723
|
className: classesPopoverFilterPapper,
|
|
1774
|
-
sx: {
|
|
1775
|
-
mt: "12px"
|
|
1776
|
-
},
|
|
1777
1724
|
...process.env.NODE_ENV !== "production" ? {
|
|
1778
1725
|
[TEST_PROP_ID]: getTestIdByClass("popoverFilterPaper")
|
|
1779
1726
|
} : {}
|
|
@@ -1800,8 +1747,11 @@ const PopoverFilter = () => {
|
|
|
1800
1747
|
})
|
|
1801
1748
|
}), /* @__PURE__ */ jsxs(Actions, {
|
|
1802
1749
|
children: [/* @__PURE__ */ jsx(ActionCancel, {
|
|
1803
|
-
onClick: onClose
|
|
1804
|
-
|
|
1750
|
+
onClick: onClose,
|
|
1751
|
+
skeletonWidth: "68px"
|
|
1752
|
+
}), /* @__PURE__ */ jsx(ActionIntro, {
|
|
1753
|
+
skeletonWidth: "64px"
|
|
1754
|
+
})]
|
|
1805
1755
|
})]
|
|
1806
1756
|
})
|
|
1807
1757
|
});
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import "../mui_extended/IconButton/index.57824447.js";
|
|
4
|
+
import "../Icon/index.9839297c.js";
|
|
7
5
|
import "clsx";
|
|
8
|
-
import "
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import "../mui_extended/IconButton/index.590049b4.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "../mui_extended/Accordion/index.d420b666.js";
|
|
9
10
|
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
10
11
|
import "react-router-dom";
|
|
11
12
|
import "@mui/material/Button";
|
|
12
|
-
import "../mui_extended/Button/index.
|
|
13
|
-
import "../Image/index.
|
|
13
|
+
import "../mui_extended/Button/index.1cd0c4e4.js";
|
|
14
|
+
import "../Image/index.a88f6341.js";
|
|
14
15
|
import "@mui/lab";
|
|
15
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
16
|
-
import "../mui_extended/Popover/index.
|
|
17
|
-
import "../mui_extended/MenuActions/index.
|
|
18
|
-
import "../mui_extended/Pager/index.
|
|
16
|
+
import { T as Typography } from "../mui_extended/Typography/index.1659d310.js";
|
|
17
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
18
|
+
import "../mui_extended/MenuActions/index.f9eb6463.js";
|
|
19
|
+
import "../mui_extended/Pager/index.c058b933.js";
|
|
19
20
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
20
21
|
import { unstable_composeClasses } from "@mui/base";
|
|
21
22
|
const HelperTextRoot = styled("div")(({
|
|
@@ -2,9 +2,10 @@ import { m } from "framer-motion";
|
|
|
2
2
|
import { forwardRef, useState, useEffect } from "react";
|
|
3
3
|
import { IconButton, Box, styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import clsx from "clsx";
|
|
5
6
|
import { useEnvironment } from "@m4l/core";
|
|
6
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
7
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.90137dc5.js";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../vendor.d194839d.js";
|
|
8
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
10
|
const varSmall = {
|
|
10
11
|
hover: {
|
|
@@ -118,7 +119,8 @@ function Icon(props) {
|
|
|
118
119
|
src,
|
|
119
120
|
size = "small",
|
|
120
121
|
rotationAngle,
|
|
121
|
-
testingProps
|
|
122
|
+
testingProps,
|
|
123
|
+
className
|
|
122
124
|
} = props;
|
|
123
125
|
const [resource, setResource] = useState(testingProps?.resource || void 0);
|
|
124
126
|
useEffect(() => {
|
|
@@ -146,7 +148,7 @@ function Icon(props) {
|
|
|
146
148
|
};
|
|
147
149
|
const classes = useUtilityClasses(ownerState);
|
|
148
150
|
return /* @__PURE__ */ jsx(IconRoot, {
|
|
149
|
-
className: classes.root,
|
|
151
|
+
className: clsx(classes.root, className),
|
|
150
152
|
...process.env.NODE_ENV !== "production" ? {
|
|
151
153
|
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
152
154
|
} : {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useBase, useModuleSkeleton, BaseProvider } from "@m4l/core";
|
|
2
2
|
import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useMemo } from "react";
|
|
3
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
3
|
+
import { T as TEST_PROP_ID } from "../../vendor.d194839d.js";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -277,8 +277,8 @@ function Image(props) {
|
|
|
277
277
|
} : {},
|
|
278
278
|
...width && height ? {
|
|
279
279
|
style: {
|
|
280
|
-
width,
|
|
281
|
-
height
|
|
280
|
+
minWidth: width,
|
|
281
|
+
minHeight: height
|
|
282
282
|
}
|
|
283
283
|
} : {
|
|
284
284
|
sx: {
|