@m4l/components 0.1.92 → 0.1.93
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 +12 -15
- package/components/AccountPopover/AccountPopover.d.ts +2 -1
- package/components/AccountPopover/{index.eebea1c5.js → index.2ef0bf6d.js} +20 -31
- package/components/AccountPopover/index.d.ts +0 -1
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +4 -3
- package/components/AccountPopover/types.d.ts +50 -26
- package/components/AppBar/{index.90cceb7d.js → index.16fe42a1.js} +3 -22
- package/components/CommonActions/components/ActionCancel/{index.54588e5b.js → index.c3e23ad4.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.7907e6f4.js → index.6da52418.js} +4 -34
- package/components/CommonActions/components/ActionFormIntro/{index.f7cd515b.js → index.c3af6d1d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f20cffae.js → index.49631fcb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.7a196c44.js → index.ccf731c1.js} +2 -38
- package/components/DataGrid/classes/index.d.ts +1 -0
- package/components/DataGrid/classes/types.d.ts +1 -0
- package/components/DataGrid/formatters/columnConcatenatedValueFormatter/index.d.ts +2 -2
- package/components/DataGrid/{index.95cea2ca.js → index.abedf2c0.js} +44 -14
- package/components/DataGrid/subcomponents/Actions/{index.5b0b1fbf.js → index.c8408b73.js} +9 -38
- package/components/DraggableWindow/{index.c702d3f2.js → index.8f423ed7.js} +1 -1
- package/components/DynamicFilter/{index.e9192ebd.js → index.cb1402aa.js} +23 -56
- package/components/DynamicFilter/index.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/GridLayout/{index.5e43414d.js → index.1421f0d4.js} +7 -7
- package/components/GridLayout/subcomponents/Griditem/{index.d6f326d2.js → index.b2342897.js} +4 -4
- package/components/GridLayout/subcomponents/Responsive/{index.d41e31ca.js → index.f459804c.js} +2 -2
- package/components/HelperText/{index.191348cc.js → index.7d2afdb3.js} +2 -23
- package/components/Icon/{index.a70c4729.js → index.3211023d.js} +8 -6
- package/components/Image/{index.c18ebf5a.js → index.611cd930.js} +43 -14
- package/components/LanguagePopover/{index.a74f2065.js → index.b6dc03d0.js} +4 -20
- package/components/LinearProgressIndeterminate/{index.60dabc06.js → index.c46da124.js} +1 -1
- package/components/LoadingError/LoadingError.d.ts +3 -0
- package/components/LoadingError/classes/constants.d.ts +1 -0
- package/components/LoadingError/classes/index.d.ts +14 -0
- package/components/LoadingError/classes/types.d.ts +14 -0
- package/components/LoadingError/dictionary.d.ts +1 -0
- package/components/LoadingError/index.96bdc803.js +106 -0
- package/components/LoadingError/index.d.ts +2 -0
- package/components/LoadingError/types.d.ts +10 -0
- package/components/MFLoader/classes/constants.d.ts +1 -0
- package/components/MFLoader/classes/index.d.ts +7 -0
- package/components/MFLoader/classes/types.d.ts +7 -0
- package/components/MFLoader/dictionary.d.ts +1 -0
- package/components/MFLoader/index.caee87dd.js +296 -0
- package/components/MFLoader/index.d.ts +2 -0
- package/components/MFLoader/types.d.ts +7 -0
- package/components/ModalDialog/{index.99745527.js → index.ec55087e.js} +5 -5
- package/components/NavLink/{index.f12bba32.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.1eaf72d8.js → index.3e29c208.js} +1 -1
- package/components/ObjectLogs/{index.9bbac2a0.js → index.38fd657f.js} +12 -38
- package/components/Page/index.c4642a29.js +127 -0
- package/components/PaperForm/{index.e02c772c.js → index.cce9ed39.js} +1 -1
- package/components/Period/{index.ebd5e3b7.js → index.c35c6a6c.js} +5 -37
- package/components/PrintingSystem/PrintingSystem.d.ts +3 -0
- package/components/PrintingSystem/classes/constants.d.ts +1 -0
- package/components/PrintingSystem/classes/index.d.ts +32 -0
- package/components/PrintingSystem/classes/types.d.ts +33 -0
- package/components/PrintingSystem/index.d.ts +2 -0
- package/components/PrintingSystem/index.e18a2fa8.js +634 -0
- package/components/PrintingSystem/subcomponents/BodyNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/BodyNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ChartNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ChartNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/GridNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/GridNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ImageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ImageNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/Pager/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/Pager/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PaperNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PaperNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/SectionNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/SectionNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/types.d.ts +3 -0
- package/components/PrintingSystem/types.d.ts +214 -0
- package/components/PrintingSystem/utils/FactoryRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/FactoryRender/types.d.ts +4 -0
- package/components/PrintingSystem/utils/PageRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/PageRender/types.d.ts +13 -0
- package/components/PrintingSystem/utils/getEvalValue/index.d.ts +1 -0
- package/components/PrintingSystem/utils/getSize/index.d.ts +1 -0
- package/components/PropertyValue/classes/index.d.ts +3 -2
- package/components/PropertyValue/classes/types.d.ts +2 -0
- package/components/PropertyValue/{index.76fa6a12.js → index.3ee95452.js} +25 -9
- package/components/PropertyValue/types.d.ts +4 -0
- package/components/Resizeable/{index.676c96fe.js → index.8c53c1fa.js} +1 -1
- package/components/SideBar/{index.2dfc5445.js → index.5fd648d2.js} +44 -39
- package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
- package/components/areas/components/AreasAdmin/{index.cd054608.js → index.ddb384a1.js} +29 -62
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -8
- package/components/areas/components/AreasViewer/{index.62abf0bb.js → index.625bf23b.js} +68 -437
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/components/index.d.ts +0 -1
- package/components/areas/contexts/AreasContext/{index.d528f6e7.js → index.646f3c8f.js} +9 -7
- package/components/areas/contexts/index.24025b97.js +1 -0
- package/components/areas/contexts/index.d.ts +1 -0
- package/components/areas/hooks/index.d9dc1e21.js +1 -0
- package/components/areas/hooks/useAreas/{index.d417e4b2.js → index.ee66240b.js} +1 -1
- package/components/areas/index.4cc6a221.js +22 -0
- package/components/areas/index.d.ts +1 -1
- package/components/formatters/BooleanFormatter/{index.a013b080.js → index.3c2df7a8.js} +10 -4
- package/components/formatters/FormatterRoot/index.d.ts +3 -0
- package/components/formatters/FormatterRoot/types.d.ts +4 -0
- package/components/formatters/classes/index.d.ts +4 -0
- package/components/formatters/classes/types.d.ts +6 -0
- package/components/formatters/constants.d.ts +1 -0
- package/components/formatters/{index.576922c9.js → index.dc77adb7.js} +25 -8
- package/components/hook-form/RHFAutocomplete/{index.29a4c62c.js → index.52387f0f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.647c3f9c.js → index.638bd2ae.js} +3 -2
- package/components/hook-form/RHFCheckbox/{index.0b89ea5c.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFDateTime/{index.1adc88ad.js → index.66e334b0.js} +23 -23
- package/components/hook-form/RHFPeriod/{index.a4476d23.js → index.23099265.js} +2 -2
- package/components/hook-form/RHFTextField/{index.a1a240b1.js → index.25b3627e.js} +6 -8
- package/components/hook-form/RHFUpload/{index.a4582341.js → index.65588e08.js} +5 -22
- package/components/index.d.ts +3 -0
- package/components/modal/{WindowBase.a4752aa1.js → WindowBase.161ec78a.js} +5 -37
- package/components/modal/{WindowConfirm.7a9c12c0.js → WindowConfirm.7eed7c35.js} +8 -40
- package/components/modal/{index.b434146b.js → index.61389369.js} +0 -37
- package/components/mui_extended/Accordion/{index.cdedddba.js → index.92aae1a4.js} +4 -4
- package/components/mui_extended/Button/{index.f79eb74e.js → index.94fec33c.js} +3 -3
- package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
- package/components/mui_extended/IconButton/{index.76624519.js → index.53cd6388.js} +2 -2
- package/components/mui_extended/MenuActions/{index.7669b8af.js → index.dd9f65a2.js} +5 -19
- package/components/mui_extended/Pager/{index.ac2a21f0.js → index.de0bd62c.js} +2 -2
- package/components/mui_extended/Tab/{index.5f09e16a.js → index.1fcabba2.js} +2 -2
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.347f6738.js → index.436c2938.js} +1 -1
- package/contexts/RHFormContext/classes/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.e8e7f758.js → index.3584a29f.js} +2 -26
- package/hooks/useModal/{index.fa6dfaa1.js → index.05d1821e.js} +1 -1
- package/index.js +196 -187
- package/node_modules.b55d04d9.js +15267 -0
- package/package.json +5 -1
- package/react-data-grid.d46d625e.js +2 -2
- package/react-draggable.e4725f3a.js +630 -0
- package/{react-resizable.ba08699a.js → react-resizable.c07d63fb.js} +2 -2
- package/utils/{index.c43a95f4.js → index.6469f148.js} +75 -107
- package/vendor.71883626.js +104 -0
- package/components/Page/index.4237c241.js +0 -27
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/types.d.ts +0 -8
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +0 -5
- package/components/areas/components/index.ea2f9914.js +0 -31
- package/components/areas/contexts/index.6e9bbc64.js +0 -2
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.8d6d8969.js +0 -54
- package/components/mui_extended/index.fe189e7d.js +0 -24
- package/node_modules.d73a220d.js +0 -363
- package/react-draggable.7abb5d0a.js +0 -962
- package/vendor.e14dec76.js +0 -128
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/index.d.ts → MFLoader/MFLoader.d.ts} +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/helper.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/index.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/types.d.ts +0 -0
- package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
- package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
- package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
- package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
|
@@ -5,17 +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.625bf23b.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.ddb384a1.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
|
-
import "
|
|
13
|
-
import "../../../GridLayout/subcomponents/Griditem/index.d6f326d2.js";
|
|
14
|
-
import { z as isEqualLayouts } from "../../../GridLayout/index.5e43414d.js";
|
|
15
|
-
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.d41e31ca.js";
|
|
12
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.f459804c.js";
|
|
17
13
|
import { debounce, cloneDeep } from "lodash";
|
|
14
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.1421f0d4.js";
|
|
18
15
|
import { useNavigate } from "react-router-dom";
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
19
17
|
const PADDING_GRIDLAYOUT = 4;
|
|
20
18
|
const MARGIN_GRIDLAYOUT = 4;
|
|
21
19
|
const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -400,6 +398,7 @@ const createAreasStore = (initProps) => {
|
|
|
400
398
|
},
|
|
401
399
|
areaActions: {
|
|
402
400
|
addWindow: (newWindowProps) => {
|
|
401
|
+
console.log("se ejecut\xF3 addWindow");
|
|
403
402
|
const windowId = `${get().currentAreaId}_window_${new Date().getTime()}_${(Math.random() * 1e3).toFixed(0)}`;
|
|
404
403
|
if (newWindowProps.emergeType === "layout" || newWindowProps.emergeType === "popup") {
|
|
405
404
|
get().areaActions.addLayout(
|
|
@@ -430,6 +429,8 @@ const createAreasStore = (initProps) => {
|
|
|
430
429
|
if (!area) {
|
|
431
430
|
return;
|
|
432
431
|
}
|
|
432
|
+
console.log("state data", state);
|
|
433
|
+
console.log("area data", area.layoutItemsIds);
|
|
433
434
|
if (newWindowProps.replaceMeId) {
|
|
434
435
|
for (let index = 0; index < area.layoutItemsIds.length; index++) {
|
|
435
436
|
const key = area.layoutItemsIds[index];
|
|
@@ -1070,6 +1071,7 @@ function AreasProvider(props) {
|
|
|
1070
1071
|
const addWindow = useCallback((newWindow) => {
|
|
1071
1072
|
const currentAreaId = areasStoreRef.current?.getState().currentAreaId;
|
|
1072
1073
|
const areas = areasStoreRef.current?.getState().areasIds;
|
|
1074
|
+
console.log("newWindow argument", newWindow);
|
|
1073
1075
|
if (currentAreaId && areas) {
|
|
1074
1076
|
areasStoreRef.current?.getState().areaActions.addWindow(newWindow);
|
|
1075
1077
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -4,3 +4,4 @@ export type { DynamicMFStore } from './DynamicMFParmsContext/store';
|
|
|
4
4
|
export type { WindowToolsMF } from './WindowToolsMFContext/types';
|
|
5
5
|
export type { AreaWindowAction as ModuleAction } from '../types';
|
|
6
6
|
export { WindowToolsMFProvider, WindowToolsMFContext } from './WindowToolsMFContext';
|
|
7
|
+
export { createDynamicMFStore } from './DynamicMFParmsContext/store';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -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.646f3c8f.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
function useOnClickOutside(ref, handler, noRef) {
|
|
3
|
+
useEffect(() => {
|
|
4
|
+
const listener = (event) => {
|
|
5
|
+
const el = ref?.current;
|
|
6
|
+
const noEl = noRef?.current;
|
|
7
|
+
if (!el || el.contains(event.target) || noEl && noEl.contains(event.target)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
handler(event);
|
|
11
|
+
};
|
|
12
|
+
document.addEventListener("mousedown", listener);
|
|
13
|
+
document.addEventListener("touchstart", listener);
|
|
14
|
+
return () => {
|
|
15
|
+
document.removeEventListener("mousedown", listener);
|
|
16
|
+
document.removeEventListener("touchstart", listener);
|
|
17
|
+
};
|
|
18
|
+
}, [ref, handler]);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
useOnClickOutside as u
|
|
22
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
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.3211023d.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index.dc77adb7.js";
|
|
6
|
+
import clsx from "clsx";
|
|
5
7
|
import { jsx } from "react/jsx-runtime";
|
|
6
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
7
9
|
const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
|
|
@@ -30,6 +32,7 @@ function BooleanFormatter(props) {
|
|
|
30
32
|
const final_value = value ?? false;
|
|
31
33
|
const srcCheckTrue = `${host_static_assets}/${environment_assets}/frontend/components/data_grid/components/boolean_formatter/assets/icons/check_true.svg`;
|
|
32
34
|
const srcCheckFalse = `${host_static_assets}/${environment_assets}/frontend/components/data_grid/components/boolean_formatter/assets/icons/check_false.svg`;
|
|
35
|
+
console.log("srcCheckTrue", srcCheckTrue);
|
|
33
36
|
const memoComponent = useMemo(() => {
|
|
34
37
|
if (presentationType === "string_yes_no") {
|
|
35
38
|
return /* @__PURE__ */ jsx(Component, {
|
|
@@ -41,9 +44,12 @@ function BooleanFormatter(props) {
|
|
|
41
44
|
children: final_value ? getLabel(LABEL_BOOLEAN_TRUE) : getLabel(LABEL_BOOLEAN_FALSE)
|
|
42
45
|
});
|
|
43
46
|
}
|
|
44
|
-
return /* @__PURE__ */ jsx(
|
|
45
|
-
children: /* @__PURE__ */ jsx(
|
|
46
|
-
|
|
47
|
+
return /* @__PURE__ */ jsx(FormatterRoot, {
|
|
48
|
+
children: /* @__PURE__ */ jsx(Component, {
|
|
49
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
50
|
+
src: final_value ? srcCheckTrue : srcCheckFalse,
|
|
51
|
+
className: clsx(formatterClasses.root, formatterClasses.booleanFormatterIcon, final_value && formatterClasses.booleanFormatterCheck)
|
|
52
|
+
})
|
|
47
53
|
})
|
|
48
54
|
});
|
|
49
55
|
}, [final_value]);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormatterClasses } from './types';
|
|
2
|
+
export declare const formatterClasses: FormatterClasses;
|
|
3
|
+
export declare const useUtilityClasses: () => Record<"root" | "booleanFormatterIcon" | "booleanFormatterCheck", string>;
|
|
4
|
+
export declare type Classes = ReturnType<typeof useUtilityClasses>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { generateUtilityClasses, styled } from "@mui/material";
|
|
2
|
+
import "@mui/base";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
3
5
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.3c2df7a8.js";
|
|
7
|
+
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
8
|
+
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
9
|
+
"root",
|
|
10
|
+
"booleanFormatterIcon",
|
|
11
|
+
"booleanFormatterCheck"
|
|
12
|
+
]);
|
|
13
|
+
const FormatterRootContainer = styled("div")(({ theme }) => ({
|
|
14
|
+
...theme.components?.M4LFormatter?.styleOverrides
|
|
15
|
+
}));
|
|
16
|
+
const FormatterRoot = (props) => {
|
|
17
|
+
const {
|
|
18
|
+
children
|
|
19
|
+
} = props;
|
|
20
|
+
return /* @__PURE__ */ jsx(FormatterRootContainer, {
|
|
21
|
+
className: formatterClasses.root,
|
|
22
|
+
children
|
|
23
|
+
});
|
|
24
|
+
};
|
|
10
25
|
function getFormatConcatenated(values, separator) {
|
|
11
26
|
const returnSymbol = "";
|
|
12
27
|
if (values === null)
|
|
@@ -125,9 +140,11 @@ function getFormattersComponentsDictionary() {
|
|
|
125
140
|
const FORMATTER_DICTIONARY = BOOLEAN_FORMATTER_DICTIONARY_LABELS.concat(PERIOD_FORMATTER_DICTIONARY_LABELS);
|
|
126
141
|
export {
|
|
127
142
|
ConcatenatedFormatter as C,
|
|
128
|
-
|
|
143
|
+
FormatterRoot as F,
|
|
129
144
|
PeriodFormatter as P,
|
|
130
145
|
getFormatPeriod as a,
|
|
131
146
|
getFormattersComponentsDictionary as b,
|
|
147
|
+
FORMATTER_DICTIONARY as c,
|
|
148
|
+
formatterClasses as f,
|
|
132
149
|
getFormatConcatenated as g
|
|
133
150
|
};
|
|
@@ -1,32 +1,16 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, useTheme, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { styled } from "@mui/material/styles";
|
|
5
|
+
import { I as Image } from "../../Image/index.611cd930.js";
|
|
5
6
|
import { useMemo, useRef, useState, useEffect } from "react";
|
|
6
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
8
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
|
-
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
10
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.76624519.js";
|
|
11
|
-
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
|
-
import { styled } from "@mui/material/styles";
|
|
13
|
-
import "clsx";
|
|
14
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
15
|
-
import "../../
|
|
16
|
-
import "../../
|
|
17
|
-
import "
|
|
18
|
-
import "
|
|
19
|
-
import "@mui/material/Button";
|
|
20
|
-
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
21
|
-
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
22
|
-
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
23
|
-
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
28
|
-
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
|
-
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
12
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.53cd6388.js";
|
|
30
14
|
const AutocompleteRoot = styled("div")(({
|
|
31
15
|
theme
|
|
32
16
|
}) => ({
|
|
@@ -305,6 +289,7 @@ function RHFAutocomplete(props) {
|
|
|
305
289
|
...props2,
|
|
306
290
|
className: classes.popper,
|
|
307
291
|
placement: "bottom-start",
|
|
292
|
+
placeholder: /* @__PURE__ */ jsx(Fragment, {}),
|
|
308
293
|
sx: {
|
|
309
294
|
...theme.components?.M4LRHFAutocompletePopover?.styleOverrides
|
|
310
295
|
}
|
|
@@ -5,8 +5,8 @@ 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.29a4c62c.js";
|
|
9
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.52387f0f.js";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
12
12
|
width: "100%",
|
|
@@ -115,7 +115,8 @@ function RHFAutocompleteAsync(props) {
|
|
|
115
115
|
},
|
|
116
116
|
isRemote
|
|
117
117
|
}).then((response) => {
|
|
118
|
-
const
|
|
118
|
+
const valueMaybeArray = getPropertyByString(response, resultField);
|
|
119
|
+
const newOptions = Array.isArray(valueMaybeArray) ? valueMaybeArray : [];
|
|
119
120
|
setOptions(newOptions);
|
|
120
121
|
}).catch(() => {
|
|
121
122
|
setCanLoadOptions(true);
|
|
@@ -2,31 +2,11 @@ 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.7d2afdb3.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
-
import "react";
|
|
9
|
-
import "@m4l/core";
|
|
10
|
-
import "../../Icon/index.a70c4729.js";
|
|
11
|
-
import "clsx";
|
|
12
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
13
|
-
import "../../mui_extended/
|
|
14
|
-
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
15
|
-
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
|
-
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
|
-
import "react-router-dom";
|
|
18
|
-
import "@mui/material/Button";
|
|
19
|
-
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
20
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
22
|
-
import "../../Image/index.c18ebf5a.js";
|
|
23
|
-
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
28
|
-
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
|
-
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
9
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox.e662d20c.js";
|
|
30
10
|
const RHFCheckboxRoot = styled("div")(({
|
|
31
11
|
theme
|
|
32
12
|
}) => ({
|
|
@@ -1,33 +1,17 @@
|
|
|
1
1
|
import { useFormContext, Controller } from "react-hook-form";
|
|
2
2
|
import { DateTimePicker } from "@mui/x-date-pickers";
|
|
3
|
-
import { useModuleSkeleton } from "@m4l/core";
|
|
3
|
+
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
5
|
+
import { styled } from "@mui/material/styles";
|
|
5
6
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
6
7
|
import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
|
|
7
8
|
import { useState, useEffect } from "react";
|
|
9
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
8
10
|
import clsx from "clsx";
|
|
9
|
-
import "../../
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
10
12
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
-
import "../../mui_extended/
|
|
12
|
-
import "../../
|
|
13
|
-
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
14
|
-
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
15
|
-
import "react-router-dom";
|
|
16
|
-
import "@mui/material/Button";
|
|
17
|
-
import "../../mui_extended/Button/index.f79eb74e.js";
|
|
18
|
-
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
19
|
-
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
20
|
-
import "../../Image/index.c18ebf5a.js";
|
|
21
|
-
import "@mui/lab";
|
|
22
|
-
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
23
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
24
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
25
|
-
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
26
|
-
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
27
|
-
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
28
|
-
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
29
|
-
import { styled } from "@mui/material/styles";
|
|
30
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
+
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index.3211023d.js";
|
|
31
15
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
32
16
|
theme
|
|
33
17
|
}) => ({
|
|
@@ -104,6 +88,15 @@ function RHFDateTime(props) {
|
|
|
104
88
|
label,
|
|
105
89
|
helperMessage
|
|
106
90
|
} = props;
|
|
91
|
+
const {
|
|
92
|
+
host_static_assets,
|
|
93
|
+
environment_assets
|
|
94
|
+
} = useEnvironment();
|
|
95
|
+
const resourceIcon = () => {
|
|
96
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
97
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/rhfdate/ended_at.svg`
|
|
98
|
+
});
|
|
99
|
+
};
|
|
107
100
|
const [isFocus, setIsFocus] = useState(false);
|
|
108
101
|
const [currentVariant, setCurrentVariant] = useState(void 0);
|
|
109
102
|
const {
|
|
@@ -164,13 +157,20 @@ function RHFDateTime(props) {
|
|
|
164
157
|
variant: "body",
|
|
165
158
|
children: label
|
|
166
159
|
}), /* @__PURE__ */ jsx(DateTimePicker, {
|
|
160
|
+
sx: {
|
|
161
|
+
"& .MuiTouchRipple-root": {
|
|
162
|
+
display: "none"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
167
165
|
inputRef: ref,
|
|
168
166
|
ampm: true,
|
|
169
167
|
value,
|
|
170
168
|
onChange: (newValue) => {
|
|
171
169
|
onChange(newValue);
|
|
172
170
|
},
|
|
173
|
-
slots: {
|
|
171
|
+
slots: {
|
|
172
|
+
openPickerIcon: resourceIcon
|
|
173
|
+
},
|
|
174
174
|
slotProps: {
|
|
175
175
|
textField: {
|
|
176
176
|
onFocus: handlerFocus,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
4
|
-
import { P as Period } from "../../Period/index.ebd5e3b7.js";
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
5
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { P as Period } from "../../Period/index.c35c6a6c.js";
|
|
7
7
|
const RHFPeriodRoot = styled("div")(({
|
|
8
8
|
theme
|
|
9
9
|
}) => ({
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.53cd6388.js";
|
|
5
|
+
import { useFormContext, Controller } from "react-hook-form";
|
|
5
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import "../../Icon/index.a70c4729.js";
|
|
8
|
-
import "clsx";
|
|
9
|
-
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
|
-
import { useFormContext, Controller } from "react-hook-form";
|
|
11
8
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
12
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
14
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
15
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
10
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.6469f148.js";
|
|
11
|
+
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
12
|
+
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
13
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
16
14
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
15
|
display: "flex",
|
|
18
16
|
flexDirection: "column",
|
|
@@ -2,33 +2,16 @@ import { useCallback } from "react";
|
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import isString from "lodash/isString";
|
|
4
4
|
import { useDropzone } from "react-dropzone";
|
|
5
|
-
import { I as Image } from "../../Image/index.
|
|
5
|
+
import { I as Image } from "../../Image/index.611cd930.js";
|
|
6
6
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
7
|
+
import { styled } from "@mui/material/styles";
|
|
7
8
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
8
9
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
10
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
10
|
-
import { B as Button } from "../../mui_extended/Button/index.f79eb74e.js";
|
|
11
|
-
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
12
|
-
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
13
|
-
import "clsx";
|
|
14
|
-
import { styled } from "@mui/material/styles";
|
|
15
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
16
|
-
import "
|
|
17
|
-
import "../../
|
|
18
|
-
import "../../
|
|
19
|
-
import "@m4l/graphics";
|
|
20
|
-
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
21
|
-
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
22
|
-
import "react-router-dom";
|
|
23
|
-
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
24
|
-
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
25
|
-
import "@mui/lab";
|
|
26
|
-
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
27
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
28
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
29
|
-
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
30
|
-
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
31
|
-
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.94fec33c.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
32
15
|
const UploadImageRoot = styled("div")(({
|
|
33
16
|
theme
|
|
34
17
|
}) => ({
|
package/components/index.d.ts
CHANGED
|
@@ -18,12 +18,15 @@ export * from './CommonActions/';
|
|
|
18
18
|
export * from './CommonActions/dictionary';
|
|
19
19
|
export * from './DraggableWindow';
|
|
20
20
|
export * from './GridLayout';
|
|
21
|
+
export * from './PrintingSystem';
|
|
21
22
|
export * from './Icon';
|
|
22
23
|
export * from './LanguagePopover';
|
|
23
24
|
export * from './LinearProgressIndeterminate';
|
|
24
25
|
export * from './Image/Image';
|
|
25
26
|
export * from './Loadable';
|
|
26
27
|
export * from './modal';
|
|
28
|
+
export * from './LoadingError';
|
|
29
|
+
export * from './MFLoader';
|
|
27
30
|
export { NavLink } from './NavLink';
|
|
28
31
|
export * from './NoItemSelected';
|
|
29
32
|
export * from './NoItemSelected/dictionary';
|
|
@@ -1,42 +1,10 @@
|
|
|
1
|
+
import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
1
2
|
import { useEnvironment } from "@m4l/core";
|
|
2
|
-
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.fa6dfaa1.js";
|
|
4
|
-
import "@mui/material";
|
|
5
|
-
import "../../react-draggable.7abb5d0a.js";
|
|
6
|
-
import "../Resizeable/index.676c96fe.js";
|
|
7
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import { m as modalUtilityClasses } from "./index.b434146b.js";
|
|
10
|
-
import "../CommonActions/components/Actions/index.7a196c44.js";
|
|
11
|
-
import "@mui/material/Button";
|
|
12
|
-
import "../mui_extended/Button/index.f79eb74e.js";
|
|
13
3
|
import clsx from "clsx";
|
|
14
|
-
import "react-
|
|
15
|
-
import { I as
|
|
16
|
-
import { I as
|
|
17
|
-
import "
|
|
18
|
-
import "../areas/contexts/AreasContext/index.d528f6e7.js";
|
|
19
|
-
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
20
|
-
import "zustand/shallow";
|
|
21
|
-
import "../ScrollBar/index.65bb2930.js";
|
|
22
|
-
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
23
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
24
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
25
|
-
import "react-router-dom";
|
|
26
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
27
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
28
|
-
import "../Image/index.c18ebf5a.js";
|
|
29
|
-
import "@mui/lab";
|
|
30
|
-
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
31
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
32
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
33
|
-
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
34
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
35
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.62abf0bb.js";
|
|
37
|
-
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
4
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.53cd6388.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.3211023d.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.05d1821e.js";
|
|
40
8
|
const Header = (props) => {
|
|
41
9
|
const {
|
|
42
10
|
title,
|
|
@@ -1,45 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.fa6dfaa1.js";
|
|
1
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.ccf731c1.js";
|
|
4
2
|
import { Typography } from "@mui/material";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
3
|
+
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
+
import { u as useModal } from "../../hooks/useModal/index.05d1821e.js";
|
|
7
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "
|
|
9
|
-
import { m as modalUtilityClasses } from "./index.
|
|
10
|
-
import {
|
|
11
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
12
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
13
|
-
import "react-hook-form";
|
|
14
|
-
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.f79eb74e.js";
|
|
16
|
-
import "clsx";
|
|
17
|
-
import "../Icon/index.a70c4729.js";
|
|
18
|
-
import "../mui_extended/IconButton/index.76624519.js";
|
|
19
|
-
import "zustand";
|
|
20
|
-
import "../areas/contexts/AreasContext/index.d528f6e7.js";
|
|
21
|
-
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
22
|
-
import "zustand/shallow";
|
|
23
|
-
import "../ScrollBar/index.65bb2930.js";
|
|
24
|
-
import "../mui_extended/Accordion/index.cdedddba.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.c18ebf5a.js";
|
|
31
|
-
import "@mui/lab";
|
|
32
|
-
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
33
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
34
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
35
|
-
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
36
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
37
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
|
-
import "../areas/components/AreasViewer/index.62abf0bb.js";
|
|
39
|
-
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
40
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
41
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
42
|
-
import { W as WindowBase } from "./WindowBase.a4752aa1.js";
|
|
6
|
+
import { I as Image } from "../Image/index.611cd930.js";
|
|
7
|
+
import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
8
|
+
import { W as WindowBase } from "./WindowBase.161ec78a.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.c3e23ad4.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.49631fcb.js";
|
|
43
11
|
const dictionary = {
|
|
44
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
45
13
|
};
|