@m4l/components 0.1.79 → 0.1.81
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 +35 -3
- package/components/AccountPopover/{index.d541e4e6.js → index.fea740a5.js} +10 -6
- package/components/AppBar/{index.f90014de.js → index.6bdee075.js} +5 -4
- package/components/CommonActions/components/ActionCancel/{index.92536832.js → index.6928b5ae.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.7fb1ed8d.js → index.28d32483.js} +12 -11
- package/components/CommonActions/components/ActionFormIntro/{index.bebc0c94.js → index.f044e93c.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.aa4e432e.js → index.8b1b3afc.js} +1 -1
- package/components/CommonActions/components/Actions/{index.5732847f.js → index.265d99c8.js} +10 -9
- package/components/DataGrid/classes/constants.d.ts +1 -0
- package/components/DataGrid/classes/index.d.ts +27 -0
- package/components/DataGrid/classes/types.d.ts +27 -0
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +3 -1
- package/components/DataGrid/index.820e0043.js +1009 -0
- package/components/DataGrid/subcomponents/Actions/index.43325b59.js +618 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/subcomponents/FormatterColumn/index.d.ts +2 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/subcomponents/FormatterColumn/types.d.ts +3 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +2 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js +64 -0
- package/components/DataGrid/types.d.ts +7 -0
- package/components/DynamicFilter/{index.0887320f.js → index.2b80238b.js} +23 -22
- package/components/GridLayout/GridLayout.d.ts +1 -0
- package/components/GridLayout/classes/index.d.ts +4 -0
- package/components/GridLayout/classes/types.d.ts +17 -0
- package/components/GridLayout/constants.d.ts +26 -0
- package/components/GridLayout/{index.da6fd387.js → index.76bccc4f.js} +323 -576
- package/components/GridLayout/index.d.ts +4 -3
- package/components/GridLayout/subcomponents/Griditem/index.01fc14c3.js +370 -0
- package/components/GridLayout/subcomponents/Griditem/index.d.ts +9 -0
- package/components/GridLayout/subcomponents/Griditem/types.d.ts +103 -0
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +10 -0
- package/components/GridLayout/subcomponents/Responsive/index.d.ts +15 -2
- package/components/GridLayout/{Responsive/index.0905a698.js → subcomponents/Responsive/index.e589d8bf.js} +95 -139
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +3 -6
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +114 -33
- package/components/GridLayout/{WidthProvider/index.9a26dfe4.js → subcomponents/WidthProvider/index.50dafd87.js} +5 -5
- package/components/GridLayout/subcomponents/WidthProvider/index.d.ts +4 -5
- package/components/GridLayout/types.d.ts +83 -18
- package/components/GridLayout/utils.d.ts +15 -12
- package/components/HelperText/{index.29d5ad65.js → index.2c408d8a.js} +5 -4
- package/components/LanguagePopover/{index.ce84f099.js → index.4596bf54.js} +5 -4
- package/components/ModalDialog/{index.ab432b77.js → index.62ffad3a.js} +3 -3
- package/components/NavLink/{index.3bf44e30.js → index.68392bd4.js} +5 -4
- package/components/ObjectLogs/{index.c947ded4.js → index.665e043d.js} +14 -13
- package/components/Period/{index.adc328ca.js → index.7d44c0e5.js} +16 -15
- package/components/PropertyValue/{index.6b583e7a.js → index.a66988e1.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.31905078.js → index.5562f65f.js} +23 -22
- package/components/areas/components/AreasViewer/{index.fe18bdbc.js → index.1004b7a0.js} +35 -146
- package/components/areas/components/{index.7ae189ba.js → index.a441c8b1.js} +8 -7
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.1213c3ef.js → index.4bf1eabe.js} +12 -6
- package/components/areas/contexts/AreasContext/types.d.ts +4 -4
- package/components/areas/contexts/{index.84d35ffe.js → index.2938bc5a.js} +1 -1
- package/components/areas/hooks/useAreas/{index.cd799cf6.js → index.c77a2416.js} +1 -1
- package/components/areas/{index.6ee7a4eb.js → index.09851bae.js} +8 -7
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +6 -0
- package/components/hook-form/RHFAutocomplete/{index.e52c1f6a.js → index.9a9d7c73.js} +34 -51
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +2 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.a226b8ac.js → index.172df421.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.9619debd.js → index.47f0157b.js} +42 -67
- package/components/hook-form/RHFCheckbox/types.d.ts +2 -1
- package/components/hook-form/RHFDateTime/{index.5da7b839.js → index.f46e987f.js} +9 -7
- package/components/hook-form/RHFPeriod/{index.7e42c292.js → index.2e07ba7b.js} +2 -2
- package/components/hook-form/RHFTextField/{index.13447584.js → index.253620eb.js} +4 -3
- package/components/hook-form/RHFUpload/{index.80071782.js → index.9f00121f.js} +6 -5
- package/components/modal/{WindowBase.90d3c1d5.js → WindowBase.37b59511.js} +8 -6
- package/components/modal/{WindowConfirm.835f8d13.js → WindowConfirm.1a8c8c21.js} +13 -12
- package/components/modal/{index.cd34ddb3.js → index.c8e23b8d.js} +10 -9
- package/components/mui_extended/Accordion/{index.e8ba0755.js → index.fa658639.js} +1 -1
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -1
- package/components/mui_extended/Badge/{index.8c2b8b66.js → index.cad260fe.js} +1 -1
- package/components/mui_extended/CheckBox/CheckBox.d.ts +3 -0
- package/components/mui_extended/CheckBox/classes/constants.d.ts +1 -0
- package/components/mui_extended/CheckBox/classes/index.d.ts +8 -0
- package/components/mui_extended/CheckBox/classes/types.d.ts +10 -0
- package/components/mui_extended/CheckBox/index.d.ts +1 -0
- package/components/mui_extended/CheckBox/subcomponents/Skeleton/index.d.ts +3 -0
- package/components/mui_extended/CheckBox/subcomponents/Skeleton/types.d.ts +4 -0
- package/components/mui_extended/CheckBox/types.d.ts +5 -0
- package/components/mui_extended/CheckBox.5f6c78b0.js +86 -0
- package/components/mui_extended/Pager/classes/constants.d.ts +1 -0
- package/components/mui_extended/Pager/classes/index.d.ts +10 -0
- package/components/mui_extended/Pager/classes/types.d.ts +10 -0
- package/components/mui_extended/Pager/{index.2f6d6d7d.js → index.82e89328.js} +67 -31
- package/components/mui_extended/Tab/{index.3c005df1.js → index.f94d233e.js} +1 -1
- package/components/mui_extended/{index.ff59a512.js → index.07fcc38f.js} +5 -4
- package/components/mui_extended/index.d.ts +1 -0
- package/contexts/ModalContext/{index.feded672.js → index.66e060a3.js} +1 -1
- package/hooks/useModal/{index.6d238807.js → index.61968b84.js} +1 -1
- package/index.js +70 -65
- package/package.json +1 -2
- package/{vendor.9b969b18.js → vendor.fefd45a3.js} +42 -38
- package/components/DataGrid/index.302080d3.js +0 -1810
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +0 -26
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +0 -78
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/index.d.ts +0 -3
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +0 -5
package/@types/export.d.ts
CHANGED
|
@@ -53,7 +53,8 @@ import { ModalClassesKey } from '..index/components/modal/classes/types';
|
|
|
53
53
|
import { PaperFormClassesKey } from '../components/PaperForm/classes/types';
|
|
54
54
|
import { TooltipClassesKey } from '../components/mui_extended/Tooltip/classes/types';
|
|
55
55
|
import { BadgeProps } from '../components/mui_extended/Badge';
|
|
56
|
-
|
|
56
|
+
import { BadgeClassesKey } from '../components/DataGrid/classes/types';
|
|
57
|
+
import { CheckboxClassesKey } from '../components/mui_extended/CheckBox/classes/types';
|
|
57
58
|
|
|
58
59
|
export {};
|
|
59
60
|
|
|
@@ -106,7 +107,10 @@ declare module '@mui/material/styles' {
|
|
|
106
107
|
M4LImage: ImageClassesKey;
|
|
107
108
|
M4LBadge: BadgeProps;
|
|
108
109
|
M4LPopover: PopoverClassesKey;
|
|
109
|
-
|
|
110
|
+
M4LRHFCheckBox: RHFCheckboxClassesKey;
|
|
111
|
+
M4LCheckBox: CheckboxClassesKey;
|
|
112
|
+
M4LDataGrid: BadgeClassesKey;
|
|
113
|
+
M4LDataGridDensityPopover: BadgeClassesKey;
|
|
110
114
|
M4LErrorLabel: ErrorLabelClassesKey;
|
|
111
115
|
M4LTypography: TypographyClassesKey;
|
|
112
116
|
M4LButton: ButtonBaseClassKey;
|
|
@@ -139,7 +143,7 @@ declare module '@mui/material/styles' {
|
|
|
139
143
|
M4LModalDialog: ModalClassesKey;
|
|
140
144
|
M4LPaperForm: PaperFormClassesKey;
|
|
141
145
|
M4LTooltip: TooltipClassesKey;
|
|
142
|
-
|
|
146
|
+
M4LPager: PagerClassesKey;
|
|
143
147
|
}
|
|
144
148
|
|
|
145
149
|
interface Components {
|
|
@@ -179,6 +183,10 @@ declare module '@mui/material/styles' {
|
|
|
179
183
|
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFAutocomplete'];
|
|
180
184
|
defaultProps?: ComponentsProps['M4LRHFAutocomplete'];
|
|
181
185
|
};
|
|
186
|
+
M4LRHFAutocompletePopover?: {
|
|
187
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFAutocompletePopover'];
|
|
188
|
+
defaultProps?: ComponentsProps['M4LRHFAutocompletePopover'];
|
|
189
|
+
};
|
|
182
190
|
M4LRHFAutocompleteAsync?: {
|
|
183
191
|
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFAutocompleteAsync'];
|
|
184
192
|
defaultProps?: ComponentsProps['M4LRHFAutocompleteAsync'];
|
|
@@ -223,6 +231,22 @@ declare module '@mui/material/styles' {
|
|
|
223
231
|
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFCheckbox'];
|
|
224
232
|
defaultProps?: ComponentsProps['M4LRHFCheckbox'];
|
|
225
233
|
};
|
|
234
|
+
M4LCheckBox?: {
|
|
235
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LCheckBox'];
|
|
236
|
+
defaultProps?: ComponentsProps['M4LCheckBox'];
|
|
237
|
+
};
|
|
238
|
+
M4LDataGrid?: {
|
|
239
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDataGrid'];
|
|
240
|
+
defaultProps?: ComponentsProps['M4LDataGrid'];
|
|
241
|
+
};
|
|
242
|
+
M4LDataGridDensityPopover?: {
|
|
243
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDataGridDensityPopover'];
|
|
244
|
+
defaultProps?: ComponentsProps['M4LDataGridDensityPopover'];
|
|
245
|
+
};
|
|
246
|
+
M4LDataGridActionsFormatter?: {
|
|
247
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDataGridActionsFormatter'];
|
|
248
|
+
defaultProps?: ComponentsProps['M4LDataGridActionsFormatter'];
|
|
249
|
+
};
|
|
226
250
|
M4LErrorLabel?: {
|
|
227
251
|
styleOverrides?: ComponentsOverrides<Theme>['M4LErrorLabel'];
|
|
228
252
|
defaultProps?: ComponentsProps['M4LErrorLabel'];
|
|
@@ -344,6 +368,14 @@ declare module '@mui/material/styles' {
|
|
|
344
368
|
styleOverrides?: ComponentsOverrides<Theme>['M4LTooltip'];
|
|
345
369
|
defaultProps?: ComponentsProps['M4LTooltip'];
|
|
346
370
|
};
|
|
371
|
+
M4LPager?: {
|
|
372
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LPager'];
|
|
373
|
+
defaultProps?: ComponentsProps['M4LPager'];
|
|
374
|
+
};
|
|
347
375
|
|
|
376
|
+
M4LGridLayout?: {
|
|
377
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LGridLayout'];
|
|
378
|
+
defaultProps?: ComponentsProps['M4LGridLayout'];
|
|
379
|
+
};
|
|
348
380
|
}
|
|
349
381
|
}
|
|
@@ -7,20 +7,21 @@ import "clsx";
|
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/Accordion/index.fa658639.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.4288f9fc.js";
|
|
16
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
16
17
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
17
|
-
import "../mui_extended/Badge/index.
|
|
18
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
18
19
|
import "../Image/index.c18ebf5a.js";
|
|
19
20
|
import "@mui/lab";
|
|
20
21
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
21
22
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Pager/index.
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
23
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
24
|
+
import "../mui_extended/Tab/index.f94d233e.js";
|
|
24
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
27
|
const componentName = "M4LAccountPopover";
|
|
@@ -134,13 +135,14 @@ const MenuPopOver = (props) => {
|
|
|
134
135
|
setOpen(event.currentTarget);
|
|
135
136
|
};
|
|
136
137
|
return /* @__PURE__ */ jsxs("div", {
|
|
138
|
+
role: "presentation",
|
|
137
139
|
className: classes.containerAvatarPopover,
|
|
138
140
|
...process.env.NODE_ENV !== "production" ? {
|
|
139
141
|
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("containerAvatarPopover")
|
|
140
142
|
} : {},
|
|
141
|
-
onClick: handleOpen,
|
|
142
143
|
children: [/* @__PURE__ */ jsx(MyAvatar, {
|
|
143
|
-
className: classes.myAvatar
|
|
144
|
+
className: classes.myAvatar,
|
|
145
|
+
onClick: handleOpen
|
|
144
146
|
}), /* @__PURE__ */ jsxs(Popover, {
|
|
145
147
|
open: Boolean(open2),
|
|
146
148
|
anchorEl: open2,
|
|
@@ -190,6 +192,7 @@ const MenuPopOver = (props) => {
|
|
|
190
192
|
[TEST_PROP_ID]: getAccountPopoverClassesUtilityClass("containerMenuItems")
|
|
191
193
|
} : {},
|
|
192
194
|
children: data ? data.length !== 0 && data.map((option) => /* @__PURE__ */ jsx("div", {
|
|
195
|
+
role: "presentation",
|
|
193
196
|
onClick: () => handleClick(option),
|
|
194
197
|
className: classes.menuItem,
|
|
195
198
|
...process.env.NODE_ENV !== "production" ? {
|
|
@@ -206,6 +209,7 @@ const MenuPopOver = (props) => {
|
|
|
206
209
|
})
|
|
207
210
|
})
|
|
208
211
|
}), /* @__PURE__ */ jsx("div", {
|
|
212
|
+
role: "presentation",
|
|
209
213
|
onClick: handleLogOut,
|
|
210
214
|
className: classes.logOut,
|
|
211
215
|
...process.env.NODE_ENV !== "production" ? {
|
|
@@ -3,7 +3,7 @@ import { useEnvironment } 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
5
|
import { I as IconButton } from "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
6
|
-
import "../mui_extended/Accordion/index.
|
|
6
|
+
import "../mui_extended/Accordion/index.fa658639.js";
|
|
7
7
|
import "../Icon/index.9fcd1476.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "clsx";
|
|
@@ -13,13 +13,14 @@ 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.4288f9fc.js";
|
|
16
|
-
import "../mui_extended/
|
|
16
|
+
import "../mui_extended/CheckBox.5f6c78b0.js";
|
|
17
|
+
import "../mui_extended/Badge/index.cad260fe.js";
|
|
17
18
|
import "../Image/index.c18ebf5a.js";
|
|
18
19
|
import "@mui/lab";
|
|
19
20
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
20
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../mui_extended/Pager/index.
|
|
22
|
-
import "../mui_extended/Tab/index.
|
|
22
|
+
import "../mui_extended/Pager/index.82e89328.js";
|
|
23
|
+
import "../mui_extended/Tab/index.f94d233e.js";
|
|
23
24
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
25
|
import { styled } from "@mui/material/styles";
|
|
25
26
|
import { unstable_composeClasses } from "@mui/base";
|
package/components/CommonActions/components/ActionCancel/{index.92536832.js → index.6928b5ae.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
2
|
import { B as Button } from "../../../mui_extended/Button/index.4288f9fc.js";
|
|
3
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
3
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.265d99c8.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.7fb1ed8d.js → index.28d32483.js}
RENAMED
|
@@ -3,39 +3,40 @@ import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
4
|
import { B as Button } from "../../../mui_extended/Button/index.4288f9fc.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.61968b84.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
11
|
import "../../../Icon/index.9fcd1476.js";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../../modal/index.
|
|
14
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
13
|
+
import "../../../modal/index.c8e23b8d.js";
|
|
14
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.1a8c8c21.js";
|
|
15
15
|
import "../../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
16
|
-
import "../../../mui_extended/Accordion/index.
|
|
16
|
+
import "../../../mui_extended/Accordion/index.fa658639.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/
|
|
20
|
+
import "../../../mui_extended/CheckBox.5f6c78b0.js";
|
|
21
|
+
import "../../../mui_extended/Badge/index.cad260fe.js";
|
|
21
22
|
import "../../../Image/index.c18ebf5a.js";
|
|
22
23
|
import "@mui/lab";
|
|
23
24
|
import "../../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
24
25
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
-
import "../../../mui_extended/Pager/index.
|
|
26
|
-
import "../../../mui_extended/Tab/index.
|
|
26
|
+
import "../../../mui_extended/Pager/index.82e89328.js";
|
|
27
|
+
import "../../../mui_extended/Tab/index.f94d233e.js";
|
|
27
28
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
28
29
|
import "zustand";
|
|
29
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
30
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
30
|
+
import "../../../areas/contexts/AreasContext/index.4bf1eabe.js";
|
|
31
|
+
import "../../../areas/components/AreasAdmin/index.5562f65f.js";
|
|
31
32
|
import "zustand/shallow";
|
|
32
33
|
import "../../../ScrollBar/index.bbe48f4d.js";
|
|
33
|
-
import "../../../areas/components/AreasViewer/index.
|
|
34
|
+
import "../../../areas/components/AreasViewer/index.1004b7a0.js";
|
|
34
35
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
35
36
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
36
37
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
37
38
|
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
38
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
39
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.265d99c8.js";
|
|
39
40
|
function ActionFormCancel() {
|
|
40
41
|
const {
|
|
41
42
|
getLabel
|
package/components/CommonActions/components/ActionFormIntro/{index.bebc0c94.js → index.f044e93c.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.4288f9fc.js";
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.265d99c8.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.aa4e432e.js → index.8b1b3afc.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
2
|
import { B as Button } from "../../../mui_extended/Button/index.4288f9fc.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.265d99c8.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
@@ -10,31 +10,32 @@ import "../../../mui_extended/Button/index.4288f9fc.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.66e060a3.js";
|
|
14
14
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
15
15
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
17
|
import "../../../Icon/index.9fcd1476.js";
|
|
18
|
-
import "../../../modal/index.
|
|
18
|
+
import "../../../modal/index.c8e23b8d.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
20
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
21
21
|
import "../../../Image/index.c18ebf5a.js";
|
|
22
22
|
import "../../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
23
|
-
import "../../../mui_extended/Accordion/index.
|
|
23
|
+
import "../../../mui_extended/Accordion/index.fa658639.js";
|
|
24
24
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
25
25
|
import "react-router-dom";
|
|
26
|
-
import "../../../mui_extended/
|
|
26
|
+
import "../../../mui_extended/CheckBox.5f6c78b0.js";
|
|
27
|
+
import "../../../mui_extended/Badge/index.cad260fe.js";
|
|
27
28
|
import "../../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
28
29
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
29
|
-
import "../../../mui_extended/Pager/index.
|
|
30
|
-
import "../../../mui_extended/Tab/index.
|
|
30
|
+
import "../../../mui_extended/Pager/index.82e89328.js";
|
|
31
|
+
import "../../../mui_extended/Tab/index.f94d233e.js";
|
|
31
32
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
32
33
|
import "zustand";
|
|
33
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
34
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
34
|
+
import "../../../areas/contexts/AreasContext/index.4bf1eabe.js";
|
|
35
|
+
import "../../../areas/components/AreasAdmin/index.5562f65f.js";
|
|
35
36
|
import "zustand/shallow";
|
|
36
37
|
import "../../../ScrollBar/index.bbe48f4d.js";
|
|
37
|
-
import "../../../areas/components/AreasViewer/index.
|
|
38
|
+
import "../../../areas/components/AreasViewer/index.1004b7a0.js";
|
|
38
39
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
39
40
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
40
41
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LDataGrid";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DataGridClassesType } from './types';
|
|
2
|
+
import { OwnerState } from '../types';
|
|
3
|
+
export declare const dataGridClasses: DataGridClassesType;
|
|
4
|
+
export declare function getDataGridUtilityClass(slot: string): string;
|
|
5
|
+
export declare const dataGridUtilityClasses: (ownerState: OwnerState) => {
|
|
6
|
+
rowsCount: string;
|
|
7
|
+
root: string;
|
|
8
|
+
actions: string;
|
|
9
|
+
rowsCountLabel: string;
|
|
10
|
+
rowsCountValue: string;
|
|
11
|
+
densitySkeleton: string;
|
|
12
|
+
densityRoot: string;
|
|
13
|
+
densityPopover: string;
|
|
14
|
+
actionFilter: string;
|
|
15
|
+
actionDensityPopover: string;
|
|
16
|
+
tableContaniner: string;
|
|
17
|
+
wrapperDataGridCss: string;
|
|
18
|
+
columnsConfigContainer: string;
|
|
19
|
+
columnsLabelSetColumns: string;
|
|
20
|
+
columnsConfigContent: string;
|
|
21
|
+
columnsConfigGrid: string;
|
|
22
|
+
columnsConfigActions: string;
|
|
23
|
+
formatterColumn: string;
|
|
24
|
+
skeletonFormatter: string;
|
|
25
|
+
actionsFormatter: string;
|
|
26
|
+
actionSettings: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { dataGridUtilityClasses } from ".";
|
|
2
|
+
export interface DataGridClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
actions: string;
|
|
5
|
+
withPager: string;
|
|
6
|
+
withNoPager: string;
|
|
7
|
+
rowsCount: string;
|
|
8
|
+
rowsCountLabel: string;
|
|
9
|
+
rowsCountValue: string;
|
|
10
|
+
densitySkeleton: string;
|
|
11
|
+
actionDensityPopover: string;
|
|
12
|
+
actionFilter: string;
|
|
13
|
+
actionSettings: string;
|
|
14
|
+
tableContaniner: string;
|
|
15
|
+
wrapperDataGridCss: string;
|
|
16
|
+
columnsConfigContainer: string;
|
|
17
|
+
columnsLabelSetColumns: string;
|
|
18
|
+
columnsConfigContent: string;
|
|
19
|
+
columnsConfigGrid: string;
|
|
20
|
+
columnsConfigActions: string;
|
|
21
|
+
formatterColumn: string;
|
|
22
|
+
skeletonFormatter: string;
|
|
23
|
+
actionsFormatter: string;
|
|
24
|
+
withActions: string;
|
|
25
|
+
}
|
|
26
|
+
export declare type BadgeClassesKey = keyof DataGridClassesType;
|
|
27
|
+
export declare type Classes = ReturnType<typeof dataGridUtilityClasses>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Maybe } from '@m4l/core';
|
|
3
3
|
import { RowKey, RowHeightVariants, GridProps } from '../../types';
|
|
4
|
+
import { Classes } from '../../classes/types';
|
|
4
5
|
export interface IConfigColumn {
|
|
5
6
|
key: string;
|
|
6
7
|
visible: boolean;
|
|
@@ -21,13 +22,14 @@ export interface DataGridProviderProps<TRow, TSummaryRow> extends Pick<GridProps
|
|
|
21
22
|
children: ReactNode;
|
|
22
23
|
remoteConfig?: IGridConfig;
|
|
23
24
|
rowsCount: number;
|
|
25
|
+
classes: Classes;
|
|
24
26
|
}
|
|
25
27
|
export declare type RowHeightState = {
|
|
26
28
|
rowHVariant: RowHeightVariants;
|
|
27
29
|
rowHeight: number;
|
|
28
30
|
rowHeaderHeight: number;
|
|
29
31
|
};
|
|
30
|
-
export interface DataGridContextProps<TRow, TSummaryRow> extends IGridConfig, Pick<DataGridProviderProps<TRow, TSummaryRow>, 'rows' | 'checkedRows' | 'onCheckedRowsChange' | 'rowHeights' | 'rowsCount' | 'rowActionsGetter' | 'rowKeyGetter'> {
|
|
32
|
+
export interface DataGridContextProps<TRow, TSummaryRow> extends IGridConfig, Pick<DataGridProviderProps<TRow, TSummaryRow>, 'rows' | 'checkedRows' | 'onCheckedRowsChange' | 'rowHeights' | 'rowsCount' | 'rowActionsGetter' | 'rowKeyGetter' | 'classes'> {
|
|
31
33
|
setRowsCount: (newRowsCount: number) => void;
|
|
32
34
|
currentRowHeaderHeight: number;
|
|
33
35
|
currentRowHeight: number;
|