@m4l/components 0.1.84 → 0.1.86
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/{index.bbeb9142.js → index.09f33fee.js} +29 -30
- package/components/AppBar/{index.43f8b54f.js → index.4fac1368.js} +9 -8
- package/components/CommonActions/components/ActionCancel/{index.29517521.js → index.d995d986.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.89f1ac8e.js → index.48e066b3.js} +17 -16
- package/components/CommonActions/components/ActionFormIntro/{index.bbc35e74.js → index.cc97ed0a.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.a9420126.js → index.98eb4b3b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.e70e8779.js → index.99a8e55e.js} +15 -14
- package/components/CommonActions/index.d.ts +1 -0
- package/components/DataGrid/{index.1d0a3dec.js → index.d38e3b49.js} +8 -7
- package/components/DataGrid/subcomponents/Actions/{index.a8fc9f6a.js → index.7015aadc.js} +22 -20
- package/components/DynamicFilter/classes/types.d.ts +1 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/index.d.ts +6 -2
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +4 -0
- package/components/DynamicFilter/{index.912679cc.js → index.fddefc23.js} +44 -31
- package/components/GridLayout/{index.c55f16eb.js → index.2383aaf9.js} +69 -10
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/Griditem/{index.6c68811f.js → index.58168132.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.a6e33b8d.js → index.a6642437.js} +1 -1
- package/components/HelperText/{index.a47ff233.js → index.bbbe24c9.js} +9 -8
- package/components/Icon/{index.d1402200.js → index.435df215.js} +1 -1
- package/components/LanguagePopover/{index.807f5272.js → index.7d2ccfe4.js} +9 -8
- package/components/ModalDialog/{index.42e804cf.js → index.b66c43e7.js} +4 -4
- package/components/NavLink/{index.ff5a939c.js → index.abbcb9b2.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.dc02715d.js → index.ad313913.js} +22 -19
- package/components/PaperForm/{index.249c2404.js → index.ad703ab6.js} +1 -1
- package/components/Period/{index.e129cdec.js → index.32d475b8.js} +16 -15
- package/components/PropertyValue/{index.93e40532.js → index.d52295d9.js} +1 -1
- package/components/ScrollBar/classes/constants.d.ts +1 -0
- package/components/ScrollBar/classes/index.d.ts +6 -0
- package/components/ScrollBar/classes/types.d.ts +6 -0
- package/components/ScrollBar/index.65bb2930.js +121 -0
- package/components/SideBar/{index.327679a6.js → index.387a2fa1.js} +111 -50
- 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 +2 -0
- package/components/areas/components/AreasAdmin/{index.8ab71eb9.js → index.23a09c81.js} +105 -56
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.933e506b.js → index.68eb0f6b.js} +72 -126
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/subcomponents/ResizeHandle/index.d.ts +4 -0
- package/components/areas/components/index.296bc2a4.js +31 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +3 -3
- package/components/areas/contexts/AreasContext/{index.230d1584.js → index.8af3058c.js} +91 -78
- package/components/areas/contexts/AreasContext/types.d.ts +20 -8
- package/components/areas/contexts/{index.f494e241.js → index.41c24465.js} +1 -1
- package/components/areas/hooks/useAreas/{index.b8449343.js → index.d1cf9820.js} +1 -1
- package/components/areas/{index.32db4fa7.js → index.fd46ec65.js} +13 -12
- package/components/formatters/BooleanFormatter/{index.b2f02bc4.js → index.14cfcbc7.js} +1 -1
- package/components/formatters/{index.f9ad88b4.js → index.b574dda9.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.d5afb409.js → index.60c6f592.js} +10 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.a4f00088.js → index.9a40fb06.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.9bf6edb0.js → index.da4ebb03.js} +10 -9
- package/components/hook-form/RHFDateTime/{index.a2c1ed2c.js → index.c56219ea.js} +10 -9
- package/components/hook-form/RHFPeriod/{index.b5204ce2.js → index.ee6a3d61.js} +2 -2
- package/components/hook-form/RHFTextField/{index.5a0fa776.js → index.413a74ca.js} +3 -3
- package/components/hook-form/RHFUpload/{index.b36539d6.js → index.03faa7f0.js} +10 -9
- package/components/modal/{WindowBase.37158e8d.js → WindowBase.0eea1a27.js} +27 -13
- package/components/modal/{WindowConfirm.a68aa0f1.js → WindowConfirm.6896f0aa.js} +25 -24
- package/components/modal/{index.6f281ef8.js → index.6cdf65c9.js} +17 -16
- package/components/modal/index.d.ts +1 -1
- package/components/mui_extended/Accordion/{index.46771196.js → index.d15e51bf.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/Button/{index.40af964e.js → index.f79eb74e.js} +2 -1
- package/components/mui_extended/IconButton/{index.62aea582.js → index.d88a3f2e.js} +1 -1
- package/components/mui_extended/MenuActions/{index.2493b1b1.js → index.c53370f6.js} +7 -4
- package/components/mui_extended/MenuActions/types.d.ts +1 -0
- package/components/mui_extended/Pager/{index.a7f87c96.js → index.d6c87c44.js} +1 -1
- 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.756fe693.js → index.97d04d6b.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.ba27649e.js → index.0d5b8e73.js} +9 -8
- package/components/mui_extended/index.d.ts +2 -0
- package/contexts/ModalContext/{index.51da83de.js → index.5c908fe3.js} +1 -1
- package/contexts/RHFormContext/dictionary.d.ts +3 -0
- package/contexts/RHFormContext/{index.b9266262.js → index.ea2758ed.js} +6 -2
- package/contexts/index.d.ts +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/dictionary.d.ts +1 -0
- package/hooks/useFormAddEdit/index.16475afe.js +111 -0
- package/hooks/useFormAddEdit/index.d.ts +1 -0
- package/hooks/useModal/{index.7611bf21.js → index.2387ea76.js} +1 -1
- package/index.js +71 -67
- package/package.json +1 -1
- package/{vendor.1af105d6.js → vendor.7751caf6.js} +62 -62
- package/components/GridLayout/subcomponents/SizeProvider/index.bfa05dfa.js +0 -62
- package/components/ScrollBar/index.d4410cb5.js +0 -72
- package/components/areas/components/index.9e48d8ff.js +0 -30
- package/hooks/useFormAddEdit/index.15de3ba8.js +0 -49
- /package/components/GridLayout/subcomponents/{SizeProvider → WidthProvider}/index.d.ts +0 -0
- /package/components/areas/components/{AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header → AreasAdmin}/subcomponents/PanelWindowPopUp/index.d.ts +0 -0
- /package/components/areas/components/{AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header → AreasAdmin}/subcomponents/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
|
}
|
|
@@ -2,26 +2,27 @@ 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 { I as Icon } from "../Icon/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/Accordion/index.d15e51bf.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
|
-
import "../mui_extended/Button/index.
|
|
15
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
16
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.c53370f6.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.97d04d6b.js";
|
|
25
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
25
26
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
27
28
|
const componentName = "M4LAccountPopover";
|
|
@@ -80,26 +81,21 @@ const AcountPopOverRoot = styled("div")(({
|
|
|
80
81
|
function MyAvatar(props) {
|
|
81
82
|
const {
|
|
82
83
|
avatarUrl,
|
|
83
|
-
firstName,
|
|
84
|
-
lastName,
|
|
84
|
+
firstName = "",
|
|
85
|
+
lastName = "arreee",
|
|
85
86
|
...other
|
|
86
87
|
} = props;
|
|
87
88
|
const {
|
|
88
89
|
host_static_assets,
|
|
89
90
|
environment_assets
|
|
90
91
|
} = useEnvironment();
|
|
91
|
-
function stringAvatar(name) {
|
|
92
|
-
return {
|
|
93
|
-
children: `${name.split(" ")[0][0]}${name.split(" ")[1][0]}`
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
92
|
return /* @__PURE__ */ jsx(Avatar, {
|
|
97
93
|
alt: "full_name",
|
|
98
94
|
color: "default",
|
|
99
95
|
...avatarUrl ? {
|
|
100
96
|
src: `${host_static_assets}/${environment_assets}/frontend/domain/${avatarUrl}`
|
|
101
97
|
} : {
|
|
102
|
-
|
|
98
|
+
children: `${firstName[0]}${lastName[0]}`
|
|
103
99
|
},
|
|
104
100
|
...other
|
|
105
101
|
});
|
|
@@ -214,14 +210,14 @@ const MenuPopOver = (props) => {
|
|
|
214
210
|
} : {},
|
|
215
211
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
216
212
|
className: classes.containerSetting,
|
|
213
|
+
onClick: () => {
|
|
214
|
+
settingHandleOpen();
|
|
215
|
+
handleClose();
|
|
216
|
+
},
|
|
217
217
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
218
218
|
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/configuration.svg`
|
|
219
219
|
}), /* @__PURE__ */ jsx("div", {
|
|
220
220
|
className: classes.menuItem,
|
|
221
|
-
onClick: () => {
|
|
222
|
-
settingHandleOpen();
|
|
223
|
-
handleClose();
|
|
224
|
-
},
|
|
225
221
|
children: getLabel("account_popover.label_settings")
|
|
226
222
|
})]
|
|
227
223
|
}), data ? data.length !== 0 && data.map((option) => /* @__PURE__ */ jsx("div", {
|
|
@@ -241,16 +237,19 @@ const MenuPopOver = (props) => {
|
|
|
241
237
|
size: "20px"
|
|
242
238
|
})
|
|
243
239
|
})]
|
|
244
|
-
}), /* @__PURE__ */
|
|
245
|
-
|
|
246
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
247
|
-
role: "presentation",
|
|
240
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
241
|
+
className: classes.containerlogOut,
|
|
248
242
|
onClick: handleLogOut,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
243
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
244
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/account_popover/assets/icons/sign_off.svg`
|
|
245
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
246
|
+
role: "presentation",
|
|
247
|
+
className: classes.logOut,
|
|
248
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
249
|
+
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("logOut")
|
|
250
|
+
} : {},
|
|
251
|
+
children: getLabel("account_popover.label_logout")
|
|
252
|
+
})]
|
|
254
253
|
})]
|
|
255
254
|
})]
|
|
256
255
|
});
|
|
@@ -312,7 +311,7 @@ const AccountPopover = (props) => {
|
|
|
312
311
|
});
|
|
313
312
|
};
|
|
314
313
|
function getAccountPopoverDictionary() {
|
|
315
|
-
return ["
|
|
314
|
+
return ["account_popover"];
|
|
316
315
|
}
|
|
317
316
|
export {
|
|
318
317
|
AccountPopover as A,
|
|
@@ -2,9 +2,9 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
2
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.d88a3f2e.js";
|
|
6
|
+
import "../mui_extended/Accordion/index.d15e51bf.js";
|
|
7
|
+
import "../Icon/index.435df215.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
@@ -12,15 +12,16 @@ import "../mui_extended/Typography/index.443590d6.js";
|
|
|
12
12
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.
|
|
15
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
16
16
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../mui_extended/Badge/index.
|
|
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.c53370f6.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.97d04d6b.js";
|
|
24
|
+
import "../mui_extended/Pager/index.d6c87c44.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";
|
package/components/CommonActions/components/ActionCancel/{index.29517521.js → index.d995d986.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
3
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
3
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.99a8e55e.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.89f1ac8e.js → index.48e066b3.js}
RENAMED
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
4
|
+
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.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.2387ea76.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.435df215.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.6cdf65c9.js";
|
|
14
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.6896f0aa.js";
|
|
15
|
+
import "../../../mui_extended/IconButton/index.d88a3f2e.js";
|
|
16
|
+
import "../../../mui_extended/Accordion/index.d15e51bf.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
20
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
21
|
-
import "../../../mui_extended/Badge/index.
|
|
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.c53370f6.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.97d04d6b.js";
|
|
28
|
+
import "../../../mui_extended/Pager/index.d6c87c44.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.8af3058c.js";
|
|
32
|
+
import "../../../areas/components/AreasAdmin/index.23a09c81.js";
|
|
32
33
|
import "zustand/shallow";
|
|
33
|
-
import "../../../ScrollBar/index.
|
|
34
|
-
import "../../../areas/components/AreasViewer/index.
|
|
34
|
+
import "../../../ScrollBar/index.65bb2930.js";
|
|
35
|
+
import "../../../areas/components/AreasViewer/index.68eb0f6b.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.99a8e55e.js";
|
|
40
41
|
function ActionFormCancel() {
|
|
41
42
|
const {
|
|
42
43
|
getLabel
|
package/components/CommonActions/components/ActionFormIntro/{index.bbc35e74.js → index.cc97ed0a.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
|
-
import { L as LoadingButton } from "../../../mui_extended/Button/index.
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
4
|
+
import { L as LoadingButton } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.99a8e55e.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.a9420126.js → index.98eb4b3b.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.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.99a8e55e.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
@@ -6,36 +6,37 @@ import { g as getComponentUtilityClass } from "../../../../utils/index.c43a95f4.
|
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import "@m4l/core";
|
|
8
8
|
import "@mui/material/Button";
|
|
9
|
-
import "../../../mui_extended/Button/index.
|
|
9
|
+
import "../../../mui_extended/Button/index.f79eb74e.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.5c908fe3.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.435df215.js";
|
|
18
|
+
import "../../../modal/index.6cdf65c9.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.d88a3f2e.js";
|
|
23
|
+
import "../../../mui_extended/Accordion/index.d15e51bf.js";
|
|
24
24
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
25
25
|
import "react-router-dom";
|
|
26
26
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
27
|
-
import "../../../mui_extended/Badge/index.
|
|
28
|
-
import "../../../mui_extended/MenuActions/index.
|
|
27
|
+
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
28
|
+
import "../../../mui_extended/MenuActions/index.c53370f6.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.97d04d6b.js";
|
|
32
|
+
import "../../../mui_extended/Pager/index.d6c87c44.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.8af3058c.js";
|
|
36
|
+
import "../../../areas/components/AreasAdmin/index.23a09c81.js";
|
|
36
37
|
import "zustand/shallow";
|
|
37
|
-
import "../../../ScrollBar/index.
|
|
38
|
-
import "../../../areas/components/AreasViewer/index.
|
|
38
|
+
import "../../../ScrollBar/index.65bb2930.js";
|
|
39
|
+
import "../../../areas/components/AreasViewer/index.68eb0f6b.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";
|
|
@@ -3,4 +3,5 @@ export { ActionCancel } from './components/ActionCancel';
|
|
|
3
3
|
export { ActionIntro } from './components/ActionIntro';
|
|
4
4
|
export { ActionFormCancel } from './components/ActionFormCancel';
|
|
5
5
|
export { ActionFormIntro } from './components/ActionFormIntro';
|
|
6
|
+
export { getCommonActionsDictionary } from './dictionary';
|
|
6
7
|
export * from './dictionary';
|
|
@@ -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.b66c43e7.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.d6c87c44.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.7015aadc.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.7751caf6.js";
|
|
15
|
+
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.14cfcbc7.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
-
import "../Icon/index.
|
|
17
|
+
import "../Icon/index.435df215.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.b574dda9.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, {
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
2
|
-
import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.
|
|
1
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.c53370f6.js";
|
|
2
|
+
import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.d38e3b49.js";
|
|
3
3
|
import { useTheme, Checkbox, Skeleton } from "@mui/material";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { P as Pager } from "../../../mui_extended/Pager/index.
|
|
6
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
5
|
+
import { P as Pager } from "../../../mui_extended/Pager/index.d6c87c44.js";
|
|
6
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.d88a3f2e.js";
|
|
7
7
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
|
|
9
9
|
import { D as DataGrid$1 } from "../../../../react-data-grid.d46d625e.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
12
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
13
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
11
|
+
import { u as useModal } from "../../../../hooks/useModal/index.2387ea76.js";
|
|
12
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.d995d986.js";
|
|
13
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.98eb4b3b.js";
|
|
14
14
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
15
15
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
16
16
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
17
|
-
import "../../../Icon/index.
|
|
17
|
+
import "../../../Icon/index.435df215.js";
|
|
18
18
|
import "clsx";
|
|
19
|
-
import "../../../modal/index.
|
|
20
|
-
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.
|
|
19
|
+
import "../../../modal/index.6cdf65c9.js";
|
|
20
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.99a8e55e.js";
|
|
21
21
|
import "react-hook-form";
|
|
22
22
|
import "@mui/material/Button";
|
|
23
|
-
import "../../../mui_extended/Button/index.
|
|
23
|
+
import "../../../mui_extended/Button/index.f79eb74e.js";
|
|
24
24
|
import "zustand";
|
|
25
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
26
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
25
|
+
import "../../../areas/contexts/AreasContext/index.8af3058c.js";
|
|
26
|
+
import "../../../areas/components/AreasAdmin/index.23a09c81.js";
|
|
27
27
|
import "zustand/shallow";
|
|
28
|
-
import "../../../ScrollBar/index.
|
|
29
|
-
import "../../../mui_extended/Accordion/index.
|
|
28
|
+
import "../../../ScrollBar/index.65bb2930.js";
|
|
29
|
+
import "../../../mui_extended/Accordion/index.d15e51bf.js";
|
|
30
30
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
31
31
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
32
32
|
import "react-router-dom";
|
|
33
33
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
34
|
-
import "../../../mui_extended/Badge/index.
|
|
34
|
+
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
35
35
|
import "../../../Image/index.c18ebf5a.js";
|
|
36
36
|
import "@mui/lab";
|
|
37
37
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
38
|
-
import "../../../mui_extended/
|
|
38
|
+
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
39
|
+
import "../../../mui_extended/Tab/index.97d04d6b.js";
|
|
39
40
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
40
|
-
import "../../../areas/components/AreasViewer/index.
|
|
41
|
+
import "../../../areas/components/AreasViewer/index.68eb0f6b.js";
|
|
41
42
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
42
43
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
44
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
44
|
-
import { W as WindowBase } from "../../../modal/WindowBase.
|
|
45
|
+
import { W as WindowBase } from "../../../modal/WindowBase.0eea1a27.js";
|
|
45
46
|
const ACTIONS_COLUMN_KEY = "actions-row";
|
|
46
47
|
function ActionsFormatter(props) {
|
|
47
48
|
const {
|
|
@@ -128,7 +129,8 @@ const WrapperDataGrid = styled("div")(() => ({
|
|
|
128
129
|
position: "relative",
|
|
129
130
|
display: "flex",
|
|
130
131
|
flexDirection: "column",
|
|
131
|
-
flexGrow: 1
|
|
132
|
+
flexGrow: 1,
|
|
133
|
+
overflow: "auto"
|
|
132
134
|
}));
|
|
133
135
|
styled("div")(() => ({
|
|
134
136
|
display: "flex",
|
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
import { DynamicFilterProviderProps } from './types';
|
|
3
3
|
declare const DynamicFilterContext: import("react").Context<(Omit<Omit<import("zustand").StoreApi<import("./store").DynamicFilterStateWithActions>, "setState"> & {
|
|
4
4
|
setState<A extends string | {
|
|
5
|
-
type: unknown;
|
|
5
|
+
type: unknown; /**
|
|
6
|
+
* Efecto para lanzar el fire onChngeFilters, basado en el cambio del contador countOnChangeFiltersApplyed
|
|
7
|
+
*/
|
|
6
8
|
}>(partial: import("./store").DynamicFilterStateWithActions | Partial<import("./store").DynamicFilterStateWithActions> | ((state: import("./store").DynamicFilterStateWithActions) => import("./store").DynamicFilterStateWithActions | Partial<import("./store").DynamicFilterStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
7
9
|
}, "setState"> & {
|
|
8
10
|
setState(nextStateOrUpdater: import("./store").DynamicFilterStateWithActions | Partial<import("./store").DynamicFilterStateWithActions> | ((state: import("immer/dist/internal").WritableDraft<import("./store").DynamicFilterStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
|
|
9
|
-
type: unknown;
|
|
11
|
+
type: unknown; /**
|
|
12
|
+
* Efecto para lanzar el fire onChngeFilters, basado en el cambio del contador countOnChangeFiltersApplyed
|
|
13
|
+
*/
|
|
10
14
|
} | undefined): void;
|
|
11
15
|
}) | null>;
|
|
12
16
|
/**
|