@m4l/components 1.0.12 → 1.0.13
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.705c7df5.js → index.f22ad364.js} +1 -1
- package/components/AppBar/{index.04816fec.js → index.8d90ce87.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.2a55418d.js → index.a1318eac.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.30ea5c9a.js → index.7fb1ebaa.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.512d6ee0.js → index.0ee10612.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.5d294f5d.js → index.dce9ada8.js} +1 -1
- package/components/DataGrid/{index.3ffee8f3.js → index.68e19254.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/{index.8224ef1a.js → index.6b044e84.js} +6 -6
- package/components/DragResizeWindow/{index.917d150b.js → index.a358789f.js} +2 -2
- package/components/DynamicFilter/constants.1dddd09c.js +31 -0
- package/components/DynamicFilter/dictionary.d28d39ef.js +51 -0
- package/components/DynamicFilter/helpers/{index.9baa9ef7.js → index.11ed2896.js} +3 -2
- package/components/DynamicFilter/{index.7e64ade0.js → index.056a99c7.js} +5 -83
- package/components/DynamicFilter/slots/{index.dbb0936d.js → index.82d7eaf2.js} +4 -3
- package/components/DynamicFilter/store/{index.eafe4a4d.js → index.9b5121d6.js} +2 -2
- package/components/DynamicFilter/subcomponents/{index.d5bea68c.js → index.778c93cc.js} +10 -8
- package/components/FieldLabel/{index.317f5f6f.js → index.6b6f708e.js} +1 -1
- package/components/Icon/{index.0598dfb1.js → index.83867398.js} +2 -2
- package/components/LoadingError/{index.1e464569.js → index.aee18b24.js} +1 -1
- package/components/MFLoader/{index.08b59dce.js → index.c975666e.js} +1 -1
- package/components/ObjectLogs/{index.72dc8feb.js → index.a3e42b21.js} +5 -4
- package/components/PaperForm/{index.5ef72398.js → index.007ef4cf.js} +1 -1
- package/components/Period/{index.301a752f.js → index.9647181b.js} +1 -1
- package/components/PropertyValue/{index.0b5c361c.js → index.51faabb5.js} +2 -2
- package/components/SideBar/{index.8fdf28e0.js → index.4075c562.js} +2 -2
- package/components/ToastContainer/{index.123d26d9.js → index.2a7d304e.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.1aec24f3.js → index.325bac22.js} +5 -5
- package/components/areas/components/AreasViewer/{index.429dbb7b.js → index.6e30ec72.js} +7 -7
- package/components/areas/contexts/AreasContext/{index.2e7cdc05.js → index.3311cbf9.js} +2 -2
- package/components/areas/hooks/useAreas/{index.8913b7b5.js → index.f81493ef.js} +1 -1
- package/components/commercial/TopBar/{index.20c4b2ea.js → index.410fffa8.js} +2 -2
- package/components/commercial/{index.504bddfe.js → index.07638f52.js} +2 -2
- package/components/formatters/BooleanFormatter/{index.a4abeebc.js → index.cbf9cd6e.js} +2 -2
- package/components/formatters/{index.18f49751.js → index.63a3e08e.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.d6dd0f42.js → index.2991d444.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/{index.35d82ca9.js → index.d97c727b.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.6a1b97dd.js → index.b57e3131.js} +1 -1
- package/components/hook-form/RHFColorPicker/{index.dccd7187.js → index.310f6ff0.js} +2 -2
- package/components/hook-form/RHFDateTime/{index.15976fef.js → index.5689a29f.js} +2 -2
- package/components/hook-form/RHFPeriod/{index.e6d5c3a6.js → index.019e61ae.js} +2 -2
- package/components/hook-form/RHFTextField/{index.55f91506.js → index.10e57945.js} +2 -2
- package/components/maps/components/GpsTools/{index.b126f06c.js → index.20f83559.js} +11 -11
- package/components/maps/components/Map/{index.c163038c.js → index.c37f3304.js} +8 -8
- package/components/modal/{WindowBase.6fbd595f.js → WindowBase.cfbb0c9e.js} +2 -2
- package/components/modal/{WindowConfirm.a33e1d29.js → WindowConfirm.300bd34b.js} +1 -1
- package/components/mui_extended/Accordion/{index.808f22d7.js → index.0843a609.js} +2 -2
- package/components/mui_extended/{CheckBox.2f354abf.js → CheckBox.21c25705.js} +1 -1
- package/components/mui_extended/IconButton/{index.98914ce2.js → index.b4532b85.js} +1 -1
- package/components/mui_extended/MenuActions/{index.ba7f3376.js → index.eae97857.js} +2 -2
- package/components/mui_extended/Pager/{index.abeb8d39.js → index.3926c835.js} +2 -2
- package/components/mui_extended/ToggleIconButton/{index.efed3ff5.js → index.fcd5205c.js} +1 -1
- package/components/popups/PopupsProvider/{index.8609e808.js → index.d7c9efce.js} +1 -1
- package/components/popups/PopupsViewer/{index.bfab9357.js → index.f3677ab1.js} +4 -4
- package/hooks/useFormAddEdit/{index.faafbfae.js → index.6d983cd8.js} +1 -1
- package/index.js +64 -62
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
|
7
7
|
import { A as Avatar } from "../mui_extended/Avatar/index.fb9ad158.js";
|
|
8
8
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.967e70b7.js";
|
|
9
9
|
import { P as Popover } from "../mui_extended/Popover/index.2348fc4f.js";
|
|
10
|
-
import { I as Icon } from "../Icon/index.
|
|
10
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
const componentName = "M4LAccountPopover";
|
|
13
13
|
generateUtilityClasses(
|
|
@@ -7,7 +7,7 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import { I as Image } from "../Image/index.19aa7ff5.js";
|
|
9
9
|
import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
|
|
10
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b4532b85.js";
|
|
11
11
|
const AppBarRoot = styled("header")(({ theme }) => ({
|
|
12
12
|
...theme.components?.M4LAppBar?.styleOverrides
|
|
13
13
|
}));
|
package/components/CommonActions/components/ActionFormCancel/{index.2a55418d.js → index.a1318eac.js}
RENAMED
|
@@ -6,7 +6,7 @@ import { useCallback, useEffect } from "react";
|
|
|
6
6
|
import { u as useModal } from "../../../../hooks/useModal/index.2003c854.js";
|
|
7
7
|
import { u as useCommonActionsUtilityClasses } from "../Actions/index.258bf919.js";
|
|
8
8
|
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.2fbae9dc.js";
|
|
9
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
9
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.300bd34b.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.
|
|
3
|
+
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.cbf9cd6e.js";
|
|
4
4
|
function ColumnBooleanFormatter(props) {
|
|
5
5
|
const { fieldValue, presentationType, Component } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { C as ConcatenatedFormatter } from "../../../formatters/index.
|
|
3
|
+
import { C as ConcatenatedFormatter } from "../../../formatters/index.63a3e08e.js";
|
|
4
4
|
function ColumnConcatenatedValueFormatter(props) {
|
|
5
5
|
const { fieldValue, fieldSeparator, Component } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Checkbox } from "@mui/material";
|
|
3
|
-
import { d as dataGridClasses } from "../../index.
|
|
3
|
+
import { d as dataGridClasses } from "../../index.68e19254.js";
|
|
4
4
|
function ColumnInteractiveCheckFormatter(props) {
|
|
5
5
|
const { row, onRowChange, column } = props;
|
|
6
6
|
const handleChange = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.0dd5af28.js";
|
|
2
|
-
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.3926c835.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
|
|
@@ -9,7 +9,7 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
9
9
|
import { SvgIcon, Checkbox, InputBase, styled as styled$1, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
10
10
|
import { D as DATAGRID_SELECT_COLUMN_KEY, c as componentName, a as DATAGRID_PREFIX_NAME } from "./constants.e334cd50.js";
|
|
11
11
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
12
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.
|
|
12
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.6b044e84.js";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
14
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
15
15
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId.0faeade8.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
3
|
-
import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.
|
|
2
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.eae97857.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.68e19254.js";
|
|
4
4
|
import { useTheme, Skeleton } from "@mui/material";
|
|
5
5
|
import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants.e334cd50.js";
|
|
6
|
-
import { P as Pager } from "../../../mui_extended/Pager/index.
|
|
7
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
6
|
+
import { P as Pager } from "../../../mui_extended/Pager/index.3926c835.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.b4532b85.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { useIsMobile, useResponsiveContainerStore } from "@m4l/graphics";
|
|
10
10
|
import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
|
|
11
11
|
import { D as DataGrid$1 } from "../../../../react-data-grid.c5377916.js";
|
|
12
12
|
import { styled } from "@mui/material/styles";
|
|
13
|
-
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.
|
|
13
|
+
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.dce9ada8.js";
|
|
14
14
|
import { u as useModal } from "../../../../hooks/useModal/index.2003c854.js";
|
|
15
|
-
import { W as WindowBase } from "../../../modal/WindowBase.
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.cfbb0c9e.js";
|
|
16
16
|
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.258bf919.js";
|
|
17
17
|
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.609a78ca.js";
|
|
18
18
|
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.ebac0bc1.js";
|
|
@@ -3,9 +3,9 @@ import { forwardRef, useState, useRef, useImperativeHandle, useCallback, useEffe
|
|
|
3
3
|
import { D as DraggableCore_1 } from "../../react-draggable.1c1ba224.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { styled, generateUtilityClasses } from "@mui/material";
|
|
6
|
-
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.
|
|
6
|
+
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.c37f3304.js";
|
|
7
7
|
import "@mui/base";
|
|
8
|
-
import { M as MAP_ZINDEX_OVER_MAP$1 } from "../popups/PopupsViewer/index.
|
|
8
|
+
import { M as MAP_ZINDEX_OVER_MAP$1 } from "../popups/PopupsViewer/index.f3677ab1.js";
|
|
9
9
|
import { R as Resizable } from "../../react-resizable.a59c14f4.js";
|
|
10
10
|
const WrapperWindowRoot = styled("div")`
|
|
11
11
|
position: absolute;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const DYNAMIC_FILTER_KEY_COMPONENT = "M4LDynamicFilter";
|
|
2
|
+
const ALL_FIELD = {
|
|
3
|
+
name: "all",
|
|
4
|
+
dictionaryId: "dynamic_filter.all_fields",
|
|
5
|
+
urlIcon: "",
|
|
6
|
+
type: "string",
|
|
7
|
+
multiple: true,
|
|
8
|
+
presence: "optional"
|
|
9
|
+
};
|
|
10
|
+
const STRING_OPERATORS = ["c", "nc"];
|
|
11
|
+
const NUMBER_OPERATORS = ["b", "e", "ne", "gt", "gte", "lt", "lte"];
|
|
12
|
+
const BOOLEAN_OPERATORS = ["e", "ne"];
|
|
13
|
+
const SELECT_OPERATORS = ["in", "nin"];
|
|
14
|
+
const DATE_TIME_OPERATORS = [
|
|
15
|
+
"b",
|
|
16
|
+
"e",
|
|
17
|
+
"ne",
|
|
18
|
+
"gt",
|
|
19
|
+
"gte",
|
|
20
|
+
"lt",
|
|
21
|
+
"lte"
|
|
22
|
+
];
|
|
23
|
+
export {
|
|
24
|
+
ALL_FIELD as A,
|
|
25
|
+
BOOLEAN_OPERATORS as B,
|
|
26
|
+
DATE_TIME_OPERATORS as D,
|
|
27
|
+
NUMBER_OPERATORS as N,
|
|
28
|
+
STRING_OPERATORS as S,
|
|
29
|
+
SELECT_OPERATORS as a,
|
|
30
|
+
DYNAMIC_FILTER_KEY_COMPONENT as b
|
|
31
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.258bf919.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.2991d444.js";
|
|
3
|
+
const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
|
|
4
|
+
function getDynamicFilterComponentsDictionary() {
|
|
5
|
+
return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
|
|
6
|
+
getCommonActionsDictionary().concat(getRHFAutocompleteComponentsDictionary())
|
|
7
|
+
);
|
|
8
|
+
}
|
|
9
|
+
const DICCTIONARY = {
|
|
10
|
+
input_placeholder: "input_placeholder",
|
|
11
|
+
operand_true: "operand_true",
|
|
12
|
+
operand_false: "operand_false",
|
|
13
|
+
filter_tooltip_refresh: "filter_tooltip_refresh",
|
|
14
|
+
filter_tooltip_dirty: "filter_tooltip_dirty",
|
|
15
|
+
filter_tooltip_invalid: "filter_tooltip_invalid",
|
|
16
|
+
operator_b: "operator_b",
|
|
17
|
+
operator_e: "operator_e",
|
|
18
|
+
operator_ne: "operator_ne",
|
|
19
|
+
operator_gt: "operator_gt",
|
|
20
|
+
operator_gte: "operator_gte",
|
|
21
|
+
operator_lt: "operator_lt",
|
|
22
|
+
operator_lte: "operator_lte",
|
|
23
|
+
operator_c: "operator_c",
|
|
24
|
+
operator_nc: "operator_nc",
|
|
25
|
+
operator_in: "operator_in",
|
|
26
|
+
operator_nin: "operator_nin",
|
|
27
|
+
label_boolean_operator: "label_boolean_operator",
|
|
28
|
+
label_boolean_operand1: "label_boolean_operand1",
|
|
29
|
+
label_operator_date_time: "label_operator_date_time",
|
|
30
|
+
label_operand1_date_time: "label_operand1_date_time",
|
|
31
|
+
label_operand2_date_time: "label_operand2_date_time",
|
|
32
|
+
label_operator_number: "label_operator_number",
|
|
33
|
+
label_operand1_number: "label_operand1_number",
|
|
34
|
+
label_operand2_number: "label_operand2_number",
|
|
35
|
+
label_operator_string: "label_operator_string",
|
|
36
|
+
label_operand1_string: "label_operand1_string",
|
|
37
|
+
operator_required: "operator_required",
|
|
38
|
+
error_invalid_date: "error_invalid_date",
|
|
39
|
+
error_less_than_start: "error_less_than_start",
|
|
40
|
+
label_select_operator: "label_select_operator",
|
|
41
|
+
label_select_operands_array: "label_select_operands_array",
|
|
42
|
+
error_operand_required: "error_operand_required"
|
|
43
|
+
};
|
|
44
|
+
const getDynamicFilterDictionary = (key) => {
|
|
45
|
+
return `${DYNAMIC_FILTER_DICTIONARY_ID}.${key}`;
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
DICCTIONARY as D,
|
|
49
|
+
getDynamicFilterComponentsDictionary as a,
|
|
50
|
+
getDynamicFilterDictionary as g
|
|
51
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary,
|
|
3
|
-
import { B as
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.d28d39ef.js";
|
|
3
|
+
import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, D as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, a as SELECT_OPERATORS } from "../constants.1dddd09c.js";
|
|
4
|
+
import { B as BooleanFilter, S as StringFilter, D as DateTimeFilter, N as NumberFilter, a as SelectFilter, f as fieldFactory } from "../subcomponents/index.778c93cc.js";
|
|
4
5
|
import { i as isValidDate } from "../../../utils/index.14912462.js";
|
|
5
6
|
class BooleanFilterHelpers {
|
|
6
7
|
getComponent() {
|
|
@@ -1,77 +1,9 @@
|
|
|
1
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.258bf919.js";
|
|
2
|
-
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.d6dd0f42.js";
|
|
3
1
|
import { alpha } from "@mui/material";
|
|
4
2
|
import { c as containerQuery } from "../../utils/index.14912462.js";
|
|
5
3
|
import { jsx } from "react/jsx-runtime";
|
|
6
4
|
import { useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
7
|
-
import { D as DynamicFilterProvider } from "./store/index.
|
|
8
|
-
import { b as DynamicFilterBase } from "./subcomponents/index.
|
|
9
|
-
const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
|
|
10
|
-
function getDynamicFilterComponentsDictionary() {
|
|
11
|
-
return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
|
|
12
|
-
getCommonActionsDictionary().concat(getRHFAutocompleteComponentsDictionary())
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
const DICCTIONARY = {
|
|
16
|
-
input_placeholder: "input_placeholder",
|
|
17
|
-
operand_true: "operand_true",
|
|
18
|
-
operand_false: "operand_false",
|
|
19
|
-
filter_tooltip_refresh: "filter_tooltip_refresh",
|
|
20
|
-
filter_tooltip_dirty: "filter_tooltip_dirty",
|
|
21
|
-
filter_tooltip_invalid: "filter_tooltip_invalid",
|
|
22
|
-
operator_b: "operator_b",
|
|
23
|
-
operator_e: "operator_e",
|
|
24
|
-
operator_ne: "operator_ne",
|
|
25
|
-
operator_gt: "operator_gt",
|
|
26
|
-
operator_gte: "operator_gte",
|
|
27
|
-
operator_lt: "operator_lt",
|
|
28
|
-
operator_lte: "operator_lte",
|
|
29
|
-
operator_c: "operator_c",
|
|
30
|
-
operator_nc: "operator_nc",
|
|
31
|
-
operator_in: "operator_in",
|
|
32
|
-
operator_nin: "operator_nin",
|
|
33
|
-
label_boolean_operator: "label_boolean_operator",
|
|
34
|
-
label_boolean_operand1: "label_boolean_operand1",
|
|
35
|
-
label_operator_date_time: "label_operator_date_time",
|
|
36
|
-
label_operand1_date_time: "label_operand1_date_time",
|
|
37
|
-
label_operand2_date_time: "label_operand2_date_time",
|
|
38
|
-
label_operator_number: "label_operator_number",
|
|
39
|
-
label_operand1_number: "label_operand1_number",
|
|
40
|
-
label_operand2_number: "label_operand2_number",
|
|
41
|
-
label_operator_string: "label_operator_string",
|
|
42
|
-
label_operand1_string: "label_operand1_string",
|
|
43
|
-
operator_required: "operator_required",
|
|
44
|
-
error_invalid_date: "error_invalid_date",
|
|
45
|
-
error_less_than_start: "error_less_than_start",
|
|
46
|
-
label_select_operator: "label_select_operator",
|
|
47
|
-
label_select_operands_array: "label_select_operands_array",
|
|
48
|
-
error_operand_required: "error_operand_required"
|
|
49
|
-
};
|
|
50
|
-
const getDynamicFilterDictionary = (key) => {
|
|
51
|
-
return `${DYNAMIC_FILTER_DICTIONARY_ID}.${key}`;
|
|
52
|
-
};
|
|
53
|
-
const DYNAMIC_FILTER_KEY_COMPONENT = "M4LDynamicFilter";
|
|
54
|
-
const ALL_FIELD = {
|
|
55
|
-
name: "all",
|
|
56
|
-
dictionaryId: "dynamic_filter.all_fields",
|
|
57
|
-
urlIcon: "",
|
|
58
|
-
type: "string",
|
|
59
|
-
multiple: true,
|
|
60
|
-
presence: "optional"
|
|
61
|
-
};
|
|
62
|
-
const STRING_OPERATORS = ["c", "nc"];
|
|
63
|
-
const NUMBER_OPERATORS = ["b", "e", "ne", "gt", "gte", "lt", "lte"];
|
|
64
|
-
const BOOLEAN_OPERATORS = ["e", "ne"];
|
|
65
|
-
const SELECT_OPERATORS = ["in", "nin"];
|
|
66
|
-
const DATE_TIME_OPERATORS = [
|
|
67
|
-
"b",
|
|
68
|
-
"e",
|
|
69
|
-
"ne",
|
|
70
|
-
"gt",
|
|
71
|
-
"gte",
|
|
72
|
-
"lt",
|
|
73
|
-
"lte"
|
|
74
|
-
];
|
|
5
|
+
import { D as DynamicFilterProvider } from "./store/index.9b5121d6.js";
|
|
6
|
+
import { b as DynamicFilterBase } from "./subcomponents/index.778c93cc.js";
|
|
75
7
|
var DynamicFilterSlots = /* @__PURE__ */ ((DynamicFilterSlots2) => {
|
|
76
8
|
DynamicFilterSlots2["root"] = "root";
|
|
77
9
|
DynamicFilterSlots2["innerContainer"] = "innerContainer";
|
|
@@ -425,17 +357,7 @@ function DynamicFilter(props) {
|
|
|
425
357
|
return /* @__PURE__ */ jsx(DynamicFilterProvider, { ...props, children: /* @__PURE__ */ jsx(DynamicFilterBase, {}) });
|
|
426
358
|
}
|
|
427
359
|
export {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
NUMBER_OPERATORS as N,
|
|
432
|
-
STRING_OPERATORS as S,
|
|
433
|
-
DATE_TIME_OPERATORS as a,
|
|
434
|
-
SELECT_OPERATORS as b,
|
|
435
|
-
DYNAMIC_FILTER_KEY_COMPONENT as c,
|
|
436
|
-
DynamicFilterSlots as d,
|
|
437
|
-
dynamicFilterStyles as e,
|
|
438
|
-
DynamicFilter as f,
|
|
439
|
-
getDynamicFilterDictionary as g,
|
|
440
|
-
getDynamicFilterComponentsDictionary as h
|
|
360
|
+
DynamicFilterSlots as D,
|
|
361
|
+
DynamicFilter as a,
|
|
362
|
+
dynamicFilterStyles as d
|
|
441
363
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import {
|
|
2
|
+
import { b as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.1dddd09c.js";
|
|
3
|
+
import { D as DynamicFilterSlots, d as dynamicFilterStyles } from "../index.056a99c7.js";
|
|
3
4
|
import { MenuItem } from "@mui/material";
|
|
4
5
|
import { A as Actions } from "../../CommonActions/components/Actions/index.258bf919.js";
|
|
5
|
-
import { I as Icon } from "../../Icon/index.
|
|
6
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.83867398.js";
|
|
7
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.b4532b85.js";
|
|
7
8
|
import { P as Popover } from "../../mui_extended/Popover/index.2348fc4f.js";
|
|
8
9
|
import { T as Typography } from "../../mui_extended/Typography/index.642798f1.js";
|
|
9
10
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
@@ -4,8 +4,8 @@ import { shallow } from "zustand/shallow";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
7
|
-
import { A as ALL_FIELD } from "../
|
|
8
|
-
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../helpers/index.
|
|
7
|
+
import { A as ALL_FIELD } from "../constants.1dddd09c.js";
|
|
8
|
+
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../helpers/index.11ed2896.js";
|
|
9
9
|
import { devtools } from "zustand/middleware";
|
|
10
10
|
import { immer } from "zustand/middleware/immer";
|
|
11
11
|
function useDynamicFilterStore(selector, equalityFn) {
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState, useEffect, useRef, useCallback } from "react";
|
|
3
3
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { B as BOOLEAN_OPERATORS,
|
|
5
|
-
import {
|
|
6
|
-
import { R as
|
|
4
|
+
import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, D as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, a as SELECT_OPERATORS, A as ALL_FIELD } from "../constants.1dddd09c.js";
|
|
5
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.d28d39ef.js";
|
|
6
|
+
import { R as RHFAutocomplete } from "../../hook-form/RHFAutocomplete/index.2991d444.js";
|
|
7
|
+
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.10e57945.js";
|
|
7
8
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
8
|
-
import { R as RHFDateTime } from "../../hook-form/RHFDateTime/index.
|
|
9
|
-
import { u as useDynamicFilterStore } from "../store/index.
|
|
10
|
-
import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.
|
|
11
|
-
import { P as PopoverMenuStyled, a as PopoverMenuItemStyled, b as PopoverMenuItemIconStyled, c as PopoverMenuItemLabelStyled, I as InputFilterStyled, d as InputFilterIconStyled, e as InputFilterInputStyled, A as AppliedFilterChipStyled, f as AppliedFilterChipIconStyled, g as AppliedFilterChipInfoStyled, h as AppliedFilterChipInfoFieldNameStyled, i as AppliedFilterChipInfoOperatorStyled, j as AppliedFilterChipInfoOperandsStyled, k as AppliedFilterChipRemoveButtonStyled, l as AppliedFiltersStyled, m as AppliedFilterInnerContainerStyled, n as ActionsSkeletonButtonStyled, o as ActionsStyled, p as ActionsClearButtonStyled, q as ActionsSubmitButtonStyled, r as PopoverStyled, s as PopoverHeaderStyled, t as PopoverHeaderIconStyled, u as PopoverHeaderTitleStyled, v as PopoverContainerFieldsStyled, w as PopoverHeaderActionsStyled, R as RootStyled, x as InnerContainerStyled } from "../slots/index.
|
|
9
|
+
import { R as RHFDateTime } from "../../hook-form/RHFDateTime/index.5689a29f.js";
|
|
10
|
+
import { u as useDynamicFilterStore } from "../store/index.9b5121d6.js";
|
|
11
|
+
import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.d97c727b.js";
|
|
12
|
+
import { P as PopoverMenuStyled, a as PopoverMenuItemStyled, b as PopoverMenuItemIconStyled, c as PopoverMenuItemLabelStyled, I as InputFilterStyled, d as InputFilterIconStyled, e as InputFilterInputStyled, A as AppliedFilterChipStyled, f as AppliedFilterChipIconStyled, g as AppliedFilterChipInfoStyled, h as AppliedFilterChipInfoFieldNameStyled, i as AppliedFilterChipInfoOperatorStyled, j as AppliedFilterChipInfoOperandsStyled, k as AppliedFilterChipRemoveButtonStyled, l as AppliedFiltersStyled, m as AppliedFilterInnerContainerStyled, n as ActionsSkeletonButtonStyled, o as ActionsStyled, p as ActionsClearButtonStyled, q as ActionsSubmitButtonStyled, r as PopoverStyled, s as PopoverHeaderStyled, t as PopoverHeaderIconStyled, u as PopoverHeaderTitleStyled, v as PopoverContainerFieldsStyled, w as PopoverHeaderActionsStyled, R as RootStyled, x as InnerContainerStyled } from "../slots/index.82d7eaf2.js";
|
|
12
13
|
import { a as getPropDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
14
|
+
import { D as DynamicFilterSlots } from "../index.056a99c7.js";
|
|
13
15
|
import { Skeleton } from "@mui/material";
|
|
14
16
|
import { S as ScrollBar } from "../../ScrollBar/index.21bc5025.js";
|
|
15
17
|
import { useFormatter } from "@m4l/graphics";
|
|
16
|
-
import { B as BooleanFilterHelpers, S as StringFilterHelpers, N as NumberFilterHelpers, D as DateTimeFilterHelpers, b as SelectFilterHelpers } from "../helpers/index.
|
|
18
|
+
import { B as BooleanFilterHelpers, S as StringFilterHelpers, N as NumberFilterHelpers, D as DateTimeFilterHelpers, b as SelectFilterHelpers } from "../helpers/index.11ed2896.js";
|
|
17
19
|
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.bf3a2812.js";
|
|
18
20
|
import { A as ActionCancel } from "../../CommonActions/components/ActionCancel/index.609a78ca.js";
|
|
19
21
|
import { A as ActionIntro } from "../../CommonActions/components/ActionIntro/index.ebac0bc1.js";
|
|
@@ -5,7 +5,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
9
9
|
const FieldLabelRoot = styled("label")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LFieldLabel?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Marker } from "react-leaflet";
|
|
3
3
|
import L__default from "leaflet";
|
|
4
|
-
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.
|
|
4
|
+
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.c37f3304.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
8
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
8
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.4075c562.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -5,7 +5,7 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.ea9c8518.js";
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
9
9
|
import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
|
|
10
10
|
import { B as Button } from "../mui_extended/Button/index.d742e9ee.js";
|
|
11
11
|
const componentName = "M4LoadingError";
|
|
@@ -12,7 +12,7 @@ import debounce from "lodash/debounce";
|
|
|
12
12
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
14
|
import { L as LinearProgress } from "../mui_extended/LinearProgress/index.4092bb69.js";
|
|
15
|
-
import { L as LoadingError } from "../LoadingError/index.
|
|
15
|
+
import { L as LoadingError } from "../LoadingError/index.aee18b24.js";
|
|
16
16
|
const componentName = "M4LMFLoader";
|
|
17
17
|
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
18
18
|
"root",
|
|
@@ -2,18 +2,19 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
3
3
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
5
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.68e19254.js";
|
|
6
6
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.2ef6f261.js";
|
|
7
7
|
import { Tooltip, IconButton } from "@mui/material";
|
|
8
8
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
10
10
|
import { S as ScrollBar } from "../ScrollBar/index.21bc5025.js";
|
|
11
11
|
import { u as useModal } from "../../hooks/useModal/index.2003c854.js";
|
|
12
|
-
import { I as Icon } from "../Icon/index.
|
|
12
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
13
13
|
import { S as Stack } from "../mui_extended/Stack/index.fe363ca5.js";
|
|
14
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
15
|
-
import {
|
|
14
|
+
import { W as WindowBase } from "../modal/WindowBase.cfbb0c9e.js";
|
|
15
|
+
import { a as DynamicFilter } from "../DynamicFilter/index.056a99c7.js";
|
|
16
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
17
|
+
import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.d28d39ef.js";
|
|
17
18
|
const Container = styled("div")(() => ({
|
|
18
19
|
height: "100%",
|
|
19
20
|
width: "100%",
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const PaperFormRoot = styled("div")(({ theme }) => ({
|
|
8
8
|
...theme.components?.M4LPaperForm?.styleOverrides
|
|
@@ -8,7 +8,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
|
|
11
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
11
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b4532b85.js";
|
|
12
12
|
const ContainerPeriod = styled("div")(({ theme }) => ({
|
|
13
13
|
...theme.components?.M4LPeriod?.styleOverrides
|
|
14
14
|
}));
|
|
@@ -6,8 +6,8 @@ import clsx from "clsx";
|
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId.0faeade8.js";
|
|
8
8
|
import { useState } from "react";
|
|
9
|
-
import { F as FieldLabel } from "../FieldLabel/index.
|
|
10
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index.6b6f708e.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
11
11
|
const PropertyValueRoot = styled("div")(({ theme }) => ({
|
|
12
12
|
...theme.components?.M4LPropertyValue?.styleOverrides
|
|
13
13
|
}));
|
|
@@ -7,12 +7,12 @@ import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
10
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.83867398.js";
|
|
11
11
|
import { T as Typography } from "../mui_extended/Typography/index.642798f1.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
13
|
import { useLocation } from "react-router-dom";
|
|
14
14
|
import { I as Image } from "../Image/index.19aa7ff5.js";
|
|
15
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
15
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b4532b85.js";
|
|
16
16
|
import { useResponsive } from "@m4l/styles";
|
|
17
17
|
const SideBarRoot = styled("div")(({ theme }) => ({
|
|
18
18
|
...theme.components?.M4LSideBar?.styleOverrides
|
|
@@ -5,7 +5,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { I as Icon } from "../Icon/index.83867398.js";
|
|
9
9
|
const ToastContainerRoot = styled("div")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LToastContainer?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.f81493ef.js";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useState, useRef, useMemo } from "react";
|
|
5
5
|
import * as Yup from "yup";
|
|
@@ -13,19 +13,19 @@ import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cf
|
|
|
13
13
|
import { styled } from "@mui/material/styles";
|
|
14
14
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
15
15
|
import { shallow } from "zustand/shallow";
|
|
16
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
16
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.eae97857.js";
|
|
17
17
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.bf3a2812.js";
|
|
18
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
18
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.10e57945.js";
|
|
19
19
|
import { A as Actions } from "../../../CommonActions/components/Actions/index.258bf919.js";
|
|
20
20
|
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.609a78ca.js";
|
|
21
21
|
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.ebac0bc1.js";
|
|
22
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
22
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.b4532b85.js";
|
|
23
23
|
import { P as Popover } from "../../../mui_extended/Popover/index.2348fc4f.js";
|
|
24
24
|
import { T as Typography } from "../../../mui_extended/Typography/index.642798f1.js";
|
|
25
25
|
import { S as ScrollBar } from "../../../ScrollBar/index.21bc5025.js";
|
|
26
26
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
27
27
|
import { B as Button } from "../../../mui_extended/Button/index.d742e9ee.js";
|
|
28
|
-
import { I as Icon } from "../../../Icon/index.
|
|
28
|
+
import { I as Icon } from "../../../Icon/index.83867398.js";
|
|
29
29
|
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
30
30
|
const areasAdminClasses = generateUtilityClasses(
|
|
31
31
|
AREAS_ADMIN_CLASS_NAME,
|
|
@@ -6,27 +6,27 @@ import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
|
6
6
|
import { shallow } from "zustand/shallow";
|
|
7
7
|
import React__default, { useMemo, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
9
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.f81493ef.js";
|
|
10
10
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
11
|
-
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
11
|
+
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.eae97857.js";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
13
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
14
14
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
15
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
15
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.b4532b85.js";
|
|
16
16
|
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.ea9c8518.js";
|
|
17
|
-
import { I as Icon } from "../../../Icon/index.
|
|
17
|
+
import { I as Icon } from "../../../Icon/index.83867398.js";
|
|
18
18
|
import { T as Typography } from "../../../mui_extended/Typography/index.642798f1.js";
|
|
19
|
-
import { M as MFLoader } from "../../../MFLoader/index.
|
|
19
|
+
import { M as MFLoader } from "../../../MFLoader/index.c975666e.js";
|
|
20
20
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.992ae7a3.js";
|
|
21
21
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
22
22
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.4092bb69.js";
|
|
23
23
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
24
24
|
import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
|
|
25
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
25
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.3311cbf9.js";
|
|
26
26
|
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.7050ac4f.js";
|
|
27
27
|
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.45cecca2.js";
|
|
28
28
|
import { useLocation } from "react-router-dom";
|
|
29
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
29
|
+
import { L as LoadingError } from "../../../LoadingError/index.aee18b24.js";
|
|
30
30
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
31
31
|
import { c as cjs } from "../../../../react-draggable.1c1ba224.js";
|
|
32
32
|
import { R as ResizeableWindow } from "../../../Resizeable/index.4f75c0b5.js";
|
|
@@ -6,8 +6,8 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
6
6
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
7
7
|
import { devtools } from "zustand/middleware";
|
|
8
8
|
import { immer } from "zustand/middleware/immer";
|
|
9
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
10
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
9
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.6e30ec72.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.325bac22.js";
|
|
11
11
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
12
12
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
13
13
|
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.45cecca2.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.3311cbf9.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|