@m4l/components 0.1.72 → 0.1.74
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/CommonActions/components/ActionCancel/{index.07ba5a89.js → index.fad4a0dc.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.9bdae569.js → index.a26820a9.js} +18 -18
- package/components/CommonActions/components/ActionFormIntro/{index.e077d11f.js → index.403d8952.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.a454d0e4.js → index.0fb6efbe.js} +3 -3
- package/components/CommonActions/components/Actions/{index.e190561b.js → index.51b9c92a.js} +18 -18
- package/components/DataGrid/{index.549bd646.js → index.dbae54dd.js} +20 -20
- package/components/DynamicFilter/{index.c1a3e2f1.js → index.cb7fd1b6.js} +31 -31
- package/components/HelperText/{index.4c27bfc1.js → index.d449d124.js} +8 -8
- package/components/Icon/{index.9839297c.js → index.d214a74d.js} +2 -2
- package/components/Image/{index.a88f6341.js → index.1af119da.js} +1 -1
- package/components/LanguagePopover/{index.84c51cd3.js → index.4fef99ac.js} +9 -9
- package/components/ModalDialog/{index.75ddf6de.js → index.6c35e653.js} +7 -7
- package/components/NavLink/{index.e88494ef.js → index.9e56bcd3.js} +9 -9
- package/components/NoItemSelected/{index.c3b67da1.js → index.cd842b62.js} +1 -1
- package/components/ObjectLogs/{index.88bcf75a.js → index.e1a1b27c.js} +16 -16
- package/components/PaperForm/{index.b141d583.js → index.76bd3a6d.js} +1 -1
- package/components/Period/{index.2ab4f2a1.js → index.b93d22fa.js} +18 -18
- package/components/Resizeable/{index.086ff29e.js → index.834a9144.js} +1 -1
- package/components/SideBar/{index.90137dc5.js → index.ff7cbe91.js} +6 -6
- package/components/areas/components/AreasAdmin/{index.218451cf.js → index.1eda80b9.js} +31 -31
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +14 -2
- package/components/areas/components/AreasViewer/{index.51ee3d38.js → index.eddc9945.js} +176 -49
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/index.d.ts +6 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/subcomponents/Toasty/index.d.ts +7 -0
- package/components/areas/components/index.f3a98b6d.js +14 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.0b50676d.js → index.a88b73a6.js} +66 -27
- package/components/areas/contexts/AreasContext/types.d.ts +2 -0
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +2 -1
- package/components/areas/contexts/{index.b0ce327e.js → index.7dd01403.js} +1 -1
- package/components/areas/hooks/useAreas/{index.e868e3d9.js → index.7a37ede8.js} +1 -1
- package/components/areas/{icons.b36751f2.js → icons.3ec589d3.js} +3 -1
- package/components/areas/icons.d.ts +2 -0
- package/components/areas/{index.05b7b8e2.js → index.95c4ed37.js} +5 -5
- package/components/areas/index.d.ts +1 -0
- package/components/areas/types.d.ts +5 -2
- package/components/formatters/BooleanFormatter/{index.e610de08.js → index.820a2130.js} +1 -1
- package/components/formatters/{index.982e909b.js → index.0c692a4b.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.b185393e.js → index.72437d8a.js} +10 -10
- package/components/hook-form/RHFAutocompleteAsync/{index.7a569646.js → index.2a84f2b2.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.7a9ea396.js → index.6e6389e7.js} +3 -3
- package/components/hook-form/RHFDateTime/{index.2fd1d56b.js → index.745b101b.js} +9 -9
- package/components/hook-form/RHFPeriod/{index.df3d3f69.js → index.6969af99.js} +2 -2
- package/components/hook-form/RHFTextField/{index.e1b50c30.js → index.ca7393a7.js} +6 -6
- package/components/hook-form/RHFUpload/{index.ec977af6.js → index.d74ca00d.js} +1 -1
- package/components/modal/{WindowBase.e5ec6128.js → WindowBase.9b93578e.js} +10 -10
- package/components/modal/{WindowConfirm.b89712de.js → WindowConfirm.7ec9dcd3.js} +16 -16
- package/components/modal/index.dba72820.js +36 -0
- package/components/mui_extended/Accordion/{index.d420b666.js → index.09a89d3d.js} +2 -2
- package/components/mui_extended/Button/{index.1cd0c4e4.js → index.f9d54780.js} +3 -3
- package/components/mui_extended/IconButton/{index.590049b4.js → index.822cdaac.js} +1 -1
- package/components/mui_extended/MenuActions/{index.f9eb6463.js → index.03403529.js} +2 -2
- package/components/mui_extended/Pager/{index.c058b933.js → index.6428b07c.js} +1 -1
- package/components/mui_extended/Typography/{index.1659d310.js → index.e2d9e3f2.js} +1 -1
- package/components/mui_extended/{index.ec312b5a.js → index.b4ced9e3.js} +8 -8
- package/contexts/ModalContext/{index.92e80136.js → index.0484ca54.js} +1 -1
- package/hooks/useModal/{index.18a7cb8f.js → index.c6069beb.js} +1 -1
- package/index.js +47 -47
- package/package.json +1 -1
- package/{react-draggable.21aa9ee1.js → react-draggable.17b4ec8a.js} +1 -1
- package/{react-resizable.e78d1cc8.js → react-resizable.ffd7c2aa.js} +2 -2
- package/utils/{index.8608d16c.js → index.aca80f3a.js} +1 -1
- package/{vendor.d194839d.js → vendor.99e0c856.js} +43 -43
- package/components/areas/components/index.ae4cbf2e.js +0 -14
- package/components/modal/index.97752555.js +0 -36
|
@@ -5,8 +5,8 @@ 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, a as areasViewerClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses, a as areasViewerClasses } from "../../components/AreasViewer/index.eddc9945.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.1eda80b9.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary } from "../../dictionary.e72db809.js";
|
|
12
12
|
import { debounce, cloneDeep } from "lodash";
|
|
@@ -26,7 +26,8 @@ const DEFAULT_WINDOW = {
|
|
|
26
26
|
moduleActions: [],
|
|
27
27
|
cookies: { moduleCookies: {}, windowCookies: {} },
|
|
28
28
|
loading: false,
|
|
29
|
-
|
|
29
|
+
toasties: [],
|
|
30
|
+
hashToasties: {},
|
|
30
31
|
toastyCount: 0
|
|
31
32
|
};
|
|
32
33
|
const DEFAULT_AREA = {
|
|
@@ -182,6 +183,7 @@ function getDataFromResponse(data, state, areaId) {
|
|
|
182
183
|
newWindowsLayouts.push(element["layoutProps"]);
|
|
183
184
|
const onClose = state.areaActions.closeWindowLayout;
|
|
184
185
|
newHashWindowLayouts[key] = {
|
|
186
|
+
...DEFAULT_WINDOW,
|
|
185
187
|
...element,
|
|
186
188
|
windowId: key,
|
|
187
189
|
emergeType: "layout",
|
|
@@ -190,11 +192,7 @@ function getDataFromResponse(data, state, areaId) {
|
|
|
190
192
|
dynamicMFParameters: element.dynamicParams,
|
|
191
193
|
windowId: key
|
|
192
194
|
}),
|
|
193
|
-
onClose: () => onClose(areaId, key)
|
|
194
|
-
status: "init",
|
|
195
|
-
moduleActions: [],
|
|
196
|
-
cookies: { moduleCookies: {}, windowCookies: {} },
|
|
197
|
-
loading: false
|
|
195
|
+
onClose: () => onClose(areaId, key)
|
|
198
196
|
};
|
|
199
197
|
state.hashWindows[key] = newHashWindowLayouts[key];
|
|
200
198
|
}
|
|
@@ -220,13 +218,21 @@ function getCookiesContainer(data, containerId) {
|
|
|
220
218
|
}
|
|
221
219
|
return cookies;
|
|
222
220
|
}
|
|
223
|
-
const
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
221
|
+
const verifyRemoveToasty = (state, toastyId, forceRemove) => {
|
|
222
|
+
const tfy = state.hashToasties[toastyId];
|
|
223
|
+
if (tfy) {
|
|
224
|
+
tfy.percentExecuted = (1 - (tfy.timeStart + tfy.timeoutMs - new Date().getTime()) / tfy.timeoutMs) * 100;
|
|
225
|
+
console.log("verifyRemoveToasty", tfy.percentExecuted);
|
|
226
|
+
if (tfy.percentExecuted >= 100 || forceRemove) {
|
|
227
|
+
const tosties = state.toasties;
|
|
228
|
+
for (let i = 0; i < tosties.length; i++) {
|
|
229
|
+
const findToasty = tosties[i];
|
|
230
|
+
if (findToasty.id === toastyId) {
|
|
231
|
+
state.toasties.splice(i, 1);
|
|
232
|
+
delete state.hashToasties[toastyId];
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
230
236
|
}
|
|
231
237
|
}
|
|
232
238
|
};
|
|
@@ -955,22 +961,25 @@ const createAreasStore = (initProps) => {
|
|
|
955
961
|
const hW = get().hashWindows[windowId];
|
|
956
962
|
if (hW) {
|
|
957
963
|
if (options.replaceMeId) {
|
|
958
|
-
for (
|
|
959
|
-
const t = hW.
|
|
964
|
+
for (const key in hW.hashToasties) {
|
|
965
|
+
const t = hW.hashToasties[key];
|
|
960
966
|
if (options.replaceMeId === t.replaceMeId) {
|
|
961
967
|
const toastyId = t.id;
|
|
962
968
|
if (t.timer) {
|
|
963
969
|
clearTimeout(t.timer);
|
|
964
970
|
}
|
|
965
|
-
set((
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
971
|
+
set((state2) => {
|
|
972
|
+
const hw2 = state2.hashWindows[windowId].hashToasties[toastyId];
|
|
973
|
+
hw2.timeStart = new Date().getTime();
|
|
974
|
+
hw2.percentExecuted = 0;
|
|
975
|
+
hw2.timer = setInterval(() => {
|
|
976
|
+
set((state3) => {
|
|
977
|
+
verifyRemoveToasty(
|
|
978
|
+
state3.hashWindows[windowId],
|
|
970
979
|
toastyId
|
|
971
980
|
);
|
|
972
981
|
});
|
|
973
|
-
},
|
|
982
|
+
}, 1e3);
|
|
974
983
|
});
|
|
975
984
|
return;
|
|
976
985
|
}
|
|
@@ -984,18 +993,48 @@ const createAreasStore = (initProps) => {
|
|
|
984
993
|
id: state.hashWindows[windowId].toastyCount,
|
|
985
994
|
...options,
|
|
986
995
|
timeoutMs,
|
|
987
|
-
|
|
996
|
+
timeStart: new Date().getTime(),
|
|
997
|
+
percentExecuted: 0,
|
|
998
|
+
timer: setInterval(() => {
|
|
988
999
|
set((stateRemoveToasty) => {
|
|
989
|
-
|
|
1000
|
+
verifyRemoveToasty(
|
|
990
1001
|
stateRemoveToasty.hashWindows[windowId],
|
|
991
1002
|
toastyId
|
|
992
1003
|
);
|
|
993
1004
|
});
|
|
994
|
-
},
|
|
1005
|
+
}, 1e3)
|
|
995
1006
|
};
|
|
996
|
-
state.hashWindows[windowId].
|
|
1007
|
+
state.hashWindows[windowId].hashToasties[toastyId] = newToasty;
|
|
1008
|
+
state.hashWindows[windowId].toasties.push(newToasty);
|
|
997
1009
|
});
|
|
998
1010
|
}
|
|
1011
|
+
},
|
|
1012
|
+
closeToasty: (windowId, toastyId) => {
|
|
1013
|
+
set((state) => {
|
|
1014
|
+
verifyRemoveToasty(state.hashWindows[windowId], toastyId, true);
|
|
1015
|
+
});
|
|
1016
|
+
},
|
|
1017
|
+
pinToasty: (windowId, toastyId) => {
|
|
1018
|
+
set((state) => {
|
|
1019
|
+
const t = state.hashWindows[windowId].hashToasties[toastyId];
|
|
1020
|
+
if (t) {
|
|
1021
|
+
if (t.timer) {
|
|
1022
|
+
clearInterval(t.timer);
|
|
1023
|
+
t.timer = void 0;
|
|
1024
|
+
} else {
|
|
1025
|
+
t.timeStart = new Date().getTime();
|
|
1026
|
+
t.percentExecuted = 0;
|
|
1027
|
+
t.timer = setInterval(() => {
|
|
1028
|
+
set((state2) => {
|
|
1029
|
+
verifyRemoveToasty(
|
|
1030
|
+
state2.hashWindows[windowId],
|
|
1031
|
+
toastyId
|
|
1032
|
+
);
|
|
1033
|
+
});
|
|
1034
|
+
}, 1e3);
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
999
1038
|
}
|
|
1000
1039
|
}
|
|
1001
1040
|
})),
|
|
@@ -190,6 +190,8 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
190
190
|
saveModuleCookies: (windowId: string) => void;
|
|
191
191
|
resetModuleCookies: (windowId: string) => void;
|
|
192
192
|
toasty: (windowId: string, options: ToastyOptions) => void;
|
|
193
|
+
closeToasty: (windowId: string, toastyId: number) => void;
|
|
194
|
+
pinToasty: (windowId: string, toastyId: number) => void;
|
|
193
195
|
};
|
|
194
196
|
}
|
|
195
197
|
export declare type DefaultAreasStoreProps = Omit<AreasState, 'currentArea'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import type { CookieType, AreaWindowAction } from '../../types';
|
|
2
|
+
import type { CookieType, AreaWindowAction, ToastyOptions } from '../../types';
|
|
3
3
|
export interface WindowToolsMF {
|
|
4
4
|
getCookie: (id: string) => Record<string, any> | undefined;
|
|
5
5
|
getWindowId: () => string;
|
|
@@ -7,6 +7,7 @@ export interface WindowToolsMF {
|
|
|
7
7
|
setActions: (newActions: AreaWindowAction[], version?: string) => void;
|
|
8
8
|
setCookie: (id: string, type: CookieType, cookie: Record<string, any>) => void;
|
|
9
9
|
setLoading: (isLoading: boolean) => void;
|
|
10
|
+
toasty: (options: ToastyOptions) => void;
|
|
10
11
|
close: () => void;
|
|
11
12
|
}
|
|
12
13
|
export interface WindowToolsMFProviderProps extends WindowToolsMF {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./AreasContext/index.
|
|
1
|
+
import "./AreasContext/index.a88b73a6.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|
|
@@ -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.a88b73a6.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "@m4l/core";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.d214a74d.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.822cdaac.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
9
|
import "zustand";
|
|
10
|
-
import "./contexts/AreasContext/index.
|
|
11
|
-
import "./components/AreasAdmin/index.
|
|
10
|
+
import "./contexts/AreasContext/index.a88b73a6.js";
|
|
11
|
+
import "./components/AreasAdmin/index.1eda80b9.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
14
|
-
import "./components/AreasViewer/index.
|
|
14
|
+
import "./components/AreasViewer/index.eddc9945.js";
|
|
15
15
|
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
16
16
|
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -31,7 +31,9 @@ export declare type Toasty = {
|
|
|
31
31
|
timeoutMs: number;
|
|
32
32
|
type: ToastyType;
|
|
33
33
|
message: string;
|
|
34
|
-
|
|
34
|
+
timeStart: number;
|
|
35
|
+
percentExecuted: number;
|
|
36
|
+
timer?: ReturnType<typeof setInterval>;
|
|
35
37
|
replaceMeId?: string;
|
|
36
38
|
};
|
|
37
39
|
export interface ToastyOptions extends Pick<Toasty, 'message' | 'type' | 'replaceMeId'> {
|
|
@@ -44,7 +46,8 @@ export declare type WindowState = {
|
|
|
44
46
|
version?: string;
|
|
45
47
|
moduleActions: AreaWindowAction[];
|
|
46
48
|
cookies: Cookies;
|
|
47
|
-
|
|
49
|
+
toasties: Toasty[];
|
|
50
|
+
hashToasties: Record<number, Toasty>;
|
|
48
51
|
toastyCount: number;
|
|
49
52
|
};
|
|
50
53
|
export interface WindowBaseProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.d214a74d.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -2,11 +2,11 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.d214a74d.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.
|
|
9
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.820a2130.js";
|
|
10
10
|
function getFormatConcatenated(values, separator) {
|
|
11
11
|
const returnSymbol = "";
|
|
12
12
|
if (values === null)
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { styled as styled$1, Skeleton, generateUtilityClasses, generateUtilityClass, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../../Image/index.
|
|
4
|
+
import { I as Image } from "../../Image/index.1af119da.js";
|
|
5
5
|
import { useMemo, useState, useEffect } from "react";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../../vendor.99e0c856.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
8
|
+
import { T as Typography } from "../../mui_extended/Typography/index.e2d9e3f2.js";
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.d449d124.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../Icon/index.
|
|
14
|
-
import "../../mui_extended/IconButton/index.
|
|
13
|
+
import "../../Icon/index.d214a74d.js";
|
|
14
|
+
import "../../mui_extended/IconButton/index.822cdaac.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
16
|
+
import "../../mui_extended/Accordion/index.09a89d3d.js";
|
|
17
17
|
import "../../mui_extended/Avatar/index.fe06afd7.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
20
|
-
import "../../mui_extended/Button/index.
|
|
20
|
+
import "../../mui_extended/Button/index.f9d54780.js";
|
|
21
21
|
import "@mui/lab";
|
|
22
22
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
-
import "../../mui_extended/Pager/index.
|
|
23
|
+
import "../../mui_extended/MenuActions/index.03403529.js";
|
|
24
|
+
import "../../mui_extended/Pager/index.6428b07c.js";
|
|
25
25
|
import "../../mui_extended/Tab/index.e0653a0a.js";
|
|
26
26
|
const AutocompleteRoot = styled("div")(({
|
|
27
27
|
theme
|
|
@@ -4,8 +4,8 @@ import debounce from "lodash/debounce";
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../vendor.99e0c856.js";
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.72437d8a.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useFormContext, Controller } from "react-hook-form";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, Checkbox } from "@mui/material";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../../vendor.99e0c856.js";
|
|
5
5
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
9
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
8
|
+
import { H as HelperText } from "../../HelperText/index.d449d124.js";
|
|
9
|
+
import { T as Typography } from "../../mui_extended/Typography/index.e2d9e3f2.js";
|
|
10
10
|
const WrapperSkeletonCheckBox = styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
12
12
|
justifyContent: "center",
|
|
@@ -6,21 +6,21 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
6
6
|
import { useFormatter } from "@m4l/graphics";
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import "../../Icon/index.
|
|
10
|
-
import "../../mui_extended/IconButton/index.
|
|
11
|
-
import "../../mui_extended/Accordion/index.
|
|
9
|
+
import "../../Icon/index.d214a74d.js";
|
|
10
|
+
import "../../mui_extended/IconButton/index.822cdaac.js";
|
|
11
|
+
import "../../mui_extended/Accordion/index.09a89d3d.js";
|
|
12
12
|
import "../../mui_extended/Avatar/index.fe06afd7.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
|
-
import "../../mui_extended/Button/index.
|
|
16
|
-
import "../../Image/index.
|
|
15
|
+
import "../../mui_extended/Button/index.f9d54780.js";
|
|
16
|
+
import "../../Image/index.1af119da.js";
|
|
17
17
|
import "@mui/lab";
|
|
18
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
18
|
+
import { T as Typography } from "../../mui_extended/Typography/index.e2d9e3f2.js";
|
|
19
19
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../../mui_extended/MenuActions/index.
|
|
21
|
-
import "../../mui_extended/Pager/index.
|
|
20
|
+
import "../../mui_extended/MenuActions/index.03403529.js";
|
|
21
|
+
import "../../mui_extended/Pager/index.6428b07c.js";
|
|
22
22
|
import "../../mui_extended/Tab/index.e0653a0a.js";
|
|
23
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
23
|
+
import { H as HelperText } from "../../HelperText/index.d449d124.js";
|
|
24
24
|
import { styled } from "@mui/material/styles";
|
|
25
25
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
26
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } 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.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.d449d124.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.b93d22fa.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Wrapper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,18 +1,18 @@
|
|
|
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.
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.822cdaac.js";
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../../vendor.99e0c856.js";
|
|
6
6
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import "../../Icon/index.
|
|
7
|
+
import "../../Icon/index.d214a74d.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
10
|
import { useFormContext, Controller } from "react-hook-form";
|
|
11
11
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
12
12
|
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.
|
|
13
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.aca80f3a.js";
|
|
14
|
+
import { T as Typography } from "../../mui_extended/Typography/index.e2d9e3f2.js";
|
|
15
|
+
import { H as HelperText } from "../../HelperText/index.d449d124.js";
|
|
16
16
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -4,7 +4,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
6
|
import { styled, alpha } from "@mui/material/styles";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.1af119da.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
10
10
|
const WrapperUploadImage = styled("div")(({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.c6069beb.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { a as getThemeVariantColor } from "../../utils/index.
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.aca80f3a.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.d214a74d.js";
|
|
7
7
|
import "@mui/material";
|
|
8
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
8
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.822cdaac.js";
|
|
9
|
+
import "../mui_extended/Accordion/index.09a89d3d.js";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
11
|
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
12
12
|
import "react-router-dom";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
|
-
import "../mui_extended/Button/index.
|
|
14
|
+
import "../mui_extended/Button/index.f9d54780.js";
|
|
15
15
|
import "clsx";
|
|
16
|
-
import "../Image/index.
|
|
16
|
+
import "../Image/index.1af119da.js";
|
|
17
17
|
import "@mui/lab";
|
|
18
|
-
import "../mui_extended/Typography/index.
|
|
18
|
+
import "../mui_extended/Typography/index.e2d9e3f2.js";
|
|
19
19
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
-
import "../mui_extended/Pager/index.
|
|
20
|
+
import "../mui_extended/MenuActions/index.03403529.js";
|
|
21
|
+
import "../mui_extended/Pager/index.6428b07c.js";
|
|
22
22
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
23
23
|
const WrapperWindowBase = styled("div")(({ theme }) => ({
|
|
24
24
|
display: "flex",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
5
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
6
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.c6069beb.js";
|
|
4
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.51b9c92a.js";
|
|
5
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.fad4a0dc.js";
|
|
6
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.0fb6efbe.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import { Typography } from "@mui/material";
|
|
9
9
|
import "@mui/material/Button";
|
|
10
|
-
import "../mui_extended/Button/index.
|
|
10
|
+
import "../mui_extended/Button/index.f9d54780.js";
|
|
11
11
|
import "clsx";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import "../../react-draggable.
|
|
14
|
-
import "../ModalDialog/index.
|
|
15
|
-
import "../Resizeable/index.
|
|
13
|
+
import "../../react-draggable.17b4ec8a.js";
|
|
14
|
+
import "../ModalDialog/index.6c35e653.js";
|
|
15
|
+
import "../Resizeable/index.834a9144.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
-
import { I as Icon } from "../Icon/index.
|
|
17
|
+
import { I as Icon } from "../Icon/index.d214a74d.js";
|
|
18
18
|
import { styled } from "@mui/material/styles";
|
|
19
|
-
import { b as getVariantColor } from "../../utils/index.
|
|
20
|
-
import { W as WindowBase } from "./WindowBase.
|
|
21
|
-
import "../mui_extended/IconButton/index.
|
|
19
|
+
import { b as getVariantColor } from "../../utils/index.aca80f3a.js";
|
|
20
|
+
import { W as WindowBase } from "./WindowBase.9b93578e.js";
|
|
21
|
+
import "../mui_extended/IconButton/index.822cdaac.js";
|
|
22
22
|
import "zustand";
|
|
23
|
-
import "../areas/contexts/AreasContext/index.
|
|
24
|
-
import "../areas/components/AreasAdmin/index.
|
|
23
|
+
import "../areas/contexts/AreasContext/index.a88b73a6.js";
|
|
24
|
+
import "../areas/components/AreasAdmin/index.1eda80b9.js";
|
|
25
25
|
import "zustand/shallow";
|
|
26
26
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
27
|
-
import "../areas/components/AreasViewer/index.
|
|
27
|
+
import "../areas/components/AreasViewer/index.eddc9945.js";
|
|
28
28
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
29
29
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
30
30
|
import "@mui/lab";
|
|
31
|
-
import "../mui_extended/Typography/index.
|
|
31
|
+
import "../mui_extended/Typography/index.e2d9e3f2.js";
|
|
32
32
|
const WrapperMessageIlustration = styled("div")(() => ({
|
|
33
33
|
display: "flex",
|
|
34
34
|
flexDirection: "column",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "../../react-draggable.17b4ec8a.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../contexts/ModalContext/index.0484ca54.js";
|
|
5
|
+
import "../ModalDialog/index.6c35e653.js";
|
|
6
|
+
import "../Resizeable/index.834a9144.js";
|
|
7
|
+
import "react/jsx-runtime";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "../Icon/index.d214a74d.js";
|
|
10
|
+
import "clsx";
|
|
11
|
+
import "@m4l/core";
|
|
12
|
+
import "../CommonActions/components/Actions/index.51b9c92a.js";
|
|
13
|
+
import "@mui/material/Button";
|
|
14
|
+
import "../mui_extended/Button/index.f9d54780.js";
|
|
15
|
+
import "react-hook-form";
|
|
16
|
+
import "./WindowBase.9b93578e.js";
|
|
17
|
+
import "../mui_extended/IconButton/index.822cdaac.js";
|
|
18
|
+
import "../mui_extended/Accordion/index.09a89d3d.js";
|
|
19
|
+
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
20
|
+
import "react-router-dom";
|
|
21
|
+
import "../Image/index.1af119da.js";
|
|
22
|
+
import "@mui/lab";
|
|
23
|
+
import "../mui_extended/Typography/index.e2d9e3f2.js";
|
|
24
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
+
import "../mui_extended/MenuActions/index.03403529.js";
|
|
26
|
+
import "../mui_extended/Pager/index.6428b07c.js";
|
|
27
|
+
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
28
|
+
import "zustand";
|
|
29
|
+
import "../areas/contexts/AreasContext/index.a88b73a6.js";
|
|
30
|
+
import "../areas/components/AreasAdmin/index.1eda80b9.js";
|
|
31
|
+
import "zustand/shallow";
|
|
32
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
33
|
+
import "../areas/components/AreasViewer/index.eddc9945.js";
|
|
34
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
35
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
36
|
+
import "./WindowConfirm.7ec9dcd3.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Skeleton, 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.822cdaac.js";
|
|
3
3
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.d214a74d.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
styled("div")(({
|
|
@@ -4,11 +4,11 @@ import MuiButton from "@mui/material/Button";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.1af119da.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
9
|
+
import { T as TEST_PROP_ID } from "../../../vendor.99e0c856.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.e2d9e3f2.js";
|
|
12
12
|
const ButtonRoot = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
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.d214a74d.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -3,8 +3,8 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
|
3
3
|
import { IconButton, MenuItem } from "@mui/material";
|
|
4
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.
|
|
7
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.d214a74d.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.822cdaac.js";
|
|
8
8
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
9
9
|
styled(IconButton)(() => ({}));
|
|
10
10
|
const LabelMemuItem = styled("div")(({
|