@m4l/components 0.2.7 → 0.2.9
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.2604c389.js → index.8a11a7b6.js} +21 -9
- package/components/AppBar/{index.9522f237.js → index.966d5162.js} +22 -5
- package/components/CommonActions/components/ActionCancel/{index.06539086.js → index.68bf349a.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/index.728bb37d.js +146 -0
- package/components/CommonActions/components/ActionFormIntro/{index.5a719043.js → index.a7e8711b.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.3e8a2e60.js → index.7cc0a393.js} +2 -2
- package/components/CommonActions/components/Actions/index.b61826a4.js +163 -0
- package/components/DataGrid/constants.d.ts +2 -0
- package/components/DataGrid/{index.84a4843c.js → index.3a2e683c.js} +92 -92
- package/components/DataGrid/subcomponents/Actions/{index.dbcbee6d.js → index.063a0197.js} +89 -9
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.d.ts +0 -1
- package/components/DynamicFilter/{index.39033eb7.js → index.a5197d85.js} +92 -23
- package/components/GridLayout/{index.e8c04242.js → index.68093cfb.js} +7 -6
- package/components/GridLayout/subcomponents/Griditem/{index.4d38f12e.js → index.8e4af155.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.e25df1dc.js → index.c32210fc.js} +1 -1
- package/components/HelperText/{index.7d2afdb3.js → index.a6a02c79.js} +23 -2
- package/components/Icon/{index.05984e7f.js → index.29065051.js} +5 -5
- package/components/Image/{index.bf37e923.js → index.cf640615.js} +3 -3
- package/components/LanguagePopover/{index.5ff37dbf.js → index.0319d6a8.js} +20 -4
- package/components/LoadingError/{index.fabad214.js → index.1426339a.js} +23 -5
- package/components/MFLoader/{index.7b4ee2a4.js → index.cbd2e5af.js} +21 -5
- package/components/ModalDialog/{index.89e26413.js → index.82ccabcc.js} +3 -3
- package/components/NavLink/{index.b75c91e1.js → index.618dabfb.js} +22 -2
- package/components/NoItemSelected/{index.7db73e77.js → index.50d06852.js} +1 -1
- package/components/ObjectLogs/{index.aeb2540f.js → index.fb34f372.js} +84 -5
- package/components/PDFViewer/{index.5c2db67a.js → index.ec8d0f79.js} +23 -3
- package/components/Page/{index.710cb16f.js → index.5aefe8f7.js} +1 -1
- package/components/PaperForm/classes/index.d.ts +2 -1
- package/components/PaperForm/classes/types.d.ts +1 -0
- package/components/PaperForm/{index.7ea3883f.js → index.6859d4e8.js} +11 -6
- package/components/PaperForm/types.d.ts +4 -1
- package/components/Period/{index.0aa8e507.js → index.df612223.js} +90 -5
- package/components/PrintingSystem/{index.ed3b22b7.js → index.73dd98b3.js} +12 -12
- package/components/PrintingSystem/subcomponents/BodyNode/{index.7acc6016.js → index.d70a5d24.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.e4a23bdd.js → index.4cd7f6d8.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.16fff262.js → index.56efaa0c.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.6c67dec0.js → index.4320bb03.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.f466062b.js → index.6cabbf31.js} +1 -5
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.77d3d39a.js → index.0e23ffd4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.2a3d54a3.js → index.f97e7aa6.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.e71ad971.js → index.7d3a3c8f.js} +1 -2
- package/components/PrintingSystem/subcomponents/SectionNode/{index.ce4f6d16.js → index.05d1fcf7.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.850d20a1.js → index.3894059c.js} +1 -1
- package/components/PropertyValue/{index.43ac2a71.js → index.df683b35.js} +20 -4
- package/components/SideBar/{index.58d29b84.js → index.f322ee0b.js} +22 -23
- package/components/ToastContainer/{index.ed440301.js → index.f67795cb.js} +7 -5
- package/components/animate/{index.5d4575bc.js → index.4e9774a6.js} +6 -2
- package/components/areas/components/AreasAdmin/{index.d2ce1682.js → index.6024578a.js} +98 -27
- package/components/areas/components/AreasViewer/{index.977d2804.js → index.41e89676.js} +84 -18
- package/components/areas/components/index.198e8954.js +32 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.79ec57d5.js → index.9c8e3b41.js} +10 -17
- package/components/areas/contexts/index.eba30173.js +4 -0
- package/components/areas/hooks/index.0184c6f7.js +4 -0
- package/components/areas/hooks/useAreas/{index.de0591fe.js → index.fb721543.js} +1 -1
- package/components/areas/index.abedae6a.js +56 -0
- package/components/formatters/BooleanFormatter/{index.4f3cbdce.js → index.64ed2d71.js} +2 -3
- package/components/formatters/{index.4ca6946d.js → index.57f0da1b.js} +7 -3
- package/components/hook-form/RHFAutocomplete/{index.0ce87ac3.js → index.e830f749.js} +22 -7
- package/components/hook-form/RHFAutocompleteAsync/{index.57789d3a.js → index.12580722.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.a38715e3.js → index.938321c1.js} +22 -2
- package/components/hook-form/RHFColorPicker/{index.d00a2b53.js → index.e292aa86.js} +21 -5
- package/components/hook-form/RHFDateTime/{index.ae5d3a39.js → index.321e4b87.js} +21 -5
- package/components/hook-form/RHFPeriod/{index.ae9bcf41.js → index.98b2667a.js} +2 -3
- package/components/hook-form/RHFTextField/{index.80cc07e0.js → index.d08c142b.js} +7 -5
- package/components/hook-form/RHFUpload/{index.587aac00.js → index.cdb2e584.js} +22 -5
- package/components/modal/WindowBase.4fe313e7.js +160 -0
- package/components/modal/WindowConfirm.355df4de.js +188 -0
- package/components/modal/index.ea3a21cb.js +148 -0
- package/components/mui_extended/Accordion/{index.eddcfe40.js → index.3e247bd4.js} +4 -4
- package/components/mui_extended/Button/{index.570fd3a4.js → index.f538e360.js} +3 -3
- package/components/mui_extended/{CheckBox.e662d20c.js → CheckBox.38abccd8.js} +1 -1
- package/components/mui_extended/IconButton/{index.26de70bd.js → index.e295aa1f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.8c02ff61.js → index.9b37fadc.js} +19 -5
- package/components/mui_extended/Pager/{index.5629e82b.js → index.78dea971.js} +2 -3
- package/components/mui_extended/Tab/{index.f8795137.js → index.4c797c00.js} +2 -2
- package/components/mui_extended/ToggleButton/{index.21a1f8e5.js → index.43140642.js} +5 -1
- package/components/mui_extended/ToggleIconButton/{index.00f13c40.js → index.3d725376.js} +6 -1
- package/components/mui_extended/index.1da3a53e.js +24 -0
- package/contexts/ModalContext/{index.b39d303d.js → index.6d2dda38.js} +1 -1
- package/hooks/useFormAddEdit/index.0d294209.js +183 -0
- package/hooks/useModal/{index.abdc0962.js → index.97742698.js} +1 -1
- package/hooks/useTab/index.cb48ec45.js +103 -0
- package/index.js +176 -176
- package/{node_modules.8f15d11f.js → node_modules.56dca1cf.js} +1 -1
- package/package.json +1 -1
- package/vendor.3c20510a.js +142 -0
- package/components/CommonActions/components/ActionFormCancel/index.33fc6c79.js +0 -61
- package/components/CommonActions/components/Actions/index.2f6286eb.js +0 -74
- package/components/DataGrid/subcomponents/Table/subcomponents/constants.d.ts +0 -1
- package/components/areas/components/index.558684b3.js +0 -1
- package/components/areas/contexts/index.24025b97.js +0 -1
- package/components/areas/hooks/index.d9dc1e21.js +0 -1
- package/components/areas/index.4cc6a221.js +0 -22
- package/components/modal/WindowBase.ea17cf20.js +0 -74
- package/components/modal/WindowConfirm.19ddbd5d.js +0 -102
- package/components/modal/index.61389369.js +0 -57
- package/components/mui_extended/index.b606cd9d.js +0 -1
- package/hooks/useFormAddEdit/index.32aa4f64.js +0 -96
- package/hooks/useTab/index.9c611b31.js +0 -12
- package/vendor.75facc5e.js +0 -110
- package/components/mui_extended/Badge/{index.09f5aee5.js → index.b09524fe.js} +1 -1
- package/components/mui_extended/Popover/{index.b3eca6b1.js → index.9f35d0eb.js} +2 -2
- package/components/mui_extended/Tooltip/{index.24a2bc3f.js → index.5a795dcd.js} +1 -1
- package/components/mui_extended/Typography/{index.379dd374.js → index.443590d6.js} +1 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
2
|
+
import "react";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.97742698.js";
|
|
4
|
+
import { Typography } from "@mui/material";
|
|
5
|
+
import "../../react-draggable.ee21cb7e.js";
|
|
6
|
+
import "../Resizeable/index.6478d7d8.js";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import { m as modalUtilityClasses } from "./index.ea3a21cb.js";
|
|
10
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.b61826a4.js";
|
|
11
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.68bf349a.js";
|
|
12
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.7cc0a393.js";
|
|
13
|
+
import "react-hook-form";
|
|
14
|
+
import "@mui/material/Button";
|
|
15
|
+
import "../mui_extended/Button/index.f538e360.js";
|
|
16
|
+
import "clsx";
|
|
17
|
+
import "../Icon/index.29065051.js";
|
|
18
|
+
import "../mui_extended/IconButton/index.e295aa1f.js";
|
|
19
|
+
import "zustand";
|
|
20
|
+
import "../areas/contexts/AreasContext/index.9c8e3b41.js";
|
|
21
|
+
import "../areas/components/AreasAdmin/index.6024578a.js";
|
|
22
|
+
import "zustand/shallow";
|
|
23
|
+
import "../ScrollBar/index.010f1b9d.js";
|
|
24
|
+
import "../mui_extended/Accordion/index.3e247bd4.js";
|
|
25
|
+
import "../mui_extended/Typography/index.443590d6.js";
|
|
26
|
+
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
27
|
+
import "react-router-dom";
|
|
28
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
29
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
30
|
+
import { I as Image } from "../Image/index.cf640615.js";
|
|
31
|
+
import "@mui/lab";
|
|
32
|
+
import "../mui_extended/MenuActions/index.9b37fadc.js";
|
|
33
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
34
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
35
|
+
import "../mui_extended/Tab/index.4c797c00.js";
|
|
36
|
+
import "../mui_extended/Pager/index.78dea971.js";
|
|
37
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
|
+
import "../areas/components/AreasViewer/index.41e89676.js";
|
|
39
|
+
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
40
|
+
import "../LoadingError/index.1426339a.js";
|
|
41
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
42
|
+
import "zustand/middleware/immer";
|
|
43
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
44
|
+
import { W as WindowBase } from "./WindowBase.4fe313e7.js";
|
|
45
|
+
import "../animate/index.4e9774a6.js";
|
|
46
|
+
import "framer-motion";
|
|
47
|
+
import "@mui/material/styles";
|
|
48
|
+
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
49
|
+
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
50
|
+
import "../hook-form/RHFAutocomplete/index.e830f749.js";
|
|
51
|
+
import "../HelperText/index.a6a02c79.js";
|
|
52
|
+
import "../../node_modules.56dca1cf.js";
|
|
53
|
+
import "lodash-es/debounce";
|
|
54
|
+
import "lodash-es/each";
|
|
55
|
+
import "../hook-form/RHFColorPicker/index.e292aa86.js";
|
|
56
|
+
import "lodash/debounce";
|
|
57
|
+
import "../hook-form/RHFAutocompleteAsync/index.12580722.js";
|
|
58
|
+
import "../hook-form/RHFCheckbox/index.938321c1.js";
|
|
59
|
+
import "@mui/x-date-pickers";
|
|
60
|
+
import "../hook-form/RHFDateTime/index.321e4b87.js";
|
|
61
|
+
import "../hook-form/RHFTextField/index.d08c142b.js";
|
|
62
|
+
import "../hook-form/RHFPeriod/index.98b2667a.js";
|
|
63
|
+
import "../Period/index.df612223.js";
|
|
64
|
+
import "lodash/isString";
|
|
65
|
+
import "react-dropzone";
|
|
66
|
+
import "../hook-form/RHFUpload/index.cdb2e584.js";
|
|
67
|
+
import "../formatters/index.57f0da1b.js";
|
|
68
|
+
import "../DataGrid/index.3a2e683c.js";
|
|
69
|
+
import "react-dnd";
|
|
70
|
+
import "react-dnd-html5-backend";
|
|
71
|
+
import "../DataGrid/subcomponents/Actions/index.063a0197.js";
|
|
72
|
+
import "../DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
73
|
+
import "../DynamicFilter/index.a5197d85.js";
|
|
74
|
+
import "yup";
|
|
75
|
+
import "../../contexts/RHFormContext/index.7769076a.js";
|
|
76
|
+
import "../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
77
|
+
import "../GridLayout/index.68093cfb.js";
|
|
78
|
+
import "fast-equals";
|
|
79
|
+
import "lodash";
|
|
80
|
+
import "../PrintingSystem/index.73dd98b3.js";
|
|
81
|
+
import "../LanguagePopover/index.0319d6a8.js";
|
|
82
|
+
import "../MFLoader/index.cbd2e5af.js";
|
|
83
|
+
import "../NavLink/index.618dabfb.js";
|
|
84
|
+
import "../NoItemSelected/index.50d06852.js";
|
|
85
|
+
import "../ObjectLogs/index.fb34f372.js";
|
|
86
|
+
import "../../react-json-view.5636414a.js";
|
|
87
|
+
import "../PaperForm/index.6859d4e8.js";
|
|
88
|
+
import "../PDFViewer/index.ec8d0f79.js";
|
|
89
|
+
import "../Page/index.5aefe8f7.js";
|
|
90
|
+
import "../PropertyValue/index.df683b35.js";
|
|
91
|
+
import "../SplitLayout/index.30fd5861.js";
|
|
92
|
+
import "../../react-splitter-layout.c5d98bf7.js";
|
|
93
|
+
import "../ToastContainer/index.f67795cb.js";
|
|
94
|
+
import "../SideBar/index.f322ee0b.js";
|
|
95
|
+
import "../AppBar/index.966d5162.js";
|
|
96
|
+
import "../AccountPopover/index.8a11a7b6.js";
|
|
97
|
+
const dictionary = {
|
|
98
|
+
MESSAGE: "common_actions.confirm_quit_msg"
|
|
99
|
+
};
|
|
100
|
+
const MessageIlustration = (props) => {
|
|
101
|
+
const {
|
|
102
|
+
getLabel
|
|
103
|
+
} = useModuleDictionary();
|
|
104
|
+
const {
|
|
105
|
+
variant
|
|
106
|
+
} = useModal();
|
|
107
|
+
const {
|
|
108
|
+
msg = getLabel(dictionary.MESSAGE),
|
|
109
|
+
classes,
|
|
110
|
+
title
|
|
111
|
+
} = props;
|
|
112
|
+
const {
|
|
113
|
+
host_static_assets,
|
|
114
|
+
environment_assets
|
|
115
|
+
} = useEnvironment();
|
|
116
|
+
const illustrationWarning = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_warning.svg`;
|
|
117
|
+
const illustrationDanger = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_danger.svg`;
|
|
118
|
+
const illustrationSuccess = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_success.svg`;
|
|
119
|
+
const illustrationInfo = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_info.svg`;
|
|
120
|
+
return /* @__PURE__ */ jsx("div", {
|
|
121
|
+
className: classes.containerMassageIlustration,
|
|
122
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
123
|
+
className: classes.modalContent,
|
|
124
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
125
|
+
className: classes.illustrationContainer,
|
|
126
|
+
children: /* @__PURE__ */ jsx(Image, {
|
|
127
|
+
className: classes.illustration,
|
|
128
|
+
src: variant === "warning" ? illustrationWarning : variant === "delete" ? illustrationDanger : variant === "success" ? illustrationSuccess : illustrationInfo
|
|
129
|
+
})
|
|
130
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
131
|
+
children: /* @__PURE__ */ jsx(Typography, {
|
|
132
|
+
variant: "subtitle",
|
|
133
|
+
children: title
|
|
134
|
+
})
|
|
135
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
136
|
+
className: classes.messageContainer,
|
|
137
|
+
children: /* @__PURE__ */ jsx(Typography, {
|
|
138
|
+
variant: "body",
|
|
139
|
+
children: msg
|
|
140
|
+
})
|
|
141
|
+
})]
|
|
142
|
+
})
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
const WindowConfirm = (props) => {
|
|
146
|
+
const {
|
|
147
|
+
variant,
|
|
148
|
+
title,
|
|
149
|
+
onClickCancel,
|
|
150
|
+
onClickIntro,
|
|
151
|
+
msg
|
|
152
|
+
} = props;
|
|
153
|
+
const {
|
|
154
|
+
closeModal
|
|
155
|
+
} = useModal();
|
|
156
|
+
const {
|
|
157
|
+
getLabel
|
|
158
|
+
} = useModuleDictionary();
|
|
159
|
+
const {
|
|
160
|
+
host_static_assets,
|
|
161
|
+
environment_assets
|
|
162
|
+
} = useEnvironment();
|
|
163
|
+
const onCloseCancel = () => {
|
|
164
|
+
onClickCancel && onClickCancel();
|
|
165
|
+
closeModal();
|
|
166
|
+
};
|
|
167
|
+
const classes = modalUtilityClasses({
|
|
168
|
+
variant
|
|
169
|
+
});
|
|
170
|
+
return /* @__PURE__ */ jsxs(WindowBase, {
|
|
171
|
+
title: getLabel("modal_dialog.label_window_confirm"),
|
|
172
|
+
urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/window_confirm.svg`,
|
|
173
|
+
children: [/* @__PURE__ */ jsx(MessageIlustration, {
|
|
174
|
+
classes,
|
|
175
|
+
msg,
|
|
176
|
+
title
|
|
177
|
+
}), /* @__PURE__ */ jsxs(Actions, {
|
|
178
|
+
children: [/* @__PURE__ */ jsx(ActionCancel, {
|
|
179
|
+
onClick: onCloseCancel
|
|
180
|
+
}), /* @__PURE__ */ jsx(ActionIntro, {
|
|
181
|
+
onClick: onClickIntro
|
|
182
|
+
})]
|
|
183
|
+
})]
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
export {
|
|
187
|
+
WindowConfirm as W
|
|
188
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
|
+
import "../../react-draggable.ee21cb7e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../contexts/ModalContext/index.6d2dda38.js";
|
|
5
|
+
import "../Resizeable/index.6478d7d8.js";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "@m4l/graphics";
|
|
8
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
+
import "@m4l/core";
|
|
10
|
+
import "../Icon/index.29065051.js";
|
|
11
|
+
import "clsx";
|
|
12
|
+
import "../mui_extended/IconButton/index.e295aa1f.js";
|
|
13
|
+
import "../mui_extended/Accordion/index.3e247bd4.js";
|
|
14
|
+
import "../mui_extended/Typography/index.443590d6.js";
|
|
15
|
+
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
16
|
+
import "react-router-dom";
|
|
17
|
+
import "@mui/material/Button";
|
|
18
|
+
import "../mui_extended/Button/index.f538e360.js";
|
|
19
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
20
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
21
|
+
import "../Image/index.cf640615.js";
|
|
22
|
+
import "@mui/lab";
|
|
23
|
+
import "../mui_extended/MenuActions/index.9b37fadc.js";
|
|
24
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
26
|
+
import "../mui_extended/Tab/index.4c797c00.js";
|
|
27
|
+
import "../mui_extended/Pager/index.78dea971.js";
|
|
28
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
|
+
import "../animate/index.4e9774a6.js";
|
|
30
|
+
import "framer-motion";
|
|
31
|
+
import "@mui/material/styles";
|
|
32
|
+
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
33
|
+
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
34
|
+
import "zustand";
|
|
35
|
+
import "../areas/contexts/AreasContext/index.9c8e3b41.js";
|
|
36
|
+
import "../areas/components/AreasAdmin/index.6024578a.js";
|
|
37
|
+
import "zustand/shallow";
|
|
38
|
+
import "../ScrollBar/index.010f1b9d.js";
|
|
39
|
+
import "../areas/components/AreasViewer/index.41e89676.js";
|
|
40
|
+
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
41
|
+
import "../LoadingError/index.1426339a.js";
|
|
42
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
|
+
import "zustand/middleware/immer";
|
|
44
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
45
|
+
import "react-hook-form";
|
|
46
|
+
import "../hook-form/RHFAutocomplete/index.e830f749.js";
|
|
47
|
+
import "../HelperText/index.a6a02c79.js";
|
|
48
|
+
import "../../node_modules.56dca1cf.js";
|
|
49
|
+
import "lodash-es/debounce";
|
|
50
|
+
import "lodash-es/each";
|
|
51
|
+
import "../hook-form/RHFColorPicker/index.e292aa86.js";
|
|
52
|
+
import "lodash/debounce";
|
|
53
|
+
import "../hook-form/RHFAutocompleteAsync/index.12580722.js";
|
|
54
|
+
import "../hook-form/RHFCheckbox/index.938321c1.js";
|
|
55
|
+
import "@mui/x-date-pickers";
|
|
56
|
+
import "../hook-form/RHFDateTime/index.321e4b87.js";
|
|
57
|
+
import "../hook-form/RHFTextField/index.d08c142b.js";
|
|
58
|
+
import "../hook-form/RHFPeriod/index.98b2667a.js";
|
|
59
|
+
import "../Period/index.df612223.js";
|
|
60
|
+
import "../CommonActions/components/Actions/index.b61826a4.js";
|
|
61
|
+
import "lodash/isString";
|
|
62
|
+
import "react-dropzone";
|
|
63
|
+
import "../hook-form/RHFUpload/index.cdb2e584.js";
|
|
64
|
+
import "../formatters/index.57f0da1b.js";
|
|
65
|
+
import "../DataGrid/index.3a2e683c.js";
|
|
66
|
+
import "react-dnd";
|
|
67
|
+
import "react-dnd-html5-backend";
|
|
68
|
+
import "../DataGrid/subcomponents/Actions/index.063a0197.js";
|
|
69
|
+
import "../DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
70
|
+
import "../DynamicFilter/index.a5197d85.js";
|
|
71
|
+
import "yup";
|
|
72
|
+
import "../../contexts/RHFormContext/index.7769076a.js";
|
|
73
|
+
import "../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
74
|
+
import "../GridLayout/index.68093cfb.js";
|
|
75
|
+
import "fast-equals";
|
|
76
|
+
import "lodash";
|
|
77
|
+
import "../PrintingSystem/index.73dd98b3.js";
|
|
78
|
+
import "../LanguagePopover/index.0319d6a8.js";
|
|
79
|
+
import "../MFLoader/index.cbd2e5af.js";
|
|
80
|
+
import "../NavLink/index.618dabfb.js";
|
|
81
|
+
import "../NoItemSelected/index.50d06852.js";
|
|
82
|
+
import "../ObjectLogs/index.fb34f372.js";
|
|
83
|
+
import "../../react-json-view.5636414a.js";
|
|
84
|
+
import "../PaperForm/index.6859d4e8.js";
|
|
85
|
+
import "../PDFViewer/index.ec8d0f79.js";
|
|
86
|
+
import "../Page/index.5aefe8f7.js";
|
|
87
|
+
import "../PropertyValue/index.df683b35.js";
|
|
88
|
+
import "../SplitLayout/index.30fd5861.js";
|
|
89
|
+
import "../../react-splitter-layout.c5d98bf7.js";
|
|
90
|
+
import "../ToastContainer/index.f67795cb.js";
|
|
91
|
+
import "../SideBar/index.f322ee0b.js";
|
|
92
|
+
import "../AppBar/index.966d5162.js";
|
|
93
|
+
import "../AccountPopover/index.8a11a7b6.js";
|
|
94
|
+
const componentName = "M4LModal";
|
|
95
|
+
generateUtilityClasses(componentName, [
|
|
96
|
+
"root",
|
|
97
|
+
"windowBaseRoot",
|
|
98
|
+
"containerWindow",
|
|
99
|
+
"headerContainer",
|
|
100
|
+
"iconHeader",
|
|
101
|
+
"titleHeader",
|
|
102
|
+
"iconCloseHeader",
|
|
103
|
+
"containerMassageIlustration",
|
|
104
|
+
"modalContent",
|
|
105
|
+
"illustrationContainer",
|
|
106
|
+
"messageContainer",
|
|
107
|
+
"illustration",
|
|
108
|
+
"windowConfirm",
|
|
109
|
+
"resizeHandle",
|
|
110
|
+
"windowContent",
|
|
111
|
+
"variantDelete",
|
|
112
|
+
"variantWarning",
|
|
113
|
+
"variantInfo",
|
|
114
|
+
"variantPrimary"
|
|
115
|
+
]);
|
|
116
|
+
function getModalUtilityClass(slot) {
|
|
117
|
+
return generateUtilityClass(componentName, slot);
|
|
118
|
+
}
|
|
119
|
+
const modalUtilityClasses = (ownerState) => {
|
|
120
|
+
const slots = {
|
|
121
|
+
root: ["root", ownerState?.variant === "delete" && "variantDelete", ownerState.variant === "warning" && "variantWarning", ownerState.variant === "info" && "variantInfo", ownerState.variant === "success" && "variantSuccess"],
|
|
122
|
+
windowBaseRoot: ["windowBaseRoot"],
|
|
123
|
+
containerWindow: ["containerWindow"],
|
|
124
|
+
headerContainer: ["headerContainer"],
|
|
125
|
+
iconHeader: ["iconHeader"],
|
|
126
|
+
titleHeader: ["titleHeader"],
|
|
127
|
+
iconCloseHeader: ["iconCloseHeader"],
|
|
128
|
+
containerMassageIlustration: ["containerMassageIlustration"],
|
|
129
|
+
modalContent: ["modalContent"],
|
|
130
|
+
illustrationContainer: ["illustrationContainer"],
|
|
131
|
+
messageContainer: ["messageContainer"],
|
|
132
|
+
illustration: ["illustration"],
|
|
133
|
+
windowConfirm: ["windowConfirm"],
|
|
134
|
+
resizeHandle: ["resizeHandle"],
|
|
135
|
+
windowContent: ["windowContent"]
|
|
136
|
+
};
|
|
137
|
+
const composedClasses = unstable_composeClasses(slots, getModalUtilityClass, {});
|
|
138
|
+
return {
|
|
139
|
+
...composedClasses
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
const getModalDictionary = () => {
|
|
143
|
+
return "modal_dialog";
|
|
144
|
+
};
|
|
145
|
+
export {
|
|
146
|
+
getModalDictionary as g,
|
|
147
|
+
modalUtilityClasses as m
|
|
148
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass, styled, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.e295aa1f.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import { I as Icon } from "../../Icon/index.29065051.js";
|
|
6
|
+
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
5
7
|
import clsx from "clsx";
|
|
6
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
9
|
+
import { g as getNameDataTestId } from "../../../vendor.3c20510a.js";
|
|
8
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { I as Icon } from "../../Icon/index.05984e7f.js";
|
|
10
|
-
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, IconButton, Tooltip } from "@mui/material";
|
|
3
3
|
import MuiButton from "@mui/material/Button";
|
|
4
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
5
4
|
import clsx from "clsx";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.cf640615.js";
|
|
8
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
+
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
12
12
|
const ButtonRoot = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -4,8 +4,8 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { T as Typography } from "./Typography/index.443590d6.js";
|
|
7
8
|
import { forwardRef } from "react";
|
|
8
|
-
import { T as Typography } from "./Typography/index.379dd374.js";
|
|
9
9
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
10
10
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
11
11
|
"root",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.29065051.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
7
6
|
import clsx from "clsx";
|
|
8
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const SkeletonIconButton = (props) => {
|
|
10
10
|
const {
|
|
11
11
|
classes
|
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useMemo } from "react";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { IconButton, generateUtilityClasses, generateUtilityClass, useTheme, MenuItem } from "@mui/material";
|
|
4
|
-
import { P as Popover } from "../Popover/index.
|
|
4
|
+
import { P as Popover } from "../Popover/index.9f35d0eb.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.29065051.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.e295aa1f.js";
|
|
7
8
|
import clsx from "clsx";
|
|
8
|
-
import
|
|
9
|
+
import "../Accordion/index.3e247bd4.js";
|
|
10
|
+
import "../Typography/index.443590d6.js";
|
|
9
11
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
+
import "../Avatar/index.75e6ed57.js";
|
|
13
|
+
import "react-router-dom";
|
|
14
|
+
import "@mui/material/Button";
|
|
15
|
+
import "../Button/index.f538e360.js";
|
|
16
|
+
import "../CheckBox.38abccd8.js";
|
|
17
|
+
import { B as Badge } from "../Badge/index.b09524fe.js";
|
|
18
|
+
import "../../Image/index.cf640615.js";
|
|
19
|
+
import "@mui/lab";
|
|
20
|
+
import "../Stack/index.0e53197c.js";
|
|
21
|
+
import "../Tab/index.4c797c00.js";
|
|
22
|
+
import "../Pager/index.78dea971.js";
|
|
23
|
+
import "@m4l/graphics";
|
|
24
|
+
import "../Tooltip/index.5a795dcd.js";
|
|
25
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
12
26
|
styled(IconButton)(() => ({}));
|
|
13
27
|
const LabelMemuItem = styled("div")(({
|
|
14
28
|
theme
|
|
@@ -2,11 +2,11 @@ import { useMemo } from "react";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import {
|
|
5
|
+
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
6
|
+
import { I as IconButton } from "../IconButton/index.e295aa1f.js";
|
|
6
7
|
import { useEnvironment } from "@m4l/core";
|
|
7
8
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
|
-
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
10
10
|
const PagerRoot = styled("div")(({ theme }) => ({
|
|
11
11
|
...theme.components?.M4LPager?.styleOverrides
|
|
12
12
|
}));
|
|
@@ -126,7 +126,6 @@ function PagerActions(props) {
|
|
|
126
126
|
return /* @__PURE__ */ jsxs(WrapperPagerActions, {
|
|
127
127
|
className: classes.pagerActions,
|
|
128
128
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
129
|
-
id: "test_bruce",
|
|
130
129
|
dictionaryTooltipId: "pager.first",
|
|
131
130
|
onClick: handleFirstPageButtonClick,
|
|
132
131
|
disabled: page === 0,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
3
|
import { generateUtilityClasses, generateUtilityClass, styled, Tabs as Tabs$1, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
3
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
8
|
+
import { g as getNameDataTestId } from "../../../vendor.3c20510a.js";
|
|
9
9
|
import { createContext, useState } from "react";
|
|
10
10
|
const componentName$2 = "M4LTabs";
|
|
11
11
|
generateUtilityClasses(componentName$2, [
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
2
|
+
import { B as Button, b as buttonClasses } from "../Button/index.f538e360.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import "@m4l/core";
|
|
6
|
+
import "@mui/material";
|
|
7
|
+
import "@mui/material/Button";
|
|
8
|
+
import "react";
|
|
5
9
|
const ToggleAbleButton = ({
|
|
6
10
|
onClick,
|
|
7
11
|
isPressed,
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.e295aa1f.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
|
+
import "@m4l/core";
|
|
7
|
+
import "@mui/material";
|
|
8
|
+
import "../../Icon/index.29065051.js";
|
|
9
|
+
import "@m4l/graphics";
|
|
5
10
|
const ToggleAbleIconButton = ({
|
|
6
11
|
onClick,
|
|
7
12
|
isPressed,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@m4l/core";
|
|
4
|
+
import "../Icon/index.29065051.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "@m4l/graphics";
|
|
7
|
+
import "react/jsx-runtime";
|
|
8
|
+
import "./IconButton/index.e295aa1f.js";
|
|
9
|
+
import "./Accordion/index.3e247bd4.js";
|
|
10
|
+
import "./Typography/index.443590d6.js";
|
|
11
|
+
import "./Avatar/index.75e6ed57.js";
|
|
12
|
+
import "react-router-dom";
|
|
13
|
+
import "@mui/material/Button";
|
|
14
|
+
import "./Button/index.f538e360.js";
|
|
15
|
+
import "./CheckBox.38abccd8.js";
|
|
16
|
+
import "./Badge/index.b09524fe.js";
|
|
17
|
+
import "../Image/index.cf640615.js";
|
|
18
|
+
import "@mui/lab";
|
|
19
|
+
import "./MenuActions/index.9b37fadc.js";
|
|
20
|
+
import "./Popover/index.9f35d0eb.js";
|
|
21
|
+
import "./Stack/index.0e53197c.js";
|
|
22
|
+
import "./Tab/index.4c797c00.js";
|
|
23
|
+
import "./Pager/index.78dea971.js";
|
|
24
|
+
import "./Tooltip/index.5a795dcd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useState } from "react";
|
|
2
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
2
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.82ccabcc.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({
|