@m4l/components 3.0.1 → 3.0.3
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/types.d.ts +31 -8
- package/components/AccountPopover/{index-BJWLsxYq.js → index-C1SHV3XZ.js} +3 -3
- package/components/AppBar/{index-BdA-qQyV.js → index-CpiDi7W9.js} +4 -4
- package/components/BaseModule/{index-Bl0GPyrz.js → index-C3PN52OU.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index-BlaMdPmp.js → index-GS4HJIdE.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-C5ZI4ZPP.js → index-CX2I9LHt.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index-BbVMcr05.js → index-w0_c4nBH.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index-DGooFqVu.js → index-iGNIvcsn.js} +2 -2
- package/components/CommonActions/components/Actions/{index-B_vOmNZT.js → index-BKkqUxgb.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-0wqcK8ML.js → index-C5oGRz2u.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-Ozdfjlt2.js → index-D3U8qNWy.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-D-98uXfl.js → index-BiSoxUSc.js} +1 -1
- package/components/DataGrid/formatters/{index-B5SJg0Qq.js → index-CBg-w3uZ.js} +2 -2
- package/components/DataGrid/{index-7vJWvQtu.js → index-BagYcO5M.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index-C-p5O-cU.js → index-D3XaKBc9.js} +11 -11
- package/components/DynamicFilter/{dictionary-DbRGLe8j.js → dictionary-CZftQwMz.js} +2 -2
- package/components/DynamicFilter/{index-D2CmPq_i.js → index-ZWC-ymw6.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots-BSCWv_Rw.js → dynamicFilterSlots-BJg8NW69.js} +5 -5
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
- package/components/DynamicFilter/store/{index-BcaPHLdk.js → index-B8EJidMA.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-BZAxYAp1.js → index-BxXqpZ2r.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index-DIFUGgys.js → index-BsusIn_U.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-D5BGKd5r.js → index-BDQlXUiN.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-DFHDm1e4.js → index-JLN5ZRhw.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-Hn2Rzovd.js → index-BYqh8Qr6.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-B5F1Ji7m.js → index-CjcL1o1V.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-BQlxIk_N.js → index-tYDNVMc6.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-DF7EGeSx.js → index-BFUVXE4A.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index-B6WQUIl7.js → index-BNi-tpG7.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index-D5edNMdo.js → index-BATOWnYB.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index-bbdBrHj0.js → index-yfPsp685.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index-CD3aGB5S.js → index-C7ntxhq7.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-MiYNpAu0.js → index-DrgdahUr.js} +2 -2
- package/components/FieldLabel/{index-BpW2AGJx.js → index-uRWxFkWU.js} +3 -3
- package/components/GridLayout/{index-HK_hTGnZ.js → index-CRsM-v5t.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index-izY8S7ns.js → index-D7RPlp1E.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index-bpKDnaCd.js → index-uchivok8.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index-OWN-RzRq.js → index-HZgs6M75.js} +1 -1
- package/components/HelperText/{index-COWCXeJp.js → index-D2yPRkGD.js} +2 -2
- package/components/Icon/{index-CedboS6y.js → index-94Yiv115.js} +3 -3
- package/components/Image/{index-B7FhR9uF.js → index-D0wxe0iA.js} +2 -2
- package/components/LanguagePopover/{index-4kPWKmxk.js → index-BvbgbVe2.js} +4 -4
- package/components/LinearProgressIndeterminate/{index-Do7CKcow.js → index-DOKrJpZ4.js} +1 -1
- package/components/LoadingError/{index-CNh7b1ew.js → index-DbVvt8Og.js} +5 -5
- package/components/MFIsolationApp/{index-DJ-MUHoQ.js → index-CzX8pqYQ.js} +3 -3
- package/components/MFLoader/{index-Bcg9TXnJ.js → index-B4k4mKvG.js} +2 -2
- package/components/ModalDialog/{index-BuGRs967.js → index-D8uF8eMi.js} +3 -3
- package/components/NavLink/{index-B6Gmzyl0.js → index-mHY1nBUC.js} +2 -2
- package/components/NoItemSelected/{index-CMet73v_.js → index-B1BsnTIa.js} +1 -1
- package/components/ObjectLogs/{index-_8l1PbEQ.js → index-CNAZX4Ww.js} +9 -9
- package/components/PDFViewer/{index-CV9x1XKR.js → index-D_ICdj18.js} +2 -2
- package/components/Page/{index-DKQLs5le.js → index-BjeY10EA.js} +1 -1
- package/components/PaperForm/{index-DciWfnML.js → index-B1W7MP_K.js} +2 -2
- package/components/Period/{index-DxijnNw6.js → index-Dvul8haj.js} +4 -4
- package/components/PrintingSystem/{index-sSZkZbrr.js → index-B56vJjAF.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index-CxYjxWxL.js → index-D5KO0QfW.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index-D85qi4Qz.js → index-Ba_7C2wF.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index-BA-IYLWh.js → index-BNNGCXzD.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index-Bn9eNtAi.js → index-DJkRhg7I.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index-gNEGVptD.js → index-BheH6Pxb.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index-CiVr-jBF.js → index-D10NbTfK.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index-BGbvh0Xk.js → index-eDLVQIAt.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-DvhbyOo3.js → index-G_ggggdA.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index-Cw8ZUwsm.js → index-Ct4ZH9_9.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index-l9SFQ11V.js → index-CC3kIul5.js} +1 -1
- package/components/PropertyValue/{index-hcXIE6qk.js → index-C8XbXuPK.js} +3 -3
- package/components/Resizeable/{index-ObbOlXFx.js → index-enxKr_xx.js} +1 -1
- package/components/ScrollBar/{index-BpTjE7o3.js → index-CHwim4Ga.js} +1 -1
- package/components/SideBar/{index-Cg1bZn8y.js → index-Bi1cZIrX.js} +5 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/SplitLayout/{index-CYnKlhi5.js → index-CKvln8Em.js} +1 -1
- package/components/ToastContainer/{index-B5VGIn45.js → index-CcDbkO5x.js} +2 -2
- package/components/animate/LoadingScreen/{index-CzDq3A0i.js → index-CxwaarhX.js} +1 -1
- package/components/animate/{index-mH4o-crX.js → index-C2MciKBn.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-qqSduaty.js → index-w4ZiYbUn.js} +14 -14
- package/components/areas/components/AreasViewer/{index-D5If8gFK.js → index-C_Doyhlf.js} +52 -60
- package/components/areas/contexts/AreasContext/{index-Dyj8tCdG.js → index-BhgVSihv.js} +10 -5
- package/components/areas/contexts/AreasContext/types.d.ts +1 -0
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +5 -0
- package/components/areas/hooks/index.d.ts +1 -0
- package/components/areas/hooks/useAreas/{index-o0DvT3xZ.js → index-D9svmsAV.js} +1 -1
- package/components/areas/hooks/useSetWindowsTitle/index.d.ts +1 -0
- package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js +31 -0
- package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle.d.ts +3 -0
- package/components/commercial/AppBarCommercial/{index-DvigwCQP.js → index-C2XuD_Di.js} +1 -1
- package/components/commercial/SectionCommercial/{index-CLHGooDg.js → index-CQ909EmI.js} +1 -1
- package/components/commercial/TopBar/{index-DJNYXgHq.js → index-C3oRupMz.js} +5 -5
- package/components/commercial/{index-BLUHQfcA.js → index-D8V8uETc.js} +3 -3
- package/components/formatters/BooleanFormatter/{index-DpF0x_xp.js → index-Cgmuw-1G.js} +2 -2
- package/components/formatters/{index-CDt8LzvL.js → index-D52mbpAz.js} +2 -2
- package/components/hook-form/HelperError/{index-D-_czK9n.js → index-B6yzmaGZ.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index-BhbgwNUz.js → index-BAUo34ue.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index-BnUgdSnR.js → index-C7qy6PHH.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index-ubHFuH1F.js → index-Dmsakuyn.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index-DBpi0Zhe.js → index-DCTeXEXx.js} +6 -6
- package/components/hook-form/RHFDateTime/{index-BtfOlX4T.js → index-Cn5PXhkh.js} +4 -4
- package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +1 -0
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnnerEnum.d.ts +9 -0
- package/components/hook-form/RHFInputNumberSpinner/types.d.ts +21 -0
- package/components/hook-form/RHFPeriod/{index-BicAIry0.js → index-BeUY33Fb.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index-Di37rp0B.js → index-DCq9ErFn.js} +1 -1
- package/components/hook-form/RHFTextField/{index-Cz7BMTLe.js → index-BcOjGk_X.js} +4 -4
- package/components/hook-form/RHFUpload/{index-D52JNxDh.js → index-B9Yv-1cI.js} +5 -5
- package/components/maps/components/GpsTools/{index-BP1dIwh6.js → index-CPthTXb6.js} +22 -22
- package/components/maps/components/Map/{index-CS6xr1Fl.js → index-h_YuCA40.js} +12 -12
- package/components/modal/{WindowBase-CLBER1xc.js → WindowBase-CbvNt18-.js} +3 -3
- package/components/modal/{WindowConfirm-DraflAKP.js → WindowConfirm-BcBjlBYB.js} +6 -6
- package/components/mui_extended/Accordion/{index-ZFpEUCnw.js → index-CImLE2c2.js} +4 -4
- package/components/mui_extended/Avatar/{index-Bk4Hq2nk.js → index-QcHxAObO.js} +1 -1
- package/components/mui_extended/Badge/{index-D6F1o3k2.js → index-CkxVcDch.js} +1 -1
- package/components/mui_extended/Button/{index-DlzpoczE.js → index-CeKWngaw.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox-ByxYagHV.js → CheckBox-D4lOF2ZN.js} +2 -2
- package/components/mui_extended/IconButton/{index-BfDbi0cC.js → index-8KJAFQdk.js} +2 -2
- package/components/mui_extended/IconButton/types.d.ts +18 -0
- package/components/mui_extended/MenuActions/MenuActions.d.ts +5 -0
- package/components/mui_extended/MenuActions/constant.d.ts +5 -0
- package/components/mui_extended/MenuActions/dictionary.d.ts +7 -0
- package/components/mui_extended/MenuActions/index-DUH9jcY3.js +202 -0
- package/components/mui_extended/MenuActions/index.d.ts +2 -5
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +9 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +24 -0
- package/components/mui_extended/MenuActions/slots/index.d.ts +2 -0
- package/components/mui_extended/MenuActions/types.d.ts +11 -2
- package/components/mui_extended/Pager/{index-CRgYDkV8.js → index-CPojTM6X.js} +4 -4
- package/components/mui_extended/Popover/{index-C6_2t4L1.js → index-ADNJKYaU.js} +1 -1
- package/components/mui_extended/Stack/{index-CV2W-_eL.js → index-COSPZIcB.js} +1 -1
- package/components/mui_extended/Tab/{index-PyZxxeDt.js → index-DIBG_fln.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index-X6htsgfF.js → index-iPblHkXQ.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index-mT-xXWg9.js → index-C-84m9IF.js} +1 -1
- package/components/mui_extended/Typography/{index-DKPqV11f.js → index-DdbNIn5v.js} +1 -1
- package/components/popups/PopupsViewer/{index-D8iTb2JJ.js → index-CZGtpMc5.js} +3 -3
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots-DEQAZ8fq.js → popupsViewerSlots-a4Hanx4W.js} +1 -1
- package/contexts/ModalContext/{index-CMPcjPCy.js → index-5DJdcEm0.js} +1 -1
- package/contexts/RHFormContext/{index-B4a0h0fX.js → index-D-Aek3pv.js} +1 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/{index-DvRNtaub.js → index-DfH0uOq9.js} +2 -2
- package/hooks/useInterval/index.d.ts +7 -0
- package/hooks/useModal/{index-C9r1LQIz.js → index-CHufWxiG.js} +1 -1
- package/hooks/useTab/{index-DTbLh_DH.js → index-B9UPdit5.js} +1 -1
- package/index.js +114 -93
- package/package.json +1 -1
- package/style.css +65 -1
- package/styles/MenuActions.styles.d.ts +2 -0
- package/styles/{index-Cc9p_h7i.js → index-DITv2ClE.js} +49 -19
- package/components/mui_extended/MenuActions/classes/constants.d.ts +0 -1
- package/components/mui_extended/MenuActions/classes/index.d.ts +0 -7
- package/components/mui_extended/MenuActions/classes/types.d.ts +0 -7
- package/components/mui_extended/MenuActions/icons.d.ts +0 -3
- package/components/mui_extended/MenuActions/index-CUz70BPj.js +0 -171
- package/components/mui_extended/MenuActions/styles.d.ts +0 -5
package/@types/types.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { ComponentsOverrides, ComponentsVariants, Theme as MuiTheme } from '@mui/material/styles';
|
|
2
2
|
|
|
3
3
|
import { DynamicFilterSlotsType, DynamicFilterOwnerState } from '../components/DynamicFilter/types';
|
|
4
|
+
import {
|
|
5
|
+
MenuActionsOwnerState,
|
|
6
|
+
MenuActionsSlotsType,
|
|
7
|
+
} from '../components/mui_extended/MenuActions/types';
|
|
8
|
+
import {
|
|
9
|
+
RHFInputNumberSpinnerOwnerState,
|
|
10
|
+
RHFInputNumberSpinnerSlotsType,
|
|
11
|
+
} from '../components/hook-form/RHFInputNumberSpinner/types';
|
|
12
|
+
|
|
4
13
|
import {
|
|
5
14
|
PopupViewerSlotsType,
|
|
6
15
|
PopupsViewerOwnerState,
|
|
@@ -16,6 +25,8 @@ declare module '@mui/material/styles' {
|
|
|
16
25
|
// Define the slots in the theme
|
|
17
26
|
interface ComponentNameToClassKey {
|
|
18
27
|
M4LDynamicFilter: DynamicFilterSlotsType;
|
|
28
|
+
M4LMenuActions: MenuActionsSlotsType;
|
|
29
|
+
M4LRHFInputNumberSpinner: RHFInputNumberSpinnerSlotsType;
|
|
19
30
|
M4LPopupsViewer: PopupViewerSlotsType;
|
|
20
31
|
M4LToastContainer: ToastContainerSlotsType;
|
|
21
32
|
}
|
|
@@ -23,6 +34,8 @@ declare module '@mui/material/styles' {
|
|
|
23
34
|
interface ComponentsPropsList {
|
|
24
35
|
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
25
36
|
M4LDynamicFilter: Partial<DynamicFilterOwnerState>;
|
|
37
|
+
M4LMenuActions: Partial<MenuActionsOwnerState>;
|
|
38
|
+
M4LRHFInputNumberSpinner: Partial<RHFInputNumberSpinnerOwnerState>;
|
|
26
39
|
M4LPopupsViewer: Partial<PopupsViewerOwnerState>;
|
|
27
40
|
M4LToastContainer: Partial<ToastContainerOwnerState>;
|
|
28
41
|
}
|
|
@@ -33,15 +46,25 @@ declare module '@mui/material/styles' {
|
|
|
33
46
|
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilter'];
|
|
34
47
|
variants?: ComponentsVariants['M4LDynamicFilter'];
|
|
35
48
|
};
|
|
36
|
-
|
|
37
|
-
defaultProps?: ComponentsPropsList['
|
|
38
|
-
styleOverrides?: ComponentsOverrides<Theme>['
|
|
39
|
-
variants?: ComponentsVariants['
|
|
49
|
+
M4LMenuActions?: {
|
|
50
|
+
defaultProps?: ComponentsPropsList['M4LMenuActions'];
|
|
51
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LMenuActions'];
|
|
52
|
+
variants?: ComponentsVariants['M4LMenuActions'];
|
|
40
53
|
};
|
|
41
|
-
|
|
42
|
-
defaultProps?: ComponentsPropsList['
|
|
43
|
-
styleOverrides?: ComponentsOverrides<Theme>['
|
|
44
|
-
variants?: ComponentsVariants['
|
|
54
|
+
M4LRHFInputNumberSpinner?: {
|
|
55
|
+
defaultProps?: ComponentsPropsList['M4LRHFInputNumberSpinner'];
|
|
56
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFInputNumberSpinner'];
|
|
57
|
+
variants?: ComponentsVariants['M4LRHFInputNumberSpinner'];
|
|
58
|
+
M4LPopupsViewer?: {
|
|
59
|
+
defaultProps?: ComponentsPropsList['M4LPopupsViewer'];
|
|
60
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LPopupsViewer'];
|
|
61
|
+
variants?: ComponentsVariants['M4LPopupsViewer'];
|
|
62
|
+
};
|
|
63
|
+
M4LToastContainer?: {
|
|
64
|
+
defaultProps?: ComponentsPropsList['M4LToastContainer'];
|
|
65
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LToastContainer'];
|
|
66
|
+
variants?: ComponentsVariants['M4LToastContainer'];
|
|
67
|
+
};
|
|
45
68
|
};
|
|
46
69
|
}
|
|
47
70
|
}
|
|
@@ -4,10 +4,10 @@ import { useState, useEffect } from "react";
|
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, styled, useTheme, ButtonBase } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
7
|
-
import { A as Avatar } from "../mui_extended/Avatar/index-
|
|
7
|
+
import { A as Avatar } from "../mui_extended/Avatar/index-QcHxAObO.js";
|
|
8
8
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index-Bnnti_G6.js";
|
|
9
|
-
import { P as Popover } from "../mui_extended/Popover/index-
|
|
10
|
-
import { I as Icon } from "../Icon/index-
|
|
9
|
+
import { P as Popover } from "../mui_extended/Popover/index-ADNJKYaU.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index-94Yiv115.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
const componentName = "M4LAccountPopover";
|
|
13
13
|
generateUtilityClasses(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { A as AppBarRoot } from "../../styles/index-
|
|
2
|
+
import { A as AppBarRoot } from "../../styles/index-DITv2ClE.js";
|
|
3
3
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
4
4
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
6
6
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { I as Image } from "../Image/index-
|
|
9
|
-
import { T as Typography } from "../mui_extended/Typography/index-
|
|
10
|
-
import { I as IconButton } from "../mui_extended/IconButton/index-
|
|
8
|
+
import { I as Image } from "../Image/index-D0wxe0iA.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index-DdbNIn5v.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-8KJAFQdk.js";
|
|
11
11
|
const APPBAR_PREFIX = "M4LAppBar";
|
|
12
12
|
const getNameDataTestId = (KEY) => {
|
|
13
13
|
return `${APPBAR_PREFIX}-${KEY}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider, ModulePrivilegesProvider } from "@m4l/core";
|
|
3
3
|
import { useLocales } from "@m4l/graphics";
|
|
4
|
-
import { M as ModalProvider } from "../../contexts/ModalContext/index-
|
|
4
|
+
import { M as ModalProvider } from "../../contexts/ModalContext/index-5DJdcEm0.js";
|
|
5
5
|
function BaseModule(props) {
|
|
6
6
|
const {
|
|
7
7
|
children,
|
package/components/CommonActions/components/ActionCancel/{index-BlaMdPmp.js → index-GS4HJIdE.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { B as Button } from "../../../mui_extended/Button/index-
|
|
4
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index-
|
|
3
|
+
import { B as Button } from "../../../mui_extended/Button/index-CeKWngaw.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-BKkqUxgb.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index-C5ZI4ZPP.js → index-CX2I9LHt.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { B as Button } from "../../../mui_extended/Button/index-
|
|
4
|
+
import { B as Button } from "../../../mui_extended/Button/index-CeKWngaw.js";
|
|
5
5
|
import { useCallback, useEffect } from "react";
|
|
6
|
-
import { u as useModal } from "../../../../hooks/useModal/index-
|
|
7
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index-
|
|
6
|
+
import { u as useModal } from "../../../../hooks/useModal/index-CHufWxiG.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-BKkqUxgb.js";
|
|
8
8
|
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index-BECQfhbC.js";
|
|
9
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm-
|
|
9
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm-BcBjlBYB.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index-BbVMcr05.js → index-w0_c4nBH.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
3
3
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton } from "@mui/material";
|
|
5
|
-
import { L as LoadingButton } from "../../../mui_extended/Button/index-
|
|
6
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index-
|
|
5
|
+
import { L as LoadingButton } from "../../../mui_extended/Button/index-CeKWngaw.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-BKkqUxgb.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index-DGooFqVu.js → index-iGNIvcsn.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { B as Button } from "../../../mui_extended/Button/index-
|
|
3
|
+
import { B as Button } from "../../../mui_extended/Button/index-CeKWngaw.js";
|
|
4
4
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock-CF-669v-.js";
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index-
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-BKkqUxgb.js";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
@@ -5,7 +5,7 @@ import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock-CF-669v-.j
|
|
|
5
5
|
import { generateUtilityClasses } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { g as getComponentUtilityClass } from "../../../../utils/index-DiMrtgIu.js";
|
|
8
|
-
import { W as WrapperStandarActions } from "../../../../styles/index-
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index-DITv2ClE.js";
|
|
9
9
|
function getCommonActionsDictionary() {
|
|
10
10
|
return ["common_actions"];
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index-
|
|
3
|
+
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index-Cgmuw-1G.js";
|
|
4
4
|
function ColumnBooleanFormatter(props) {
|
|
5
5
|
const { fieldValue, presentationType, Component } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { C as ConcatenatedFormatter } from "../../../formatters/index-
|
|
3
|
+
import { C as ConcatenatedFormatter } from "../../../formatters/index-D52mbpAz.js";
|
|
4
4
|
function ColumnConcatenatedValueFormatter(props) {
|
|
5
5
|
const { fieldValue, fieldSeparator, Component } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Checkbox } from "@mui/material";
|
|
3
|
-
import { d as dataGridClasses } from "../../index-
|
|
3
|
+
import { d as dataGridClasses } from "../../index-BagYcO5M.js";
|
|
4
4
|
function ColumnInteractiveCheckFormatter(props) {
|
|
5
5
|
const { row, onRowChange, column } = props;
|
|
6
6
|
const handleChange = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { d as dataGridClasses } from "../index-
|
|
3
|
-
import { I as Icon } from "../../Icon/index-
|
|
2
|
+
import { d as dataGridClasses } from "../index-BagYcO5M.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index-94Yiv115.js";
|
|
4
4
|
function ColumnIconFormatter(props) {
|
|
5
5
|
const { getIconUrl } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-D8uF8eMi.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index-CPojTM6X.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { a as WrapperSkeleton, D as DataGridRoot } from "../../styles/index-
|
|
4
|
+
import { a as WrapperSkeleton, D as DataGridRoot } from "../../styles/index-DITv2ClE.js";
|
|
5
5
|
import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
|
|
6
6
|
import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid-BfYuZ6AK.js";
|
|
7
7
|
import { useDrag, useDrop, DndProvider } from "react-dnd";
|
|
@@ -9,7 +9,7 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
9
9
|
import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
10
10
|
import { D as DATAGRID_SELECT_COLUMN_KEY, c as componentName, a as DATAGRID_PREFIX_NAME } from "./constants-8L7QgBKi.js";
|
|
11
11
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
12
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index-
|
|
12
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index-D3XaKBc9.js";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
14
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
15
15
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId-BaBTWhBr.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index-7vJWvQtu.js";
|
|
2
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index-BagYcO5M.js";
|
|
4
3
|
import { useTheme, Skeleton } from "@mui/material";
|
|
5
4
|
import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants-8L7QgBKi.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index-DUH9jcY3.js";
|
|
6
|
+
import { P as Pager } from "../../../mui_extended/Pager/index-CPojTM6X.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index-8KJAFQdk.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { useIsMobile, useResponsiveContainerStore } from "@m4l/graphics";
|
|
10
10
|
import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
|
|
11
|
-
import { b as WrapperColumnsConfig, c as DivSelColumns, d as WrapperDataGrid, C as ColumnActions, D as DataGridRoot } from "../../../../styles/index-
|
|
11
|
+
import { b as WrapperColumnsConfig, c as DivSelColumns, d as WrapperDataGrid, C as ColumnActions, D as DataGridRoot } from "../../../../styles/index-DITv2ClE.js";
|
|
12
12
|
import { D as DataGrid$1 } from "../../../../react-data-grid-BfYuZ6AK.js";
|
|
13
|
-
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index-
|
|
14
|
-
import { u as useModal } from "../../../../hooks/useModal/index-
|
|
15
|
-
import { W as WindowBase } from "../../../modal/WindowBase-
|
|
16
|
-
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index-
|
|
17
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-
|
|
18
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-
|
|
13
|
+
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index-BiSoxUSc.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index-CHufWxiG.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase-CbvNt18-.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index-BKkqUxgb.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-GS4HJIdE.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-iGNIvcsn.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index-
|
|
2
|
-
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index-
|
|
1
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index-BKkqUxgb.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index-BAUo34ue.js";
|
|
3
3
|
const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
|
|
4
4
|
function getDynamicFilterComponentsDictionary() {
|
|
5
5
|
return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as fieldFactory } from "./subcomponents/FieldTypes/index-
|
|
2
|
-
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index-
|
|
1
|
+
import { f as fieldFactory } from "./subcomponents/FieldTypes/index-BNi-tpG7.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index-tYDNVMc6.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
5
|
-
import { D as DynamicFilterProvider } from "./store/index-
|
|
6
|
-
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index-
|
|
5
|
+
import { D as DynamicFilterProvider } from "./store/index-B8EJidMA.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index-BDQlXUiN.js";
|
|
7
7
|
function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName) {
|
|
8
8
|
const newFilters = [];
|
|
9
9
|
const fixedFields = [];
|
|
@@ -3,11 +3,11 @@ import { D as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants-ByqmFATV.js";
|
|
|
3
3
|
import { D as DynamicFilterSlots } from "./SlotsEnum-cawFeNzx.js";
|
|
4
4
|
import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter-CJFsIegc.js";
|
|
5
5
|
import { MenuItem } from "@mui/material";
|
|
6
|
-
import { A as Actions } from "../../CommonActions/components/Actions/index-
|
|
7
|
-
import { I as Icon } from "../../Icon/index-
|
|
8
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index-
|
|
9
|
-
import { P as Popover } from "../../mui_extended/Popover/index-
|
|
10
|
-
import { T as Typography } from "../../mui_extended/Typography/index-
|
|
6
|
+
import { A as Actions } from "../../CommonActions/components/Actions/index-BKkqUxgb.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index-94Yiv115.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-8KJAFQdk.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index-ADNJKYaU.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index-DdbNIn5v.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
13
13
|
);
|
|
@@ -58,7 +58,7 @@ export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponen
|
|
|
58
58
|
}, {}, {}>;
|
|
59
59
|
export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
60
60
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
61
|
-
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
61
|
+
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "autoFocus" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
62
62
|
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
63
63
|
}, {}, {}>;
|
|
64
64
|
export declare const PopoverMenuItemIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
7
7
|
import { A as ALL_FIELD } from "../constants-ByqmFATV.js";
|
|
8
|
-
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index-
|
|
8
|
+
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index-ZWC-ymw6.js";
|
|
9
9
|
import { devtools } from "zustand/middleware";
|
|
10
10
|
import { immer } from "zustand/middleware/immer";
|
|
11
11
|
function useDynamicFilterStore(selector, equalityFn) {
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useFormatter } from "@m4l/graphics";
|
|
5
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
6
|
-
import { f as fieldFactory } from "../FieldTypes/index-
|
|
7
|
-
import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/dynamicFilterSlots-
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index-BNi-tpG7.js";
|
|
7
|
+
import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
8
8
|
function useAppliedFilterChip(filter) {
|
|
9
9
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { S as ScrollBar } from "../../../ScrollBar/index-
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
4
|
-
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots-
|
|
5
|
-
import { A as AppliedFilterChip } from "../AppliedFilterChip/index-
|
|
2
|
+
import { S as ScrollBar } from "../../../ScrollBar/index-CHwim4Ga.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index-BxXqpZ2r.js";
|
|
6
6
|
function useAppliedFilters() {
|
|
7
7
|
const appliedFilter = useDynamicFilterStore((state) => state.appliedFilters);
|
|
8
8
|
const isSkeleton = useDynamicFilterStore((state) => state.ownerState.isSkeleton);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
2
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
3
3
|
import { a as getPropDataTestId } from "../../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
4
|
-
import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots-
|
|
4
|
+
import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
5
5
|
import { D as DynamicFilterSlots } from "../../slots/SlotsEnum-cawFeNzx.js";
|
|
6
|
-
import { I as InputFilter } from "../InputFilter/index-
|
|
7
|
-
import { A as AppliedFilters } from "../AppliedFilters/index-
|
|
8
|
-
import { F as FilterActions } from "../FilterActions/index-
|
|
9
|
-
import { P as PopoverFilter } from "../PopoverFilter/index-
|
|
6
|
+
import { I as InputFilter } from "../InputFilter/index-yfPsp685.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index-BsusIn_U.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index-BATOWnYB.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index-C7ntxhq7.js";
|
|
10
10
|
function useDynamicFilterBase() {
|
|
11
11
|
const ownerState = useDynamicFilterStore((state) => state.ownerState);
|
|
12
12
|
const dataTestId = useDynamicFilterStore((state) => state.dataTestId);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-CZftQwMz.js";
|
|
3
3
|
import { B as BOOLEAN_OPERATORS } from "../../../constants-ByqmFATV.js";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-
|
|
7
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BAUo34ue.js";
|
|
8
8
|
function BooleanFilter() {
|
|
9
9
|
const { getLabel } = useModuleDictionary();
|
|
10
10
|
const operators = useMemo(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-CZftQwMz.js";
|
|
3
3
|
import { a as DATE_TIME_OPERATORS } from "../../../constants-ByqmFATV.js";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
7
7
|
import { useModuleDictionary } from "@m4l/core";
|
|
8
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-
|
|
9
|
-
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index-
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BAUo34ue.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index-Cn5PXhkh.js";
|
|
10
10
|
import { i as isValidDate } from "../../../../../utils/index-DiMrtgIu.js";
|
|
11
11
|
function DateTimeFilter() {
|
|
12
12
|
const { getLabel } = useModuleDictionary();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-CZftQwMz.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
7
|
import { N as NUMBER_OPERATORS } from "../../../constants-ByqmFATV.js";
|
|
8
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-
|
|
9
|
-
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BAUo34ue.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-BcOjGk_X.js";
|
|
10
10
|
function NumberFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { control } = useFormContext();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-CZftQwMz.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { useModuleDictionary } from "@m4l/core";
|
|
6
6
|
import { S as SELECT_OPERATORS } from "../../../constants-ByqmFATV.js";
|
|
7
|
-
import { u as useDynamicFilterStore } from "../../../store/index-
|
|
8
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-
|
|
9
|
-
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index-
|
|
7
|
+
import { u as useDynamicFilterStore } from "../../../store/index-B8EJidMA.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BAUo34ue.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index-C7qy6PHH.js";
|
|
10
10
|
function SelectFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const field = useDynamicFilterStore((state) => state.popoverFilterData?.field);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary-CZftQwMz.js";
|
|
3
3
|
import { b as STRING_OPERATORS } from "../../../constants-ByqmFATV.js";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-
|
|
8
|
-
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-
|
|
7
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-BAUo34ue.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-BcOjGk_X.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index-B6WQUIl7.js → index-BNi-tpG7.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
|
-
import { B as BooleanFilterHelpers } from "./BooleanFilter/index-
|
|
5
|
-
import { S as StringFilterHelpers } from "./StringFilter/index-
|
|
6
|
-
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index-
|
|
7
|
-
import { N as NumberFilterHelpers } from "./NumberFilter/index-
|
|
8
|
-
import { S as SelectFilterHelpers } from "./SelectFilter/index-
|
|
4
|
+
import { B as BooleanFilterHelpers } from "./BooleanFilter/index-JLN5ZRhw.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index-BFUVXE4A.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index-BYqh8Qr6.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index-CjcL1o1V.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index-tYDNVMc6.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index-D5edNMdo.js → index-BATOWnYB.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment } from "@m4l/core";
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
4
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-CZftQwMz.js";
|
|
5
5
|
import { Skeleton } from "@mui/material";
|
|
6
|
-
import { i as ActionsSkeletonButtonStyled, j as ActionsStyled, k as ActionsClearButtonStyled, l as ActionsSubmitButtonStyled } from "../../slots/dynamicFilterSlots-
|
|
6
|
+
import { i as ActionsSkeletonButtonStyled, j as ActionsStyled, k as ActionsClearButtonStyled, l as ActionsSubmitButtonStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
7
7
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
8
8
|
const ASSETS = {
|
|
9
9
|
refresh: "restart.svg",
|
package/components/DynamicFilter/subcomponents/InputFilter/{index-bbdBrHj0.js → index-yfPsp685.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-
|
|
5
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-CZftQwMz.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
6
6
|
import { A as ALL_FIELD } from "../../constants-ByqmFATV.js";
|
|
7
7
|
import { Skeleton } from "@mui/material";
|
|
8
|
-
import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots-
|
|
9
|
-
import { P as PopoverMenuFields } from "../PopoverMenuFields/index-
|
|
8
|
+
import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index-DrgdahUr.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index-CD3aGB5S.js → index-C7ntxhq7.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useMemo, useCallback } from "react";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
5
|
-
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index-
|
|
6
|
-
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots-
|
|
7
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index-
|
|
8
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-
|
|
9
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-
|
|
4
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index-BNi-tpG7.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index-D-Aek3pv.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-GS4HJIdE.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-iGNIvcsn.js";
|
|
10
10
|
function usePopoverFilter() {
|
|
11
11
|
let anchorEl;
|
|
12
12
|
let field;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index-
|
|
4
|
-
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots-
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index-B8EJidMA.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots-BJg8NW69.js";
|
|
5
5
|
function usePopoverMenuFields() {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
|