@m4l/components 0.1.83 → 0.1.85
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 +25 -4
- package/components/AccountPopover/classes/index.d.ts +4 -0
- package/components/AccountPopover/classes/types.d.ts +4 -0
- package/components/AccountPopover/dictionary.d.ts +1 -0
- package/components/AccountPopover/{index.2677fe77.js → index.35c29a55.js} +86 -36
- package/components/AccountPopover/index.d.ts +1 -0
- package/components/AccountPopover/types.d.ts +2 -0
- package/components/AppBar/dictionary.d.ts +1 -0
- package/components/AppBar/{index.ad2a6f0e.js → index.291da9fd.js} +19 -11
- package/components/AppBar/index.d.ts +1 -0
- package/components/CommonActions/components/ActionCancel/{index.b2fc495d.js → index.67b91376.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.60d8963e.js → index.d4503410.js} +17 -16
- package/components/CommonActions/components/ActionFormIntro/{index.fde4ea51.js → index.01ed67de.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.724d8e17.js → index.53e7fe2b.js} +1 -1
- package/components/CommonActions/components/Actions/{index.23a2d6ae.js → index.c91c27f9.js} +15 -14
- package/components/DataGrid/{index.d5d0d62f.js → index.37e14e83.js} +14 -12
- package/components/DataGrid/subcomponents/Actions/{index.201394f5.js → index.155c63af.js} +47 -31
- package/components/DynamicFilter/{index.7d134537.js → index.a8c2609c.js} +29 -28
- package/components/GridLayout/constants.d.ts +1 -1
- package/components/GridLayout/{index.70085b00.js → index.2383aaf9.js} +86 -23
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/Griditem/{index.c09681ff.js → index.58168132.js} +1 -6
- package/components/GridLayout/subcomponents/Responsive/{index.eb04fd5e.js → index.a6642437.js} +1 -2
- package/components/GridLayout/types.d.ts +2 -2
- package/components/HelperText/{index.28e9105d.js → index.8b5911d1.js} +9 -8
- package/components/Icon/{index.2414ff25.js → index.c3a579e7.js} +1 -1
- package/components/LanguagePopover/{index.065e0296.js → index.7681b08e.js} +9 -8
- package/components/ModalDialog/{index.fb148f76.js → index.b85ee3cb.js} +4 -6
- package/components/NavLink/{index.2ef07c44.js → index.bb879650.js} +9 -8
- package/components/NoItemSelected/classes/constants.d.ts +1 -0
- package/components/NoItemSelected/classes/index.d.ts +6 -0
- package/components/NoItemSelected/classes/types.d.ts +6 -0
- package/components/NoItemSelected/{index.23dfc897.js → index.a2807715.js} +46 -31
- package/components/NoItemSelected/index.d.ts +2 -1
- package/components/NoItemSelected/types.d.ts +4 -0
- package/components/ObjectLogs/{index.5d74dfe0.js → index.2ed38a84.js} +22 -19
- package/components/PaperForm/{index.f931dc02.js → index.989377a5.js} +1 -1
- package/components/Period/{index.0e6512b2.js → index.061c9b2f.js} +16 -15
- package/components/PropertyValue/{index.a67c9916.js → index.ac46f441.js} +1 -1
- package/components/ScrollBar/{index.d4410cb5.js → index.1247c1c5.js} +38 -9
- package/components/SideBar/classes/index.d.ts +0 -1
- package/components/SideBar/classes/types.d.ts +0 -1
- package/components/SideBar/{index.72564ef2.js → index.e0587639.js} +131 -75
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +5 -0
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +3 -0
- package/components/areas/components/AreasAdmin/index.d.ts +2 -2
- package/components/areas/components/AreasAdmin/index.f505897a.js +767 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/types.d.ts +2 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +2 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts +6 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.9ed7dfd7.js → index.cacec884.js} +77 -52
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/subcomponents/ResizeHandle/index.d.ts +4 -0
- package/components/areas/components/index.6d5dfeec.js +31 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +10 -3
- package/components/areas/contexts/AreasContext/{index.36fe6953.js → index.6f56b1da.js} +103 -80
- package/components/areas/contexts/AreasContext/types.d.ts +28 -8
- package/components/areas/contexts/{index.68c53fc9.js → index.999e8b1e.js} +1 -1
- package/components/areas/hooks/useAreas/{index.a4c03e23.js → index.4baec91c.js} +1 -1
- package/components/areas/index.3088f99e.js +54 -0
- package/components/areas/utils/useOnClickOutside/index.d.ts +4 -0
- package/components/formatters/BooleanFormatter/{index.32de0803.js → index.e7f0b76a.js} +1 -1
- package/components/formatters/{index.d16d2331.js → index.d911949d.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.42df8eb4.js → index.aca6984f.js} +11 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.0441524c.js → index.8511bcf8.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.c66147f7.js → index.0f45e6b0.js} +10 -9
- package/components/hook-form/RHFDateTime/{index.4698ca29.js → index.07412ef0.js} +10 -9
- package/components/hook-form/RHFPeriod/{index.f653934b.js → index.15b8f11e.js} +2 -2
- package/components/hook-form/RHFTextField/{index.1fa07688.js → index.94c8c59b.js} +3 -3
- package/components/hook-form/RHFUpload/{index.93c2dcb5.js → index.7ef1e124.js} +10 -9
- package/components/modal/{WindowBase.92ce9b8f.js → WindowBase.d485315d.js} +17 -12
- package/components/modal/{WindowConfirm.4c3d2cd7.js → WindowConfirm.3d9cd6e1.js} +18 -17
- package/components/modal/{index.1bd35bd5.js → index.c7e4beba.js} +15 -14
- package/components/mui_extended/Accordion/{index.5111314b.js → index.854f4c90.js} +3 -3
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -1
- package/components/mui_extended/Badge/{index.cad260fe.js → index.8c2b8b66.js} +1 -1
- package/components/mui_extended/CheckBox/CheckBox.d.ts +1 -1
- package/components/mui_extended/{CheckBox.5f6c78b0.js → CheckBox.38abccd8.js} +5 -3
- package/components/mui_extended/IconButton/{index.a318316e.js → index.be111a34.js} +2 -12
- package/components/mui_extended/MenuActions/{index.f6bfdd40.js → index.b16e84c1.js} +26 -8
- package/components/mui_extended/MenuActions/types.d.ts +3 -0
- package/components/mui_extended/Pager/{index.da26e9d4.js → index.5b77fa4c.js} +84 -82
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/index.d.ts +5 -0
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/types.d.ts +1 -4
- package/components/mui_extended/Stack/Stack.d.ts +3 -0
- package/components/mui_extended/Stack/classes/constants.d.ts +1 -0
- package/components/mui_extended/Stack/classes/index.d.ts +6 -0
- package/components/mui_extended/Stack/classes/types.d.ts +6 -0
- package/components/mui_extended/Stack/index.0e53197c.js +39 -0
- package/components/mui_extended/Stack/index.d.ts +2 -0
- package/components/mui_extended/Stack/types.d.ts +2 -0
- package/components/mui_extended/Tab/{index.0989d15d.js → index.c1dc7bbf.js} +42 -9
- package/components/mui_extended/Tabs/Tabs.d.ts +3 -0
- package/components/mui_extended/Tabs/classes/constants.d.ts +1 -0
- package/components/mui_extended/Tabs/classes/index.d.ts +6 -0
- package/components/mui_extended/Tabs/classes/types.d.ts +6 -0
- package/components/mui_extended/Tabs/index.d.ts +1 -0
- package/components/mui_extended/index.d.ts +2 -0
- package/components/mui_extended/{index.813723c5.js → index.d1ee9a6a.js} +9 -8
- package/contexts/ModalContext/{index.577bf36b.js → index.1ea79d7e.js} +1 -1
- package/contexts/RHFormContext/{index.b9266262.js → index.e019f87d.js} +1 -1
- package/hooks/useModal/{index.7a07c208.js → index.c906706c.js} +1 -1
- package/index.js +81 -75
- package/package.json +1 -1
- package/{vendor.5365cc7e.js → vendor.f27b86c9.js} +51 -51
- package/components/GridLayout/subcomponents/SizeProvider/index.9c5e80b2.js +0 -65
- package/components/areas/components/AreasAdmin/index.7bfec13f.js +0 -487
- package/components/areas/components/index.654b08aa.js +0 -30
- package/components/areas/index.ec4f088c.js +0 -32
- /package/components/GridLayout/subcomponents/{SizeProvider → WidthProvider}/index.d.ts +0 -0
- /package/components/areas/components/AreasAdmin/subcomponents/{AreaChipMobile/subcomponents/PanelWindowPopUp → PanelWindowPopUp}/index.d.ts +0 -0
- /package/components/areas/components/AreasAdmin/subcomponents/{AreaChipMobile/subcomponents/PanelWindowPopUp → PanelWindowPopUp}/types.d.ts +0 -0
package/@types/export.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { PopoverProps } from '../components/mui_extended/Popover/types';
|
|
|
14
14
|
import type { TypographyProps } from '../components/mui_extended/Typography/types';
|
|
15
15
|
import { NavLinkProps } from '../components/NavLink/types';
|
|
16
16
|
import type { ButtonBaseClassKey, ComponentsOverrides, ComponentsProps } from '@mui/material';
|
|
17
|
-
import type { DynamicFilterClassesKey, ErrorLabelClassesKey } from '../components';
|
|
17
|
+
import type { DynamicFilterClassesKey, ErrorLabelClassesKey, StackProps } from '../components';
|
|
18
18
|
import type { RHFTextFieldClassesKey } from '../components/hook-form/RHFTextField/classes/types';
|
|
19
19
|
import type { IconClassesKey } from '../components/Icon/classes/types';
|
|
20
20
|
import type { IconButtonClassesKey } from '../components/mui_extended/IconButton/classes/types';
|
|
@@ -55,8 +55,10 @@ import { TooltipClassesKey } from '../components/mui_extended/Tooltip/classes/ty
|
|
|
55
55
|
import { BadgeProps } from '../components/mui_extended/Badge';
|
|
56
56
|
import { BadgeClassesKey } from '../components/DataGrid/classes/types';
|
|
57
57
|
import { CheckboxClassesKey } from '../components/mui_extended/CheckBox/classes/types';
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
import { StackClassesKey } from '../components/mui_extended/Stack/classes/types';
|
|
59
|
+
import { TabsClassesKey } from '../components/mui_extended/Tabs/classes/types';
|
|
60
|
+
import { NoItemSelectedClassesKey } from '../components/NoItemSelected/classes/types';
|
|
61
|
+
import { ScrollBarClassesKey } from '../components/ScrollBar/classes/types';
|
|
60
62
|
|
|
61
63
|
declare module '@mui/material/styles' {
|
|
62
64
|
/* ----------------------------- Augmentation overrides theme ----------------------------- */
|
|
@@ -145,7 +147,10 @@ declare module '@mui/material/styles' {
|
|
|
145
147
|
M4LTooltip: TooltipClassesKey;
|
|
146
148
|
M4LPager: PagerClassesKey;
|
|
147
149
|
M4LPagerMenuPopover: PagerClassesKey,
|
|
148
|
-
|
|
150
|
+
M4LStack: StackClassesKey,
|
|
151
|
+
M4LTabs: TabsClassesKey,
|
|
152
|
+
M4LNoItemSelected: NoItemSelectedClassesKey,
|
|
153
|
+
M4LScrollBar: ScrollBarClassesKey,
|
|
149
154
|
}
|
|
150
155
|
|
|
151
156
|
interface Components {
|
|
@@ -383,5 +388,21 @@ declare module '@mui/material/styles' {
|
|
|
383
388
|
styleOverrides?: ComponentsOverrides<Theme>['M4LGridLayout'];
|
|
384
389
|
defaultProps?: ComponentsProps['M4LGridLayout'];
|
|
385
390
|
};
|
|
391
|
+
M4LStack?: {
|
|
392
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LStack'];
|
|
393
|
+
defaultProps?: ComponentsProps['M4LStack'];
|
|
394
|
+
};
|
|
395
|
+
M4LTabs?: {
|
|
396
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LTabs'];
|
|
397
|
+
defaultProps?: ComponentsProps['M4LTabs'];
|
|
398
|
+
};
|
|
399
|
+
M4LNoItemSelected?: {
|
|
400
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LNoItemSelected'];
|
|
401
|
+
defaultProps?: ComponentsProps['M4LNoItemSelected'];
|
|
402
|
+
};
|
|
403
|
+
M4LScrollBar?: {
|
|
404
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LScrollBar'];
|
|
405
|
+
defaultProps?: ComponentsProps['M4LScrollBar'];
|
|
406
|
+
};
|
|
386
407
|
}
|
|
387
408
|
}
|
|
@@ -3,7 +3,11 @@ export declare const accountPopoverClasses: AccountPopoverClassesType;
|
|
|
3
3
|
export declare function getAccountPopoverClassesUtilityClass(slot: string): string;
|
|
4
4
|
export declare const useAccountPopoverUtilityClasses: () => {
|
|
5
5
|
root: string;
|
|
6
|
+
containerUserName: string;
|
|
7
|
+
containerUserEmail: string;
|
|
6
8
|
containerUserInfo: string;
|
|
9
|
+
containerlogOut: string;
|
|
10
|
+
containerSetting: string;
|
|
7
11
|
labelUserName: string;
|
|
8
12
|
labelUserEmail: string;
|
|
9
13
|
labelVersion: string;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { useAccountPopoverUtilityClasses } from ".";
|
|
2
2
|
export interface AccountPopoverClassesType {
|
|
3
3
|
root: string;
|
|
4
|
+
containerUserName: string;
|
|
5
|
+
containerUserEmail: string;
|
|
6
|
+
containerlogOut: string;
|
|
4
7
|
containerUserInfo: string;
|
|
8
|
+
containerSetting: string;
|
|
5
9
|
labelUserName: string;
|
|
6
10
|
labelUserEmail: string;
|
|
7
11
|
labelVersion: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getAccountPopoverDictionary(): string[];
|
|
@@ -2,32 +2,37 @@ import { useEnvironment, useModuleDictionary, useNetwork } from "@m4l/core";
|
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, styled, useTheme, ButtonBase } from "@mui/material";
|
|
5
|
-
import "../Icon/index.
|
|
6
|
-
import clsx from "clsx";
|
|
5
|
+
import { I as Icon } from "../Icon/index.c3a579e7.js";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.be111a34.js";
|
|
8
|
+
import clsx from "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/Accordion/index.854f4c90.js";
|
|
11
11
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
12
12
|
import { A as Avatar } from "../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import "../mui_extended/Button/index.40af964e.js";
|
|
16
|
-
import "../mui_extended/CheckBox.
|
|
16
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
17
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
18
|
-
import "../mui_extended/Badge/index.
|
|
18
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
19
19
|
import "../Image/index.c18ebf5a.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
+
import "../mui_extended/MenuActions/index.b16e84c1.js";
|
|
22
22
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../mui_extended/
|
|
24
|
-
import "../mui_extended/Tab/index.
|
|
23
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
24
|
+
import "../mui_extended/Tab/index.c1dc7bbf.js";
|
|
25
|
+
import "../mui_extended/Pager/index.5b77fa4c.js";
|
|
25
26
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
27
28
|
const componentName = "M4LAccountPopover";
|
|
28
29
|
generateUtilityClasses(componentName, [
|
|
29
30
|
"root",
|
|
31
|
+
"containerUserName",
|
|
32
|
+
"containerUserEmail",
|
|
33
|
+
"containerlogOut",
|
|
30
34
|
"containerUserInfo",
|
|
35
|
+
"containerSetting",
|
|
31
36
|
"labelUserName",
|
|
32
37
|
"labelUserEmail",
|
|
33
38
|
"labelVersion",
|
|
@@ -46,7 +51,11 @@ function getAccountPopoverClassesUtilityClass(slot) {
|
|
|
46
51
|
const useAccountPopoverUtilityClasses = () => {
|
|
47
52
|
const slots = {
|
|
48
53
|
root: ["root"],
|
|
54
|
+
containerUserName: ["containerUserName"],
|
|
55
|
+
containerUserEmail: ["containerUserEmail"],
|
|
49
56
|
containerUserInfo: ["containerUserInfo"],
|
|
57
|
+
containerlogOut: ["containerlogOut"],
|
|
58
|
+
containerSetting: ["containerSetting"],
|
|
50
59
|
labelUserName: ["labelUserName"],
|
|
51
60
|
labelUserEmail: ["labelUserEmail"],
|
|
52
61
|
labelVersion: ["labelVersion"],
|
|
@@ -91,7 +100,7 @@ function MyAvatar(props) {
|
|
|
91
100
|
...avatarUrl ? {
|
|
92
101
|
src: `${host_static_assets}/${environment_assets}/frontend/domain/${avatarUrl}`
|
|
93
102
|
} : {
|
|
94
|
-
...stringAvatar(`${
|
|
103
|
+
...stringAvatar(`${firstName} ${lastName}`)
|
|
95
104
|
},
|
|
96
105
|
...other
|
|
97
106
|
});
|
|
@@ -103,15 +112,19 @@ const MenuPopOver = (props) => {
|
|
|
103
112
|
version,
|
|
104
113
|
handleLogOut,
|
|
105
114
|
classes,
|
|
106
|
-
userData
|
|
115
|
+
userData,
|
|
116
|
+
settingHandleOpen
|
|
107
117
|
} = props;
|
|
118
|
+
const {
|
|
119
|
+
host_static_assets,
|
|
120
|
+
environment_assets
|
|
121
|
+
} = useEnvironment();
|
|
108
122
|
const {
|
|
109
123
|
avatar_url,
|
|
110
124
|
first_name,
|
|
111
125
|
last_name,
|
|
112
126
|
email
|
|
113
127
|
} = userData || {};
|
|
114
|
-
console.log("sidebar MenuPopOver");
|
|
115
128
|
const {
|
|
116
129
|
getLabel
|
|
117
130
|
} = useModuleDictionary();
|
|
@@ -167,28 +180,52 @@ const MenuPopOver = (props) => {
|
|
|
167
180
|
...process.env.NODE_ENV !== "production" ? {
|
|
168
181
|
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("containerUserInfo")
|
|
169
182
|
} : {},
|
|
170
|
-
children: [/* @__PURE__ */
|
|
171
|
-
className: classes.
|
|
172
|
-
children:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
183
|
+
children: [" ", /* @__PURE__ */ jsxs("div", {
|
|
184
|
+
className: classes.containerUserName,
|
|
185
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
186
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/users.svg`
|
|
187
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
188
|
+
className: classes.labelUserName,
|
|
189
|
+
children: `${first_name} ${last_name}`
|
|
190
|
+
})]
|
|
191
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
192
|
+
className: classes.containerUserEmail,
|
|
193
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
194
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/email.svg`
|
|
195
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
196
|
+
className: classes.labelUserEmail,
|
|
197
|
+
children: email
|
|
198
|
+
})]
|
|
176
199
|
})]
|
|
177
|
-
}), /* @__PURE__ */
|
|
200
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
178
201
|
className: classes.containerAppVersion,
|
|
179
202
|
...process.env.NODE_ENV !== "production" ? {
|
|
180
203
|
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("containerAppVersion")
|
|
181
204
|
} : {},
|
|
182
|
-
children: /* @__PURE__ */ jsx(
|
|
205
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
206
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/version.svg`
|
|
207
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
183
208
|
className: classes.labelVersion,
|
|
184
|
-
children: `${getLabel("
|
|
185
|
-
})
|
|
186
|
-
}), /* @__PURE__ */
|
|
209
|
+
children: `${getLabel("account_popover.label_version")} ${version}`
|
|
210
|
+
})]
|
|
211
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
187
212
|
className: classes.containerMenuItems,
|
|
188
213
|
...process.env.NODE_ENV !== "production" ? {
|
|
189
214
|
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("containerMenuItems")
|
|
190
215
|
} : {},
|
|
191
|
-
children:
|
|
216
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
217
|
+
className: classes.containerSetting,
|
|
218
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
219
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/configuration.svg`
|
|
220
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
221
|
+
className: classes.menuItem,
|
|
222
|
+
onClick: () => {
|
|
223
|
+
settingHandleOpen();
|
|
224
|
+
handleClose();
|
|
225
|
+
},
|
|
226
|
+
children: getLabel("account_popover.label_settings")
|
|
227
|
+
})]
|
|
228
|
+
}), data ? data.length !== 0 && data.map((option) => /* @__PURE__ */ jsx("div", {
|
|
192
229
|
role: "presentation",
|
|
193
230
|
onClick: () => handleClick(option),
|
|
194
231
|
className: classes.menuItem,
|
|
@@ -204,15 +241,20 @@ const MenuPopOver = (props) => {
|
|
|
204
241
|
children: /* @__PURE__ */ jsx(CircularProgress, {
|
|
205
242
|
size: "20px"
|
|
206
243
|
})
|
|
207
|
-
})
|
|
208
|
-
}), /* @__PURE__ */
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
244
|
+
})]
|
|
245
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
246
|
+
className: classes.containerlogOut,
|
|
247
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
248
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/sign_off.svg`
|
|
249
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
250
|
+
role: "presentation",
|
|
251
|
+
onClick: handleLogOut,
|
|
252
|
+
className: classes.logOut,
|
|
253
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
254
|
+
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("logOut")
|
|
255
|
+
} : {},
|
|
256
|
+
children: getLabel("account_popover.label_logout")
|
|
257
|
+
})]
|
|
216
258
|
})]
|
|
217
259
|
})]
|
|
218
260
|
});
|
|
@@ -223,7 +265,9 @@ const AccountPopover = (props) => {
|
|
|
223
265
|
version,
|
|
224
266
|
handleLogOut,
|
|
225
267
|
userData,
|
|
226
|
-
className
|
|
268
|
+
className,
|
|
269
|
+
settingOpen,
|
|
270
|
+
settingHandleOpen
|
|
227
271
|
} = props;
|
|
228
272
|
const [asyncState, setAsyncState] = useState("unLoad");
|
|
229
273
|
const [menuData, setMenuData] = useState([]);
|
|
@@ -265,10 +309,16 @@ const AccountPopover = (props) => {
|
|
|
265
309
|
version,
|
|
266
310
|
handleLogOut,
|
|
267
311
|
classes: accountPopoverClasses,
|
|
268
|
-
userData
|
|
312
|
+
userData,
|
|
313
|
+
settingOpen,
|
|
314
|
+
settingHandleOpen
|
|
269
315
|
})
|
|
270
316
|
});
|
|
271
317
|
};
|
|
318
|
+
function getAccountPopoverDictionary() {
|
|
319
|
+
return ["account_popover"];
|
|
320
|
+
}
|
|
272
321
|
export {
|
|
273
|
-
AccountPopover as A
|
|
322
|
+
AccountPopover as A,
|
|
323
|
+
getAccountPopoverDictionary as g
|
|
274
324
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getAppBarDictionary(): string[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
2
|
-
import { useEnvironment } from "@m4l/core";
|
|
2
|
+
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
-
import "../mui_extended/Accordion/index.
|
|
7
|
-
import "../Icon/index.
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.be111a34.js";
|
|
6
|
+
import "../mui_extended/Accordion/index.854f4c90.js";
|
|
7
|
+
import "../Icon/index.c3a579e7.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
@@ -13,14 +13,15 @@ import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import "../mui_extended/Button/index.40af964e.js";
|
|
16
|
-
import "../mui_extended/CheckBox.
|
|
17
|
-
import "../mui_extended/Badge/index.
|
|
16
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
18
18
|
import "../Image/index.c18ebf5a.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
20
|
+
import "../mui_extended/MenuActions/index.b16e84c1.js";
|
|
21
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
22
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
+
import "../mui_extended/Tab/index.c1dc7bbf.js";
|
|
24
|
+
import "../mui_extended/Pager/index.5b77fa4c.js";
|
|
24
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
26
|
import { styled } from "@mui/material/styles";
|
|
26
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -66,6 +67,9 @@ const AppBar = (props) => {
|
|
|
66
67
|
environment_assets
|
|
67
68
|
} = useEnvironment();
|
|
68
69
|
const classes = useAppBarUtilityClasses();
|
|
70
|
+
const {
|
|
71
|
+
getLabel
|
|
72
|
+
} = useModuleDictionary();
|
|
69
73
|
return /* @__PURE__ */ jsxs(AppBarRoot, {
|
|
70
74
|
className: classes.root,
|
|
71
75
|
...process.env.NODE_ENV !== "production" ? {
|
|
@@ -77,7 +81,7 @@ const AppBar = (props) => {
|
|
|
77
81
|
[TEST_PROP_ID]: getNameDataTestId("containerIconMenuToggle")
|
|
78
82
|
} : {},
|
|
79
83
|
children: /* @__PURE__ */ jsx(IconButton, {
|
|
80
|
-
tooltip: "
|
|
84
|
+
tooltip: getLabel("appbar.tooltip_toogle_menu"),
|
|
81
85
|
className: classes.iconMenuToggle,
|
|
82
86
|
src: `${host_static_assets}/${environment_assets}/frontend/components/settings/assets/icons/options.svg`,
|
|
83
87
|
onClick: onToggleVisible
|
|
@@ -91,6 +95,10 @@ const AppBar = (props) => {
|
|
|
91
95
|
})]
|
|
92
96
|
});
|
|
93
97
|
};
|
|
98
|
+
function getAppBarDictionary() {
|
|
99
|
+
return ["appbar"];
|
|
100
|
+
}
|
|
94
101
|
export {
|
|
95
|
-
AppBar as A
|
|
102
|
+
AppBar as A,
|
|
103
|
+
getAppBarDictionary as g
|
|
96
104
|
};
|
package/components/CommonActions/components/ActionCancel/{index.b2fc495d.js → index.67b91376.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
2
|
import { B as Button } from "../../../mui_extended/Button/index.40af964e.js";
|
|
3
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
3
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.c91c27f9.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.60d8963e.js → index.d4503410.js}
RENAMED
|
@@ -3,40 +3,41 @@ import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
4
|
import { B as Button } from "../../../mui_extended/Button/index.40af964e.js";
|
|
5
5
|
import { useCallback, useEffect } from "react";
|
|
6
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
6
|
+
import { u as useModal } from "../../../../hooks/useModal/index.c906706c.js";
|
|
7
7
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
8
8
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../../../Icon/index.
|
|
11
|
+
import "../../../Icon/index.c3a579e7.js";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../../modal/index.
|
|
14
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
15
|
-
import "../../../mui_extended/IconButton/index.
|
|
16
|
-
import "../../../mui_extended/Accordion/index.
|
|
13
|
+
import "../../../modal/index.c7e4beba.js";
|
|
14
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.3d9cd6e1.js";
|
|
15
|
+
import "../../../mui_extended/IconButton/index.be111a34.js";
|
|
16
|
+
import "../../../mui_extended/Accordion/index.854f4c90.js";
|
|
17
17
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
18
18
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
19
19
|
import "react-router-dom";
|
|
20
|
-
import "../../../mui_extended/CheckBox.
|
|
21
|
-
import "../../../mui_extended/Badge/index.
|
|
20
|
+
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
+
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
22
22
|
import "../../../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../../mui_extended/MenuActions/index.b16e84c1.js";
|
|
25
25
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../../mui_extended/
|
|
27
|
-
import "../../../mui_extended/Tab/index.
|
|
26
|
+
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
+
import "../../../mui_extended/Tab/index.c1dc7bbf.js";
|
|
28
|
+
import "../../../mui_extended/Pager/index.5b77fa4c.js";
|
|
28
29
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
30
|
import "zustand";
|
|
30
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
31
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
31
|
+
import "../../../areas/contexts/AreasContext/index.6f56b1da.js";
|
|
32
|
+
import "../../../areas/components/AreasAdmin/index.f505897a.js";
|
|
32
33
|
import "zustand/shallow";
|
|
33
|
-
import "../../../ScrollBar/index.
|
|
34
|
-
import "../../../areas/components/AreasViewer/index.
|
|
34
|
+
import "../../../ScrollBar/index.1247c1c5.js";
|
|
35
|
+
import "../../../areas/components/AreasViewer/index.cacec884.js";
|
|
35
36
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
36
37
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
37
38
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
38
39
|
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
39
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
40
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.c91c27f9.js";
|
|
40
41
|
function ActionFormCancel() {
|
|
41
42
|
const {
|
|
42
43
|
getLabel
|
package/components/CommonActions/components/ActionFormIntro/{index.fde4ea51.js → index.01ed67de.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { useFormContext, useFormState } from "react-hook-form";
|
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
4
|
import { L as LoadingButton } from "../../../mui_extended/Button/index.40af964e.js";
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.c91c27f9.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.724d8e17.js → index.53e7fe2b.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
2
|
import { B as Button } from "../../../mui_extended/Button/index.40af964e.js";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
4
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.c91c27f9.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
@@ -10,32 +10,33 @@ import "../../../mui_extended/Button/index.40af964e.js";
|
|
|
10
10
|
import "clsx";
|
|
11
11
|
import "react-hook-form";
|
|
12
12
|
import "react";
|
|
13
|
-
import "../../../../contexts/ModalContext/index.
|
|
13
|
+
import "../../../../contexts/ModalContext/index.1ea79d7e.js";
|
|
14
14
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
15
15
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
-
import "../../../Icon/index.
|
|
18
|
-
import "../../../modal/index.
|
|
17
|
+
import "../../../Icon/index.c3a579e7.js";
|
|
18
|
+
import "../../../modal/index.c7e4beba.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
20
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
21
21
|
import "../../../Image/index.c18ebf5a.js";
|
|
22
|
-
import "../../../mui_extended/IconButton/index.
|
|
23
|
-
import "../../../mui_extended/Accordion/index.
|
|
22
|
+
import "../../../mui_extended/IconButton/index.be111a34.js";
|
|
23
|
+
import "../../../mui_extended/Accordion/index.854f4c90.js";
|
|
24
24
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
25
25
|
import "react-router-dom";
|
|
26
|
-
import "../../../mui_extended/CheckBox.
|
|
27
|
-
import "../../../mui_extended/Badge/index.
|
|
28
|
-
import "../../../mui_extended/MenuActions/index.
|
|
26
|
+
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
27
|
+
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
28
|
+
import "../../../mui_extended/MenuActions/index.b16e84c1.js";
|
|
29
29
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
30
|
-
import "../../../mui_extended/
|
|
31
|
-
import "../../../mui_extended/Tab/index.
|
|
30
|
+
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
31
|
+
import "../../../mui_extended/Tab/index.c1dc7bbf.js";
|
|
32
|
+
import "../../../mui_extended/Pager/index.5b77fa4c.js";
|
|
32
33
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
33
34
|
import "zustand";
|
|
34
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
35
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
35
|
+
import "../../../areas/contexts/AreasContext/index.6f56b1da.js";
|
|
36
|
+
import "../../../areas/components/AreasAdmin/index.f505897a.js";
|
|
36
37
|
import "zustand/shallow";
|
|
37
|
-
import "../../../ScrollBar/index.
|
|
38
|
-
import "../../../areas/components/AreasViewer/index.
|
|
38
|
+
import "../../../ScrollBar/index.1247c1c5.js";
|
|
39
|
+
import "../../../areas/components/AreasViewer/index.cacec884.js";
|
|
39
40
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
40
41
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
41
42
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.
|
|
2
|
-
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.
|
|
1
|
+
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.b85ee3cb.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.5b77fa4c.js";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
4
|
import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
|
|
5
5
|
import { S as SELECT_COLUMN_KEY, u as useRowSelection, a as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.d46d625e.js";
|
|
@@ -8,16 +8,16 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
8
8
|
import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
11
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.
|
|
11
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.155c63af.js";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
13
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
14
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
15
|
-
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.
|
|
14
|
+
import { g as getNameDataTestId } from "../../vendor.f27b86c9.js";
|
|
15
|
+
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.e7f0b76a.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
-
import "../Icon/index.
|
|
17
|
+
import "../Icon/index.c3a579e7.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
20
|
-
import { C as ConcatenatedFormatter } from "../formatters/index.
|
|
20
|
+
import { C as ConcatenatedFormatter } from "../formatters/index.d911949d.js";
|
|
21
21
|
const DataGridRoot = styled("div")(({
|
|
22
22
|
theme
|
|
23
23
|
}) => ({
|
|
@@ -774,6 +774,7 @@ function Table(props) {
|
|
|
774
774
|
};
|
|
775
775
|
return /* @__PURE__ */ jsx("div", {
|
|
776
776
|
className: classes.tableContaniner,
|
|
777
|
+
id: "WrapperTable",
|
|
777
778
|
children: /* @__PURE__ */ jsx("div", {
|
|
778
779
|
className: classes.wrapperDataGridCss,
|
|
779
780
|
children: /* @__PURE__ */ jsx(DndProvider, {
|
|
@@ -1001,14 +1002,15 @@ const getDataGridRowsFromSet = (set, rows, rowKeyGetter) => {
|
|
|
1001
1002
|
return rowsFinded;
|
|
1002
1003
|
};
|
|
1003
1004
|
export {
|
|
1004
|
-
|
|
1005
|
+
DataGridRoot as D,
|
|
1005
1006
|
useFilters as a,
|
|
1006
1007
|
dictionary as b,
|
|
1007
|
-
|
|
1008
|
+
DataGrid as c,
|
|
1008
1009
|
dataGridClasses as d,
|
|
1009
|
-
|
|
1010
|
-
|
|
1010
|
+
getDataGridRowsFromSet as e,
|
|
1011
|
+
columnBooleanFormatter as f,
|
|
1011
1012
|
getDataGridComponentsDictionary as g,
|
|
1012
|
-
|
|
1013
|
+
columnDateFormatter as h,
|
|
1014
|
+
columnConcatenatedValuesFormatter as i,
|
|
1013
1015
|
useDataGrid as u
|
|
1014
1016
|
};
|