@m4l/components 1.0.7 → 1.0.8
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.97e53037.js → index.fbe7e445.js} +4 -4
- package/components/AppBar/{index.1cd669e2.js → index.88ae8b87.js} +4 -4
- package/components/CommonActions/index.9d9c7d2d.js +170 -0
- package/components/DragResizeWindow/{index.5e316291.js → index.8b3e79f7.js} +3 -3
- package/components/DynamicFilter/dynamicFilterSlots.d.ts +16 -16
- package/components/DynamicFilter/{index.b56ee9d3.js → index.b79e3e3f.js} +21 -18
- package/components/FieldLabel/{index.b4e9c18c.js → index.5d964cbd.js} +4 -4
- package/components/GridLayout/{index.7156fbc9.js → index.656840a5.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.8946f18e.js → index.b23625d7.js} +4 -4
- package/components/GridLayout/subcomponents/Responsive/{index.3c68f0cb.js → index.97505a31.js} +2 -2
- package/components/GridLayout/subcomponents/SizeProvider/{index.a5b2190d.js → index.36cb4139.js} +1 -1
- package/components/HamburgerMenu/{index.ead6996d.js → index.3bb9880f.js} +3 -3
- package/components/HelperText/{index.651a9b4b.js → index.ebb53dac.js} +1 -1
- package/components/Icon/{index.0e4bc1c2.js → index.3887ef2f.js} +3 -3
- package/components/Image/{index.a3e64dcd.js → index.01f0cdca.js} +2 -2
- package/components/LoadingError/{index.12973823.js → index.c95950b0.js} +5 -5
- package/components/MFLoader/{index.bf9ffe58.js → index.b980701c.js} +3 -3
- package/components/ModalDialog/{index.7e584b4c.js → index.5c9ce220.js} +4 -4
- package/components/NavLink/{index.badec599.js → index.9f5d5670.js} +2 -2
- package/components/NoItemSelected/{index.71be932c.js → index.ed990b9b.js} +2 -2
- package/components/ObjectLogs/{index.a7df0772.js → index.994c87f7.js} +7 -7
- package/components/PDFViewer/{index.c856f823.js → index.4e9adad1.js} +2 -2
- package/components/Page/{index.f9995356.js → index.1a6915e1.js} +1 -1
- package/components/PaperForm/{index.ca9e19ab.js → index.9aee22a8.js} +2 -2
- package/components/Period/{index.2c78168c.js → index.a1124549.js} +4 -4
- package/components/PrintingSystem/{index.8bfc836d.js → index.986a7f36.js} +15 -15
- package/components/PrintingSystem/subcomponents/BodyNode/{index.f37aeaea.js → index.03795652.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.602fb570.js → index.c0695dce.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.2278f796.js → index.b1c64ac8.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.8d76df3f.js → index.a25fe8c0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1e3c435e.js → index.63126c45.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.3f0ab738.js → index.4265f4d0.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.f444cad7.js → index.3689165b.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.592f3293.js → index.f6d75fa7.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.41fb608c.js → index.8be372b6.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.d378b833.js → index.17bfe615.js} +1 -1
- package/components/PropertyValue/{index.7e4bce22.js → index.d371ce09.js} +3 -3
- package/components/Resizeable/{index.8c72e36a.js → index.414ff687.js} +1 -1
- package/components/ScrollBar/{index.9bfcc74f.js → index.1e89bb44.js} +1 -1
- package/components/SideBar/{index.a0a2ae27.js → index.8ba746a8.js} +7 -7
- package/components/SplitLayout/{index.aed78a1f.js → index.7d9edf4e.js} +1 -1
- package/components/ToastContainer/{index.5fe6b0f7.js → index.32c1142f.js} +3 -3
- package/components/areas/{constants.630a4f42.js → constants.0d3ba950.js} +19 -23
- package/components/areas/contexts/AreasContext/{index.f0aa2770.js → index.8813e482.js} +4 -4
- package/components/areas/{dictionary.f7ba553d.js → dictionary.5fa9b201.js} +13 -25
- package/components/areas/hooks/useAreas/{index.e80b5f68.js → index.d4e3b9af.js} +1 -1
- package/components/hook-form/HelperError/{index.fd10c3ab.js → index.2ed03a3c.js} +1 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.0aa27d6f.js → index.29408b18.js} +3 -3
- package/components/hook-form/RHFCheckbox/{index.fe5a2e61.js → index.fd1193ae.js} +4 -4
- package/components/hook-form/RHFColorPicker/{index.2891deae.js → index.451c6787.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.fc07eaa6.js → index.a9d2ba66.js} +5 -5
- package/components/hook-form/RHFPeriod/{index.34a5f497.js → index.92cc371e.js} +4 -4
- package/components/hook-form/RHFTextField/{index.51fca2b2.js → index.2b2632c1.js} +6 -6
- package/components/hook-form/RHFUpload/{index.1c48cd8d.js → index.f1cfc225.js} +5 -5
- package/components/maps/components/GpsTools/{index.50942c36.js → index.72796708.js} +3 -3
- package/components/maps/{index.b4317695.js → index.00de5f7b.js} +12 -12
- package/components/modal/{WindowBase.27baa3c5.js → WindowBase.6140e216.js} +4 -4
- package/components/modal/{WindowConfirm.4ef45869.js → WindowConfirm.a8f65450.js} +6 -6
- package/components/modal/{index.7ca17f55.js → index.5bce430d.js} +1 -1
- package/components/mui_extended/Accordion/{index.c50787bf.js → index.c91a6f3d.js} +4 -4
- package/components/mui_extended/Avatar/{index.3ba36655.js → index.12b96914.js} +1 -1
- package/components/mui_extended/Badge/{index.3465d7fb.js → index.4737c113.js} +1 -1
- package/components/mui_extended/Button/{index.9c53e7ad.js → index.84b7159a.js} +6 -6
- package/components/mui_extended/CheckBox/{index.902aff74.js → index.b1f18922.js} +1 -1
- package/components/mui_extended/IconButton/index.d.ts +0 -1
- package/components/mui_extended/IconButton/{index.d6e94af1.js → index.fd8a76af.js} +1 -1
- package/components/mui_extended/LinearProgress/{index.52edc848.js → index.e9455b2e.js} +2 -2
- package/components/mui_extended/Pager/{index.9293ab27.js → index.fba94d09.js} +4 -4
- package/components/mui_extended/Popover/{index.99fe777c.js → index.2e637571.js} +14 -13
- package/components/mui_extended/Popover/index.d.ts +1 -0
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +1 -1
- package/components/mui_extended/Tab/{index.14641316.js → index.243402a1.js} +18 -17
- package/components/mui_extended/ToggleButton/{index.393e624f.js → index.aeb04226.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.540a46b2.js → index.f74a798e.js} +1 -1
- package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
- package/components/mui_extended/Typography/{index.2a1c68f8.js → index.463f613f.js} +1 -1
- package/components/mui_extended/index.d.ts +2 -2
- package/components/popups/PopupsProvider/{index.e3f8ce5d.js → index.5d90b31f.js} +1 -1
- package/components/popups/PopupsViewer/{index.077e47cd.js → index.b6a68e24.js} +5 -5
- package/contexts/ModalContext/{index.4956950f.js → index.a166538d.js} +1 -1
- package/contexts/RHFormContext/{index.e942a298.js → index.95ebabc9.js} +1 -1
- package/hooks/useFormAddEdit/{index.3cd8d179.js → index.ca90cd13.js} +2 -2
- package/hooks/useModal/{index.898c7559.js → index.167828d6.js} +4 -3
- package/index.js +150 -150
- package/package.json +1 -1
- package/{react-draggable.2df3b71a.js → react-draggable.0cc9b257.js} +1 -1
- package/{react-resizable.c60f3843.js → react-resizable.837c446d.js} +2 -2
- package/utils/{index.0660ee9c.js → index.c64c2dd1.js} +4 -8
- package/{vendor.fc11ba1a.js → vendor.f1f6f92c.js} +106 -241
- package/test/index.6d4b98b9.js +0 -4
|
@@ -3,11 +3,11 @@ import { useEnvironment, useModuleDictionary, useNetwork } from "@m4l/core";
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, styled, useTheme, ButtonBase } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../areas/constants.
|
|
7
|
-
import { A as Avatar } from "../mui_extended/Avatar/index.
|
|
6
|
+
import { T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
|
|
7
|
+
import { A as Avatar } from "../mui_extended/Avatar/index.12b96914.js";
|
|
8
8
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.967e70b7.js";
|
|
9
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
10
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
+
import { P as Popover } from "../mui_extended/Popover/index.2e637571.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.3887ef2f.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
const componentName = "M4LAccountPopover";
|
|
13
13
|
generateUtilityClasses(
|
|
@@ -2,12 +2,12 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
4
4
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../areas/constants.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
|
|
6
6
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { I as Image } from "../Image/index.
|
|
9
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
10
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
+
import { I as Image } from "../Image/index.01f0cdca.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.fd8a76af.js";
|
|
11
11
|
const AppBarRoot = styled("header")(({ theme }) => ({
|
|
12
12
|
...theme.components?.M4LAppBar?.styleOverrides
|
|
13
13
|
}));
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, useCallback, useEffect } from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
|
|
5
|
+
import { styled } from "@mui/material/styles";
|
|
6
|
+
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
7
|
+
import { B as Button, L as LoadingButton } from "../mui_extended/Button/index.84b7159a.js";
|
|
8
|
+
import { useFormContext, useFormState } from "react-hook-form";
|
|
9
|
+
import { u as useModal } from "../../hooks/useModal/index.167828d6.js";
|
|
10
|
+
import { u as useWindowToolsMF } from "../areas/hooks/useWindowToolsMF/index.09801b66.js";
|
|
11
|
+
import { W as WindowConfirm } from "../modal/WindowConfirm.a8f65450.js";
|
|
12
|
+
import { generateUtilityClasses, Skeleton } from "@mui/material";
|
|
13
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
14
|
+
import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
|
|
15
|
+
function getCommonActionsDictionary() {
|
|
16
|
+
return ["common_actions"];
|
|
17
|
+
}
|
|
18
|
+
const defaultCommonActionsDictionary = {
|
|
19
|
+
common_actions: {
|
|
20
|
+
cancel: "Cancel",
|
|
21
|
+
intro: "Intro",
|
|
22
|
+
confirm_quit_title: "Confirm",
|
|
23
|
+
confirm_quit_msg: "Are your sure exit?"
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const componentName = "M4LCommonActions";
|
|
27
|
+
generateUtilityClasses(
|
|
28
|
+
componentName,
|
|
29
|
+
[
|
|
30
|
+
"root",
|
|
31
|
+
"skeleton",
|
|
32
|
+
"actionCancel",
|
|
33
|
+
"actionFormCancel",
|
|
34
|
+
"actionFormIntro",
|
|
35
|
+
"actionIntro",
|
|
36
|
+
"wrapperActions"
|
|
37
|
+
]
|
|
38
|
+
);
|
|
39
|
+
const useCommonActionsUtilityClasses = () => {
|
|
40
|
+
const slots = {
|
|
41
|
+
root: ["root"],
|
|
42
|
+
skeleton: ["skeleton"],
|
|
43
|
+
actionCancel: ["actionCancel"],
|
|
44
|
+
actionFormCancel: ["actionFormCancel"],
|
|
45
|
+
actionFormIntro: ["actionFormIntro"],
|
|
46
|
+
actionIntro: ["actionIntro"],
|
|
47
|
+
wrapperActions: ["wrapperActions"]
|
|
48
|
+
};
|
|
49
|
+
return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
50
|
+
};
|
|
51
|
+
const WrapperStandarActions = styled("div")(({ theme }) => ({
|
|
52
|
+
...theme.components?.M4LCommonActions?.styleOverrides
|
|
53
|
+
}));
|
|
54
|
+
const COMMONACTIONS_PREFIX = "M4LCommonActions";
|
|
55
|
+
const getNameCommonActionsDataTestId = (KEY) => {
|
|
56
|
+
return `${COMMONACTIONS_PREFIX}-${KEY}`;
|
|
57
|
+
};
|
|
58
|
+
const Actions = forwardRef(function ActionsForwarded(props, ref) {
|
|
59
|
+
const { children, ...restProps } = props;
|
|
60
|
+
const classes = useCommonActionsUtilityClasses();
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
62
|
+
WrapperStandarActions,
|
|
63
|
+
{
|
|
64
|
+
...restProps,
|
|
65
|
+
ref,
|
|
66
|
+
className: clsx(classes.root, restProps?.className),
|
|
67
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameCommonActionsDataTestId("root") } : {},
|
|
68
|
+
children
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
});
|
|
72
|
+
const ActionCancel = (props) => {
|
|
73
|
+
const { getLabel } = useModuleDictionary();
|
|
74
|
+
const classes = useCommonActionsUtilityClasses();
|
|
75
|
+
return /* @__PURE__ */ jsx(Button, { variant: "outlined", color: "inherit", ...props, className: classes.actionCancel, children: getLabel("common_actions.cancel") });
|
|
76
|
+
};
|
|
77
|
+
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
78
|
+
const ActionIntro = (props) => {
|
|
79
|
+
const { getLabel } = useModuleDictionary();
|
|
80
|
+
const classes = useCommonActionsUtilityClasses();
|
|
81
|
+
return /* @__PURE__ */ jsx(
|
|
82
|
+
Button,
|
|
83
|
+
{
|
|
84
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: ACTIONINTRO_TEST_ID } : {},
|
|
85
|
+
variant: "contained",
|
|
86
|
+
type: "submit",
|
|
87
|
+
color: "primary",
|
|
88
|
+
className: classes.actionIntro,
|
|
89
|
+
...props,
|
|
90
|
+
children: getLabel("common_actions.intro")
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
};
|
|
94
|
+
function ActionFormCancel() {
|
|
95
|
+
const { getLabel } = useModuleDictionary();
|
|
96
|
+
const { openModal } = useModal();
|
|
97
|
+
const { close: closeWindow, setFnQueryClose: setQueryClose } = useWindowToolsMF();
|
|
98
|
+
const { control } = useFormContext();
|
|
99
|
+
const { isDirty } = useFormState({
|
|
100
|
+
control
|
|
101
|
+
});
|
|
102
|
+
const onConfirmQuit = useCallback(() => {
|
|
103
|
+
closeWindow();
|
|
104
|
+
}, []);
|
|
105
|
+
const onClickCancel = useCallback(() => {
|
|
106
|
+
if (isDirty) {
|
|
107
|
+
openModal({
|
|
108
|
+
window: /* @__PURE__ */ jsx(
|
|
109
|
+
WindowConfirm,
|
|
110
|
+
{
|
|
111
|
+
variant: "warning",
|
|
112
|
+
title: getLabel("common_actions.confirm_quit_title"),
|
|
113
|
+
msg: getLabel("common_actions.confirm_quit_msg"),
|
|
114
|
+
onClickIntro: onConfirmQuit
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
variant: "warning"
|
|
118
|
+
});
|
|
119
|
+
} else {
|
|
120
|
+
onConfirmQuit();
|
|
121
|
+
}
|
|
122
|
+
}, [getLabel, isDirty, openModal]);
|
|
123
|
+
useEffect(() => {
|
|
124
|
+
setQueryClose(onClickCancel);
|
|
125
|
+
}, [onClickCancel]);
|
|
126
|
+
const classes = useCommonActionsUtilityClasses();
|
|
127
|
+
return /* @__PURE__ */ jsx(
|
|
128
|
+
Button,
|
|
129
|
+
{
|
|
130
|
+
variant: "outlined",
|
|
131
|
+
color: "inherit",
|
|
132
|
+
onClick: onClickCancel,
|
|
133
|
+
className: classes.actionFormCancel,
|
|
134
|
+
children: getLabel("common_actions.cancel")
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
function ActionFormIntro(props) {
|
|
139
|
+
const { getLabel } = useModuleDictionary();
|
|
140
|
+
const isSkeleton = useModuleSkeleton();
|
|
141
|
+
const { control } = useFormContext();
|
|
142
|
+
const { isSubmitting } = useFormState({
|
|
143
|
+
control
|
|
144
|
+
});
|
|
145
|
+
const classes = useCommonActionsUtilityClasses();
|
|
146
|
+
if (isSkeleton) {
|
|
147
|
+
return /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: 57, height: 30 });
|
|
148
|
+
}
|
|
149
|
+
return /* @__PURE__ */ jsx(
|
|
150
|
+
LoadingButton,
|
|
151
|
+
{
|
|
152
|
+
variant: "contained",
|
|
153
|
+
type: "submit",
|
|
154
|
+
color: "primary",
|
|
155
|
+
loading: isSubmitting,
|
|
156
|
+
className: classes.actionFormIntro,
|
|
157
|
+
...props,
|
|
158
|
+
children: getLabel("common_actions.intro")
|
|
159
|
+
}
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
export {
|
|
163
|
+
Actions as A,
|
|
164
|
+
ActionCancel as a,
|
|
165
|
+
ActionIntro as b,
|
|
166
|
+
ActionFormIntro as c,
|
|
167
|
+
ActionFormCancel as d,
|
|
168
|
+
defaultCommonActionsDictionary as e,
|
|
169
|
+
getCommonActionsDictionary as g
|
|
170
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState, useRef, useImperativeHandle, useCallback, useEffect, useMemo } from "react";
|
|
3
|
-
import { D as DraggableCore_1 } from "../../react-draggable.
|
|
3
|
+
import { D as DraggableCore_1 } from "../../react-draggable.0cc9b257.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { styled, generateUtilityClasses } from "@mui/material";
|
|
6
|
-
import { M as MAP_ZINDEX_OVER_MAP, C as COMPONENT_CLASS_NAME, D as DEFAULT_TRANSFORM_SCALE, a as MAP_ZINDEX_OVER_MAP$1 } from "../areas/constants.
|
|
6
|
+
import { M as MAP_ZINDEX_OVER_MAP, C as COMPONENT_CLASS_NAME, D as DEFAULT_TRANSFORM_SCALE, a as MAP_ZINDEX_OVER_MAP$1 } from "../areas/constants.0d3ba950.js";
|
|
7
7
|
import "@mui/base";
|
|
8
|
-
import { R as Resizable } from "../../react-resizable.
|
|
8
|
+
import { R as Resizable } from "../../react-resizable.837c446d.js";
|
|
9
9
|
const WrapperWindowRoot = styled("div")`
|
|
10
10
|
position: absolute;
|
|
11
11
|
left: 0px;
|
|
@@ -23,9 +23,9 @@ export declare const AppliedFilterInnerContainerStyled: import("@emotion/styled"
|
|
|
23
23
|
export declare const AppliedFilterChipStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
24
24
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
25
25
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
26
|
-
export declare const AppliedFilterChipIconStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
26
|
+
export declare const AppliedFilterChipIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/IconButton/types").IconButtonProps, keyof import("../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
27
27
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
28
|
-
},
|
|
28
|
+
}, {}, {}>;
|
|
29
29
|
export declare const AppliedFilterChipInfoStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
30
30
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
31
31
|
}, Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("react").ClassAttributes<HTMLButtonElement> | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, {}>;
|
|
@@ -38,24 +38,24 @@ export declare const AppliedFilterChipInfoOperatorStyled: import("@emotion/style
|
|
|
38
38
|
export declare const AppliedFilterChipInfoOperandsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
39
39
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
40
40
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
41
|
-
export declare const AppliedFilterChipRemoveButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
41
|
+
export declare const AppliedFilterChipRemoveButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/IconButton/types").IconButtonProps, keyof import("../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
42
42
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
43
|
-
},
|
|
43
|
+
}, {}, {}>;
|
|
44
44
|
export declare const ActionsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
45
45
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
46
46
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
47
47
|
export declare const ActionsSkeletonButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
48
48
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
49
49
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
50
|
-
export declare const ActionsClearButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
50
|
+
export declare const ActionsClearButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/IconButton/types").IconButtonProps, keyof import("../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
51
51
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
52
|
-
},
|
|
53
|
-
export declare const ActionsSubmitButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
52
|
+
}, {}, {}>;
|
|
53
|
+
export declare const ActionsSubmitButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/IconButton/types").IconButtonProps, keyof import("../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
54
54
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
55
|
-
},
|
|
56
|
-
export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
55
|
+
}, {}, {}>;
|
|
56
|
+
export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/Popover/types").PopoverProps, keyof import("../mui_extended/Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
57
57
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
58
|
-
},
|
|
58
|
+
}, {}, {}>;
|
|
59
59
|
export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
60
60
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
61
61
|
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "disableGutters" | "selected">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disableGutters" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
@@ -67,9 +67,9 @@ export declare const PopoverMenuItemIconStyled: import("@emotion/styled").Styled
|
|
|
67
67
|
export declare const PopoverMenuItemLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
68
68
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
69
69
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
70
|
-
export declare const PopoverStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
70
|
+
export declare const PopoverStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/Popover/types").PopoverProps, keyof import("../mui_extended/Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
71
71
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
72
|
-
},
|
|
72
|
+
}, {}, {}>;
|
|
73
73
|
export declare const PopoverContainerFieldsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
74
74
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
75
75
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -79,9 +79,9 @@ export declare const PopoverHeaderStyled: import("@emotion/styled").StyledCompon
|
|
|
79
79
|
export declare const PopoverHeaderIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../Icon").IconProps, keyof import("../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
80
80
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
81
81
|
}, {}, {}>;
|
|
82
|
-
export declare const PopoverHeaderTitleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
82
|
+
export declare const PopoverHeaderTitleStyled: import("@emotion/styled").StyledComponent<Pick<import("../mui_extended/Typography/types").TypographyProps, keyof import("../mui_extended/Typography/types").TypographyProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
83
83
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
84
|
-
},
|
|
85
|
-
export declare const PopoverHeaderActionsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
84
|
+
}, {}, {}>;
|
|
85
|
+
export declare const PopoverHeaderActionsStyled: import("@emotion/styled").StyledComponent<Pick<import("../CommonActions/components/Actions/types").CommonActionsProps & import("react").RefAttributes<any>, keyof import("react").RefAttributes<any> | keyof import("../CommonActions/components/Actions/types").CommonActionsProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
86
86
|
ownerState: Partial<import("./types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
87
|
-
},
|
|
87
|
+
}, {}, {}>;
|
|
@@ -8,19 +8,22 @@ import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphic
|
|
|
8
8
|
import { devtools } from "zustand/middleware";
|
|
9
9
|
import { immer } from "zustand/middleware/immer";
|
|
10
10
|
import * as Yup from "yup";
|
|
11
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../areas/dictionary.
|
|
12
|
-
import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, b as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, c as SELECT_OPERATORS, A as ALL_FIELD, d as DYNAMIC_FILTER_KEY_COMPONENT } from "../areas/constants.
|
|
13
|
-
import { R as RHFAutocomplete } from "../../vendor.
|
|
14
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.
|
|
15
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.
|
|
16
|
-
import { i as isValidDate, c as containerQuery } from "../../utils/index.
|
|
17
|
-
import { R as RHFAutocompleteAsync } from "../hook-form/RHFAutocompleteAsync/index.
|
|
11
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../areas/dictionary.5fa9b201.js";
|
|
12
|
+
import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, b as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, c as SELECT_OPERATORS, A as ALL_FIELD, d as DYNAMIC_FILTER_KEY_COMPONENT } from "../areas/constants.0d3ba950.js";
|
|
13
|
+
import { R as RHFAutocomplete } from "../../vendor.f1f6f92c.js";
|
|
14
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.2b2632c1.js";
|
|
15
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.a9d2ba66.js";
|
|
16
|
+
import { i as isValidDate, c as containerQuery } from "../../utils/index.c64c2dd1.js";
|
|
17
|
+
import { R as RHFAutocompleteAsync } from "../hook-form/RHFAutocompleteAsync/index.29408b18.js";
|
|
18
18
|
import { styled } from "@mui/material/styles";
|
|
19
19
|
import { Skeleton, alpha, MenuItem } from "@mui/material";
|
|
20
|
-
import {
|
|
20
|
+
import { A as Actions } from "../CommonActions/index.9d9c7d2d.js";
|
|
21
|
+
import { I as Icon } from "../Icon/index.3887ef2f.js";
|
|
22
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.fd8a76af.js";
|
|
23
|
+
import { P as Popover, a as PopoverMenuFields, b as PopoverFilter } from "../mui_extended/Popover/index.2e637571.js";
|
|
24
|
+
import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
|
|
21
25
|
import { g as getPropDataTestId } from "../../test/getNameDataTestId.aee44365.js";
|
|
22
|
-
import {
|
|
23
|
-
import { S as ScrollBar } from "../ScrollBar/index.9bfcc74f.js";
|
|
26
|
+
import { S as ScrollBar } from "../ScrollBar/index.1e89bb44.js";
|
|
24
27
|
function BooleanFilter() {
|
|
25
28
|
const { getLabel } = useModuleDictionary();
|
|
26
29
|
const operators = useMemo(
|
|
@@ -1525,7 +1528,7 @@ const AppliedFilterChipStyled = styled("div", {
|
|
|
1525
1528
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1526
1529
|
slot: DynamicFilterSlots.appliedFilterChip
|
|
1527
1530
|
})(dynamicFilterStyles?.appliedFilterChip);
|
|
1528
|
-
const AppliedFilterChipIconStyled = styled(
|
|
1531
|
+
const AppliedFilterChipIconStyled = styled(IconButton, {
|
|
1529
1532
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1530
1533
|
slot: DynamicFilterSlots.appliedFilterChipIcon
|
|
1531
1534
|
})(dynamicFilterStyles?.appliedFilterChipIcon);
|
|
@@ -1545,7 +1548,7 @@ const AppliedFilterChipInfoOperandsStyled = styled("span", {
|
|
|
1545
1548
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1546
1549
|
slot: DynamicFilterSlots.appliedFilterChipInfoOperands
|
|
1547
1550
|
})(dynamicFilterStyles?.appliedFilterChipInfoOperands);
|
|
1548
|
-
const AppliedFilterChipRemoveButtonStyled = styled(
|
|
1551
|
+
const AppliedFilterChipRemoveButtonStyled = styled(IconButton, {
|
|
1549
1552
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1550
1553
|
slot: DynamicFilterSlots.appliedFilterChipRemoveButton
|
|
1551
1554
|
})(dynamicFilterStyles?.appliedFilterChipRemoveButton);
|
|
@@ -1557,15 +1560,15 @@ const ActionsSkeletonButtonStyled = styled("div", {
|
|
|
1557
1560
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1558
1561
|
slot: DynamicFilterSlots.actionsSkeletonButton
|
|
1559
1562
|
})(dynamicFilterStyles?.actionsSkeletonButton);
|
|
1560
|
-
const ActionsClearButtonStyled = styled(
|
|
1563
|
+
const ActionsClearButtonStyled = styled(IconButton, {
|
|
1561
1564
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1562
1565
|
slot: DynamicFilterSlots.actionsClearButton
|
|
1563
1566
|
})(dynamicFilterStyles?.actionsClearButton);
|
|
1564
|
-
const ActionsSubmitButtonStyled = styled(
|
|
1567
|
+
const ActionsSubmitButtonStyled = styled(IconButton, {
|
|
1565
1568
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1566
1569
|
slot: DynamicFilterSlots.actionsSubmitButton
|
|
1567
1570
|
})(dynamicFilterStyles?.actionsSubmitButton);
|
|
1568
|
-
const PopoverMenuStyled = styled(
|
|
1571
|
+
const PopoverMenuStyled = styled(Popover, {
|
|
1569
1572
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1570
1573
|
slot: DynamicFilterSlots.popoverMenu
|
|
1571
1574
|
})(dynamicFilterStyles?.popoverMenu);
|
|
@@ -1581,7 +1584,7 @@ const PopoverMenuItemLabelStyled = styled("div", {
|
|
|
1581
1584
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1582
1585
|
slot: DynamicFilterSlots.popoverMenuItemLabel
|
|
1583
1586
|
})(dynamicFilterStyles?.popoverMenuItemLabel);
|
|
1584
|
-
const PopoverStyled = styled(
|
|
1587
|
+
const PopoverStyled = styled(Popover, {
|
|
1585
1588
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1586
1589
|
slot: DynamicFilterSlots.popoverFilter
|
|
1587
1590
|
})(dynamicFilterStyles?.popoverFilter);
|
|
@@ -1597,11 +1600,11 @@ const PopoverHeaderIconStyled = styled(Icon, {
|
|
|
1597
1600
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1598
1601
|
slot: DynamicFilterSlots.popoverFilterHeaderIcon
|
|
1599
1602
|
})(dynamicFilterStyles?.popoverFilterHeaderIcon);
|
|
1600
|
-
const PopoverHeaderTitleStyled = styled(
|
|
1603
|
+
const PopoverHeaderTitleStyled = styled(Typography, {
|
|
1601
1604
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1602
1605
|
slot: DynamicFilterSlots.popoverFilterHeaderTitle
|
|
1603
1606
|
})(dynamicFilterStyles?.popoverFilterHeaderTitle);
|
|
1604
|
-
const PopoverHeaderActionsStyled = styled(
|
|
1607
|
+
const PopoverHeaderActionsStyled = styled(Actions, {
|
|
1605
1608
|
name: DYNAMIC_FILTER_KEY_COMPONENT,
|
|
1606
1609
|
slot: DynamicFilterSlots.popoverFilterActions
|
|
1607
1610
|
})(dynamicFilterStyles?.popoverFilterActions);
|
|
@@ -2,11 +2,11 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { styled, generateUtilityClasses, Tooltip, Skeleton } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { e as componentName } from "../areas/constants.
|
|
6
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
5
|
+
import { e as componentName } from "../areas/constants.0d3ba950.js";
|
|
6
|
+
import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.3887ef2f.js";
|
|
10
10
|
const FieldLabelRoot = styled("label")(({ theme }) => ({
|
|
11
11
|
...theme.components?.M4LFieldLabel?.styleOverrides
|
|
12
12
|
}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { f as DEFAULT_ROW_HEIGHT, g as COMPONENT_CLASS_NAME, h as DEFAULT_COLS, i as DEFAULT_CONTAINER_PADDING, j as DEFAULT_MARGIN, k as DEFAULT_COLAPSED_HEIGHT, l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, n as DEFAULT_TRANSFORM_SCALE } from "../areas/constants.
|
|
5
|
-
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.
|
|
4
|
+
import { f as DEFAULT_ROW_HEIGHT, g as COMPONENT_CLASS_NAME, h as DEFAULT_COLS, i as DEFAULT_CONTAINER_PADDING, j as DEFAULT_MARGIN, k as DEFAULT_COLAPSED_HEIGHT, l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, n as DEFAULT_TRANSFORM_SCALE } from "../areas/constants.0d3ba950.js";
|
|
5
|
+
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.b23625d7.js";
|
|
6
6
|
import { styled, alpha } from "@mui/material/styles";
|
|
7
7
|
import { generateUtilityClasses } from "@mui/material";
|
|
8
8
|
import "@mui/base";
|
package/components/GridLayout/subcomponents/Griditem/{index.8946f18e.js → index.b23625d7.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
3
|
-
import { D as DraggableCore_1 } from "../../../../react-draggable.
|
|
4
|
-
import { R as Resizable } from "../../../../react-resizable.
|
|
5
|
-
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, p as perc, s as setTransform, i as setTopLeft } from "../../index.
|
|
3
|
+
import { D as DraggableCore_1 } from "../../../../react-draggable.0cc9b257.js";
|
|
4
|
+
import { R as Resizable } from "../../../../react-resizable.837c446d.js";
|
|
5
|
+
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, p as perc, s as setTransform, i as setTopLeft } from "../../index.656840a5.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { deepEqual } from "fast-equals";
|
|
8
|
-
import { h as DEFAULT_COLS, f as DEFAULT_ROW_HEIGHT, l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, j as DEFAULT_MARGIN, i as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, k as DEFAULT_COLAPSED_HEIGHT } from "../../../areas/constants.
|
|
8
|
+
import { h as DEFAULT_COLS, f as DEFAULT_ROW_HEIGHT, l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, j as DEFAULT_MARGIN, i as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, k as DEFAULT_COLAPSED_HEIGHT } from "../../../areas/constants.0d3ba950.js";
|
|
9
9
|
function GridItem(props) {
|
|
10
10
|
const {
|
|
11
11
|
layoutItemRender: ComponentItemRender,
|
package/components/GridLayout/subcomponents/Responsive/{index.3c68f0cb.js → index.97505a31.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { j as cloneLayoutItem, k as cloneLayout, l as compact, m as correctBounds, n as isEqualLayout, o as noop, q as isEqualLayouts, G as GridLayout } from "../../index.
|
|
2
|
+
import { j as cloneLayoutItem, k as cloneLayout, l as compact, m as correctBounds, n as isEqualLayout, o as noop, q as isEqualLayouts, G as GridLayout } from "../../index.656840a5.js";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { useFirstRender } from "@m4l/graphics";
|
|
5
|
-
import { k as DEFAULT_COLAPSED_HEIGHT, o as DEFAULT_RESPONSIVE_BREAKPOINTS, i as DEFAULT_CONTAINER_PADDING, j as DEFAULT_MARGIN, p as DEFAULT_RESPONSIVE_COLS, f as DEFAULT_ROW_HEIGHT } from "../../../areas/constants.
|
|
5
|
+
import { k as DEFAULT_COLAPSED_HEIGHT, o as DEFAULT_RESPONSIVE_BREAKPOINTS, i as DEFAULT_CONTAINER_PADDING, j as DEFAULT_MARGIN, p as DEFAULT_RESPONSIVE_COLS, f as DEFAULT_ROW_HEIGHT } from "../../../areas/constants.0d3ba950.js";
|
|
6
6
|
import { deepEqual } from "fast-equals";
|
|
7
7
|
function getBreakpointFromWidth(breakpoints, width) {
|
|
8
8
|
const sorted = sortBreakpoints(breakpoints);
|
package/components/GridLayout/subcomponents/SizeProvider/{index.a5b2190d.js → index.36cb4139.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { throttle } from "lodash";
|
|
5
5
|
import { useResizeObserver } from "@m4l/graphics";
|
|
6
|
-
import { l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, q as THROTTLE_RESIZE_TIMEOUT, g as COMPONENT_CLASS_NAME } from "../../../areas/constants.
|
|
6
|
+
import { l as DEFAULT_CONTAINER_WIDTH, m as DEFAULT_CONTAINER_HEIGHT, q as THROTTLE_RESIZE_TIMEOUT, g as COMPONENT_CLASS_NAME } from "../../../areas/constants.0d3ba950.js";
|
|
7
7
|
function withSizeProvider(ComposedComponent) {
|
|
8
8
|
return (props) => {
|
|
9
9
|
const { measureBeforeMount = true, ...rest } = props;
|
|
@@ -3,10 +3,10 @@ import { useState } from "react";
|
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { r as componentName, H as HAMBURGER_MENU_PREFIX, T as TEST_PROP_ID } from "../areas/constants.
|
|
6
|
+
import { r as componentName, H as HAMBURGER_MENU_PREFIX, T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { S as SideBar } from "../SideBar/index.
|
|
9
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
+
import { S as SideBar } from "../SideBar/index.8ba746a8.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.fd8a76af.js";
|
|
10
10
|
const HamburgerMenuRoot = styled("header")(({ theme }) => ({
|
|
11
11
|
...theme.components?.M4LHamburgerMenuCommercial?.styleOverrides
|
|
12
12
|
}));
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
5
|
+
import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
|
|
6
6
|
const HelperTextRoot = styled("div")(({ theme }) => ({
|
|
7
7
|
...theme.components?.M4LErrorLabel?.styleOverrides
|
|
8
8
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Marker } from "react-leaflet";
|
|
3
3
|
import L__default from "leaflet";
|
|
4
|
-
import { s as componentName, I as ICON_PREFIX, T as TEST_PROP_ID, L as LABEL_BK_COLOR_DEFAULT, t as LABEL_COLOR_DEFAULT } from "../areas/constants.
|
|
5
|
-
import { m as mapClasses } from "../maps/index.
|
|
4
|
+
import { s as componentName, I as ICON_PREFIX, T as TEST_PROP_ID, L as LABEL_BK_COLOR_DEFAULT, t as LABEL_COLOR_DEFAULT } from "../areas/constants.0d3ba950.js";
|
|
5
|
+
import { m as mapClasses } from "../maps/index.00de5f7b.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
9
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
9
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.8ba746a8.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { u as IMAGE_PREFIX, T as TEST_PROP_ID } from "../areas/constants.
|
|
3
|
+
import { u as IMAGE_PREFIX, T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { useBase, useEnvironment, evaluateWithContext } from "@m4l/core";
|
|
8
|
-
import { c as classes, g as getSize } from "../PrintingSystem/index.
|
|
8
|
+
import { c as classes, g as getSize } from "../PrintingSystem/index.986a7f36.js";
|
|
9
9
|
import QRCode from "qrcode.react";
|
|
10
10
|
const ImageRoot = styled("div")(({ theme }) => ({
|
|
11
11
|
...theme.components?.M4LImage?.styleOverrides
|
|
@@ -3,12 +3,12 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
|
3
3
|
import { I as ICONS } from "../areas/icons.504ec098.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { v as componentName } from "../areas/constants.
|
|
6
|
+
import { v as componentName } from "../areas/constants.0d3ba950.js";
|
|
7
7
|
import { styled } from "@mui/material/styles";
|
|
8
|
-
import { L as LinearProgressIndeterminate } from "../mui_extended/LinearProgress/index.
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
10
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
11
|
-
import { B as Button } from "../mui_extended/Button/index.
|
|
8
|
+
import { L as LinearProgressIndeterminate } from "../mui_extended/LinearProgress/index.e9455b2e.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.3887ef2f.js";
|
|
10
|
+
import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
|
|
11
|
+
import { B as Button } from "../mui_extended/Button/index.84b7159a.js";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
14
14
|
"loadingErrorLoading",
|
|
@@ -11,9 +11,9 @@ import { useHostTheme, useFormatter, useLocales, useFirstRender } from "@m4l/gra
|
|
|
11
11
|
import debounce from "lodash/debounce";
|
|
12
12
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
|
-
import { w as componentName } from "../areas/constants.
|
|
15
|
-
import { a as LinearProgress } from "../mui_extended/LinearProgress/index.
|
|
16
|
-
import { L as LoadingError } from "../LoadingError/index.
|
|
14
|
+
import { w as componentName } from "../areas/constants.0d3ba950.js";
|
|
15
|
+
import { a as LinearProgress } from "../mui_extended/LinearProgress/index.e9455b2e.js";
|
|
16
|
+
import { L as LoadingError } from "../LoadingError/index.c95950b0.js";
|
|
17
17
|
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
18
18
|
"root",
|
|
19
19
|
"containerLinearProgress"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
3
|
-
import { c as cjs } from "../../react-draggable.
|
|
4
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
-
import { R as ResizeableWindow } from "../Resizeable/index.
|
|
3
|
+
import { c as cjs } from "../../react-draggable.0cc9b257.js";
|
|
4
|
+
import { u as useModal } from "../../hooks/useModal/index.167828d6.js";
|
|
5
|
+
import { R as ResizeableWindow } from "../Resizeable/index.414ff687.js";
|
|
6
6
|
import { useIsMobile } from "@m4l/graphics";
|
|
7
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
7
|
+
import { m as modalUtilityClasses } from "../modal/index.5bce430d.js";
|
|
8
8
|
import { useState, useEffect } from "react";
|
|
9
9
|
const DragabblePaperComponent = (props) => {
|
|
10
10
|
return /* @__PURE__ */ jsx(cjs.exports, { handle: ".m4l_draggable_handle", cancel: '[class*="MuiDialogContent-root"]', children: /* @__PURE__ */ jsx(Paper, { sx: { maxHeight: "unset", maxWidth: "unset" }, ...props }) });
|
|
@@ -3,8 +3,8 @@ import { NavLink as NavLink$1 } from "react-router-dom";
|
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { x as NAVLINK_PREFIX, T as TEST_PROP_ID } from "../areas/constants.
|
|
7
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
6
|
+
import { x as NAVLINK_PREFIX, T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
|
|
7
|
+
import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
|
|
8
8
|
const componentName = "M4LNavLink";
|
|
9
9
|
generateUtilityClasses(componentName, [
|
|
10
10
|
"root"
|