@m4l/components 0.1.87 → 0.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +84 -112
- package/components/AccountPopover/{index.0bee6fca.js → index.bb2c369d.js} +7 -7
- package/components/AppBar/{index.8e3e0148.js → index.58233583.js} +7 -7
- package/components/CommonActions/components/ActionCancel/{index.e66f9b5f.js → index.ffc5618a.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.51311bde.js → index.baa35ca3.js} +15 -15
- package/components/CommonActions/components/ActionFormIntro/{index.2ecd7ba1.js → index.906d46a0.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.33892c01.js → index.81d2648b.js} +1 -1
- package/components/CommonActions/components/Actions/{index.018d4c62.js → index.366cb775.js} +13 -13
- package/components/DataGrid/formatters/columnNestedValueFormatter/{index.f68ef4e1.js → index.b63f7246.js} +3 -1
- package/components/DataGrid/{index.c348b106.js → index.8c887df9.js} +7 -7
- package/components/DataGrid/subcomponents/Actions/{index.080e8c7d.js → index.895fc73f.js} +25 -23
- package/components/DynamicFilter/dictionary.d.ts +6 -2
- package/components/DynamicFilter/{index.20ee6e21.js → index.d2e7bdcc.js} +56 -53
- package/components/GridLayout/{index.2383aaf9.js → index.8ae34c50.js} +25 -16
- package/components/GridLayout/subcomponents/Griditem/{index.58168132.js → index.c7a33781.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.a6642437.js → index.96cdb1b4.js} +1 -2
- package/components/HelperText/{index.d00b45e5.js → index.69791151.js} +7 -7
- package/components/Icon/{index.435df215.js → index.a70c4729.js} +1 -1
- package/components/LanguagePopover/{index.3f25054a.js → index.349d359c.js} +7 -7
- package/components/ModalDialog/{index.df9b1e97.js → index.302a87c9.js} +5 -15
- package/components/NavLink/{index.cc66f31f.js → index.8fe407ef.js} +7 -7
- package/components/NoItemSelected/{index.a2807715.js → index.1eaf72d8.js} +7 -8
- package/components/ObjectLogs/{index.ca98686d.js → index.98d3400e.js} +17 -17
- package/components/PaperForm/{index.ad703ab6.js → index.e02c772c.js} +3 -14
- package/components/Period/{index.83b88249.js → index.972dbe64.js} +14 -14
- package/components/PropertyValue/{index.45b365c3.js → index.d3d71d50.js} +5 -4
- package/components/Resizeable/{index.9a9c79a4.js → index.676c96fe.js} +33 -12
- package/components/SideBar/{index.387a2fa1.js → index.2dfc5445.js} +2 -2
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +1 -0
- package/components/areas/components/AreasAdmin/{index.f0fd024a.js → index.cb3d7bd6.js} +44 -40
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.6c28b2c0.js → index.1eef603d.js} +68 -77
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +2 -0
- package/components/areas/components/{index.d920205b.js → index.44ec162f.js} +10 -10
- package/components/areas/contexts/AreasContext/{index.060aa7b0.js → index.7a2d5394.js} +9 -15
- package/components/areas/contexts/{index.1485986f.js → index.7bae4208.js} +1 -1
- package/components/areas/{dictionary.afb7e3d9.js → dictionary.08cfc4c9.js} +7 -1
- package/components/areas/dictionary.d.ts +6 -0
- package/components/areas/hooks/useAreas/{index.e4e54402.js → index.1f112e0b.js} +1 -1
- package/components/areas/{index.e9f2274c.js → index.aaaa1f62.js} +10 -10
- package/components/formatters/BooleanFormatter/{index.14cfcbc7.js → index.a013b080.js} +1 -1
- package/components/formatters/{index.b574dda9.js → index.576922c9.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.f4eb65ce.js → index.5c23bd25.js} +8 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.8ecce8fd.js → index.85b11f3a.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.45b6ee0b.js → index.a136882e.js} +9 -8
- package/components/hook-form/RHFDateTime/{index.802fb228.js → index.1ca795b0.js} +8 -10
- package/components/hook-form/RHFPeriod/{index.6395b24a.js → index.90777c53.js} +2 -2
- package/components/hook-form/RHFTextField/{index.75129118.js → index.ccea64e7.js} +3 -3
- package/components/hook-form/RHFUpload/{index.fead1c63.js → index.85e59119.js} +8 -8
- package/components/modal/{WindowBase.f568bcac.js → WindowBase.39a70f35.js} +21 -17
- package/components/modal/{WindowConfirm.3c4da58c.js → WindowConfirm.f53c02f6.js} +29 -19
- package/components/modal/classes/index.d.ts +2 -0
- package/components/modal/classes/types.d.ts +2 -0
- package/components/modal/dictionary.d.ts +1 -0
- package/components/modal/index.d.ts +1 -0
- package/components/modal/{index.8d846036.js → index.dbdb6ac0.js} +24 -16
- package/components/mui_extended/Accordion/{index.1d182a0e.js → index.0e0090ca.js} +3 -3
- package/components/mui_extended/Badge/{index.8c2b8b66.js → index.b09524fe.js} +1 -1
- package/components/mui_extended/Badge/types.d.ts +1 -1
- package/components/mui_extended/IconButton/{index.d88a3f2e.js → index.76624519.js} +2 -2
- package/components/mui_extended/MenuActions/classes/constants.d.ts +1 -0
- package/components/mui_extended/MenuActions/classes/index.d.ts +7 -0
- package/components/mui_extended/MenuActions/classes/types.d.ts +7 -0
- package/components/mui_extended/MenuActions/{index.c53370f6.js → index.4c2e48d4.js} +42 -11
- package/components/mui_extended/MenuActions/types.d.ts +2 -0
- package/components/mui_extended/Pager/{index.d6c87c44.js → index.ac2a21f0.js} +1 -1
- package/components/mui_extended/Tab/{index.8592b93c.js → index.3db2e0c7.js} +37 -5
- package/components/mui_extended/TabContent/TabContent.d.ts +3 -0
- package/components/mui_extended/TabContent/classes/constants.d.ts +1 -0
- package/components/mui_extended/TabContent/classes/index.d.ts +6 -0
- package/components/mui_extended/TabContent/classes/types.d.ts +6 -0
- package/components/mui_extended/TabContent/index.d.ts +2 -0
- package/components/mui_extended/TabContent/types.d.ts +6 -0
- package/components/mui_extended/{index.5ffe6d2b.js → index.9e8aeca8.js} +7 -7
- package/components/mui_extended/index.d.ts +1 -0
- package/contexts/ModalContext/{index.9fb8e0a2.js → index.1fc9f5d9.js} +3 -1
- package/contexts/RHFormContext/{index.ea2758ed.js → index.1755b324.js} +4 -7
- package/hooks/useFormAddEdit/{index.3f77d470.js → index.4906dbb4.js} +15 -14
- package/hooks/useModal/{index.caaeaddd.js → index.6457198c.js} +1 -1
- package/index.js +65 -63
- package/package.json +1 -1
- package/{vendor.15beabcd.js → vendor.92191f81.js} +53 -53
|
@@ -13,11 +13,11 @@ import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
|
13
13
|
import { shallow } from "zustand/shallow";
|
|
14
14
|
import React__default, { useMemo, useState, useCallback, useEffect } from "react";
|
|
15
15
|
import clsx from "clsx";
|
|
16
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
16
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.1f112e0b.js";
|
|
17
17
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useNetwork, useHostTools, axiosOperation } from "@m4l/core";
|
|
18
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
19
|
-
import "../../../mui_extended/Accordion/index.
|
|
20
|
-
import { I as Icon } from "../../../Icon/index.
|
|
18
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.76624519.js";
|
|
19
|
+
import "../../../mui_extended/Accordion/index.0e0090ca.js";
|
|
20
|
+
import { I as Icon } from "../../../Icon/index.a70c4729.js";
|
|
21
21
|
import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
|
|
22
22
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
23
23
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
@@ -25,74 +25,74 @@ import "react-router-dom";
|
|
|
25
25
|
import "@mui/material/Button";
|
|
26
26
|
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
27
27
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
28
|
-
import "../../../mui_extended/Badge/index.
|
|
29
|
-
import
|
|
28
|
+
import "../../../mui_extended/Badge/index.b09524fe.js";
|
|
29
|
+
import "../../../Image/index.c18ebf5a.js";
|
|
30
30
|
import "@mui/lab";
|
|
31
|
-
import { M as MenuActions, a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
31
|
+
import { M as MenuActions, a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
32
32
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
33
33
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
34
|
-
import "../../../mui_extended/Tab/index.
|
|
35
|
-
import "../../../mui_extended/Pager/index.
|
|
34
|
+
import "../../../mui_extended/Tab/index.3db2e0c7.js";
|
|
35
|
+
import "../../../mui_extended/Pager/index.ac2a21f0.js";
|
|
36
36
|
import { useResponsiveDesktop, useHostTheme, useFormatter, useLocales, useFirstRender } from "@m4l/graphics";
|
|
37
37
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
38
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
39
|
-
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.
|
|
39
|
+
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
40
40
|
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
41
41
|
import debounce from "lodash/debounce";
|
|
42
42
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
43
43
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
44
44
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
45
|
-
import "../../../../contexts/ModalContext/index.
|
|
46
|
-
import "../../../../contexts/RHFormContext/index.
|
|
47
|
-
import "../../../GridLayout/subcomponents/Griditem/index.
|
|
48
|
-
import { S as SizeProvider } from "../../../GridLayout/index.
|
|
49
|
-
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
50
|
-
import { R as ROW_HEIGTH_GRIDLAYOUT, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
45
|
+
import "../../../../contexts/ModalContext/index.1fc9f5d9.js";
|
|
46
|
+
import "../../../../contexts/RHFormContext/index.1755b324.js";
|
|
47
|
+
import "../../../GridLayout/subcomponents/Griditem/index.c7a33781.js";
|
|
48
|
+
import { S as SizeProvider } from "../../../GridLayout/index.8ae34c50.js";
|
|
49
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.96cdb1b4.js";
|
|
50
|
+
import { R as ROW_HEIGTH_GRIDLAYOUT, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.7a2d5394.js";
|
|
51
51
|
import "../../../animate/index.4e9774a6.js";
|
|
52
52
|
import "framer-motion";
|
|
53
53
|
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
54
54
|
import "../../../animate/PropagateLoader/index.7fab43c8.js";
|
|
55
|
-
import "../AreasAdmin/index.
|
|
55
|
+
import "../AreasAdmin/index.cb3d7bd6.js";
|
|
56
56
|
import "../../../ScrollBar/index.65bb2930.js";
|
|
57
57
|
import "zustand";
|
|
58
58
|
import "react-hook-form";
|
|
59
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
60
|
-
import "../../../HelperText/index.
|
|
61
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
62
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
59
|
+
import "../../../hook-form/RHFAutocomplete/index.5c23bd25.js";
|
|
60
|
+
import "../../../HelperText/index.69791151.js";
|
|
61
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.85b11f3a.js";
|
|
62
|
+
import "../../../hook-form/RHFCheckbox/index.a136882e.js";
|
|
63
63
|
import "@mui/x-date-pickers";
|
|
64
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
65
|
-
import "../../../hook-form/RHFTextField/index.
|
|
66
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
67
|
-
import "../../../Period/index.
|
|
68
|
-
import "../../../CommonActions/components/Actions/index.
|
|
64
|
+
import "../../../hook-form/RHFDateTime/index.1ca795b0.js";
|
|
65
|
+
import "../../../hook-form/RHFTextField/index.ccea64e7.js";
|
|
66
|
+
import "../../../hook-form/RHFPeriod/index.90777c53.js";
|
|
67
|
+
import "../../../Period/index.972dbe64.js";
|
|
68
|
+
import "../../../CommonActions/components/Actions/index.366cb775.js";
|
|
69
69
|
import { c as cjs } from "../../../../react-draggable.7abb5d0a.js";
|
|
70
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
71
|
-
import "../../../modal/index.
|
|
70
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.676c96fe.js";
|
|
71
|
+
import "../../../modal/index.dbdb6ac0.js";
|
|
72
72
|
import "lodash/isString";
|
|
73
73
|
import "react-dropzone";
|
|
74
|
-
import "../../../hook-form/RHFUpload/index.
|
|
75
|
-
import "../../../DataGrid/index.
|
|
74
|
+
import "../../../hook-form/RHFUpload/index.85e59119.js";
|
|
75
|
+
import "../../../DataGrid/index.8c887df9.js";
|
|
76
76
|
import "react-dnd";
|
|
77
77
|
import "react-dnd-html5-backend";
|
|
78
|
-
import "../../../DataGrid/subcomponents/Actions/index.
|
|
78
|
+
import "../../../DataGrid/subcomponents/Actions/index.895fc73f.js";
|
|
79
79
|
import "../../../DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
80
|
-
import "../../../DynamicFilter/index.
|
|
80
|
+
import "../../../DynamicFilter/index.d2e7bdcc.js";
|
|
81
81
|
import "yup";
|
|
82
82
|
import "lodash";
|
|
83
|
-
import "../../../LanguagePopover/index.
|
|
84
|
-
import "../../../NavLink/index.
|
|
85
|
-
import "../../../NoItemSelected/index.
|
|
86
|
-
import "../../../ObjectLogs/index.
|
|
83
|
+
import "../../../LanguagePopover/index.349d359c.js";
|
|
84
|
+
import "../../../NavLink/index.8fe407ef.js";
|
|
85
|
+
import "../../../NoItemSelected/index.1eaf72d8.js";
|
|
86
|
+
import "../../../ObjectLogs/index.98d3400e.js";
|
|
87
87
|
import "../../../../react-json-view.57125fcf.js";
|
|
88
|
-
import "../../../PaperForm/index.
|
|
88
|
+
import "../../../PaperForm/index.e02c772c.js";
|
|
89
89
|
import "../../../Page/index.4237c241.js";
|
|
90
|
-
import "../../../PropertyValue/index.
|
|
90
|
+
import "../../../PropertyValue/index.d3d71d50.js";
|
|
91
91
|
import "../../../SplitLayout/index.9ef430f6.js";
|
|
92
92
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
93
|
-
import "../../../SideBar/index.
|
|
94
|
-
import "../../../AppBar/index.
|
|
95
|
-
import "../../../AccountPopover/index.
|
|
93
|
+
import "../../../SideBar/index.2dfc5445.js";
|
|
94
|
+
import "../../../AppBar/index.58233583.js";
|
|
95
|
+
import "../../../AccountPopover/index.bb2c369d.js";
|
|
96
96
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
97
97
|
"root",
|
|
98
98
|
"areaRoot",
|
|
@@ -280,8 +280,6 @@ const AreasViewerRoot = styled("div")`
|
|
|
280
280
|
overflow: hidden;
|
|
281
281
|
white-space: nowrap;
|
|
282
282
|
color: ${(props) => props.theme.palette.text.primary};
|
|
283
|
-
margin-left: 12px;
|
|
284
|
-
margin-right: 24px;
|
|
285
283
|
text-overflow: ellipsis;
|
|
286
284
|
}
|
|
287
285
|
// windowHeaderMainActions
|
|
@@ -474,7 +472,8 @@ function getMenuActions(options) {
|
|
|
474
472
|
saveModuleCookies,
|
|
475
473
|
resetModuleCookies,
|
|
476
474
|
version,
|
|
477
|
-
windowOptions = { allowPersistCookies: false }
|
|
475
|
+
windowOptions = { allowPersistCookies: false },
|
|
476
|
+
getLabel
|
|
478
477
|
} = options;
|
|
479
478
|
let menuActions = [...moduleActions.filter((action) => action.visibility !== "allways")];
|
|
480
479
|
if (isDesktop !== void 0 && isDesktop) {
|
|
@@ -486,7 +485,7 @@ function getMenuActions(options) {
|
|
|
486
485
|
onClick: () => saveModuleCookies(windowId),
|
|
487
486
|
disabled: false,
|
|
488
487
|
visibility: "normal",
|
|
489
|
-
|
|
488
|
+
label: getLabel(getAreasDictionary(DICCTIONARY.label_persist_module_cookies)),
|
|
490
489
|
key: "save_cookies"
|
|
491
490
|
};
|
|
492
491
|
menuActions.push(saveCookiesAction);
|
|
@@ -495,7 +494,7 @@ function getMenuActions(options) {
|
|
|
495
494
|
onClick: () => resetModuleCookies(windowId),
|
|
496
495
|
disabled: false,
|
|
497
496
|
visibility: "normal",
|
|
498
|
-
|
|
497
|
+
label: getLabel(getAreasDictionary(DICCTIONARY.label_reset_module_cookies)),
|
|
499
498
|
key: "reset_cookes"
|
|
500
499
|
};
|
|
501
500
|
menuActions.push(resetCookiesAction);
|
|
@@ -534,7 +533,6 @@ function MainActions(props) {
|
|
|
534
533
|
children: mainActions.map((mainAction) => {
|
|
535
534
|
const tooltip = mainAction.label !== void 0 ? mainAction.label : getLabel(mainAction.dictionaryId || "");
|
|
536
535
|
const onClick = (e) => {
|
|
537
|
-
console.log("onClick MainActions");
|
|
538
536
|
mainAction.onClick(e);
|
|
539
537
|
e.stopPropagation();
|
|
540
538
|
};
|
|
@@ -646,6 +644,9 @@ function Header(props) {
|
|
|
646
644
|
} = useEnvironment();
|
|
647
645
|
const isDesktop = useResponsiveDesktop();
|
|
648
646
|
const isSkeleton = useModuleSkeleton();
|
|
647
|
+
const {
|
|
648
|
+
getLabel
|
|
649
|
+
} = useModuleDictionary();
|
|
649
650
|
const urlPrefix = `${host_static_assets}/${environment_assets}`;
|
|
650
651
|
const menuActions = useMemo(() => {
|
|
651
652
|
return getMenuActions({
|
|
@@ -656,7 +657,8 @@ function Header(props) {
|
|
|
656
657
|
saveModuleCookies,
|
|
657
658
|
resetModuleCookies,
|
|
658
659
|
version,
|
|
659
|
-
windowOptions
|
|
660
|
+
windowOptions,
|
|
661
|
+
getLabel
|
|
660
662
|
});
|
|
661
663
|
}, [moduleActions, isDesktop]);
|
|
662
664
|
const onCloseLocal = () => {
|
|
@@ -695,12 +697,12 @@ function Header(props) {
|
|
|
695
697
|
children: `${title}`
|
|
696
698
|
}), /* @__PURE__ */ jsxs("div", {
|
|
697
699
|
className: areasViewerClasses.windowHeaderCancelHandle,
|
|
698
|
-
children: [/* @__PURE__ */ jsx(MainActions, {
|
|
700
|
+
children: [!colapsed && /* @__PURE__ */ jsx(MainActions, {
|
|
699
701
|
windowId
|
|
700
|
-
}), emergeType === "layout" ? /* @__PURE__ */ jsx(WindowPopUpsList, {
|
|
702
|
+
}), !colapsed && emergeType === "layout" ? /* @__PURE__ */ jsx(WindowPopUpsList, {
|
|
701
703
|
areaId,
|
|
702
704
|
windowId
|
|
703
|
-
}) : null, menuActions.length > 0 && /* @__PURE__ */ jsx(MemonizedMenuActions, {
|
|
705
|
+
}) : null, !colapsed && menuActions.length > 0 && /* @__PURE__ */ jsx(MemonizedMenuActions, {
|
|
704
706
|
arrowType: "no-arrow",
|
|
705
707
|
marginTop: "12px!important",
|
|
706
708
|
marginLeft: "14px!important",
|
|
@@ -712,23 +714,26 @@ function Header(props) {
|
|
|
712
714
|
vertical: "top",
|
|
713
715
|
horizontal: "right"
|
|
714
716
|
},
|
|
715
|
-
menuActions
|
|
717
|
+
menuActions,
|
|
718
|
+
toolTip: getLabel(getAreasDictionary(DICCTIONARY.label_module_actions))
|
|
716
719
|
}), !colapsed && (emergeType === "layout" || emergeType === "popup") && /* @__PURE__ */ jsx(IconButton, {
|
|
717
720
|
className: "m4l_draggableCancel",
|
|
718
721
|
onClick: maxNormalize,
|
|
719
722
|
"aria-label": "click",
|
|
720
|
-
src: maximizedId === windowId ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.NORMALIZE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.MAXIMIZE}
|
|
723
|
+
src: maximizedId === windowId ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.NORMALIZE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.MAXIMIZE}`,
|
|
724
|
+
tooltip: getLabel(getAreasDictionary(maximizedId === windowId ? DICCTIONARY.label_minimize_window : DICCTIONARY.label_maximize_window))
|
|
721
725
|
}), !maximizedId && (emergeType === "layout" || emergeType === "popup") && /* @__PURE__ */ jsx(IconButton, {
|
|
722
726
|
className: "m4l_draggableCancel",
|
|
723
727
|
onClick: colapedToggle,
|
|
724
728
|
"aria-label": "click",
|
|
725
729
|
src: !colapsed ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.COLAPSE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.UNCOLPASE}`,
|
|
726
|
-
|
|
730
|
+
tooltip: getLabel(getAreasDictionary(!colapsed ? DICCTIONARY.label_collapse_window : DICCTIONARY.label_uncollapse_window))
|
|
727
731
|
}), onClose && /* @__PURE__ */ jsx(IconButton, {
|
|
728
732
|
className: "m4l_draggableCancel",
|
|
729
733
|
onPointerDown: onCloseLocal,
|
|
730
734
|
"aria-label": "click",
|
|
731
|
-
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.CLOSE}
|
|
735
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.CLOSE}`,
|
|
736
|
+
tooltip: getLabel(getAreasDictionary(DICCTIONARY.label_close_window))
|
|
732
737
|
})]
|
|
733
738
|
})]
|
|
734
739
|
})]
|
|
@@ -747,7 +752,6 @@ const ProggessLoadingMF = (props) => {
|
|
|
747
752
|
value: loadingProgress
|
|
748
753
|
})
|
|
749
754
|
});
|
|
750
|
-
} else {
|
|
751
755
|
}
|
|
752
756
|
} catch (error) {
|
|
753
757
|
}
|
|
@@ -1087,8 +1091,6 @@ const WindowRoot = styled("div")`
|
|
|
1087
1091
|
overflow: hidden;
|
|
1088
1092
|
white-space: nowrap;
|
|
1089
1093
|
color: ${(props) => props.theme.palette.text.primary};
|
|
1090
|
-
margin-left: 12px;
|
|
1091
|
-
margin-right: 24px;
|
|
1092
1094
|
text-overflow: ellipsis;
|
|
1093
1095
|
}
|
|
1094
1096
|
|
|
@@ -1322,19 +1324,10 @@ const ResizeHandle = React__default.forwardRef((props, ref) => {
|
|
|
1322
1324
|
handleAxis,
|
|
1323
1325
|
...restProps
|
|
1324
1326
|
} = props;
|
|
1325
|
-
const {
|
|
1326
|
-
host_static_assets,
|
|
1327
|
-
environment_assets
|
|
1328
|
-
} = useEnvironment();
|
|
1329
1327
|
return /* @__PURE__ */ jsx("div", {
|
|
1330
1328
|
ref,
|
|
1331
1329
|
className: clsx(`react-resizable-handle react-resizable-handle-${handleAxis}`, areasViewerClasses.resizeHandle),
|
|
1332
|
-
...restProps
|
|
1333
|
-
children: /* @__PURE__ */ jsx(Image, {
|
|
1334
|
-
width: "12px",
|
|
1335
|
-
height: "12px",
|
|
1336
|
-
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/control_size.svg`
|
|
1337
|
-
})
|
|
1330
|
+
...restProps
|
|
1338
1331
|
});
|
|
1339
1332
|
});
|
|
1340
1333
|
const ResponsiveGridLayout = SizeProvider(Responsive);
|
|
@@ -1543,17 +1536,15 @@ const WindowModal = (props) => {
|
|
|
1543
1536
|
};
|
|
1544
1537
|
const MemonizedWindowModal = React__default.memo(WindowModal);
|
|
1545
1538
|
function AreasViewer() {
|
|
1546
|
-
const areas = useAreasStore((
|
|
1547
|
-
const windowsModals = useAreasStore((
|
|
1548
|
-
const hashWindowsModals = useAreasStore((
|
|
1549
|
-
const currentArea = useAreasStore((
|
|
1550
|
-
const status = useAreasStore((
|
|
1551
|
-
const classesRoot = useAreasStore((
|
|
1552
|
-
const state = useAreasStore((state2) => state2);
|
|
1553
|
-
console.log("Areas state >>>>", state);
|
|
1539
|
+
const areas = useAreasStore((state) => state.areasIds, shallow);
|
|
1540
|
+
const windowsModals = useAreasStore((state) => state.windowsModals);
|
|
1541
|
+
const hashWindowsModals = useAreasStore((state) => state.hashWindowsModals);
|
|
1542
|
+
const currentArea = useAreasStore((state) => state.currentAreaId);
|
|
1543
|
+
const status = useAreasStore((state) => state.ownerState.status);
|
|
1544
|
+
const classesRoot = useAreasStore((state) => state.viwerClasses.root);
|
|
1554
1545
|
const {
|
|
1555
1546
|
init
|
|
1556
|
-
} = useAreasStore((
|
|
1547
|
+
} = useAreasStore((state) => state.areasActions);
|
|
1557
1548
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
1558
1549
|
children: [/* @__PURE__ */ jsx(AreasViewerRoot, {
|
|
1559
1550
|
className: classesRoot,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GetLabelType } from '@m4l/core';
|
|
1
2
|
import { AreaWindowAction, WindowOptions } from '../../../../../../../../types';
|
|
2
3
|
export declare function getMainActions(isDesktop: boolean | undefined, moduleActions: AreaWindowAction[]): AreaWindowAction[];
|
|
3
4
|
declare type GetMenuActionsType = {
|
|
@@ -9,6 +10,7 @@ declare type GetMenuActionsType = {
|
|
|
9
10
|
resetModuleCookies: (wd: string) => void;
|
|
10
11
|
version?: string;
|
|
11
12
|
windowOptions?: WindowOptions;
|
|
13
|
+
getLabel: GetLabelType;
|
|
12
14
|
};
|
|
13
15
|
export declare function getMenuActions(options: GetMenuActionsType): AreaWindowAction[];
|
|
14
16
|
export {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "@m4l/core";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../../Icon/index.
|
|
4
|
+
import "../../Icon/index.a70c4729.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "../../mui_extended/IconButton/index.
|
|
7
|
+
import "../../mui_extended/IconButton/index.76624519.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
9
|
import "zustand";
|
|
10
|
-
import "../contexts/AreasContext/index.
|
|
11
|
-
import "./AreasAdmin/index.
|
|
10
|
+
import "../contexts/AreasContext/index.7a2d5394.js";
|
|
11
|
+
import "./AreasAdmin/index.cb3d7bd6.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../../ScrollBar/index.65bb2930.js";
|
|
14
|
-
import "../../mui_extended/Accordion/index.
|
|
14
|
+
import "../../mui_extended/Accordion/index.0e0090ca.js";
|
|
15
15
|
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
18
18
|
import "@mui/material/Button";
|
|
19
19
|
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
20
20
|
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../../mui_extended/Badge/index.
|
|
21
|
+
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
25
25
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.
|
|
28
|
-
import "../../mui_extended/Pager/index.
|
|
27
|
+
import "../../mui_extended/Tab/index.3db2e0c7.js";
|
|
28
|
+
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
|
-
import "./AreasViewer/index.
|
|
30
|
+
import "./AreasViewer/index.1eef603d.js";
|
|
31
31
|
import "../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
@@ -5,15 +5,15 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.1eef603d.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.cb3d7bd6.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
|
-
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.
|
|
11
|
+
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../../GridLayout/subcomponents/Griditem/index.
|
|
14
|
-
import { z as isEqualLayouts } from "../../../GridLayout/index.
|
|
13
|
+
import "../../../GridLayout/subcomponents/Griditem/index.c7a33781.js";
|
|
14
|
+
import { z as isEqualLayouts } from "../../../GridLayout/index.8ae34c50.js";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
16
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.96cdb1b4.js";
|
|
17
17
|
import { debounce, cloneDeep } from "lodash";
|
|
18
18
|
import { useNavigate } from "react-router-dom";
|
|
19
19
|
const ROW_HEIGTH_GRIDLAYOUT = 20;
|
|
@@ -154,12 +154,6 @@ function getDataFromResponse(data, state, areaId) {
|
|
|
154
154
|
if (!newBreakPointsLayouts) {
|
|
155
155
|
newBreakPointsLayouts = {};
|
|
156
156
|
}
|
|
157
|
-
console.log(
|
|
158
|
-
"getDataFromResponse before start",
|
|
159
|
-
windows,
|
|
160
|
-
newBreakPointsLayouts,
|
|
161
|
-
BREAKPOINT_SIZES
|
|
162
|
-
);
|
|
163
157
|
for (const breakPoint in BREAKPOINT_SIZES) {
|
|
164
158
|
if (!newBreakPointsLayouts[breakPoint]) {
|
|
165
159
|
newBreakPointsLayouts[breakPoint] = [];
|
|
@@ -464,12 +458,12 @@ const createAreasStore = (initProps) => {
|
|
|
464
458
|
area.layoutItemsIds.push(windowId);
|
|
465
459
|
if (newWindowProps.emergeType === "layout") {
|
|
466
460
|
area.currentLayoutId = windowId;
|
|
467
|
-
if (area.maximizedId) {
|
|
468
|
-
area.maximizedId = windowId;
|
|
469
|
-
}
|
|
470
461
|
} else {
|
|
471
462
|
area.currentPopUpId = windowId;
|
|
472
463
|
}
|
|
464
|
+
if (area.maximizedId) {
|
|
465
|
+
area.maximizedId = windowId;
|
|
466
|
+
}
|
|
473
467
|
area.layouts = addLayoutItemToBreakPoints(
|
|
474
468
|
area.layouts,
|
|
475
469
|
newLayoutItem,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./AreasContext/index.
|
|
1
|
+
import "./AreasContext/index.7a2d5394.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|
|
@@ -16,7 +16,13 @@ const DICCTIONARY = {
|
|
|
16
16
|
area_error_recommendation: "area_error_recommendation",
|
|
17
17
|
area_error_intro: "area_error_intro",
|
|
18
18
|
area_add_new: "area_add_new",
|
|
19
|
-
label_reset_module_cookies: "label_reset_module_cookies"
|
|
19
|
+
label_reset_module_cookies: "label_reset_module_cookies",
|
|
20
|
+
label_close_window: "label_close_window",
|
|
21
|
+
label_maximize_window: "label_maximize_window",
|
|
22
|
+
label_minimize_window: "label_minimize_window",
|
|
23
|
+
label_collapse_window: "label_collapse_window",
|
|
24
|
+
label_uncollapse_window: "label_uncollapse_window",
|
|
25
|
+
label_module_actions: "label_module_actions"
|
|
20
26
|
};
|
|
21
27
|
const getAreasDictionary = (key) => {
|
|
22
28
|
return `${AREAS_DICTIONARY_ID}.${key}`;
|
|
@@ -15,6 +15,12 @@ export declare const DICCTIONARY: {
|
|
|
15
15
|
readonly area_error_intro: "area_error_intro";
|
|
16
16
|
readonly area_add_new: "area_add_new";
|
|
17
17
|
readonly label_reset_module_cookies: "label_reset_module_cookies";
|
|
18
|
+
readonly label_close_window: "label_close_window";
|
|
19
|
+
readonly label_maximize_window: "label_maximize_window";
|
|
20
|
+
readonly label_minimize_window: "label_minimize_window";
|
|
21
|
+
readonly label_collapse_window: "label_collapse_window";
|
|
22
|
+
readonly label_uncollapse_window: "label_uncollapse_window";
|
|
23
|
+
readonly label_module_actions: "label_module_actions";
|
|
18
24
|
};
|
|
19
25
|
export declare type TypeDictionary = typeof DICCTIONARY;
|
|
20
26
|
export declare const getAreasDictionary: (key: keyof TypeDictionary) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.7a2d5394.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
2
|
import "@m4l/core";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.a70c4729.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.76624519.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
9
|
import "zustand";
|
|
10
|
-
import "./contexts/AreasContext/index.
|
|
11
|
-
import "./components/AreasAdmin/index.
|
|
10
|
+
import "./contexts/AreasContext/index.7a2d5394.js";
|
|
11
|
+
import "./components/AreasAdmin/index.cb3d7bd6.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../ScrollBar/index.65bb2930.js";
|
|
14
|
-
import "../mui_extended/Accordion/index.
|
|
14
|
+
import "../mui_extended/Accordion/index.0e0090ca.js";
|
|
15
15
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
18
18
|
import "@mui/material/Button";
|
|
19
19
|
import "../mui_extended/Button/index.f79eb74e.js";
|
|
20
20
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../mui_extended/Badge/index.
|
|
21
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../mui_extended/MenuActions/index.
|
|
24
|
+
import "../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
25
25
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../mui_extended/Tab/index.
|
|
28
|
-
import "../mui_extended/Pager/index.
|
|
27
|
+
import "../mui_extended/Tab/index.3db2e0c7.js";
|
|
28
|
+
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
|
-
import "./components/AreasViewer/index.
|
|
30
|
+
import "./components/AreasViewer/index.1eef603d.js";
|
|
31
31
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
32
32
|
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
33
33
|
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.a70c4729.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -2,11 +2,11 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.a70c4729.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.
|
|
9
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.a013b080.js";
|
|
10
10
|
function getFormatConcatenated(values, separator) {
|
|
11
11
|
const returnSymbol = "";
|
|
12
12
|
if (values === null)
|
|
@@ -6,26 +6,26 @@ import { useMemo, useRef, useState, useEffect } from "react";
|
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
10
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.69791151.js";
|
|
10
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.76624519.js";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
12
|
import { styled } from "@mui/material/styles";
|
|
13
13
|
import "clsx";
|
|
14
14
|
import { unstable_composeClasses } from "@mui/base";
|
|
15
|
-
import "../../Icon/index.
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
15
|
+
import "../../Icon/index.a70c4729.js";
|
|
16
|
+
import "../../mui_extended/Accordion/index.0e0090ca.js";
|
|
17
17
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
20
20
|
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
21
21
|
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
22
|
-
import "../../mui_extended/Badge/index.
|
|
22
|
+
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
25
25
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.
|
|
28
|
-
import "../../mui_extended/Pager/index.
|
|
27
|
+
import "../../mui_extended/Tab/index.3db2e0c7.js";
|
|
28
|
+
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
const AutocompleteRoot = styled("div")(({
|
|
31
31
|
theme
|
|
@@ -253,7 +253,6 @@ function RHFAutocomplete(props) {
|
|
|
253
253
|
};
|
|
254
254
|
const classes = useUtilityClasses(ownerState);
|
|
255
255
|
const theme = useTheme();
|
|
256
|
-
console.log("RHFAutocomplete");
|
|
257
256
|
return /* @__PURE__ */ jsx(AutocompleteRoot, {
|
|
258
257
|
className: classes.root,
|
|
259
258
|
...process.env.NODE_ENV !== "production" ? {
|
|
@@ -5,7 +5,7 @@ import { styled } from "@mui/material/styles";
|
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.5c23bd25.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -2,30 +2,30 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
5
|
+
import { H as HelperText } from "../../HelperText/index.69791151.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import "react";
|
|
9
9
|
import "@m4l/core";
|
|
10
|
-
import "../../Icon/index.
|
|
10
|
+
import "../../Icon/index.a70c4729.js";
|
|
11
11
|
import "clsx";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
13
|
-
import "../../mui_extended/IconButton/index.
|
|
14
|
-
import "../../mui_extended/Accordion/index.
|
|
13
|
+
import "../../mui_extended/IconButton/index.76624519.js";
|
|
14
|
+
import "../../mui_extended/Accordion/index.0e0090ca.js";
|
|
15
15
|
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
18
18
|
import "@mui/material/Button";
|
|
19
19
|
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
20
20
|
import { C as CheckBox } from "../../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../../mui_extended/Badge/index.
|
|
21
|
+
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
25
25
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.
|
|
28
|
-
import "../../mui_extended/Pager/index.
|
|
27
|
+
import "../../mui_extended/Tab/index.3db2e0c7.js";
|
|
28
|
+
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
const RHFCheckboxRoot = styled("div")(({
|
|
31
31
|
theme
|
|
@@ -123,6 +123,7 @@ function RHFCheckbox(props) {
|
|
|
123
123
|
label
|
|
124
124
|
})
|
|
125
125
|
}), error?.message && /* @__PURE__ */ jsx(HelperText, {
|
|
126
|
+
variant: "error",
|
|
126
127
|
message: error?.message + ""
|
|
127
128
|
})]
|
|
128
129
|
});
|