@m4l/components 1.0.12 → 1.0.14
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.404f01d4.js} +1 -1
- package/components/AppBar/{index.04816fec.js → index.a153e334.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.2a55418d.js → index.108b4887.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.30ea5c9a.js → index.aa98f7b6.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.512d6ee0.js → index.59b04e57.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.5d294f5d.js → index.7fc4c5f0.js} +1 -1
- package/components/DataGrid/{index.3ffee8f3.js → index.d05b9542.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/{index.8224ef1a.js → index.afc466b3.js} +6 -6
- package/components/DragResizeWindow/{index.917d150b.js → index.2b36dc1f.js} +2 -2
- package/components/DynamicFilter/constants.1dddd09c.js +31 -0
- package/components/DynamicFilter/dictionary.ce375e8f.js +51 -0
- package/components/DynamicFilter/helpers/{index.9baa9ef7.js → index.0eab89ef.js} +3 -2
- package/components/DynamicFilter/{index.7e64ade0.js → index.ef6c3a4f.js} +4 -114
- package/components/DynamicFilter/slots/constants.d.ts +30 -0
- package/components/DynamicFilter/slots/{index.dbb0936d.js → index.6f8fcccb.js} +36 -3
- package/components/DynamicFilter/store/{index.eafe4a4d.js → index.6319d445.js} +2 -2
- package/components/DynamicFilter/subcomponents/{index.d5bea68c.js → index.f5d4a81d.js} +9 -8
- package/components/DynamicFilter/types.d.ts +1 -30
- package/components/FieldLabel/{index.317f5f6f.js → index.b220bfbb.js} +1 -1
- package/components/Icon/{index.0598dfb1.js → index.717cf69c.js} +2 -2
- package/components/LoadingError/{index.1e464569.js → index.4cfeee6f.js} +1 -1
- package/components/MFLoader/{index.08b59dce.js → index.46805ba6.js} +1 -1
- package/components/ObjectLogs/{index.72dc8feb.js → index.86dd71c3.js} +5 -4
- package/components/PaperForm/{index.5ef72398.js → index.7a73a394.js} +1 -1
- package/components/Period/{index.301a752f.js → index.0d3ea00c.js} +1 -1
- package/components/PropertyValue/{index.0b5c361c.js → index.d02bea18.js} +2 -2
- package/components/SideBar/{index.8fdf28e0.js → index.90321e9f.js} +2 -2
- package/components/ToastContainer/{index.123d26d9.js → index.f5bff00f.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.1aec24f3.js → index.8290b7ac.js} +5 -5
- package/components/areas/components/AreasViewer/{index.429dbb7b.js → index.c1b3b741.js} +7 -7
- package/components/areas/contexts/AreasContext/{index.2e7cdc05.js → index.8a80127b.js} +2 -2
- package/components/areas/hooks/useAreas/{index.8913b7b5.js → index.16d6b5a7.js} +1 -1
- package/components/commercial/TopBar/{index.20c4b2ea.js → index.9eb26752.js} +2 -2
- package/components/commercial/{index.504bddfe.js → index.192900c0.js} +2 -2
- package/components/formatters/BooleanFormatter/{index.a4abeebc.js → index.790bdc9d.js} +2 -2
- package/components/formatters/{index.18f49751.js → index.0b95012a.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.d6dd0f42.js → index.4caa6e3d.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/{index.35d82ca9.js → index.21fe8f74.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.6a1b97dd.js → index.d6c22f91.js} +1 -1
- package/components/hook-form/RHFColorPicker/{index.dccd7187.js → index.e7f1ddab.js} +2 -2
- package/components/hook-form/RHFDateTime/{index.15976fef.js → index.d3683024.js} +2 -2
- package/components/hook-form/RHFPeriod/{index.e6d5c3a6.js → index.b871e169.js} +2 -2
- package/components/hook-form/RHFTextField/{index.55f91506.js → index.ea988842.js} +2 -2
- package/components/maps/components/GpsTools/{index.b126f06c.js → index.16d5fdbf.js} +11 -11
- package/components/maps/components/Map/{index.c163038c.js → index.b259ecde.js} +8 -8
- package/components/modal/{WindowBase.6fbd595f.js → WindowBase.f6adf7bc.js} +2 -2
- package/components/modal/{WindowConfirm.a33e1d29.js → WindowConfirm.3e0d2457.js} +1 -1
- package/components/mui_extended/Accordion/{index.808f22d7.js → index.59a7e7e8.js} +2 -2
- package/components/mui_extended/{CheckBox.2f354abf.js → CheckBox.c2f296af.js} +1 -1
- package/components/mui_extended/IconButton/{index.98914ce2.js → index.7ff17cea.js} +1 -1
- package/components/mui_extended/MenuActions/{index.ba7f3376.js → index.5b65b116.js} +2 -2
- package/components/mui_extended/Pager/{index.abeb8d39.js → index.4231bc79.js} +2 -2
- package/components/mui_extended/ToggleIconButton/{index.efed3ff5.js → index.709e2a4b.js} +1 -1
- package/components/popups/PopupsProvider/{index.8609e808.js → index.59c39aa5.js} +1 -1
- package/components/popups/PopupsViewer/{index.bfab9357.js → index.a10114d0.js} +4 -4
- package/hooks/useFormAddEdit/{index.faafbfae.js → index.e53d7d2c.js} +1 -1
- package/index.js +65 -63
- 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.717cf69c.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.7ff17cea.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.108b4887.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.3e0d2457.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.790bdc9d.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.0b95012a.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.d05b9542.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.4231bc79.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.afc466b3.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.5b65b116.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, D as DataGridRoot, b as dictionary } from "../../index.d05b9542.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.4231bc79.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.7ff17cea.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.7fc4c5f0.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.f6adf7bc.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.b259ecde.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.a10114d0.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.4caa6e3d.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.ce375e8f.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.f5d4a81d.js";
|
|
4
5
|
import { i as isValidDate } from "../../../utils/index.14912462.js";
|
|
5
6
|
class BooleanFilterHelpers {
|
|
6
7
|
getComponent() {
|
|
@@ -1,108 +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
|
-
];
|
|
75
|
-
var DynamicFilterSlots = /* @__PURE__ */ ((DynamicFilterSlots2) => {
|
|
76
|
-
DynamicFilterSlots2["root"] = "root";
|
|
77
|
-
DynamicFilterSlots2["innerContainer"] = "innerContainer";
|
|
78
|
-
DynamicFilterSlots2["inputFilter"] = "inputFilter";
|
|
79
|
-
DynamicFilterSlots2["inputFilterInput"] = "inputFilterInput";
|
|
80
|
-
DynamicFilterSlots2["inputFilterIcon"] = "inputFilterIcon";
|
|
81
|
-
DynamicFilterSlots2["appliedFilters"] = "appliedFilters";
|
|
82
|
-
DynamicFilterSlots2["appliedFilterInnerContainer"] = "appliedFilterInnerContainer";
|
|
83
|
-
DynamicFilterSlots2["appliedFilterChip"] = "appliedFilterChip";
|
|
84
|
-
DynamicFilterSlots2["appliedFilterChipIcon"] = "appliedFilterChipIcon";
|
|
85
|
-
DynamicFilterSlots2["appliedFilterChipInfo"] = "appliedFilterChipInfo";
|
|
86
|
-
DynamicFilterSlots2["appliedFilterChipInfoFieldName"] = "appliedFilterChipInfoFieldName";
|
|
87
|
-
DynamicFilterSlots2["appliedFilterChipInfoOperator"] = "appliedFilterChipInfoOperator";
|
|
88
|
-
DynamicFilterSlots2["appliedFilterChipInfoOperands"] = "appliedFilterChipInfoOperands";
|
|
89
|
-
DynamicFilterSlots2["appliedFilterChipRemoveButton"] = "appliedFilterChipRemoveButton";
|
|
90
|
-
DynamicFilterSlots2["actions"] = "actions";
|
|
91
|
-
DynamicFilterSlots2["actionsSkeletonButton"] = "actionsSkeletonButton";
|
|
92
|
-
DynamicFilterSlots2["actionsClearButton"] = "actionsClearButton";
|
|
93
|
-
DynamicFilterSlots2["actionsSubmitButton"] = "actionsSubmitButton";
|
|
94
|
-
DynamicFilterSlots2["popoverMenu"] = "popoverMenu";
|
|
95
|
-
DynamicFilterSlots2["popoverMenuItem"] = "popoverMenuItem";
|
|
96
|
-
DynamicFilterSlots2["popoverMenuItemIcon"] = "popoverMenuItemIcon";
|
|
97
|
-
DynamicFilterSlots2["popoverMenuItemLabel"] = "popoverMenuItemLabel";
|
|
98
|
-
DynamicFilterSlots2["popoverFilter"] = "popoverFilter";
|
|
99
|
-
DynamicFilterSlots2["popoverFilterContainerFields"] = "popoverFilterContainerFields";
|
|
100
|
-
DynamicFilterSlots2["popoverFilterHeader"] = "popoverFilterHeader";
|
|
101
|
-
DynamicFilterSlots2["popoverFilterHeaderIcon"] = "popoverFilterHeaderIcon";
|
|
102
|
-
DynamicFilterSlots2["popoverFilterHeaderTitle"] = "popoverFilterHeaderTitle";
|
|
103
|
-
DynamicFilterSlots2["popoverFilterActions"] = "popoverFilterActions";
|
|
104
|
-
return DynamicFilterSlots2;
|
|
105
|
-
})(DynamicFilterSlots || {});
|
|
5
|
+
import { D as DynamicFilterProvider } from "./store/index.6319d445.js";
|
|
6
|
+
import { b as DynamicFilterBase } from "./subcomponents/index.f5d4a81d.js";
|
|
106
7
|
const CONTAINER_QUERY_NAME = "dynamic";
|
|
107
8
|
const dynamicFilterStyles = {
|
|
108
9
|
root: {
|
|
@@ -425,17 +326,6 @@ function DynamicFilter(props) {
|
|
|
425
326
|
return /* @__PURE__ */ jsx(DynamicFilterProvider, { ...props, children: /* @__PURE__ */ jsx(DynamicFilterBase, {}) });
|
|
426
327
|
}
|
|
427
328
|
export {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
DICCTIONARY as D,
|
|
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
|
|
329
|
+
DynamicFilter as D,
|
|
330
|
+
dynamicFilterStyles as d
|
|
441
331
|
};
|
|
@@ -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,11 +1,43 @@
|
|
|
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 dynamicFilterStyles } from "../index.ef6c3a4f.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.717cf69c.js";
|
|
7
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.7ff17cea.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";
|
|
10
|
+
var DynamicFilterSlots = /* @__PURE__ */ ((DynamicFilterSlots2) => {
|
|
11
|
+
DynamicFilterSlots2["root"] = "root";
|
|
12
|
+
DynamicFilterSlots2["innerContainer"] = "innerContainer";
|
|
13
|
+
DynamicFilterSlots2["inputFilter"] = "inputFilter";
|
|
14
|
+
DynamicFilterSlots2["inputFilterInput"] = "inputFilterInput";
|
|
15
|
+
DynamicFilterSlots2["inputFilterIcon"] = "inputFilterIcon";
|
|
16
|
+
DynamicFilterSlots2["appliedFilters"] = "appliedFilters";
|
|
17
|
+
DynamicFilterSlots2["appliedFilterInnerContainer"] = "appliedFilterInnerContainer";
|
|
18
|
+
DynamicFilterSlots2["appliedFilterChip"] = "appliedFilterChip";
|
|
19
|
+
DynamicFilterSlots2["appliedFilterChipIcon"] = "appliedFilterChipIcon";
|
|
20
|
+
DynamicFilterSlots2["appliedFilterChipInfo"] = "appliedFilterChipInfo";
|
|
21
|
+
DynamicFilterSlots2["appliedFilterChipInfoFieldName"] = "appliedFilterChipInfoFieldName";
|
|
22
|
+
DynamicFilterSlots2["appliedFilterChipInfoOperator"] = "appliedFilterChipInfoOperator";
|
|
23
|
+
DynamicFilterSlots2["appliedFilterChipInfoOperands"] = "appliedFilterChipInfoOperands";
|
|
24
|
+
DynamicFilterSlots2["appliedFilterChipRemoveButton"] = "appliedFilterChipRemoveButton";
|
|
25
|
+
DynamicFilterSlots2["actions"] = "actions";
|
|
26
|
+
DynamicFilterSlots2["actionsSkeletonButton"] = "actionsSkeletonButton";
|
|
27
|
+
DynamicFilterSlots2["actionsClearButton"] = "actionsClearButton";
|
|
28
|
+
DynamicFilterSlots2["actionsSubmitButton"] = "actionsSubmitButton";
|
|
29
|
+
DynamicFilterSlots2["popoverMenu"] = "popoverMenu";
|
|
30
|
+
DynamicFilterSlots2["popoverMenuItem"] = "popoverMenuItem";
|
|
31
|
+
DynamicFilterSlots2["popoverMenuItemIcon"] = "popoverMenuItemIcon";
|
|
32
|
+
DynamicFilterSlots2["popoverMenuItemLabel"] = "popoverMenuItemLabel";
|
|
33
|
+
DynamicFilterSlots2["popoverFilter"] = "popoverFilter";
|
|
34
|
+
DynamicFilterSlots2["popoverFilterContainerFields"] = "popoverFilterContainerFields";
|
|
35
|
+
DynamicFilterSlots2["popoverFilterHeader"] = "popoverFilterHeader";
|
|
36
|
+
DynamicFilterSlots2["popoverFilterHeaderIcon"] = "popoverFilterHeaderIcon";
|
|
37
|
+
DynamicFilterSlots2["popoverFilterHeaderTitle"] = "popoverFilterHeaderTitle";
|
|
38
|
+
DynamicFilterSlots2["popoverFilterActions"] = "popoverFilterActions";
|
|
39
|
+
return DynamicFilterSlots2;
|
|
40
|
+
})(DynamicFilterSlots || {});
|
|
9
41
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
10
42
|
dynamicFilterStyles?.root
|
|
11
43
|
);
|
|
@@ -119,6 +151,7 @@ const PopoverHeaderActionsStyled = styled(Actions, {
|
|
|
119
151
|
})(dynamicFilterStyles?.popoverFilterActions);
|
|
120
152
|
export {
|
|
121
153
|
AppliedFilterChipStyled as A,
|
|
154
|
+
DynamicFilterSlots as D,
|
|
122
155
|
InputFilterStyled as I,
|
|
123
156
|
PopoverMenuStyled as P,
|
|
124
157
|
RootStyled as R,
|
|
@@ -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.0eab89ef.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,20 @@
|
|
|
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.ce375e8f.js";
|
|
6
|
+
import { R as RHFAutocomplete } from "../../hook-form/RHFAutocomplete/index.4caa6e3d.js";
|
|
7
|
+
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.ea988842.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.d3683024.js";
|
|
10
|
+
import { u as useDynamicFilterStore } from "../store/index.6319d445.js";
|
|
11
|
+
import { R as RHFAutocompleteAsync } from "../../hook-form/RHFAutocompleteAsync/index.21fe8f74.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, D as DynamicFilterSlots, x as InnerContainerStyled } from "../slots/index.6f8fcccb.js";
|
|
12
13
|
import { a as getPropDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
13
14
|
import { Skeleton } from "@mui/material";
|
|
14
15
|
import { S as ScrollBar } from "../../ScrollBar/index.21bc5025.js";
|
|
15
16
|
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.
|
|
17
|
+
import { B as BooleanFilterHelpers, S as StringFilterHelpers, N as NumberFilterHelpers, D as DateTimeFilterHelpers, b as SelectFilterHelpers } from "../helpers/index.0eab89ef.js";
|
|
17
18
|
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.bf3a2812.js";
|
|
18
19
|
import { A as ActionCancel } from "../../CommonActions/components/ActionCancel/index.609a78ca.js";
|
|
19
20
|
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.717cf69c.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.b259ecde.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.90321e9f.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.717cf69c.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.4cfeee6f.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.d05b9542.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.717cf69c.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.f6adf7bc.js";
|
|
15
|
+
import { D as DynamicFilter } from "../DynamicFilter/index.ef6c3a4f.js";
|
|
16
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
17
|
+
import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.ce375e8f.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.717cf69c.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.7ff17cea.js";
|
|
12
12
|
const ContainerPeriod = styled("div")(({ theme }) => ({
|
|
13
13
|
...theme.components?.M4LPeriod?.styleOverrides
|
|
14
14
|
}));
|