@m4l/components 0.1.64 → 0.1.66
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 +8 -0
- package/components/CommonActions/components/ActionCancel/{index.2eb2c1e1.js → index.4d0333c0.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.2864d574.js → index.298e0109.js} +11 -18
- package/components/CommonActions/components/ActionFormIntro/{index.e7f83ddd.js → index.b45922ff.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.0d138cb3.js → index.138101aa.js} +2 -2
- package/components/CommonActions/components/Actions/{index.433cd345.js → index.77574633.js} +11 -18
- package/components/DataGrid/{index.42521a55.js → index.ef23d0a9.js} +28 -35
- package/components/DynamicFilter/{index.442bda79.js → index.04ed3d58.js} +34 -46
- package/components/DynamicFilter/index.d.ts +1 -1
- package/components/HelperText/{index.3c07ca2a.js → index.c35dcb93.js} +10 -10
- package/components/Icon/{index.0f9b360e.js → index.fbeeacc8.js} +2 -2
- package/components/Icon/tests/utils.d.ts +1 -1
- package/components/Image/{index.1a9c0327.js → index.77396f79.js} +1 -1
- package/components/LanguagePopover/{index.68de7176.js → index.c0fc94c7.js} +11 -11
- package/components/ModalDialog/{index.3efe049b.js → index.e600b43a.js} +5 -5
- package/components/NavLink/{index.ae9f1cc9.js → index.3f4e2417.js} +11 -11
- package/components/NoItemSelected/{index.7cfd7613.js → index.609c3c20.js} +1 -1
- package/components/ObjectLogs/{index.b50726fb.js → index.7f93ba51.js} +14 -21
- package/components/PaperForm/{index.44bf4469.js → index.fb4fa784.js} +1 -1
- package/components/Period/{index.99feb99e.js → index.0c5bf66f.js} +12 -19
- package/components/Resizeable/{index.b5d42efb.js → index.4545dd6a.js} +3 -3
- package/components/SideBar/{index.011880b6.js → index.7d970041.js} +7 -7
- package/components/areas/components/AreasAdmin/classes/index.d.ts +5 -0
- package/components/areas/components/AreasAdmin/classes/types.d.ts +11 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/index.d.ts +5 -0
- package/components/areas/components/AreasViewer/classes/types.d.ts +19 -0
- package/components/areas/components/AreasViewer/index.d.ts +7 -0
- package/components/areas/{contexts → components/AreasViewer/subcomponents/Area/contexts}/AreaContext/helper.d.ts +2 -2
- package/components/areas/{contexts → components/AreasViewer/subcomponents/Area/contexts}/AreaContext/index.d.ts +3 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/contexts/AreaContext/store.d.ts +11 -0
- package/components/areas/{contexts/AreaContext/store.d.ts → components/AreasViewer/subcomponents/Area/contexts/AreaContext/types.d.ts} +29 -16
- package/components/areas/components/AreasViewer/subcomponents/Area/index.d.ts +12 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/GridLayout/index.d.ts +5 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +6 -0
- package/components/areas/{contexts → components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts}/WindowContext/store.d.ts +8 -3
- package/components/areas/{contexts → components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts}/WindowContext/types.d.ts +1 -1
- package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/index.d.ts +1 -1
- package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/index.d.ts +1 -1
- package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/Component/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/Header/helper.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/Header/subcomponents/MainActions/index.d.ts +1 -0
- package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/MicroFrontend/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/types.d.ts +8 -0
- package/components/areas/components/{WindowModal → AreasViewer/subcomponents/Area/subcomponents/WindowModal}/index.d.ts +1 -1
- package/components/areas/components/{WindowPopUp → AreasViewer/subcomponents/Area/subcomponents/WindowPopUp}/index.d.ts +1 -1
- package/components/areas/components/{Area → AreasViewer/subcomponents/Area}/types.d.ts +6 -11
- package/components/areas/components/index.d.ts +3 -4
- package/components/areas/constants.d.ts +3 -0
- package/components/areas/contexts/AreasContext/index.d.ts +10 -4
- package/components/areas/contexts/AreasContext/store.d.ts +8 -29
- package/components/areas/contexts/AreasContext/types.d.ts +119 -0
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
- package/components/areas/dictionary.d.ts +9 -14
- package/components/areas/hooks/useArea/index.d.ts +1 -1
- package/components/areas/hooks/useAreas/index.d.ts +1 -1
- package/components/areas/hooks/useWindow/index.d.ts +1 -1
- package/components/areas/icons.d.ts +8 -0
- package/components/areas/index.d.ts +1 -0
- package/components/areas/index.d7519516.js +2416 -0
- package/components/formatters/BooleanFormatter/{index.cd00c8e1.js → index.0edacc9b.js} +1 -1
- package/components/formatters/{index.deae4701.js → index.879170b2.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.083e23c1.js → index.5f27e28c.js} +13 -12
- package/components/hook-form/RHFAutocomplete/test/constants.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/test/utils.d.ts +1 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.ba751be9.js → index.35e17cd6.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.c19393b1.js → index.4f134f09.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.c0a80aeb.js → index.dcaa0c87.js} +2 -2
- package/components/hook-form/RHFTextField/{index.97485ff2.js → index.fc90a570.js} +13 -13
- package/components/hook-form/RHFUpload/{index.798eb11d.js → index.654ad316.js} +1 -1
- package/components/index.d.ts +1 -3
- package/components/modal/{WindowBase.59f50553.js → WindowBase.230a498f.js} +3 -3
- package/components/modal/{WindowConfirm.c1339cf8.js → WindowConfirm.575b4d41.js} +14 -21
- package/components/modal/index.237881ea.js +23 -0
- package/components/mui_extended/Accordion/{index.b7487e37.js → index.0b15f939.js} +2 -2
- package/components/mui_extended/Button/{index.d9e0ae2e.js → index.b7b70e5f.js} +3 -3
- package/components/mui_extended/IconButton/{index.be9c2ce5.js → index.a5072cd3.js} +15 -11
- package/components/mui_extended/IconButton/types.d.ts +1 -1
- package/components/mui_extended/MenuActions/icons.d.ts +3 -0
- package/components/mui_extended/MenuActions/{index.ec654122.js → index.3a275abb.js} +21 -20
- package/components/mui_extended/MenuActions/types.d.ts +5 -6
- package/components/mui_extended/Pager/{index.9e123670.js → index.5a69ab10.js} +5 -5
- package/components/mui_extended/Popover/{index.260aae81.js → index.e271e4f0.js} +1 -0
- package/components/mui_extended/Typography/{index.41b60a6b.js → index.eab3d85c.js} +1 -1
- package/components/mui_extended/index.35f74599.js +19 -0
- package/contexts/ModalContext/{index.ae8041f3.js → index.de0a3457.js} +1 -1
- package/hooks/useModal/{index.5c159ed2.js → index.e103db09.js} +1 -1
- package/index.js +118 -132
- package/package.json +2 -3
- package/{react-draggable.1aa81436.js → react-draggable.4d08d714.js} +1 -1
- package/{react-resizable.e86cb01e.js → react-resizable.23b980cb.js} +5 -4
- package/utils/{index.e199226a.js → index.c2e62d8f.js} +32 -32
- package/{vendor.a15d263e.js → vendor.be57c149.js} +43 -52
- package/components/areas/components/Area/index.d.ts +0 -5
- package/components/areas/components/AreasAdmin/index.51e28f63.js +0 -120
- package/components/areas/components/AreasContainer/index.1e5e6e91.js +0 -37
- package/components/areas/components/AreasContainer/index.d.ts +0 -1
- package/components/areas/components/GridLayout/index.5bf8d5e4.js +0 -103
- package/components/areas/components/GridLayout/index.d.ts +0 -1
- package/components/areas/components/Window/icons.d.ts +0 -3
- package/components/areas/components/Window/index.416a874f.js +0 -855
- package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/types.d.ts +0 -8
- package/components/areas/components/WindowPopUp/index.f053fca7.js +0 -118
- package/components/areas/components/WindowsPanel/index.d.ts +0 -1
- package/components/areas/components/index.eace295a.js +0 -77
- package/components/areas/contexts/AreaContext/index.7890e58d.js +0 -509
- package/components/areas/contexts/AreaContext/types.d.ts +0 -20
- package/components/areas/contexts/AreasContext/index.0792a8d1.js +0 -197
- package/components/areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js +0 -43
- package/components/areas/contexts/index.2a915acf.js +0 -198
- package/components/areas/hooks/index.f4d78492.js +0 -27
- package/components/areas/hooks/useArea/index.d6263051.js +0 -20
- package/components/areas/hooks/useDynamicMFParameters/index.041a666b.js +0 -14
- package/components/areas/index.8fca0f8f.js +0 -20
- package/components/modal/index.7a84f64d.js +0 -30
- package/components/mui_extended/index.459cbd6c.js +0 -19
- /package/components/areas/components/{Area → AreasViewer/subcomponents/Area}/subcomponents/InnerForHooks/index.d.ts +0 -0
- /package/components/areas/{contexts → components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts}/WindowContext/helper.d.ts +0 -0
- /package/components/areas/{contexts → components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts}/WindowContext/index.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/Header/index.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/Header/skeleton.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/index.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/index.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/index.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/types.d.ts +0 -0
- /package/components/areas/components/{Window → AreasViewer/subcomponents/Area/subcomponents/Window}/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/types.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.fbeeacc8.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -2,10 +2,10 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.fbeeacc8.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "@m4l/graphics";
|
|
8
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.
|
|
8
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.0edacc9b.js";
|
|
9
9
|
function getFormatConcatenated(values, separator) {
|
|
10
10
|
const returnSymbol = "";
|
|
11
11
|
if (values === null)
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { styled as styled$1, Skeleton, generateUtilityClasses, generateUtilityClass, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../../Image/index.
|
|
4
|
+
import { I as Image } from "../../Image/index.77396f79.js";
|
|
5
5
|
import { useMemo, useState, useEffect } from "react";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../../vendor.be57c149.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
8
|
+
import { T as Typography } from "../../mui_extended/Typography/index.eab3d85c.js";
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.c35dcb93.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../Icon/index.
|
|
14
|
-
import "../../mui_extended/IconButton/index.
|
|
15
|
-
import "../../mui_extended/Accordion/index.
|
|
13
|
+
import "../../Icon/index.fbeeacc8.js";
|
|
14
|
+
import "../../mui_extended/IconButton/index.a5072cd3.js";
|
|
15
|
+
import "../../mui_extended/Accordion/index.0b15f939.js";
|
|
16
16
|
import "../../mui_extended/Avatar/index.fe06afd7.js";
|
|
17
17
|
import "react-router-dom";
|
|
18
18
|
import "@mui/material/Button";
|
|
19
|
-
import "../../mui_extended/Button/index.
|
|
19
|
+
import "../../mui_extended/Button/index.b7b70e5f.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
-
import "../../mui_extended/Popover/index.
|
|
22
|
-
import "../../mui_extended/MenuActions/index.
|
|
23
|
-
import "../../mui_extended/Pager/index.
|
|
21
|
+
import "../../mui_extended/Popover/index.e271e4f0.js";
|
|
22
|
+
import "../../mui_extended/MenuActions/index.3a275abb.js";
|
|
23
|
+
import "../../mui_extended/Pager/index.5a69ab10.js";
|
|
24
24
|
import "../../mui_extended/Tab/index.e0653a0a.js";
|
|
25
25
|
const AutocompleteRoot = styled("div")(({
|
|
26
26
|
theme
|
|
@@ -35,6 +35,7 @@ const WrapperOption = styled("li")(({
|
|
|
35
35
|
}
|
|
36
36
|
}));
|
|
37
37
|
const RHFAUTOCOMPLETE_PREFIX = "RHFAutocomplete";
|
|
38
|
+
const RHFTAUTOCOMPLET_ROOT_TEST_ID = "RHFAutocomplete";
|
|
38
39
|
const getNameDataTestId = (KEY) => {
|
|
39
40
|
return `${RHFAUTOCOMPLETE_PREFIX}-${KEY}`;
|
|
40
41
|
};
|
|
@@ -265,7 +266,7 @@ function RHFAutocomplete(props) {
|
|
|
265
266
|
return /* @__PURE__ */ jsx(AutocompleteRoot, {
|
|
266
267
|
className: classes.root,
|
|
267
268
|
...process.env.NODE_ENV !== "production" ? {
|
|
268
|
-
[TEST_PROP_ID]:
|
|
269
|
+
[TEST_PROP_ID]: `${RHFTAUTOCOMPLET_ROOT_TEST_ID}_${nameRHF}`
|
|
269
270
|
} : {},
|
|
270
271
|
children: !isSkeleton ? /* @__PURE__ */ jsx(Controller, {
|
|
271
272
|
name: nameRHF,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RHFAutocompleteClassesKey } from
|
|
1
|
+
import { RHFAutocompleteClassesKey } from '../classes/types';
|
|
2
2
|
export declare const getNameDataTestId: (KEY: RHFAutocompleteClassesKey) => string;
|
|
@@ -4,8 +4,8 @@ import debounce from "lodash/debounce";
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../vendor.be57c149.js";
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.5f27e28c.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useFormContext, Controller } from "react-hook-form";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, Checkbox } from "@mui/material";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../../vendor.be57c149.js";
|
|
5
5
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
9
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
8
|
+
import { H as HelperText } from "../../HelperText/index.c35dcb93.js";
|
|
9
|
+
import { T as Typography } from "../../mui_extended/Typography/index.eab3d85c.js";
|
|
10
10
|
const WrapperSkeletonCheckBox = styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
12
12
|
justifyContent: "center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
4
|
-
import { P as Period } from "../../Period/index.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.c35dcb93.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.0c5bf66f.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Wrapper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.a5072cd3.js";
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../../vendor.be57c149.js";
|
|
6
6
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import "../../Icon/index.
|
|
7
|
+
import "../../Icon/index.fbeeacc8.js";
|
|
8
|
+
import "clsx";
|
|
8
9
|
import { useFormContext, Controller } from "react-hook-form";
|
|
9
10
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
10
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
11
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
13
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
12
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.c2e62d8f.js";
|
|
13
|
+
import { T as Typography } from "../../mui_extended/Typography/index.eab3d85c.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.c35dcb93.js";
|
|
14
15
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
15
16
|
display: "flex",
|
|
16
17
|
flexDirection: "column",
|
|
@@ -182,7 +183,7 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
182
183
|
className: classes.root,
|
|
183
184
|
role: "textbox",
|
|
184
185
|
...process.env.NODE_ENV !== "production" ? {
|
|
185
|
-
[TEST_PROP_ID]:
|
|
186
|
+
[TEST_PROP_ID]: `${RHFTEXTFIELD_ROOT_TEST_ID}_${nameRHF}`
|
|
186
187
|
} : {},
|
|
187
188
|
children: !isSkeleton ? /* @__PURE__ */ jsx(Controller, {
|
|
188
189
|
name: nameRHF,
|
|
@@ -226,17 +227,16 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
226
227
|
onBlur: handleBlur,
|
|
227
228
|
value: value || "",
|
|
228
229
|
name,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
inputProps: {
|
|
231
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
232
|
+
[TEST_PROP_ID]: `${RHFTEXTFIELD_INPUT_TEST_ID}_${name}`
|
|
233
|
+
} : {}
|
|
234
|
+
},
|
|
232
235
|
fullWidth: true,
|
|
233
236
|
error: !!error,
|
|
234
237
|
type,
|
|
235
238
|
...startIcon || endIcon ? {
|
|
236
239
|
InputProps: {
|
|
237
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
238
|
-
[TEST_PROP_ID]: `${RHFTEXTFIELD_INPUT_TEST_ID}_${name}`
|
|
239
|
-
} : {},
|
|
240
240
|
...{
|
|
241
241
|
...startIcon ? {
|
|
242
242
|
startAdornment: /* @__PURE__ */ jsx(InputAdornment, {
|
|
@@ -4,7 +4,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
6
|
import { styled, alpha } from "@mui/material/styles";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.77396f79.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
10
10
|
const WrapperUploadImage = styled("div")(({
|
package/components/index.d.ts
CHANGED
|
@@ -12,10 +12,8 @@ export type { RowKey } from './DataGrid/types';
|
|
|
12
12
|
export { getDataGridComponentsDictionary as getGridComponentsDictionary } from './DataGrid/dictionary';
|
|
13
13
|
export { TextEditor, NumberEditor } from './DataGrid/subcomponents/editors/TextEditor';
|
|
14
14
|
export { getDataGridRowsFromSet } from './DataGrid/utils/getDataGridRowsFromSet';
|
|
15
|
-
export * from './DynamicFilter';
|
|
16
|
-
export * from './DynamicFilter/dictionary';
|
|
15
|
+
export * from './DynamicFilter/index';
|
|
17
16
|
export * from './HelperText';
|
|
18
|
-
export type { RawFilterFieldApply, } from './DynamicFilter/types';
|
|
19
17
|
export * from './CommonActions/';
|
|
20
18
|
export * from './CommonActions/dictionary';
|
|
21
19
|
export * from './DraggableWindow';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.e103db09.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { a as getThemeVariantColor } from "../../utils/index.
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.c2e62d8f.js";
|
|
6
6
|
import { IconButton } from "@mui/material";
|
|
7
|
-
import { I as Icon } from "../Icon/index.
|
|
7
|
+
import { I as Icon } from "../Icon/index.fbeeacc8.js";
|
|
8
8
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
9
9
|
const WrapperWindowBase = styled("div")(({ theme }) => ({
|
|
10
10
|
display: "flex",
|
|
@@ -1,36 +1,29 @@
|
|
|
1
1
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
5
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
6
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.e103db09.js";
|
|
4
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.77574633.js";
|
|
5
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.4d0333c0.js";
|
|
6
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.138101aa.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import { Typography } from "@mui/material";
|
|
9
9
|
import "@mui/material/Button";
|
|
10
|
-
import "../mui_extended/Button/index.
|
|
10
|
+
import "../mui_extended/Button/index.b7b70e5f.js";
|
|
11
11
|
import "clsx";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import "../../react-draggable.
|
|
14
|
-
import "../ModalDialog/index.
|
|
15
|
-
import "../Resizeable/index.
|
|
13
|
+
import "../../react-draggable.4d08d714.js";
|
|
14
|
+
import "../ModalDialog/index.e600b43a.js";
|
|
15
|
+
import "../Resizeable/index.4545dd6a.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
17
|
import { styled } from "@mui/material/styles";
|
|
18
|
-
import { I as Icon } from "../Icon/index.
|
|
19
|
-
import { b as getVariantColor } from "../../utils/index.
|
|
20
|
-
import { W as WindowBase } from "./WindowBase.
|
|
21
|
-
import "../
|
|
22
|
-
import "../areas/components/AreasAdmin/index.51e28f63.js";
|
|
23
|
-
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
18
|
+
import { I as Icon } from "../Icon/index.fbeeacc8.js";
|
|
19
|
+
import { b as getVariantColor } from "../../utils/index.c2e62d8f.js";
|
|
20
|
+
import { W as WindowBase } from "./WindowBase.230a498f.js";
|
|
21
|
+
import "../mui_extended/IconButton/index.a5072cd3.js";
|
|
24
22
|
import "zustand";
|
|
25
|
-
import "../areas/
|
|
23
|
+
import "../areas/index.d7519516.js";
|
|
26
24
|
import "zustand/shallow";
|
|
27
|
-
import "../areas/components/AreasContainer/index.1e5e6e91.js";
|
|
28
|
-
import "react-grid-layout/css/styles.css";
|
|
29
|
-
import "../../react-resizable.e86cb01e.js";
|
|
30
|
-
import "../areas/contexts/index.2a915acf.js";
|
|
31
|
-
import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
32
25
|
import "@mui/lab";
|
|
33
|
-
import "../mui_extended/Typography/index.
|
|
26
|
+
import "../mui_extended/Typography/index.eab3d85c.js";
|
|
34
27
|
const WrapperMessageIlustration = styled("div")(() => ({
|
|
35
28
|
display: "flex",
|
|
36
29
|
flexDirection: "column",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "../../react-draggable.4d08d714.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../contexts/ModalContext/index.de0a3457.js";
|
|
5
|
+
import "../ModalDialog/index.e600b43a.js";
|
|
6
|
+
import "../Resizeable/index.4545dd6a.js";
|
|
7
|
+
import "react/jsx-runtime";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "@m4l/core";
|
|
10
|
+
import "../CommonActions/components/Actions/index.77574633.js";
|
|
11
|
+
import "@mui/material/Button";
|
|
12
|
+
import "../mui_extended/Button/index.b7b70e5f.js";
|
|
13
|
+
import "clsx";
|
|
14
|
+
import "react-hook-form";
|
|
15
|
+
import "./WindowBase.230a498f.js";
|
|
16
|
+
import "../Icon/index.fbeeacc8.js";
|
|
17
|
+
import "../mui_extended/IconButton/index.a5072cd3.js";
|
|
18
|
+
import "zustand";
|
|
19
|
+
import "../areas/index.d7519516.js";
|
|
20
|
+
import "zustand/shallow";
|
|
21
|
+
import "@mui/lab";
|
|
22
|
+
import "../mui_extended/Typography/index.eab3d85c.js";
|
|
23
|
+
import "./WindowConfirm.575b4d41.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Skeleton, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.a5072cd3.js";
|
|
3
3
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.fbeeacc8.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
styled("div")(({
|
|
@@ -4,11 +4,11 @@ import MuiButton from "@mui/material/Button";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.77396f79.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
9
|
+
import { T as TEST_PROP_ID } from "../../../vendor.be57c149.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
+
import { T as Typography } from "../Typography/index.eab3d85c.js";
|
|
12
12
|
const ButtonRoot = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.fbeeacc8.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
|
+
import clsx from "clsx";
|
|
6
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
8
|
const SkeletonIconButton = (props) => {
|
|
8
9
|
const {
|
|
@@ -52,10 +53,11 @@ const IconButton = (props) => {
|
|
|
52
53
|
src,
|
|
53
54
|
tooltip,
|
|
54
55
|
size = "small",
|
|
55
|
-
|
|
56
|
+
dictionaryTooltipId,
|
|
56
57
|
rotationAngle,
|
|
57
58
|
variant = "primary",
|
|
58
59
|
disabled,
|
|
60
|
+
className,
|
|
59
61
|
...other
|
|
60
62
|
} = props;
|
|
61
63
|
const {
|
|
@@ -66,11 +68,14 @@ const IconButton = (props) => {
|
|
|
66
68
|
if (disabled) {
|
|
67
69
|
return void 0;
|
|
68
70
|
}
|
|
69
|
-
if (
|
|
70
|
-
return
|
|
71
|
+
if (tooltip && tooltip !== "") {
|
|
72
|
+
return tooltip;
|
|
71
73
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
if (dictionaryTooltipId && getLabel) {
|
|
75
|
+
return getLabel(dictionaryTooltipId);
|
|
76
|
+
}
|
|
77
|
+
return void 0;
|
|
78
|
+
}, [tooltip, dictionaryTooltipId, getLabel]);
|
|
74
79
|
const [isfocus, setIsFocus] = useState(false);
|
|
75
80
|
const handlerOnFocus = () => {
|
|
76
81
|
console.log("focus active");
|
|
@@ -84,20 +89,19 @@ const IconButton = (props) => {
|
|
|
84
89
|
variant,
|
|
85
90
|
size,
|
|
86
91
|
isSkeleton,
|
|
87
|
-
isFocus: isfocus,
|
|
92
|
+
isFocus: disabled ? false : isfocus,
|
|
88
93
|
isDisabled: disabled
|
|
89
94
|
};
|
|
90
95
|
const classes = useUtilityClasses(ownerState);
|
|
91
96
|
return /* @__PURE__ */ jsx(IconButtonRoot, {
|
|
92
|
-
className: classes.root,
|
|
97
|
+
className: clsx(classes.root, className),
|
|
93
98
|
"data-testid": "IconButtonRoot",
|
|
94
99
|
children: !isSkeleton ? /* @__PURE__ */ jsx(Fragment, {
|
|
95
100
|
children: finalTooltip ? /* @__PURE__ */ jsx(Tooltip, {
|
|
96
101
|
title: finalTooltip || "",
|
|
97
102
|
children: /* @__PURE__ */ jsx(IconButton$1, {
|
|
98
103
|
...other,
|
|
99
|
-
|
|
100
|
-
onFocus: handlerOnFocus,
|
|
104
|
+
onFocusVisible: handlerOnFocus,
|
|
101
105
|
onBlur: handlerOnBlur,
|
|
102
106
|
disabled,
|
|
103
107
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
@@ -108,7 +112,7 @@ const IconButton = (props) => {
|
|
|
108
112
|
}) : /* @__PURE__ */ jsx(IconButton$1, {
|
|
109
113
|
...other,
|
|
110
114
|
disableFocusRipple: true,
|
|
111
|
-
|
|
115
|
+
onFocusVisible: handlerOnFocus,
|
|
112
116
|
onBlur: handlerOnBlur,
|
|
113
117
|
disabled,
|
|
114
118
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
@@ -4,7 +4,7 @@ export declare type IconButtonVariants = 'primary' | 'secondary' | 'line';
|
|
|
4
4
|
export declare type IconButtonSize = 'extraSmall' | 'small' | 'medium';
|
|
5
5
|
export interface IconButtonProps extends Omit<IconProps, 'size'>, Omit<MUIIconButtonProps, 'size'> {
|
|
6
6
|
tooltip?: string;
|
|
7
|
-
|
|
7
|
+
dictionaryTooltipId?: string;
|
|
8
8
|
variant?: IconButtonVariants;
|
|
9
9
|
size?: IconButtonSize;
|
|
10
10
|
}
|
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
import { useState, useMemo } from "react";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { IconButton,
|
|
4
|
-
import { P as Popover } from "../Popover/index.
|
|
3
|
+
import { IconButton, MenuItem } from "@mui/material";
|
|
4
|
+
import { P as Popover } from "../Popover/index.e271e4f0.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.fbeeacc8.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.a5072cd3.js";
|
|
7
8
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
+
styled(IconButton)(() => ({}));
|
|
9
10
|
const LabelMemuItem = styled("div")(({
|
|
10
11
|
theme
|
|
11
12
|
}) => ({
|
|
12
13
|
height: "22px",
|
|
14
|
+
overflow: "hidden",
|
|
15
|
+
wordBreak: "break-all",
|
|
13
16
|
marginLeft: theme.spacing(1.5),
|
|
14
17
|
display: "flex",
|
|
15
18
|
alignItems: "center"
|
|
16
19
|
}));
|
|
20
|
+
const ICONS = {
|
|
21
|
+
MENU: "menu.svg"
|
|
22
|
+
};
|
|
17
23
|
function MenuActions(props) {
|
|
18
24
|
const {
|
|
19
25
|
menuActions,
|
|
20
26
|
objItem = {},
|
|
21
|
-
|
|
27
|
+
urlIcon,
|
|
22
28
|
toolTip = "",
|
|
23
29
|
marginTop = -1,
|
|
24
30
|
marginBottom,
|
|
25
31
|
marginLeft,
|
|
26
32
|
marginRight,
|
|
27
33
|
width = 200,
|
|
28
|
-
arrowType
|
|
34
|
+
arrowType = "right-top",
|
|
29
35
|
...other
|
|
30
36
|
} = props;
|
|
31
37
|
const {
|
|
@@ -42,7 +48,7 @@ function MenuActions(props) {
|
|
|
42
48
|
const urlFinalIcon = useMemo(() => {
|
|
43
49
|
if (urlIcon)
|
|
44
50
|
return urlIcon;
|
|
45
|
-
return `${host_static_assets}/${environment_assets}/frontend/
|
|
51
|
+
return `${host_static_assets}/${environment_assets}/frontend/components/menu_actions/assets/icons/${ICONS.MENU}`;
|
|
46
52
|
}, [urlIcon, host_static_assets, environment_assets]);
|
|
47
53
|
const handleClose = () => {
|
|
48
54
|
setOpen(null);
|
|
@@ -61,28 +67,23 @@ function MenuActions(props) {
|
|
|
61
67
|
return ret;
|
|
62
68
|
}, [menuActions, objItem]);
|
|
63
69
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
64
|
-
children: [/* @__PURE__ */ jsx(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
size: "small",
|
|
69
|
-
onClick: handleOpen,
|
|
70
|
-
children: /* @__PURE__ */ jsx(Icon, {
|
|
71
|
-
src: urlFinalIcon
|
|
72
|
-
})
|
|
73
|
-
})
|
|
70
|
+
children: [/* @__PURE__ */ jsx(IconButton$1, {
|
|
71
|
+
src: urlFinalIcon,
|
|
72
|
+
onClick: handleOpen,
|
|
73
|
+
tooltip: toolTip
|
|
74
74
|
}), /* @__PURE__ */ jsx(Popover, {
|
|
75
75
|
id: "Popover",
|
|
76
76
|
open: Boolean(open),
|
|
77
77
|
anchorEl: open,
|
|
78
78
|
onClose: handleClose,
|
|
79
|
-
arrowType
|
|
79
|
+
arrowType,
|
|
80
80
|
sx: {
|
|
81
81
|
marginTop,
|
|
82
82
|
marginBottom,
|
|
83
83
|
marginLeft,
|
|
84
84
|
marginRight,
|
|
85
85
|
width,
|
|
86
|
+
maxWidth: 300,
|
|
86
87
|
"& .MuiMenuItem-root": {
|
|
87
88
|
px: 1,
|
|
88
89
|
typography: "body2",
|
|
@@ -90,7 +91,7 @@ function MenuActions(props) {
|
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
...other,
|
|
93
|
-
children:
|
|
94
|
+
children: finalActions.map((menuAction, index) => /* @__PURE__ */ jsxs(MenuItem, {
|
|
94
95
|
dense: true,
|
|
95
96
|
onClick: () => handleClick(menuAction),
|
|
96
97
|
sx: {
|
|
@@ -100,7 +101,7 @@ function MenuActions(props) {
|
|
|
100
101
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
101
102
|
src: menuAction.urlIcon
|
|
102
103
|
}), /* @__PURE__ */ jsx(LabelMemuItem, {
|
|
103
|
-
children: menuAction.label || getLabel(menuAction.
|
|
104
|
+
children: menuAction.label || menuAction.dictionaryId && getLabel(menuAction.dictionaryId)
|
|
104
105
|
})]
|
|
105
106
|
}, `menu_action_${index}`))
|
|
106
107
|
})]
|
|
@@ -3,20 +3,19 @@ export interface ComponentActionProps {
|
|
|
3
3
|
description?: string;
|
|
4
4
|
onClick: (props?: any) => void;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export declare type MenuAction = {
|
|
7
7
|
urlIcon: string;
|
|
8
8
|
iconWidth?: number;
|
|
9
9
|
iconHeight?: number;
|
|
10
|
-
label?: string;
|
|
11
|
-
dictionaryField: string;
|
|
12
10
|
onClick: (props?: any) => void;
|
|
13
11
|
disabled: boolean;
|
|
14
12
|
color?: string;
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
label?: string;
|
|
14
|
+
dictionaryId?: string;
|
|
15
|
+
};
|
|
17
16
|
export interface MenuActionsProps extends Omit<PopoverProps, 'open'> {
|
|
18
17
|
objItem?: any;
|
|
19
|
-
|
|
18
|
+
urlIcon?: string;
|
|
20
19
|
menuActions: MenuAction[] | ((row: any) => MenuAction[]);
|
|
21
20
|
toolTip?: string;
|
|
22
21
|
marginTop?: number | string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { Skeleton, TablePagination } from "@mui/material";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { I as IconButton } from "../IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../IconButton/index.a5072cd3.js";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
const WrapperPagerActions = styled("div")(({ theme }) => ({
|
|
@@ -42,25 +42,25 @@ function PagerActions(props) {
|
|
|
42
42
|
id: "WrapperPagerActions",
|
|
43
43
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
44
44
|
id: "test_bruce",
|
|
45
|
-
|
|
45
|
+
dictionaryTooltipId: "pager.first",
|
|
46
46
|
onClick: handleFirstPageButtonClick,
|
|
47
47
|
disabled: page === 0,
|
|
48
48
|
"aria-label": "first page",
|
|
49
49
|
src: `${host_static_assets}/${environment_assets}/frontend/components/pager/assets/icons/first.svg`
|
|
50
50
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
51
|
-
|
|
51
|
+
dictionaryTooltipId: "pager.previous",
|
|
52
52
|
onClick: handleBackButtonClick,
|
|
53
53
|
disabled: page === 0,
|
|
54
54
|
"aria-label": "first page",
|
|
55
55
|
src: `${host_static_assets}/${environment_assets}/frontend/components/pager/assets/icons/previous.svg`
|
|
56
56
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
57
|
-
|
|
57
|
+
dictionaryTooltipId: "pager.next",
|
|
58
58
|
onClick: handleNextButtonClick,
|
|
59
59
|
disabled: page >= Math.ceil(count / rowsPerPage) - 1,
|
|
60
60
|
"aria-label": "next page",
|
|
61
61
|
src: `${host_static_assets}/${environment_assets}/frontend/components/pager/assets/icons/next.svg`
|
|
62
62
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
63
|
-
|
|
63
|
+
dictionaryTooltipId: "pager.last",
|
|
64
64
|
onClick: handleLastPageButtonClick,
|
|
65
65
|
disabled: page >= Math.ceil(count / rowsPerPage) - 1,
|
|
66
66
|
"aria-label": "last page",
|
|
@@ -2,7 +2,7 @@ import { useModuleSkeleton } from "@m4l/core";
|
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../../vendor.be57c149.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const WarpperTypography = styled("div")(({
|
|
8
8
|
theme
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@m4l/core";
|
|
4
|
+
import "../Icon/index.fbeeacc8.js";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "./IconButton/index.a5072cd3.js";
|
|
7
|
+
import "clsx";
|
|
8
|
+
import "./Accordion/index.0b15f939.js";
|
|
9
|
+
import "./Avatar/index.fe06afd7.js";
|
|
10
|
+
import "react-router-dom";
|
|
11
|
+
import "@mui/material/Button";
|
|
12
|
+
import "./Button/index.b7b70e5f.js";
|
|
13
|
+
import "../Image/index.77396f79.js";
|
|
14
|
+
import "@mui/lab";
|
|
15
|
+
import "./Typography/index.eab3d85c.js";
|
|
16
|
+
import "./Popover/index.e271e4f0.js";
|
|
17
|
+
import "./MenuActions/index.3a275abb.js";
|
|
18
|
+
import "./Pager/index.5a69ab10.js";
|
|
19
|
+
import "./Tab/index.e0653a0a.js";
|