@m4l/components 0.1.78 → 0.1.80
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 +31 -1
- package/components/AccountPopover/{index.7e76dbb7.js → index.00d1d15f.js} +10 -6
- package/components/AppBar/{index.06858422.js → index.c85b100d.js} +5 -4
- package/components/CommonActions/components/ActionCancel/{index.d536ccfa.js → index.1051a117.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.a915b105.js → index.a0d727b2.js} +18 -13
- package/components/CommonActions/components/ActionFormIntro/{index.14e65d6c.js → index.a20dc88d.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.aa1648eb.js → index.bfe3256c.js} +1 -1
- package/components/CommonActions/components/Actions/{index.52125041.js → index.19d67bc6.js} +10 -9
- package/components/DataGrid/classes/constants.d.ts +1 -0
- package/components/DataGrid/classes/index.d.ts +27 -0
- package/components/DataGrid/classes/types.d.ts +27 -0
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +3 -1
- package/components/DataGrid/{index.9fb3e6a1.js → index.2f175eba.js} +173 -316
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/subcomponents/FormatterColumn/index.d.ts +2 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/subcomponents/FormatterColumn/types.d.ts +3 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +2 -0
- package/components/DataGrid/types.d.ts +7 -0
- package/components/DynamicFilter/{index.d1a2e2d1.js → index.c1f9d560.js} +23 -22
- package/components/GridLayout/Responsive/{index.0905a698.js → index.1671380a.js} +1 -1
- package/components/GridLayout/{index.da6fd387.js → index.a792aacb.js} +2 -2
- package/components/HelperText/{index.a019742c.js → index.6ef76993.js} +5 -4
- package/components/LanguagePopover/{index.98b63dcb.js → index.1564bd08.js} +5 -4
- package/components/ModalDialog/{index.d9937d46.js → index.fbc4cd71.js} +3 -3
- package/components/NavLink/{index.a5dea6d3.js → index.6c9c2588.js} +5 -4
- package/components/ObjectLogs/{index.d9d20b9d.js → index.eab1c15f.js} +14 -13
- package/components/Period/{index.7b94c418.js → index.26071a16.js} +16 -15
- package/components/PropertyValue/{index.45c73161.js → index.18d3c0fd.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.43ecd998.js → index.7a0dabbe.js} +23 -22
- package/components/areas/components/AreasViewer/{index.14e62059.js → index.fd49f06c.js} +41 -34
- package/components/areas/components/{index.a87653a9.js → index.7756928a.js} +8 -7
- package/components/areas/contexts/AreasContext/{index.02c4e7be.js → index.0a08a08b.js} +9 -4
- package/components/areas/contexts/AreasContext/types.d.ts +1 -0
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +1 -0
- package/components/areas/contexts/{index.1ff9b360.js → index.b303b664.js} +1 -1
- package/components/areas/hooks/useAreas/{index.85e4b2e2.js → index.c6eb2569.js} +1 -1
- package/components/areas/{index.d1dcccf5.js → index.6e67d89a.js} +8 -7
- package/components/areas/types.d.ts +5 -0
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +6 -0
- package/components/hook-form/RHFAutocomplete/{index.6aa51705.js → index.d1bbb015.js} +34 -51
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +2 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.1a3dfe5f.js → index.f9a9ef48.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.a08a65b3.js → index.7b4a21d7.js} +42 -67
- package/components/hook-form/RHFCheckbox/types.d.ts +2 -1
- package/components/hook-form/RHFDateTime/{index.4d671108.js → index.46cf616e.js} +9 -7
- package/components/hook-form/RHFPeriod/{index.39b4be49.js → index.ce513149.js} +2 -2
- package/components/hook-form/RHFTextField/{index.9004e898.js → index.f7ee202c.js} +4 -3
- package/components/hook-form/RHFUpload/{index.bed8573e.js → index.1befd5bb.js} +6 -5
- package/components/modal/{WindowBase.a0c0b322.js → WindowBase.7e19843e.js} +8 -6
- package/components/modal/{WindowConfirm.6c063f2d.js → WindowConfirm.12a9608a.js} +13 -12
- package/components/modal/{index.00efea85.js → index.b0a7236c.js} +10 -9
- package/components/mui_extended/Accordion/{index.9877f7bf.js → index.a6447bf8.js} +1 -1
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -1
- package/components/mui_extended/Badge/{index.8c2b8b66.js → index.cad260fe.js} +1 -1
- package/components/mui_extended/CheckBox/CheckBox.d.ts +3 -0
- package/components/mui_extended/CheckBox/classes/constants.d.ts +1 -0
- package/components/mui_extended/CheckBox/classes/index.d.ts +8 -0
- package/components/mui_extended/CheckBox/classes/types.d.ts +10 -0
- package/components/mui_extended/CheckBox/index.d.ts +1 -0
- package/components/mui_extended/CheckBox/subcomponents/Skeleton/index.d.ts +3 -0
- package/components/mui_extended/CheckBox/subcomponents/Skeleton/types.d.ts +4 -0
- package/components/mui_extended/CheckBox/types.d.ts +5 -0
- package/components/mui_extended/CheckBox.5f6c78b0.js +86 -0
- package/components/mui_extended/Pager/classes/constants.d.ts +1 -0
- package/components/mui_extended/Pager/classes/index.d.ts +10 -0
- package/components/mui_extended/Pager/classes/types.d.ts +10 -0
- package/components/mui_extended/Pager/{index.2f6d6d7d.js → index.82e89328.js} +67 -31
- package/components/mui_extended/Tab/{index.7c82e43d.js → index.c39a6681.js} +1 -1
- package/components/mui_extended/index.d.ts +1 -0
- package/components/mui_extended/{index.0e2ff642.js → index.d78bde19.js} +5 -4
- package/contexts/ModalContext/{index.e9a7ba4a.js → index.89805978.js} +1 -1
- package/hooks/useModal/{index.8e85f7ae.js → index.e1c5c31e.js} +1 -1
- package/index.js +46 -44
- package/package.json +1 -1
- package/{vendor.e353394b.js → vendor.f57d47a7.js} +38 -37
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/index.d.ts +0 -3
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { FormatterProps } from 'react-data-grid';
|
|
3
2
|
import { Row } from '../../types';
|
|
4
|
-
|
|
3
|
+
import { FormatterProps } from './types';
|
|
4
|
+
export declare function FormatterColumn(props: FormatterProps<Row>): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Classes } from '../../../../../../classes/types';
|
|
1
2
|
import { IConfigColumn } from '../../../../../../contexts/DataGridContext/types';
|
|
2
3
|
export interface Row {
|
|
3
4
|
key: string;
|
|
@@ -18,6 +19,7 @@ export interface ConfigProps {
|
|
|
18
19
|
onCloseSettings: () => void;
|
|
19
20
|
columnsConfig: IConfigColumn[];
|
|
20
21
|
onChangeColumnsConfig: (newColumnsConfig: IConfigColumn[]) => void;
|
|
22
|
+
classes: Classes;
|
|
21
23
|
}
|
|
22
24
|
export interface CheckFormatterProps {
|
|
23
25
|
key: string;
|
|
@@ -63,3 +63,10 @@ export declare interface DataGridProps<TRow, TSummaryRow> extends GridProps<TRow
|
|
|
63
63
|
actionsProps: ActionsProps;
|
|
64
64
|
dataTestId?: string;
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* OwnerState:
|
|
68
|
+
* Define el objeto de propiedades necesarias para conocer el estado del componente y en función de esta información construir el inventario de clases css dinámicas.
|
|
69
|
+
*/
|
|
70
|
+
export interface OwnerState extends WithActionsProps {
|
|
71
|
+
actionsProps: ActionsProps;
|
|
72
|
+
}
|
|
@@ -6,7 +6,7 @@ import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent
|
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
7
7
|
import { I as IconButton } from "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
9
|
+
import { g as getNameDataTestId } from "../../vendor.f57d47a7.js";
|
|
10
10
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
|
|
12
12
|
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
@@ -14,30 +14,31 @@ import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
|
14
14
|
import { I as Icon } from "../Icon/index.9fcd1476.js";
|
|
15
15
|
import { styled, useTheme } from "@mui/material/styles";
|
|
16
16
|
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.fe175bab.js";
|
|
17
|
-
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.
|
|
18
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
19
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
17
|
+
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.19d67bc6.js";
|
|
18
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.1051a117.js";
|
|
19
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.bfe3256c.js";
|
|
20
20
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
21
21
|
import "@mui/material/Button";
|
|
22
22
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
23
|
-
import "../../contexts/ModalContext/index.
|
|
23
|
+
import "../../contexts/ModalContext/index.89805978.js";
|
|
24
24
|
import "../../react-draggable.7abb5d0a.js";
|
|
25
25
|
import "../Resizeable/index.9a9c79a4.js";
|
|
26
|
-
import "../modal/index.
|
|
26
|
+
import "../modal/index.b0a7236c.js";
|
|
27
27
|
import "../Image/index.c18ebf5a.js";
|
|
28
|
-
import "../mui_extended/Accordion/index.
|
|
28
|
+
import "../mui_extended/Accordion/index.a6447bf8.js";
|
|
29
29
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
30
30
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
31
31
|
import "react-router-dom";
|
|
32
|
-
import "../mui_extended/
|
|
32
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
33
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
33
34
|
import "@mui/lab";
|
|
34
|
-
import "../mui_extended/Pager/index.
|
|
35
|
-
import "../mui_extended/Tab/index.
|
|
35
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
36
|
+
import "../mui_extended/Tab/index.c39a6681.js";
|
|
36
37
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
37
38
|
import { useStore, createStore } from "zustand";
|
|
38
|
-
import "../areas/contexts/AreasContext/index.
|
|
39
|
-
import "../areas/components/AreasAdmin/index.
|
|
40
|
-
import "../areas/components/AreasViewer/index.
|
|
39
|
+
import "../areas/contexts/AreasContext/index.0a08a08b.js";
|
|
40
|
+
import "../areas/components/AreasAdmin/index.7a0dabbe.js";
|
|
41
|
+
import "../areas/components/AreasViewer/index.fd49f06c.js";
|
|
41
42
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
42
43
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
44
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -45,19 +46,19 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
45
46
|
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.c43a95f4.js";
|
|
46
47
|
import { devtools } from "zustand/middleware";
|
|
47
48
|
import { immer } from "zustand/middleware/immer";
|
|
48
|
-
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.
|
|
49
|
+
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.d1bbb015.js";
|
|
49
50
|
import "lodash/debounce";
|
|
50
|
-
import "../hook-form/RHFAutocompleteAsync/index.
|
|
51
|
-
import "../hook-form/RHFCheckbox/index.
|
|
52
|
-
import "../HelperText/index.
|
|
51
|
+
import "../hook-form/RHFAutocompleteAsync/index.f9a9ef48.js";
|
|
52
|
+
import "../hook-form/RHFCheckbox/index.7b4a21d7.js";
|
|
53
|
+
import "../HelperText/index.6ef76993.js";
|
|
53
54
|
import "@mui/x-date-pickers";
|
|
54
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.
|
|
55
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.
|
|
56
|
-
import "../hook-form/RHFPeriod/index.
|
|
57
|
-
import "../Period/index.
|
|
55
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.46cf616e.js";
|
|
56
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.f7ee202c.js";
|
|
57
|
+
import "../hook-form/RHFPeriod/index.ce513149.js";
|
|
58
|
+
import "../Period/index.26071a16.js";
|
|
58
59
|
import "lodash/isString";
|
|
59
60
|
import "react-dropzone";
|
|
60
|
-
import "../hook-form/RHFUpload/index.
|
|
61
|
+
import "../hook-form/RHFUpload/index.1befd5bb.js";
|
|
61
62
|
import * as Yup from "yup";
|
|
62
63
|
const COMPONENT_PREFIX = "m4l-dynamic-filter";
|
|
63
64
|
const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as cloneLayoutItem, a as cloneLayout, b as compact, d as correctBounds, G as GridLayout, n as noop } from "../index.
|
|
1
|
+
import { c as cloneLayoutItem, a as cloneLayout, b as compact, d as correctBounds, G as GridLayout, n as noop } from "../index.a792aacb.js";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import { useFirstRender } from "@m4l/graphics";
|
|
4
4
|
import { d as deepEqual } from "../../../node_modules.d73a220d.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
2
2
|
import { d as deepEqual } from "../../node_modules.d73a220d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { i as isEqualLayout } from "./Responsive/index.
|
|
4
|
+
import { i as isEqualLayout } from "./Responsive/index.1671380a.js";
|
|
5
5
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { D as DraggableCore_1 } from "../../react-draggable.7abb5d0a.js";
|
|
7
7
|
import { R as Resizable, r as react_resizable_css } from "../../react-resizable.ba08699a.js";
|
|
@@ -799,7 +799,7 @@ const GridLayoutRoot = styled("div")`
|
|
|
799
799
|
/* flex-grow: 1; */
|
|
800
800
|
position: relative;
|
|
801
801
|
transition: height 200ms ease;
|
|
802
|
-
border: 1px dashed gray; //TODO:Para borrar
|
|
802
|
+
/* border: 1px dashed gray; //TODO:Para borrar */
|
|
803
803
|
|
|
804
804
|
.M4LGridItem {
|
|
805
805
|
transition: all 200ms ease;
|
|
@@ -6,19 +6,20 @@ import "clsx";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
9
|
+
import "../mui_extended/Accordion/index.a6447bf8.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
14
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
15
|
-
import "../mui_extended/
|
|
15
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
16
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
16
17
|
import "../Image/index.c18ebf5a.js";
|
|
17
18
|
import "@mui/lab";
|
|
18
19
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
19
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../mui_extended/Pager/index.
|
|
21
|
-
import "../mui_extended/Tab/index.
|
|
21
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
22
|
+
import "../mui_extended/Tab/index.c39a6681.js";
|
|
22
23
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
23
24
|
import { unstable_composeClasses } from "@mui/base";
|
|
24
25
|
const HelperTextRoot = styled("div")(({
|
|
@@ -8,19 +8,20 @@ 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
10
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.a6447bf8.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
16
|
import { I as ImageButton } from "../mui_extended/Button/index.4288f9fc.js";
|
|
17
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
17
18
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
18
|
-
import "../mui_extended/Badge/index.
|
|
19
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
19
20
|
import "@mui/lab";
|
|
20
21
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
21
22
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Pager/index.
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
23
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
24
|
+
import "../mui_extended/Tab/index.c39a6681.js";
|
|
24
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
27
|
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.e1c5c31e.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.9a9c79a4.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
6
|
import { I as Icon } from "../Icon/index.9fcd1476.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.b0a7236c.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.19d67bc6.js";
|
|
12
12
|
const DragabblePaperComponent = (props) => {
|
|
13
13
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
14
14
|
handle: ".m4l_draggable_handle",
|
|
@@ -8,18 +8,19 @@ import "clsx";
|
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
9
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.a6447bf8.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
15
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
16
|
-
import "../mui_extended/
|
|
16
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
17
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
17
18
|
import "../Image/index.c18ebf5a.js";
|
|
18
19
|
import "@mui/lab";
|
|
19
20
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
20
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../mui_extended/Pager/index.
|
|
22
|
-
import "../mui_extended/Tab/index.
|
|
22
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
23
|
+
import "../mui_extended/Tab/index.c39a6681.js";
|
|
23
24
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
25
|
import { unstable_composeClasses } from "@mui/base";
|
|
25
26
|
const componentName = "M4LNavLink";
|
|
@@ -1,46 +1,47 @@
|
|
|
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 { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.2f175eba.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
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
10
|
+
import { u as useModal } from "../../hooks/useModal/index.e1c5c31e.js";
|
|
11
11
|
import { I as Icon } from "../Icon/index.9fcd1476.js";
|
|
12
12
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
13
|
import "../Resizeable/index.9a9c79a4.js";
|
|
14
|
-
import "../modal/index.
|
|
15
|
-
import "../CommonActions/components/Actions/index.
|
|
14
|
+
import "../modal/index.b0a7236c.js";
|
|
15
|
+
import "../CommonActions/components/Actions/index.19d67bc6.js";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
17
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "react-hook-form";
|
|
20
20
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
21
21
|
import "zustand";
|
|
22
|
-
import "../areas/contexts/AreasContext/index.
|
|
23
|
-
import "../areas/components/AreasAdmin/index.
|
|
22
|
+
import "../areas/contexts/AreasContext/index.0a08a08b.js";
|
|
23
|
+
import "../areas/components/AreasAdmin/index.7a0dabbe.js";
|
|
24
24
|
import "zustand/shallow";
|
|
25
25
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
26
|
-
import "../mui_extended/Accordion/index.
|
|
26
|
+
import "../mui_extended/Accordion/index.a6447bf8.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";
|
|
30
|
-
import "../mui_extended/
|
|
30
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
31
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
31
32
|
import "../Image/index.c18ebf5a.js";
|
|
32
33
|
import "@mui/lab";
|
|
33
34
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
34
35
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
35
|
-
import "../mui_extended/Pager/index.
|
|
36
|
-
import "../mui_extended/Tab/index.
|
|
36
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
37
|
+
import "../mui_extended/Tab/index.c39a6681.js";
|
|
37
38
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
|
-
import "../areas/components/AreasViewer/index.
|
|
39
|
+
import "../areas/components/AreasViewer/index.fd49f06c.js";
|
|
39
40
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
40
41
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
41
42
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
42
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
43
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
43
|
+
import { W as WindowBase } from "../modal/WindowBase.7e19843e.js";
|
|
44
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.c1f9d560.js";
|
|
44
45
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
45
46
|
const Container$1 = styled("div")(() => ({
|
|
46
47
|
height: "100%",
|
|
@@ -2,36 +2,37 @@ import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/cor
|
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { I as Icon } from "../Icon/index.9fcd1476.js";
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.19d67bc6.js";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
8
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.89805978.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.b0a7236c.js";
|
|
16
16
|
import "../Image/index.c18ebf5a.js";
|
|
17
17
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
18
|
-
import "../mui_extended/Accordion/index.
|
|
18
|
+
import "../mui_extended/Accordion/index.a6447bf8.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
|
-
import "../mui_extended/
|
|
22
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
23
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
23
24
|
import "@mui/lab";
|
|
24
25
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
25
26
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../mui_extended/Pager/index.
|
|
27
|
-
import "../mui_extended/Tab/index.
|
|
27
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
28
|
+
import "../mui_extended/Tab/index.c39a6681.js";
|
|
28
29
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
30
|
import "zustand";
|
|
30
|
-
import "../areas/contexts/AreasContext/index.
|
|
31
|
-
import "../areas/components/AreasAdmin/index.
|
|
31
|
+
import "../areas/contexts/AreasContext/index.0a08a08b.js";
|
|
32
|
+
import "../areas/components/AreasAdmin/index.7a0dabbe.js";
|
|
32
33
|
import "zustand/shallow";
|
|
33
34
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
34
|
-
import "../areas/components/AreasViewer/index.
|
|
35
|
+
import "../areas/components/AreasViewer/index.fd49f06c.js";
|
|
35
36
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
36
37
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
37
38
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -96,9 +97,9 @@ var ETimePeriods = /* @__PURE__ */ ((ETimePeriods2) => {
|
|
|
96
97
|
return ETimePeriods2;
|
|
97
98
|
})(ETimePeriods || {});
|
|
98
99
|
const dictionary = {
|
|
99
|
-
LABEL_YEARS: "
|
|
100
|
-
LABEL_MONTHS: "
|
|
101
|
-
LABEL_DAYS: "
|
|
100
|
+
LABEL_YEARS: "period_formatter.label_years",
|
|
101
|
+
LABEL_MONTHS: "period_formatter.label_months",
|
|
102
|
+
LABEL_DAYS: "period_formatter.label_days"
|
|
102
103
|
};
|
|
103
104
|
function getPeriodComponetsDictionary() {
|
|
104
105
|
return ["period"].concat(getCommonActionsDictionary());
|
|
@@ -204,13 +205,13 @@ const Period = (props) => {
|
|
|
204
205
|
} = useEnvironment();
|
|
205
206
|
const options = useMemo(() => [{
|
|
206
207
|
id: 0,
|
|
207
|
-
label: getLabel(dictionary.
|
|
208
|
+
label: getLabel(dictionary.LABEL_YEARS)
|
|
208
209
|
}, {
|
|
209
210
|
id: 1,
|
|
210
211
|
label: getLabel(dictionary.LABEL_MONTHS)
|
|
211
212
|
}, {
|
|
212
213
|
id: 2,
|
|
213
|
-
label: getLabel(dictionary.
|
|
214
|
+
label: getLabel(dictionary.LABEL_DAYS)
|
|
214
215
|
}], [getLabel]);
|
|
215
216
|
const ownerState = {
|
|
216
217
|
readOnly,
|
|
@@ -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.f57d47a7.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { I as IconButton } from "../../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.c6eb2569.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.
|
|
7
|
+
import "../../../mui_extended/Accordion/index.a6447bf8.js";
|
|
8
8
|
import { I as Icon } from "../../../Icon/index.9fcd1476.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
@@ -13,51 +13,52 @@ import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import { B as Button } from "../../../mui_extended/Button/index.4288f9fc.js";
|
|
16
|
-
import "
|
|
16
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
17
|
+
import "../../../mui_extended/CheckBox.5f6c78b0.js";
|
|
18
|
+
import "../../../mui_extended/Badge/index.cad260fe.js";
|
|
17
19
|
import "../../../Image/index.c18ebf5a.js";
|
|
18
20
|
import "@mui/lab";
|
|
19
21
|
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
20
22
|
import { P as Popover } from "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../../../mui_extended/Pager/index.
|
|
22
|
-
import "../../../mui_extended/Tab/index.
|
|
23
|
+
import "../../../mui_extended/Pager/index.82e89328.js";
|
|
24
|
+
import "../../../mui_extended/Tab/index.c39a6681.js";
|
|
23
25
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
25
27
|
import { g as getComponentUtilityClass } from "../../../../utils/index.c43a95f4.js";
|
|
26
28
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
27
29
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
28
30
|
import "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
29
|
-
import "../../../../contexts/ModalContext/index.
|
|
31
|
+
import "../../../../contexts/ModalContext/index.89805978.js";
|
|
30
32
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.fe175bab.js";
|
|
31
33
|
import "react-hook-form";
|
|
32
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
33
|
-
import "../../../HelperText/index.
|
|
34
|
+
import "../../../hook-form/RHFAutocomplete/index.d1bbb015.js";
|
|
35
|
+
import "../../../HelperText/index.6ef76993.js";
|
|
34
36
|
import "lodash/debounce";
|
|
35
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
36
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
37
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.f9a9ef48.js";
|
|
38
|
+
import "../../../hook-form/RHFCheckbox/index.7b4a21d7.js";
|
|
37
39
|
import "@mui/x-date-pickers";
|
|
38
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
39
|
-
import {
|
|
40
|
-
import
|
|
41
|
-
import "../../../
|
|
42
|
-
import "../../../
|
|
43
|
-
import { A as
|
|
44
|
-
import { A as
|
|
45
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.aa1648eb.js";
|
|
40
|
+
import "../../../hook-form/RHFDateTime/index.46cf616e.js";
|
|
41
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.f7ee202c.js";
|
|
42
|
+
import "../../../hook-form/RHFPeriod/index.ce513149.js";
|
|
43
|
+
import "../../../Period/index.26071a16.js";
|
|
44
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.19d67bc6.js";
|
|
45
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.1051a117.js";
|
|
46
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.bfe3256c.js";
|
|
46
47
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
47
48
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
48
|
-
import "../../../modal/index.
|
|
49
|
+
import "../../../modal/index.b0a7236c.js";
|
|
49
50
|
import { shallow } from "zustand/shallow";
|
|
50
51
|
import { styled } from "@mui/material/styles";
|
|
51
52
|
import { S as ScrollBar } from "../../../ScrollBar/index.bbe48f4d.js";
|
|
52
53
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.afb7e3d9.js";
|
|
53
|
-
import "../AreasViewer/index.
|
|
54
|
+
import "../AreasViewer/index.fd49f06c.js";
|
|
54
55
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
55
|
-
import "../../contexts/AreasContext/index.
|
|
56
|
+
import "../../contexts/AreasContext/index.0a08a08b.js";
|
|
56
57
|
import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
57
58
|
import "zustand";
|
|
58
59
|
import "lodash/isString";
|
|
59
60
|
import "react-dropzone";
|
|
60
|
-
import "../../../hook-form/RHFUpload/index.
|
|
61
|
+
import "../../../hook-form/RHFUpload/index.1befd5bb.js";
|
|
61
62
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
62
63
|
"root",
|
|
63
64
|
"areaChipRoot",
|