@m4l/components 1.0.13 → 1.0.15
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.f22ad364.js → index.e29a3c5c.js} +1 -1
- package/components/AppBar/{index.8d90ce87.js → index.4f4bb61f.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.a1318eac.js → index.b325f1e2.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.7fb1ebaa.js → index.ff18b2a6.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.0ee10612.js → index.1487b238.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.dce9ada8.js → index.2999445b.js} +1 -1
- package/components/DataGrid/{index.68e19254.js → index.4a2e0f22.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/{index.6b044e84.js → index.0a3db350.js} +6 -6
- package/components/DragResizeWindow/{index.a358789f.js → index.f23525c7.js} +2 -2
- package/components/DynamicFilter/{dictionary.d28d39ef.js → dictionary.da8046c7.js} +1 -1
- package/components/DynamicFilter/helpers/{index.11ed2896.js → index.a13deed7.js} +2 -2
- package/components/DynamicFilter/{index.056a99c7.js → index.952f8480.js} +3 -35
- package/components/DynamicFilter/slots/constants.13968194.js +34 -0
- package/components/DynamicFilter/slots/constants.d.ts +30 -0
- package/components/DynamicFilter/slots/{index.82d7eaf2.js → index.b55f3ebc.js} +4 -3
- package/components/DynamicFilter/store/{index.9b5121d6.js → index.370765c1.js} +1 -1
- package/components/DynamicFilter/subcomponents/{index.778c93cc.js → index.e32811b5.js} +9 -9
- package/components/DynamicFilter/types.d.ts +1 -30
- package/components/FieldLabel/{index.6b6f708e.js → index.31998491.js} +1 -1
- package/components/Icon/{index.83867398.js → index.7c470582.js} +2 -2
- package/components/LoadingError/{index.aee18b24.js → index.42a55f4c.js} +1 -1
- package/components/MFLoader/{index.c975666e.js → index.aa7f5a2e.js} +1 -1
- package/components/ObjectLogs/{index.a3e42b21.js → index.92ef4170.js} +5 -5
- package/components/PaperForm/{index.007ef4cf.js → index.c7495338.js} +1 -1
- package/components/Period/{index.9647181b.js → index.798f8392.js} +1 -1
- package/components/PropertyValue/{index.51faabb5.js → index.2d2911e8.js} +2 -2
- package/components/SideBar/{index.4075c562.js → index.6cfca08a.js} +2 -2
- package/components/ToastContainer/{index.2a7d304e.js → index.18d8fe7c.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.325bac22.js → index.4b10abad.js} +5 -5
- package/components/areas/components/AreasViewer/{index.6e30ec72.js → index.7573f13c.js} +7 -7
- package/components/areas/contexts/AreasContext/{index.3311cbf9.js → index.11779442.js} +2 -2
- package/components/areas/hooks/useAreas/{index.f81493ef.js → index.62f5aa0a.js} +1 -1
- package/components/commercial/TopBar/{index.410fffa8.js → index.7c61f79e.js} +2 -2
- package/components/commercial/{index.07638f52.js → index.ecc02533.js} +2 -2
- package/components/formatters/BooleanFormatter/{index.cbf9cd6e.js → index.a9d5ac7d.js} +2 -2
- package/components/formatters/{index.63a3e08e.js → index.7b777849.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.2991d444.js → index.e5e8baae.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/{index.d97c727b.js → index.5d539214.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.b57e3131.js → index.63c87daa.js} +1 -1
- package/components/hook-form/RHFColorPicker/{index.310f6ff0.js → index.9d34e1f3.js} +2 -2
- package/components/hook-form/RHFDateTime/{index.5689a29f.js → index.64804ca3.js} +2 -2
- package/components/hook-form/RHFPeriod/{index.019e61ae.js → index.15a61515.js} +2 -2
- package/components/hook-form/RHFTextField/{index.10e57945.js → index.d2af30c0.js} +2 -2
- package/components/maps/components/GpsTools/{index.20f83559.js → index.6d2dab3c.js} +11 -11
- package/components/maps/components/Map/{index.c37f3304.js → index.2c31ea9e.js} +8 -8
- package/components/modal/{WindowBase.cfbb0c9e.js → WindowBase.6bf7201e.js} +2 -2
- package/components/modal/{WindowConfirm.300bd34b.js → WindowConfirm.ca443b26.js} +1 -1
- package/components/mui_extended/Accordion/{index.0843a609.js → index.c51c5787.js} +2 -2
- package/components/mui_extended/{CheckBox.21c25705.js → CheckBox.511980a0.js} +1 -1
- package/components/mui_extended/IconButton/{index.b4532b85.js → index.31343834.js} +1 -1
- package/components/mui_extended/MenuActions/{index.eae97857.js → index.520a26d8.js} +2 -2
- package/components/mui_extended/Pager/{index.3926c835.js → index.225cd67f.js} +2 -2
- package/components/mui_extended/ToggleIconButton/{index.fcd5205c.js → index.27848408.js} +1 -1
- package/components/popups/PopupsProvider/{index.d7c9efce.js → index.13be398e.js} +1 -1
- package/components/popups/PopupsViewer/{index.f3677ab1.js → index.31407dfb.js} +4 -4
- package/hooks/useFormAddEdit/{index.6d983cd8.js → index.ab256ea9.js} +1 -1
- package/index.js +63 -62
- package/package.json +1 -1
- package/styles/DynamicFilter.styles.d.ts +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.7c470582.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.31343834.js";
|
|
11
11
|
const AppBarRoot = styled("header")(({ theme }) => ({
|
|
12
12
|
...theme.components?.M4LAppBar?.styleOverrides
|
|
13
13
|
}));
|
package/components/CommonActions/components/ActionFormCancel/{index.a1318eac.js → index.b325f1e2.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.ca443b26.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.a9d5ac7d.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.7b777849.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.4a2e0f22.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.225cd67f.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.0a3db350.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.520a26d8.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.4a2e0f22.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.225cd67f.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.31343834.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.2999445b.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.6bf7201e.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.2c31ea9e.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.31407dfb.js";
|
|
9
9
|
import { R as Resizable } from "../../react-resizable.a59c14f4.js";
|
|
10
10
|
const WrapperWindowRoot = styled("div")`
|
|
11
11
|
position: absolute;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.258bf919.js";
|
|
2
|
-
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.e5e8baae.js";
|
|
3
3
|
const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
|
|
4
4
|
function getDynamicFilterComponentsDictionary() {
|
|
5
5
|
return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.da8046c7.js";
|
|
3
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.
|
|
4
|
+
import { B as BooleanFilter, S as StringFilter, D as DateTimeFilter, N as NumberFilter, a as SelectFilter, f as fieldFactory } from "../subcomponents/index.e32811b5.js";
|
|
5
5
|
import { i as isValidDate } from "../../../utils/index.14912462.js";
|
|
6
6
|
class BooleanFilterHelpers {
|
|
7
7
|
getComponent() {
|
|
@@ -2,39 +2,8 @@ import { alpha } from "@mui/material";
|
|
|
2
2
|
import { c as containerQuery } from "../../utils/index.14912462.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
5
|
-
import { D as DynamicFilterProvider } from "./store/index.
|
|
6
|
-
import { b as DynamicFilterBase } from "./subcomponents/index.
|
|
7
|
-
var DynamicFilterSlots = /* @__PURE__ */ ((DynamicFilterSlots2) => {
|
|
8
|
-
DynamicFilterSlots2["root"] = "root";
|
|
9
|
-
DynamicFilterSlots2["innerContainer"] = "innerContainer";
|
|
10
|
-
DynamicFilterSlots2["inputFilter"] = "inputFilter";
|
|
11
|
-
DynamicFilterSlots2["inputFilterInput"] = "inputFilterInput";
|
|
12
|
-
DynamicFilterSlots2["inputFilterIcon"] = "inputFilterIcon";
|
|
13
|
-
DynamicFilterSlots2["appliedFilters"] = "appliedFilters";
|
|
14
|
-
DynamicFilterSlots2["appliedFilterInnerContainer"] = "appliedFilterInnerContainer";
|
|
15
|
-
DynamicFilterSlots2["appliedFilterChip"] = "appliedFilterChip";
|
|
16
|
-
DynamicFilterSlots2["appliedFilterChipIcon"] = "appliedFilterChipIcon";
|
|
17
|
-
DynamicFilterSlots2["appliedFilterChipInfo"] = "appliedFilterChipInfo";
|
|
18
|
-
DynamicFilterSlots2["appliedFilterChipInfoFieldName"] = "appliedFilterChipInfoFieldName";
|
|
19
|
-
DynamicFilterSlots2["appliedFilterChipInfoOperator"] = "appliedFilterChipInfoOperator";
|
|
20
|
-
DynamicFilterSlots2["appliedFilterChipInfoOperands"] = "appliedFilterChipInfoOperands";
|
|
21
|
-
DynamicFilterSlots2["appliedFilterChipRemoveButton"] = "appliedFilterChipRemoveButton";
|
|
22
|
-
DynamicFilterSlots2["actions"] = "actions";
|
|
23
|
-
DynamicFilterSlots2["actionsSkeletonButton"] = "actionsSkeletonButton";
|
|
24
|
-
DynamicFilterSlots2["actionsClearButton"] = "actionsClearButton";
|
|
25
|
-
DynamicFilterSlots2["actionsSubmitButton"] = "actionsSubmitButton";
|
|
26
|
-
DynamicFilterSlots2["popoverMenu"] = "popoverMenu";
|
|
27
|
-
DynamicFilterSlots2["popoverMenuItem"] = "popoverMenuItem";
|
|
28
|
-
DynamicFilterSlots2["popoverMenuItemIcon"] = "popoverMenuItemIcon";
|
|
29
|
-
DynamicFilterSlots2["popoverMenuItemLabel"] = "popoverMenuItemLabel";
|
|
30
|
-
DynamicFilterSlots2["popoverFilter"] = "popoverFilter";
|
|
31
|
-
DynamicFilterSlots2["popoverFilterContainerFields"] = "popoverFilterContainerFields";
|
|
32
|
-
DynamicFilterSlots2["popoverFilterHeader"] = "popoverFilterHeader";
|
|
33
|
-
DynamicFilterSlots2["popoverFilterHeaderIcon"] = "popoverFilterHeaderIcon";
|
|
34
|
-
DynamicFilterSlots2["popoverFilterHeaderTitle"] = "popoverFilterHeaderTitle";
|
|
35
|
-
DynamicFilterSlots2["popoverFilterActions"] = "popoverFilterActions";
|
|
36
|
-
return DynamicFilterSlots2;
|
|
37
|
-
})(DynamicFilterSlots || {});
|
|
5
|
+
import { D as DynamicFilterProvider } from "./store/index.370765c1.js";
|
|
6
|
+
import { b as DynamicFilterBase } from "./subcomponents/index.e32811b5.js";
|
|
38
7
|
const CONTAINER_QUERY_NAME = "dynamic";
|
|
39
8
|
const dynamicFilterStyles = {
|
|
40
9
|
root: {
|
|
@@ -357,7 +326,6 @@ function DynamicFilter(props) {
|
|
|
357
326
|
return /* @__PURE__ */ jsx(DynamicFilterProvider, { ...props, children: /* @__PURE__ */ jsx(DynamicFilterBase, {}) });
|
|
358
327
|
}
|
|
359
328
|
export {
|
|
360
|
-
|
|
361
|
-
DynamicFilter as a,
|
|
329
|
+
DynamicFilter as D,
|
|
362
330
|
dynamicFilterStyles as d
|
|
363
331
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var DynamicFilterSlots = /* @__PURE__ */ ((DynamicFilterSlots2) => {
|
|
2
|
+
DynamicFilterSlots2["root"] = "root";
|
|
3
|
+
DynamicFilterSlots2["innerContainer"] = "innerContainer";
|
|
4
|
+
DynamicFilterSlots2["inputFilter"] = "inputFilter";
|
|
5
|
+
DynamicFilterSlots2["inputFilterInput"] = "inputFilterInput";
|
|
6
|
+
DynamicFilterSlots2["inputFilterIcon"] = "inputFilterIcon";
|
|
7
|
+
DynamicFilterSlots2["appliedFilters"] = "appliedFilters";
|
|
8
|
+
DynamicFilterSlots2["appliedFilterInnerContainer"] = "appliedFilterInnerContainer";
|
|
9
|
+
DynamicFilterSlots2["appliedFilterChip"] = "appliedFilterChip";
|
|
10
|
+
DynamicFilterSlots2["appliedFilterChipIcon"] = "appliedFilterChipIcon";
|
|
11
|
+
DynamicFilterSlots2["appliedFilterChipInfo"] = "appliedFilterChipInfo";
|
|
12
|
+
DynamicFilterSlots2["appliedFilterChipInfoFieldName"] = "appliedFilterChipInfoFieldName";
|
|
13
|
+
DynamicFilterSlots2["appliedFilterChipInfoOperator"] = "appliedFilterChipInfoOperator";
|
|
14
|
+
DynamicFilterSlots2["appliedFilterChipInfoOperands"] = "appliedFilterChipInfoOperands";
|
|
15
|
+
DynamicFilterSlots2["appliedFilterChipRemoveButton"] = "appliedFilterChipRemoveButton";
|
|
16
|
+
DynamicFilterSlots2["actions"] = "actions";
|
|
17
|
+
DynamicFilterSlots2["actionsSkeletonButton"] = "actionsSkeletonButton";
|
|
18
|
+
DynamicFilterSlots2["actionsClearButton"] = "actionsClearButton";
|
|
19
|
+
DynamicFilterSlots2["actionsSubmitButton"] = "actionsSubmitButton";
|
|
20
|
+
DynamicFilterSlots2["popoverMenu"] = "popoverMenu";
|
|
21
|
+
DynamicFilterSlots2["popoverMenuItem"] = "popoverMenuItem";
|
|
22
|
+
DynamicFilterSlots2["popoverMenuItemIcon"] = "popoverMenuItemIcon";
|
|
23
|
+
DynamicFilterSlots2["popoverMenuItemLabel"] = "popoverMenuItemLabel";
|
|
24
|
+
DynamicFilterSlots2["popoverFilter"] = "popoverFilter";
|
|
25
|
+
DynamicFilterSlots2["popoverFilterContainerFields"] = "popoverFilterContainerFields";
|
|
26
|
+
DynamicFilterSlots2["popoverFilterHeader"] = "popoverFilterHeader";
|
|
27
|
+
DynamicFilterSlots2["popoverFilterHeaderIcon"] = "popoverFilterHeaderIcon";
|
|
28
|
+
DynamicFilterSlots2["popoverFilterHeaderTitle"] = "popoverFilterHeaderTitle";
|
|
29
|
+
DynamicFilterSlots2["popoverFilterActions"] = "popoverFilterActions";
|
|
30
|
+
return DynamicFilterSlots2;
|
|
31
|
+
})(DynamicFilterSlots || {});
|
|
32
|
+
export {
|
|
33
|
+
DynamicFilterSlots as D
|
|
34
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum DynamicFilterSlots {
|
|
2
|
+
root = "root",
|
|
3
|
+
innerContainer = "innerContainer",
|
|
4
|
+
inputFilter = "inputFilter",
|
|
5
|
+
inputFilterInput = "inputFilterInput",
|
|
6
|
+
inputFilterIcon = "inputFilterIcon",
|
|
7
|
+
appliedFilters = "appliedFilters",
|
|
8
|
+
appliedFilterInnerContainer = "appliedFilterInnerContainer",
|
|
9
|
+
appliedFilterChip = "appliedFilterChip",
|
|
10
|
+
appliedFilterChipIcon = "appliedFilterChipIcon",
|
|
11
|
+
appliedFilterChipInfo = "appliedFilterChipInfo",
|
|
12
|
+
appliedFilterChipInfoFieldName = "appliedFilterChipInfoFieldName",
|
|
13
|
+
appliedFilterChipInfoOperator = "appliedFilterChipInfoOperator",
|
|
14
|
+
appliedFilterChipInfoOperands = "appliedFilterChipInfoOperands",
|
|
15
|
+
appliedFilterChipRemoveButton = "appliedFilterChipRemoveButton",
|
|
16
|
+
actions = "actions",
|
|
17
|
+
actionsSkeletonButton = "actionsSkeletonButton",
|
|
18
|
+
actionsClearButton = "actionsClearButton",
|
|
19
|
+
actionsSubmitButton = "actionsSubmitButton",
|
|
20
|
+
popoverMenu = "popoverMenu",
|
|
21
|
+
popoverMenuItem = "popoverMenuItem",
|
|
22
|
+
popoverMenuItemIcon = "popoverMenuItemIcon",
|
|
23
|
+
popoverMenuItemLabel = "popoverMenuItemLabel",
|
|
24
|
+
popoverFilter = "popoverFilter",
|
|
25
|
+
popoverFilterContainerFields = "popoverFilterContainerFields",
|
|
26
|
+
popoverFilterHeader = "popoverFilterHeader",
|
|
27
|
+
popoverFilterHeaderIcon = "popoverFilterHeaderIcon",
|
|
28
|
+
popoverFilterHeaderTitle = "popoverFilterHeaderTitle",
|
|
29
|
+
popoverFilterActions = "popoverFilterActions"
|
|
30
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { b as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.1dddd09c.js";
|
|
3
|
-
import { D as DynamicFilterSlots
|
|
3
|
+
import { D as DynamicFilterSlots } from "./constants.13968194.js";
|
|
4
|
+
import { d as dynamicFilterStyles } from "../index.952f8480.js";
|
|
4
5
|
import { MenuItem } from "@mui/material";
|
|
5
6
|
import { A as Actions } from "../../CommonActions/components/Actions/index.258bf919.js";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
7
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
7
|
+
import { I as Icon } from "../../Icon/index.7c470582.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.31343834.js";
|
|
8
9
|
import { P as Popover } from "../../mui_extended/Popover/index.2348fc4f.js";
|
|
9
10
|
import { T as Typography } from "../../mui_extended/Typography/index.642798f1.js";
|
|
10
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
7
7
|
import { A as ALL_FIELD } from "../constants.1dddd09c.js";
|
|
8
|
-
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../helpers/index.
|
|
8
|
+
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../helpers/index.a13deed7.js";
|
|
9
9
|
import { devtools } from "zustand/middleware";
|
|
10
10
|
import { immer } from "zustand/middleware/immer";
|
|
11
11
|
function useDynamicFilterStore(selector, equalityFn) {
|
|
@@ -2,20 +2,20 @@ 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
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.
|
|
6
|
-
import { R as RHFAutocomplete } from "../../hook-form/RHFAutocomplete/index.
|
|
7
|
-
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.
|
|
5
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../dictionary.da8046c7.js";
|
|
6
|
+
import { R as RHFAutocomplete } from "../../hook-form/RHFAutocomplete/index.e5e8baae.js";
|
|
7
|
+
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.d2af30c0.js";
|
|
8
8
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
9
|
-
import { R as RHFDateTime } from "../../hook-form/RHFDateTime/index.
|
|
10
|
-
import { u as useDynamicFilterStore } from "../store/index.
|
|
11
|
-
import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.
|
|
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.
|
|
9
|
+
import { R as RHFDateTime } from "../../hook-form/RHFDateTime/index.64804ca3.js";
|
|
10
|
+
import { u as useDynamicFilterStore } from "../store/index.370765c1.js";
|
|
11
|
+
import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.5d539214.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.b55f3ebc.js";
|
|
13
13
|
import { a as getPropDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
14
|
-
import { D as DynamicFilterSlots } from "../
|
|
14
|
+
import { D as DynamicFilterSlots } from "../slots/constants.13968194.js";
|
|
15
15
|
import { Skeleton } from "@mui/material";
|
|
16
16
|
import { S as ScrollBar } from "../../ScrollBar/index.21bc5025.js";
|
|
17
17
|
import { useFormatter } from "@m4l/graphics";
|
|
18
|
-
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.a13deed7.js";
|
|
19
19
|
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.bf3a2812.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";
|
|
@@ -2,6 +2,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
2
2
|
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
3
3
|
import { Maybe } from '@m4l/core';
|
|
4
4
|
import { RHFAutocompleteAsyncProps } from '../hook-form/RHFAutocompleteAsync/types';
|
|
5
|
+
import { DynamicFilterSlots } from './slots/constants';
|
|
5
6
|
export declare type FieldType = 'number' | 'string' | 'boolean' | 'datetime' | 'select';
|
|
6
7
|
export declare type OperandType = number | string | boolean | Date | [] | object;
|
|
7
8
|
export declare type OperandInitialFilterType = number | string | boolean | [] | object;
|
|
@@ -277,36 +278,6 @@ export interface OwnerState {
|
|
|
277
278
|
}
|
|
278
279
|
export interface DynamicFilterOwnerState extends DynamicFilterProps, OwnerState {
|
|
279
280
|
}
|
|
280
|
-
export declare enum DynamicFilterSlots {
|
|
281
|
-
root = "root",
|
|
282
|
-
innerContainer = "innerContainer",
|
|
283
|
-
inputFilter = "inputFilter",
|
|
284
|
-
inputFilterInput = "inputFilterInput",
|
|
285
|
-
inputFilterIcon = "inputFilterIcon",
|
|
286
|
-
appliedFilters = "appliedFilters",
|
|
287
|
-
appliedFilterInnerContainer = "appliedFilterInnerContainer",
|
|
288
|
-
appliedFilterChip = "appliedFilterChip",
|
|
289
|
-
appliedFilterChipIcon = "appliedFilterChipIcon",
|
|
290
|
-
appliedFilterChipInfo = "appliedFilterChipInfo",
|
|
291
|
-
appliedFilterChipInfoFieldName = "appliedFilterChipInfoFieldName",
|
|
292
|
-
appliedFilterChipInfoOperator = "appliedFilterChipInfoOperator",
|
|
293
|
-
appliedFilterChipInfoOperands = "appliedFilterChipInfoOperands",
|
|
294
|
-
appliedFilterChipRemoveButton = "appliedFilterChipRemoveButton",
|
|
295
|
-
actions = "actions",
|
|
296
|
-
actionsSkeletonButton = "actionsSkeletonButton",
|
|
297
|
-
actionsClearButton = "actionsClearButton",
|
|
298
|
-
actionsSubmitButton = "actionsSubmitButton",
|
|
299
|
-
popoverMenu = "popoverMenu",
|
|
300
|
-
popoverMenuItem = "popoverMenuItem",
|
|
301
|
-
popoverMenuItemIcon = "popoverMenuItemIcon",
|
|
302
|
-
popoverMenuItemLabel = "popoverMenuItemLabel",
|
|
303
|
-
popoverFilter = "popoverFilter",
|
|
304
|
-
popoverFilterContainerFields = "popoverFilterContainerFields",
|
|
305
|
-
popoverFilterHeader = "popoverFilterHeader",
|
|
306
|
-
popoverFilterHeaderIcon = "popoverFilterHeaderIcon",
|
|
307
|
-
popoverFilterHeaderTitle = "popoverFilterHeaderTitle",
|
|
308
|
-
popoverFilterActions = "popoverFilterActions"
|
|
309
|
-
}
|
|
310
281
|
export declare type DynamicFilterSlotsType = keyof typeof DynamicFilterSlots;
|
|
311
282
|
export declare type DynamicFilterStyles = Partial<OverridesStyleRules<DynamicFilterSlotsType, 'M4LDynamicFilter', Theme> | undefined> | undefined;
|
|
312
283
|
export {};
|
|
@@ -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.7c470582.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.2c31ea9e.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.6cfca08a.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.7c470582.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.42a55f4c.js";
|
|
16
16
|
const componentName = "M4LMFLoader";
|
|
17
17
|
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
18
18
|
"root",
|
|
@@ -2,19 +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.4a2e0f22.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.7c470582.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.6bf7201e.js";
|
|
15
|
+
import { D as DynamicFilter } from "../DynamicFilter/index.952f8480.js";
|
|
16
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
17
|
-
import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.
|
|
17
|
+
import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.da8046c7.js";
|
|
18
18
|
const Container = styled("div")(() => ({
|
|
19
19
|
height: "100%",
|
|
20
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.7c470582.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.31343834.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.31998491.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.7c470582.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.7c470582.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.31343834.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.7c470582.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.62f5aa0a.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.520a26d8.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.d2af30c0.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.31343834.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.7c470582.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.62f5aa0a.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.520a26d8.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.31343834.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.7c470582.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.aa7f5a2e.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.11779442.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.42a55f4c.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.7573f13c.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.4b10abad.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.11779442.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|