@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
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.435df215.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
9
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
|
-
import "../mui_extended/Button/index.
|
|
14
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
15
15
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
16
16
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
-
import "../mui_extended/MenuActions/index.
|
|
19
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
20
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
21
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
22
|
-
import "../mui_extended/Tab/index.
|
|
23
|
-
import "../mui_extended/Pager/index.
|
|
22
|
+
import "../mui_extended/Tab/index.8592b93c.js";
|
|
23
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
24
24
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
25
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
26
|
const HelperTextRoot = styled("div")(({
|
|
@@ -3,7 +3,7 @@ import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
6
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.387a2fa1.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const IconRoot = styled("div")(({
|
|
@@ -3,26 +3,26 @@ import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem }
|
|
|
3
3
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "../Icon/index.
|
|
6
|
+
import "../Icon/index.435df215.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import "../mui_extended/IconButton/index.
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
11
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
12
12
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
13
13
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
14
|
import "react-router-dom";
|
|
15
15
|
import "@mui/material/Button";
|
|
16
|
-
import { I as ImageButton } from "../mui_extended/Button/index.
|
|
16
|
+
import { I as ImageButton } from "../mui_extended/Button/index.f79eb74e.js";
|
|
17
17
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
18
18
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
19
19
|
import "../mui_extended/Badge/index.8c2b8b66.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 LanguagePopoverRoot = styled("div")(({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
2
|
import { c as cjs } from "../../react-draggable.7abb5d0a.js";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.caaeaddd.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.9a9c79a4.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
9
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
9
|
+
import { m as modalUtilityClasses } from "../modal/index.8d846036.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
11
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.018d4c62.js";
|
|
12
12
|
const DragabblePaperComponent = (props) => {
|
|
13
13
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
14
14
|
handle: ".m4l_draggable_handle",
|
|
@@ -2,26 +2,26 @@ import { NavLink as NavLink$1 } from "react-router-dom";
|
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@m4l/core";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.435df215.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/IconButton/index.
|
|
9
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
12
12
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
13
13
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
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 { unstable_composeClasses } from "@mui/base";
|
|
27
27
|
const componentName = "M4LNavLink";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.c348b106.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
9
|
+
import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
11
|
-
import { I as Icon } from "../Icon/index.
|
|
11
|
+
import { u as useModal } from "../../hooks/useModal/index.caaeaddd.js";
|
|
12
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
12
13
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
14
|
import "../Resizeable/index.9a9c79a4.js";
|
|
14
|
-
import "../modal/index.
|
|
15
|
-
import "../CommonActions/components/Actions/index.
|
|
15
|
+
import "../modal/index.8d846036.js";
|
|
16
|
+
import "../CommonActions/components/Actions/index.018d4c62.js";
|
|
16
17
|
import "@mui/material/Button";
|
|
17
|
-
import "../mui_extended/Button/index.
|
|
18
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
18
19
|
import "clsx";
|
|
19
20
|
import "react-hook-form";
|
|
20
|
-
import "../mui_extended/IconButton/index.
|
|
21
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
21
22
|
import "zustand";
|
|
22
|
-
import "../areas/contexts/AreasContext/index.
|
|
23
|
-
import "../areas/components/AreasAdmin/index.
|
|
23
|
+
import "../areas/contexts/AreasContext/index.060aa7b0.js";
|
|
24
|
+
import "../areas/components/AreasAdmin/index.f0fd024a.js";
|
|
24
25
|
import "zustand/shallow";
|
|
25
|
-
import "../
|
|
26
|
-
import "../mui_extended/Accordion/index.854f4c90.js";
|
|
26
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
27
27
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
28
28
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
29
29
|
import "react-router-dom";
|
|
@@ -31,27 +31,26 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
31
31
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
32
32
|
import "../Image/index.c18ebf5a.js";
|
|
33
33
|
import "@mui/lab";
|
|
34
|
-
import "../mui_extended/MenuActions/index.
|
|
34
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
35
35
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
36
36
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
37
|
-
import "../mui_extended/Tab/index.
|
|
38
|
-
import "../mui_extended/Pager/index.
|
|
37
|
+
import "../mui_extended/Tab/index.8592b93c.js";
|
|
38
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
39
39
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
40
|
-
import "../areas/components/AreasViewer/index.
|
|
40
|
+
import "../areas/components/AreasViewer/index.6c28b2c0.js";
|
|
41
41
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
42
42
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
43
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
44
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
45
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
44
|
+
import { W as WindowBase } from "../modal/WindowBase.f568bcac.js";
|
|
45
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.20ee6e21.js";
|
|
46
46
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
47
|
-
const Container
|
|
47
|
+
const Container = styled("div")(() => ({
|
|
48
48
|
height: "100%",
|
|
49
49
|
width: "100%",
|
|
50
50
|
display: "flex",
|
|
51
51
|
flexDirection: "column",
|
|
52
52
|
justifyContent: "flex-start",
|
|
53
|
-
gap: "4px"
|
|
54
|
-
padding: "4px"
|
|
53
|
+
gap: "4px"
|
|
55
54
|
}));
|
|
56
55
|
const Actions = styled("div")(({
|
|
57
56
|
theme
|
|
@@ -76,20 +75,6 @@ const GridWrapper = styled("div")(() => ({
|
|
|
76
75
|
flexGrow: "1",
|
|
77
76
|
width: "100%"
|
|
78
77
|
}));
|
|
79
|
-
const Container = styled("div")(({ theme }) => ({
|
|
80
|
-
color: theme.palette.text.primary,
|
|
81
|
-
display: "flex",
|
|
82
|
-
flexDirection: "column",
|
|
83
|
-
height: "100%",
|
|
84
|
-
width: "100%"
|
|
85
|
-
}));
|
|
86
|
-
styled("span")(({ theme }) => ({
|
|
87
|
-
color: theme.palette.text.primary,
|
|
88
|
-
display: "flex",
|
|
89
|
-
flexDirection: "column",
|
|
90
|
-
height: "100%",
|
|
91
|
-
width: "100%"
|
|
92
|
-
}));
|
|
93
78
|
function DetailDialog(props) {
|
|
94
79
|
const {
|
|
95
80
|
log_id
|
|
@@ -117,8 +102,7 @@ function DetailDialog(props) {
|
|
|
117
102
|
};
|
|
118
103
|
}, []);
|
|
119
104
|
const modeTheme = hostThemeOptions.palette?.mode;
|
|
120
|
-
return /* @__PURE__ */ jsx(
|
|
121
|
-
id: "objectLogsDetail",
|
|
105
|
+
return /* @__PURE__ */ jsx(ScrollBar, {
|
|
122
106
|
children: /* @__PURE__ */ jsx(ReactJson, {
|
|
123
107
|
theme: modeTheme === "dark" ? "summerfruit" : "rjv-default",
|
|
124
108
|
name: null,
|
|
@@ -146,11 +130,11 @@ function DetailFormatter(props) {
|
|
|
146
130
|
const isDesktop = useResponsiveDesktop();
|
|
147
131
|
const onClickDetail = () => {
|
|
148
132
|
openModal({
|
|
149
|
-
window: /* @__PURE__ */
|
|
133
|
+
window: /* @__PURE__ */ jsx(WindowBase, {
|
|
150
134
|
title: getLabel("data_grid.settings_title"),
|
|
151
|
-
children:
|
|
135
|
+
children: /* @__PURE__ */ jsx(DetailDialog, {
|
|
152
136
|
log_id
|
|
153
|
-
})
|
|
137
|
+
})
|
|
154
138
|
}),
|
|
155
139
|
fullScreen: !isDesktop ? true : false
|
|
156
140
|
});
|
|
@@ -248,7 +232,7 @@ function ObjectLogs(props) {
|
|
|
248
232
|
}));
|
|
249
233
|
Refresh();
|
|
250
234
|
};
|
|
251
|
-
return /* @__PURE__ */ jsxs(Container
|
|
235
|
+
return /* @__PURE__ */ jsxs(Container, {
|
|
252
236
|
...process.env.NODE_ENV !== "production" ? {
|
|
253
237
|
[TEST_PROP_ID]: `m4ldatagrid-${dataTestId}`
|
|
254
238
|
} : {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const PaperFormRoot = styled("div")(({
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.018d4c62.js";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.
|
|
8
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.9fb8e0a2.js";
|
|
12
12
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
13
|
import "../Resizeable/index.9a9c79a4.js";
|
|
14
14
|
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.
|
|
15
|
+
import "../modal/index.8d846036.js";
|
|
16
16
|
import "../Image/index.c18ebf5a.js";
|
|
17
|
-
import "../mui_extended/IconButton/index.
|
|
18
|
-
import "../mui_extended/Accordion/index.
|
|
17
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
18
|
+
import "../mui_extended/Accordion/index.1d182a0e.js";
|
|
19
19
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
20
20
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
21
21
|
import "react-router-dom";
|
|
22
22
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
23
23
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
24
24
|
import "@mui/lab";
|
|
25
|
-
import "../mui_extended/MenuActions/index.
|
|
25
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
26
26
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
27
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
28
|
-
import "../mui_extended/Tab/index.
|
|
29
|
-
import "../mui_extended/Pager/index.
|
|
28
|
+
import "../mui_extended/Tab/index.8592b93c.js";
|
|
29
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
30
30
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
31
31
|
import "zustand";
|
|
32
|
-
import "../areas/contexts/AreasContext/index.
|
|
33
|
-
import "../areas/components/AreasAdmin/index.
|
|
32
|
+
import "../areas/contexts/AreasContext/index.060aa7b0.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.f0fd024a.js";
|
|
34
34
|
import "zustand/shallow";
|
|
35
|
-
import "../ScrollBar/index.
|
|
36
|
-
import "../areas/components/AreasViewer/index.
|
|
35
|
+
import "../ScrollBar/index.65bb2930.js";
|
|
36
|
+
import "../areas/components/AreasViewer/index.6c28b2c0.js";
|
|
37
37
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
38
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
39
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
4
|
+
import { g as getNameDataTestId } from "../../vendor.15beabcd.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LScrollBar";
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { Box } from "@mui/material";
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass, Box } from "@mui/material";
|
|
2
2
|
import { styled, alpha } from "@mui/material/styles";
|
|
3
3
|
import SimpleBarReact from "simplebar-react";
|
|
4
4
|
import simpleBarCss from "simplebar/dist/simplebar.min.css?used";
|
|
5
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
const RootStyle = styled("div")(({
|
|
8
|
+
theme
|
|
9
|
+
}) => ({
|
|
10
|
+
flexGrow: "1",
|
|
11
|
+
height: "100%",
|
|
12
|
+
overflow: "hidden",
|
|
13
|
+
...theme.components?.M4LScrollBar?.styleOverrides
|
|
14
|
+
}));
|
|
6
15
|
const SimpleBarStyle = styled(SimpleBarReact)`
|
|
7
16
|
/* flex-grow: 1;
|
|
8
17
|
height: 100%;
|
|
@@ -11,9 +20,7 @@ const SimpleBarStyle = styled(SimpleBarReact)`
|
|
|
11
20
|
height: 100%;
|
|
12
21
|
|
|
13
22
|
.simplebar-scrollbar {
|
|
14
|
-
|
|
15
|
-
background-color: ${(props) => alpha(props.theme.palette.grey[600], 0.48)};
|
|
16
|
-
}
|
|
23
|
+
|
|
17
24
|
.simplebar-visible:before {
|
|
18
25
|
opacity: 1;
|
|
19
26
|
}
|
|
@@ -41,11 +48,6 @@ const SimpleBarStyle = styled(SimpleBarReact)`
|
|
|
41
48
|
}
|
|
42
49
|
}
|
|
43
50
|
`;
|
|
44
|
-
const RootStyle = styled("div")(() => ({
|
|
45
|
-
flexGrow: 1,
|
|
46
|
-
height: "100%",
|
|
47
|
-
overflow: "hidden"
|
|
48
|
-
}));
|
|
49
51
|
styled(SimpleBarReact)(({
|
|
50
52
|
theme
|
|
51
53
|
}) => ({
|
|
@@ -74,6 +76,22 @@ styled(SimpleBarReact)(({
|
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
}));
|
|
79
|
+
const componentName = "M4LScrollBar";
|
|
80
|
+
generateUtilityClasses(componentName, [
|
|
81
|
+
"root"
|
|
82
|
+
]);
|
|
83
|
+
function getScrollBarUtilityClass(slot) {
|
|
84
|
+
return generateUtilityClass(componentName, slot);
|
|
85
|
+
}
|
|
86
|
+
const useScrollBarUtilityClasses = () => {
|
|
87
|
+
const slots = {
|
|
88
|
+
root: ["root"]
|
|
89
|
+
};
|
|
90
|
+
const composedClasses = unstable_composeClasses(slots, getScrollBarUtilityClass, {});
|
|
91
|
+
return {
|
|
92
|
+
...composedClasses
|
|
93
|
+
};
|
|
94
|
+
};
|
|
77
95
|
function ScrollBar({
|
|
78
96
|
children
|
|
79
97
|
}) {
|
|
@@ -88,8 +106,10 @@ function ScrollBar({
|
|
|
88
106
|
children
|
|
89
107
|
});
|
|
90
108
|
}
|
|
109
|
+
const classes = useScrollBarUtilityClasses();
|
|
91
110
|
return /* @__PURE__ */ jsx(RootStyle, {
|
|
92
111
|
id: "RootStyle",
|
|
112
|
+
className: classes.root,
|
|
93
113
|
children: /* @__PURE__ */ jsx(SimpleBarStyle, {
|
|
94
114
|
autoHide: false,
|
|
95
115
|
children
|
|
@@ -3,15 +3,15 @@ import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
|
3
3
|
import { createContext, useContext, useState, useEffect } from "react";
|
|
4
4
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
5
5
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
7
7
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { styled as styled$1, generateUtilityClasses, ListItemText, ListItemButton, Collapse, useTheme, Skeleton, Drawer as Drawer$1 } from "@mui/material";
|
|
9
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
9
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.435df215.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
import { useLocation } from "react-router-dom";
|
|
13
13
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
14
|
-
import { S as ScrollBar } from "../ScrollBar/index.
|
|
14
|
+
import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
|
|
15
15
|
import { styled, alpha } from "@mui/material/styles";
|
|
16
16
|
import { unstable_composeClasses } from "@mui/base";
|
|
17
17
|
import { g as getComponentUtilityClass } from "../../utils/index.c43a95f4.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.d88a3f2e.js";
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.e4e54402.js";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useState, useRef, useMemo } from "react";
|
|
5
5
|
import * as Yup from "yup";
|
|
6
6
|
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
7
|
-
import "../../../mui_extended/Accordion/index.
|
|
8
|
-
import { I as Icon } from "../../../Icon/index.
|
|
7
|
+
import "../../../mui_extended/Accordion/index.1d182a0e.js";
|
|
8
|
+
import { I as Icon } from "../../../Icon/index.435df215.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { T as Typography } from "../../../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 { B as Button } from "../../../mui_extended/Button/index.
|
|
15
|
+
import { B as Button } from "../../../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 { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
20
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.c53370f6.js";
|
|
21
21
|
import { P as Popover } from "../../../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 { useResponsiveDesktop } from "@m4l/graphics";
|
|
26
26
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -29,39 +29,39 @@ import { g as getComponentUtilityClass } from "../../../../utils/index.c43a95f4.
|
|
|
29
29
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
30
30
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
31
31
|
import "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
32
|
-
import "../../../../contexts/ModalContext/index.
|
|
33
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
32
|
+
import "../../../../contexts/ModalContext/index.9fb8e0a2.js";
|
|
33
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.ea2758ed.js";
|
|
34
34
|
import "react-hook-form";
|
|
35
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
36
|
-
import "../../../HelperText/index.
|
|
35
|
+
import "../../../hook-form/RHFAutocomplete/index.f4eb65ce.js";
|
|
36
|
+
import "../../../HelperText/index.d00b45e5.js";
|
|
37
37
|
import "lodash/debounce";
|
|
38
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
39
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
38
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.8ecce8fd.js";
|
|
39
|
+
import "../../../hook-form/RHFCheckbox/index.45b6ee0b.js";
|
|
40
40
|
import "@mui/x-date-pickers";
|
|
41
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
42
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
43
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
44
|
-
import "../../../Period/index.
|
|
45
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
46
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
47
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
41
|
+
import "../../../hook-form/RHFDateTime/index.802fb228.js";
|
|
42
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.75129118.js";
|
|
43
|
+
import "../../../hook-form/RHFPeriod/index.6395b24a.js";
|
|
44
|
+
import "../../../Period/index.83b88249.js";
|
|
45
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.018d4c62.js";
|
|
46
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.e66f9b5f.js";
|
|
47
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.33892c01.js";
|
|
48
48
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
49
49
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
50
|
-
import "../../../modal/index.
|
|
50
|
+
import "../../../modal/index.8d846036.js";
|
|
51
51
|
import { shallow } from "zustand/shallow";
|
|
52
52
|
import { styled } from "@mui/material/styles";
|
|
53
|
-
import { S as ScrollBar } from "../../../ScrollBar/index.
|
|
53
|
+
import { S as ScrollBar } from "../../../ScrollBar/index.65bb2930.js";
|
|
54
54
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.afb7e3d9.js";
|
|
55
55
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
56
|
-
import "../AreasViewer/index.
|
|
56
|
+
import "../AreasViewer/index.6c28b2c0.js";
|
|
57
57
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
58
|
-
import "../../contexts/AreasContext/index.
|
|
58
|
+
import "../../contexts/AreasContext/index.060aa7b0.js";
|
|
59
59
|
import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
60
60
|
import "zustand";
|
|
61
61
|
import "lodash/isString";
|
|
62
62
|
import "react-dropzone";
|
|
63
|
-
import "../../../hook-form/RHFUpload/index.
|
|
64
|
-
import { u as useOnClickOutside } from "../../index.
|
|
63
|
+
import "../../../hook-form/RHFUpload/index.fead1c63.js";
|
|
64
|
+
import { u as useOnClickOutside } from "../../index.e9f2274c.js";
|
|
65
65
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
66
66
|
"root",
|
|
67
67
|
"rootContent",
|
|
@@ -322,7 +322,7 @@ const AreaChip = (props) => {
|
|
|
322
322
|
validationSchema,
|
|
323
323
|
children: [/* @__PURE__ */ jsxs(EditAreaHeader, {
|
|
324
324
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
325
|
-
children: getLabel(DICCTIONARY.label_edit_area)
|
|
325
|
+
children: getLabel(getAreasDictionary(DICCTIONARY.label_edit_area))
|
|
326
326
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
327
327
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.CLOSE}`,
|
|
328
328
|
size: "small",
|
|
@@ -514,7 +514,7 @@ const ChipMobile = (props) => {
|
|
|
514
514
|
validationSchema,
|
|
515
515
|
children: [/* @__PURE__ */ jsxs(EditAreaHeader, {
|
|
516
516
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
517
|
-
children: getLabel(DICCTIONARY.label_edit_area)
|
|
517
|
+
children: getLabel(getAreasDictionary(DICCTIONARY.label_edit_area))
|
|
518
518
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
519
519
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.CLOSE}`,
|
|
520
520
|
size: "small",
|