@m4l/components 0.1.90 → 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.724828f0.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.0328abec.js → index.16fe42a1.js} +3 -22
- package/components/CommonActions/components/ActionCancel/{index.441118b5.js → index.c3e23ad4.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.435fcb53.js → index.6da52418.js} +4 -34
- package/components/CommonActions/components/ActionFormIntro/{index.edb131c4.js → index.c3af6d1d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.24367ed3.js → index.49631fcb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.8dcaba29.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.c296f69c.js → index.abedf2c0.js} +44 -14
- package/components/DataGrid/subcomponents/Actions/{index.fadd92f2.js → index.c8408b73.js} +9 -38
- package/components/DraggableWindow/{index.c702d3f2.js → index.8f423ed7.js} +1 -1
- package/components/DynamicFilter/{index.6a22346e.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.8ae34c50.js → index.1421f0d4.js} +21 -18
- package/components/GridLayout/subcomponents/Griditem/{index.c7a33781.js → index.b2342897.js} +5 -4
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +1 -0
- package/components/GridLayout/subcomponents/Responsive/{index.96cdb1b4.js → index.f459804c.js} +33 -12
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +2 -2
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +22 -1
- package/components/GridLayout/types.d.ts +11 -0
- package/components/HelperText/{index.31f2a824.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.c9876e63.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.7d0d3ea1.js → index.ec55087e.js} +5 -5
- package/components/NavLink/{index.4f927064.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.1eaf72d8.js → index.3e29c208.js} +1 -1
- package/components/ObjectLogs/{index.87438c47.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.d1182d4a.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.3ee94e0f.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.98a54515.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.ee7170bc.js → index.625bf23b.js} +70 -438
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/components/index.d.ts +0 -1
- package/components/areas/contexts/AreasContext/helper.d.ts +14 -1
- package/components/areas/contexts/AreasContext/{index.1950eef9.js → index.646f3c8f.js} +16 -12
- 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.ce75bfb5.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.8e4ff8d7.js → index.52387f0f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.78f8e4c4.js → index.638bd2ae.js} +3 -2
- package/components/hook-form/RHFCheckbox/{index.bdad2059.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFDateTime/{index.73f8a11e.js → index.66e334b0.js} +23 -23
- package/components/hook-form/RHFPeriod/{index.71df31df.js → index.23099265.js} +2 -2
- package/components/hook-form/RHFTextField/{index.6d21060a.js → index.25b3627e.js} +6 -8
- package/components/hook-form/RHFUpload/{index.f04d24ee.js → index.65588e08.js} +5 -22
- package/components/index.d.ts +3 -0
- package/components/modal/{WindowBase.b9dd76a4.js → WindowBase.161ec78a.js} +5 -37
- package/components/modal/{WindowConfirm.d407f47a.js → WindowConfirm.7eed7c35.js} +8 -40
- package/components/modal/{index.764e2723.js → index.61389369.js} +0 -37
- package/components/mui_extended/Accordion/{index.a706b12f.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.570fbae0.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.d0302c81.js → index.1fcabba2.js} +2 -2
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.41fbf6bc.js → index.436c2938.js} +1 -1
- package/contexts/RHFormContext/classes/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.0c6b6b68.js → index.3584a29f.js} +2 -26
- package/hooks/useModal/{index.71987a49.js → index.05d1821e.js} +1 -1
- package/index.js +199 -190
- 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.431c5397.js +0 -31
- package/components/areas/contexts/index.b846bbcb.js +0 -2
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.5abba006.js +0 -54
- package/components/mui_extended/index.a8d347a9.js +0 -24
- package/node_modules.d73a220d.js +0 -363
- package/react-draggable.7abb5d0a.js +0 -962
- package/vendor.4dedf99e.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
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WritableDraft } from 'immer/dist/internal';
|
|
2
2
|
import type { Area, AreasStateWithActions } from './types';
|
|
3
3
|
import type { WindowState, WindowStateProps } from '../../types';
|
|
4
|
-
export declare const ROW_HEIGTH_GRIDLAYOUT = 20;
|
|
5
4
|
export declare const PADDING_GRIDLAYOUT = 4;
|
|
6
5
|
export declare const MARGIN_GRIDLAYOUT = 4;
|
|
7
6
|
export declare const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -29,6 +28,20 @@ export declare const DEFAULT_LAYOUTS: {
|
|
|
29
28
|
xs: never[];
|
|
30
29
|
xxs: never[];
|
|
31
30
|
};
|
|
31
|
+
export declare const RESPONSIVE_COLAPSED_HEIGHTS: {
|
|
32
|
+
xxs: number;
|
|
33
|
+
xs: number;
|
|
34
|
+
sm: number;
|
|
35
|
+
md: number;
|
|
36
|
+
lg: number;
|
|
37
|
+
};
|
|
38
|
+
export declare const RESPONSIVE_ROW_HEIGHTS: {
|
|
39
|
+
xxs: number;
|
|
40
|
+
xs: number;
|
|
41
|
+
sm: number;
|
|
42
|
+
md: number;
|
|
43
|
+
lg: number;
|
|
44
|
+
};
|
|
32
45
|
import { Layouts } from '../../../GridLayout/types';
|
|
33
46
|
export declare const DEFAULT_WINDOW: Pick<WindowState, 'status' | 'moduleActions' | 'cookies' | 'loading' | 'toasties' | 'toastyCount' | 'hashToasties'>;
|
|
34
47
|
export declare const DEFAULT_AREA: Omit<Area, 'id' | 'name' | 'viewMode'>;
|
|
@@ -5,18 +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.c7a33781.js";
|
|
14
|
-
import { z as isEqualLayouts } from "../../../GridLayout/index.8ae34c50.js";
|
|
15
|
-
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.96cdb1b4.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";
|
|
19
|
-
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
20
17
|
const PADDING_GRIDLAYOUT = 4;
|
|
21
18
|
const MARGIN_GRIDLAYOUT = 4;
|
|
22
19
|
const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -25,6 +22,8 @@ const COOKIE_WINDOWS = "windows";
|
|
|
25
22
|
const BREAKPOINT_SIZES = { lg: 1200, md: 996, sm: 768, xs: 480, xxs: 1 };
|
|
26
23
|
const NORMALIZED_COLS = { lg: 64, md: 48, sm: 32, xs: 24, xxs: 1 };
|
|
27
24
|
const DEFAULT_LAYOUTS = { lg: [], md: [], sm: [], xs: [], xxs: [] };
|
|
25
|
+
const RESPONSIVE_COLAPSED_HEIGHTS = { xxs: 48, xs: 48, sm: 40, md: 40, lg: 40 };
|
|
26
|
+
const RESPONSIVE_ROW_HEIGHTS = { xxs: 48, xs: 48, sm: 48, md: 40, lg: 40 };
|
|
28
27
|
const DEFAULT_WINDOW = {
|
|
29
28
|
status: "init",
|
|
30
29
|
moduleActions: [],
|
|
@@ -186,7 +185,7 @@ function getDataFromResponse(data, state, areaId) {
|
|
|
186
185
|
NORMALIZED_COLS,
|
|
187
186
|
[MARGIN_GRIDLAYOUT, MARGIN_GRIDLAYOUT],
|
|
188
187
|
[PADDING_GRIDLAYOUT, PADDING_GRIDLAYOUT],
|
|
189
|
-
|
|
188
|
+
RESPONSIVE_ROW_HEIGHTS
|
|
190
189
|
);
|
|
191
190
|
}
|
|
192
191
|
}
|
|
@@ -399,6 +398,7 @@ const createAreasStore = (initProps) => {
|
|
|
399
398
|
},
|
|
400
399
|
areaActions: {
|
|
401
400
|
addWindow: (newWindowProps) => {
|
|
401
|
+
console.log("se ejecut\xF3 addWindow");
|
|
402
402
|
const windowId = `${get().currentAreaId}_window_${new Date().getTime()}_${(Math.random() * 1e3).toFixed(0)}`;
|
|
403
403
|
if (newWindowProps.emergeType === "layout" || newWindowProps.emergeType === "popup") {
|
|
404
404
|
get().areaActions.addLayout(
|
|
@@ -429,6 +429,8 @@ const createAreasStore = (initProps) => {
|
|
|
429
429
|
if (!area) {
|
|
430
430
|
return;
|
|
431
431
|
}
|
|
432
|
+
console.log("state data", state);
|
|
433
|
+
console.log("area data", area.layoutItemsIds);
|
|
432
434
|
if (newWindowProps.replaceMeId) {
|
|
433
435
|
for (let index = 0; index < area.layoutItemsIds.length; index++) {
|
|
434
436
|
const key = area.layoutItemsIds[index];
|
|
@@ -470,7 +472,7 @@ const createAreasStore = (initProps) => {
|
|
|
470
472
|
NORMALIZED_COLS,
|
|
471
473
|
[MARGIN_GRIDLAYOUT, MARGIN_GRIDLAYOUT],
|
|
472
474
|
[PADDING_GRIDLAYOUT, PADDING_GRIDLAYOUT],
|
|
473
|
-
|
|
475
|
+
RESPONSIVE_ROW_HEIGHTS,
|
|
474
476
|
area.containerHeight,
|
|
475
477
|
area.currentBreakpoint
|
|
476
478
|
);
|
|
@@ -1069,6 +1071,7 @@ function AreasProvider(props) {
|
|
|
1069
1071
|
const addWindow = useCallback((newWindow) => {
|
|
1070
1072
|
const currentAreaId = areasStoreRef.current?.getState().currentAreaId;
|
|
1071
1073
|
const areas = areasStoreRef.current?.getState().areasIds;
|
|
1074
|
+
console.log("newWindow argument", newWindow);
|
|
1072
1075
|
if (currentAreaId && areas) {
|
|
1073
1076
|
areasStoreRef.current?.getState().areaActions.addWindow(newWindow);
|
|
1074
1077
|
}
|
|
@@ -1115,6 +1118,7 @@ export {
|
|
|
1115
1118
|
AreasContext as A,
|
|
1116
1119
|
MARGIN_GRIDLAYOUT as M,
|
|
1117
1120
|
PADDING_GRIDLAYOUT as P,
|
|
1118
|
-
|
|
1119
|
-
|
|
1121
|
+
RESPONSIVE_COLAPSED_HEIGHTS as R,
|
|
1122
|
+
RESPONSIVE_ROW_HEIGHTS as a,
|
|
1123
|
+
AreasProvider as b
|
|
1120
1124
|
};
|
|
@@ -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.31f2a824.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.570fbae0.js";
|
|
25
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.d0302c81.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.8e4ff8d7.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.a706b12f.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.570fbae0.js";
|
|
25
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.d0302c81.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.570fbae0.js";
|
|
23
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
24
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
25
|
-
import "../../mui_extended/Tab/index.d0302c81.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.31f2a824.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.d1182d4a.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.31f2a824.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.a706b12f.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.570fbae0.js";
|
|
27
|
-
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
28
|
-
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
29
|
-
import "../../mui_extended/Tab/index.d0302c81.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.71987a49.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.764e2723.js";
|
|
10
|
-
import "../CommonActions/components/Actions/index.8dcaba29.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.1950eef9.js";
|
|
19
|
-
import "../areas/components/AreasAdmin/index.98a54515.js";
|
|
20
|
-
import "zustand/shallow";
|
|
21
|
-
import "../ScrollBar/index.65bb2930.js";
|
|
22
|
-
import "../mui_extended/Accordion/index.a706b12f.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.570fbae0.js";
|
|
31
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
32
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
33
|
-
import "../mui_extended/Tab/index.d0302c81.js";
|
|
34
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
35
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.ee7170bc.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,
|