@m4l/components 3.0.3 → 3.1.0
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 +266 -266
- package/@types/types.d.ts +70 -70
- package/components/AccountPopover/{index-C1SHV3XZ.js → index-vXlaw69C.js} +3 -3
- package/components/AppBar/{index-CpiDi7W9.js → index-3gXtikUI.js} +4 -4
- package/components/BaseModule/{index-C3PN52OU.js → index-CtN6b__U.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index-GS4HJIdE.js → index-D_42VfUR.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-CX2I9LHt.js → index-DL7fDBi6.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index-w0_c4nBH.js → index-i3HmOpoU.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index-iGNIvcsn.js → index-i5875EXe.js} +2 -2
- package/components/CommonActions/components/Actions/{index-BKkqUxgb.js → index-ChW1FuFf.js} +1 -1
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-C5oGRz2u.js → index-BjkuIa7y.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-D3U8qNWy.js → index-CWQp1KWU.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-BiSoxUSc.js → index-DggW8-4n.js} +1 -1
- package/components/DataGrid/formatters/{index-CBg-w3uZ.js → index-B3AsHKeD.js} +2 -2
- package/components/DataGrid/{index-BagYcO5M.js → index-EgaRUtbL.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index-D3XaKBc9.js → index-BF4pV_-K.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DynamicFilter/{dictionary-CZftQwMz.js → dictionary-B2qYGLOx.js} +2 -2
- package/components/DynamicFilter/{index-ZWC-ymw6.js → index-BLjn97jC.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots-BJg8NW69.js → dynamicFilterSlots-CaFVu7xW.js} +5 -5
- package/components/DynamicFilter/store/{index-B8EJidMA.js → index-EW1sL9gf.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-BxXqpZ2r.js → index-DjgwIwH9.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index-BsusIn_U.js → index-Cfcgzcw7.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-BDQlXUiN.js → index-BFcVswNb.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-JLN5ZRhw.js → index-B4mhUk9e.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-BYqh8Qr6.js → index-CA3JDlD0.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-CjcL1o1V.js → index-B4R83Pyi.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-tYDNVMc6.js → index-1XC3u2dm.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-BFUVXE4A.js → index-BEMRO3Ng.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index-BNi-tpG7.js → index-Cfs28hud.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index-BATOWnYB.js → index-CYY3cjbX.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index-yfPsp685.js → index-CAdtxARw.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index-C7ntxhq7.js → index-COoNIh4L.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-DrgdahUr.js → index-Kz-jfM3o.js} +2 -2
- package/components/FieldLabel/{index-uRWxFkWU.js → index-DCAMDJoJ.js} +3 -3
- package/components/GridLayout/{index-CRsM-v5t.js → index-DUfp2sP_.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index-D7RPlp1E.js → index-DEi0Ai1D.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index-uchivok8.js → index-B7v5X9un.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index-HZgs6M75.js → index-BsKaLKRl.js} +1 -1
- package/components/HelperText/{index-D2yPRkGD.js → index-DVV5Jfc8.js} +2 -2
- package/components/Icon/{index-94Yiv115.js → index-CueLDD9j.js} +3 -3
- package/components/Image/{index-D0wxe0iA.js → index-By5vsRzf.js} +2 -2
- package/components/LanguagePopover/{index-BvbgbVe2.js → index-Dn2JPzf1.js} +4 -4
- package/components/LinearProgressIndeterminate/{index-DOKrJpZ4.js → index-CTlvokQp.js} +1 -1
- package/components/LoadingError/{index-DbVvt8Og.js → index-CXVOiscg.js} +5 -5
- package/components/MFIsolationApp/{index-CzX8pqYQ.js → index-BfFMo2Q2.js} +3 -3
- package/components/MFLoader/{index-B4k4mKvG.js → index-CCtU6zwR.js} +2 -2
- package/components/ModalDialog/{index-D8uF8eMi.js → index-KryIxH_j.js} +3 -3
- package/components/NavLink/{index-mHY1nBUC.js → index-D6eiKlc0.js} +2 -2
- package/components/NoItemSelected/{index-B1BsnTIa.js → index-DKhhgTAH.js} +1 -1
- package/components/ObjectLogs/{index-CNAZX4Ww.js → index-CpBmanv0.js} +9 -9
- package/components/PDFViewer/{index-D_ICdj18.js → index-3PBUibum.js} +2 -2
- package/components/Page/{index-BjeY10EA.js → index-PXQkJn7v.js} +1 -1
- package/components/PaperForm/{index-B1W7MP_K.js → index-B6a3-CZt.js} +2 -2
- package/components/Period/{index-Dvul8haj.js → index-DtFWU3y5.js} +4 -4
- package/components/PrintingSystem/{index-B56vJjAF.js → index-DJmGF2SQ.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index-D5KO0QfW.js → index-DorXm6AO.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index-Ba_7C2wF.js → index-Cd9H-_3i.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index-BNNGCXzD.js → index-Dm-RAH_l.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index-DJkRhg7I.js → index-BPg-NpDf.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index-BheH6Pxb.js → index-u0ZSP6s4.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index-D10NbTfK.js → index-C7eFFsTN.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index-eDLVQIAt.js → index-D7M4YL4C.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-G_ggggdA.js → index-Drjfhq-n.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index-Ct4ZH9_9.js → index-Banh4UxX.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index-CC3kIul5.js → index-OBnZLPEc.js} +1 -1
- package/components/PropertyValue/{index-C8XbXuPK.js → index-Cc7y20oI.js} +3 -3
- package/components/Resizeable/{index-enxKr_xx.js → index-BwQ6EKCK.js} +1 -1
- package/components/ScrollBar/{index-CHwim4Ga.js → index-P3SkjYOy.js} +1 -1
- package/components/SideBar/{index-Bi1cZIrX.js → index-Ddxe1VvL.js} +5 -5
- package/components/SplitLayout/{index-CKvln8Em.js → index-CwmZT1x6.js} +1 -1
- package/components/ToastContainer/{index-CcDbkO5x.js → index-DN3ZHpBT.js} +2 -2
- package/components/animate/LoadingScreen/{index-CxwaarhX.js → index-CcjW-mkl.js} +1 -1
- package/components/animate/{index-C2MciKBn.js → index-DsolrzTC.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-w4ZiYbUn.js → index-Y6S0Q7TN.js} +14 -14
- package/components/areas/components/AreasViewer/{index-C_Doyhlf.js → index-DfcpQwSl.js} +14 -14
- package/components/areas/contexts/AreasContext/{index-BhgVSihv.js → index-spCQnOlk.js} +4 -4
- package/components/areas/hooks/useAreas/{index-D9svmsAV.js → index-D6DaWBIP.js} +1 -1
- package/components/commercial/AppBarCommercial/{index-C2XuD_Di.js → index-D1jIOw7M.js} +1 -1
- package/components/commercial/SectionCommercial/{index-CQ909EmI.js → index-C9THYik8.js} +1 -1
- package/components/commercial/TopBar/{index-C3oRupMz.js → index-DLn3yEcX.js} +5 -5
- package/components/commercial/{index-D8V8uETc.js → index-D1bCIF7p.js} +3 -3
- package/components/formatters/BooleanFormatter/{index-Cgmuw-1G.js → index-Bc2l6GTX.js} +2 -2
- package/components/formatters/{index-D52mbpAz.js → index-Botdzyt2.js} +2 -2
- package/components/hook-form/HelperError/{index-B6yzmaGZ.js → index-J-C5u9AH.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index-BAUo34ue.js → index-erpzYu8W.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index-C7qy6PHH.js → index-BV0f25eK.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index-Dmsakuyn.js → index-Duf51-pS.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index-DCTeXEXx.js → index-C-tITRAx.js} +6 -6
- package/components/hook-form/RHFDateTime/{index-Cn5PXhkh.js → index-OdXKdhJS.js} +4 -4
- package/components/hook-form/RHFPeriod/{index-BeUY33Fb.js → index-CjkIGYUY.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index-DCq9ErFn.js → index-Da_2zFu3.js} +1 -1
- package/components/hook-form/RHFTextField/{index-BcOjGk_X.js → index-BWZWPFn5.js} +4 -4
- package/components/hook-form/RHFUpload/{index-B9Yv-1cI.js → index-D4nrnFFT.js} +5 -5
- package/components/maps/components/GpsTools/{index-CPthTXb6.js → index-DPY-BjB8.js} +22 -22
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index-h_YuCA40.js → index-BRrVIyA-.js} +12 -12
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase-CbvNt18-.js → WindowBase-Ce6yRLcN.js} +3 -3
- package/components/modal/{WindowConfirm-BcBjlBYB.js → WindowConfirm-BaB3Ojgu.js} +6 -6
- package/components/mui_extended/Accordion/{index-CImLE2c2.js → index-D1775s1J.js} +4 -4
- package/components/mui_extended/Avatar/{index-QcHxAObO.js → index-n5hK7nJD.js} +1 -1
- package/components/mui_extended/Badge/{index-CkxVcDch.js → index-Dfdw5Iaq.js} +1 -1
- package/components/mui_extended/Button/{index-CeKWngaw.js → index-CksGG1B8.js} +3 -3
- package/components/mui_extended/{CheckBox-D4lOF2ZN.js → CheckBox-CjxjIrmN.js} +2 -2
- package/components/mui_extended/IconButton/{index-8KJAFQdk.js → index-OMq0pPK0.js} +2 -2
- package/components/mui_extended/MenuActions/{index-DUH9jcY3.js → index-De7dpdBH.js} +5 -5
- package/components/mui_extended/Pager/{index-CPojTM6X.js → index-k7SRq6Jo.js} +4 -4
- package/components/mui_extended/Popover/{index-ADNJKYaU.js → index-BnKsmvtw.js} +1 -1
- package/components/mui_extended/Stack/{index-COSPZIcB.js → index-C9YEChZB.js} +1 -1
- package/components/mui_extended/Tab/{index-DIBG_fln.js → index-CpdHav0V.js} +1 -1
- package/components/mui_extended/ToggleButton/{index-iPblHkXQ.js → index-CS1mz-lH.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index-C-84m9IF.js → index-BNQrQ6-b.js} +1 -1
- package/components/mui_extended/Typography/{index-DdbNIn5v.js → index-W88rbpsJ.js} +1 -1
- package/components/popups/PopupsViewer/{index-CZGtpMc5.js → index-Dn0XOI6q.js} +3 -3
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots-a4Hanx4W.js → popupsViewerSlots-Db8QAmEE.js} +1 -1
- package/contexts/ModalContext/{index-5DJdcEm0.js → index-DkUBXDpR.js} +1 -1
- package/contexts/RHFormContext/{index-D-Aek3pv.js → index-Ct48jRjb.js} +1 -1
- package/hooks/useFormAddEdit/{index-DfH0uOq9.js → index-BkBJNq8b.js} +2 -2
- package/hooks/useModal/{index-CHufWxiG.js → index-CTAwKk5D.js} +1 -1
- package/hooks/useTab/{index-B9UPdit5.js → index-PXnpiLMx.js} +1 -1
- package/index.js +85 -85
- package/package.json +10 -10
- package/styles/{index-DITv2ClE.js → index-C-MsxWtr.js} +7 -9
- package/vite-env.d.ts +4 -4
package/@types/types.d.ts
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { ComponentsOverrides, ComponentsVariants, Theme as MuiTheme } from '@mui/material/styles';
|
|
2
|
-
|
|
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
|
-
|
|
13
|
-
import {
|
|
14
|
-
PopupViewerSlotsType,
|
|
15
|
-
PopupsViewerOwnerState,
|
|
16
|
-
} from '../components/popups/components/PopupsViewer/types';
|
|
17
|
-
import {
|
|
18
|
-
ToastContainerOwnerState,
|
|
19
|
-
ToastContainerSlotsType,
|
|
20
|
-
} from '../components/ToastContainer/types';
|
|
21
|
-
|
|
22
|
-
type Theme = Omit<MuiTheme, 'components'>;
|
|
23
|
-
|
|
24
|
-
declare module '@mui/material/styles' {
|
|
25
|
-
// Define the slots in the theme
|
|
26
|
-
interface ComponentNameToClassKey {
|
|
27
|
-
M4LDynamicFilter: DynamicFilterSlotsType;
|
|
28
|
-
M4LMenuActions: MenuActionsSlotsType;
|
|
29
|
-
M4LRHFInputNumberSpinner: RHFInputNumberSpinnerSlotsType;
|
|
30
|
-
M4LPopupsViewer: PopupViewerSlotsType;
|
|
31
|
-
M4LToastContainer: ToastContainerSlotsType;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface ComponentsPropsList {
|
|
35
|
-
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
36
|
-
M4LDynamicFilter: Partial<DynamicFilterOwnerState>;
|
|
37
|
-
M4LMenuActions: Partial<MenuActionsOwnerState>;
|
|
38
|
-
M4LRHFInputNumberSpinner: Partial<RHFInputNumberSpinnerOwnerState>;
|
|
39
|
-
M4LPopupsViewer: Partial<PopupsViewerOwnerState>;
|
|
40
|
-
M4LToastContainer: Partial<ToastContainerOwnerState>;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface Components {
|
|
44
|
-
M4LDynamicFilter?: {
|
|
45
|
-
defaultProps?: ComponentsPropsList['M4LDynamicFilter'];
|
|
46
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilter'];
|
|
47
|
-
variants?: ComponentsVariants['M4LDynamicFilter'];
|
|
48
|
-
};
|
|
49
|
-
M4LMenuActions?: {
|
|
50
|
-
defaultProps?: ComponentsPropsList['M4LMenuActions'];
|
|
51
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LMenuActions'];
|
|
52
|
-
variants?: ComponentsVariants['M4LMenuActions'];
|
|
53
|
-
};
|
|
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
|
-
};
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
import { ComponentsOverrides, ComponentsVariants, Theme as MuiTheme } from '@mui/material/styles';
|
|
2
|
+
|
|
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
|
+
|
|
13
|
+
import {
|
|
14
|
+
PopupViewerSlotsType,
|
|
15
|
+
PopupsViewerOwnerState,
|
|
16
|
+
} from '../components/popups/components/PopupsViewer/types';
|
|
17
|
+
import {
|
|
18
|
+
ToastContainerOwnerState,
|
|
19
|
+
ToastContainerSlotsType,
|
|
20
|
+
} from '../components/ToastContainer/types';
|
|
21
|
+
|
|
22
|
+
type Theme = Omit<MuiTheme, 'components'>;
|
|
23
|
+
|
|
24
|
+
declare module '@mui/material/styles' {
|
|
25
|
+
// Define the slots in the theme
|
|
26
|
+
interface ComponentNameToClassKey {
|
|
27
|
+
M4LDynamicFilter: DynamicFilterSlotsType;
|
|
28
|
+
M4LMenuActions: MenuActionsSlotsType;
|
|
29
|
+
M4LRHFInputNumberSpinner: RHFInputNumberSpinnerSlotsType;
|
|
30
|
+
M4LPopupsViewer: PopupViewerSlotsType;
|
|
31
|
+
M4LToastContainer: ToastContainerSlotsType;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface ComponentsPropsList {
|
|
35
|
+
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
36
|
+
M4LDynamicFilter: Partial<DynamicFilterOwnerState>;
|
|
37
|
+
M4LMenuActions: Partial<MenuActionsOwnerState>;
|
|
38
|
+
M4LRHFInputNumberSpinner: Partial<RHFInputNumberSpinnerOwnerState>;
|
|
39
|
+
M4LPopupsViewer: Partial<PopupsViewerOwnerState>;
|
|
40
|
+
M4LToastContainer: Partial<ToastContainerOwnerState>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface Components {
|
|
44
|
+
M4LDynamicFilter?: {
|
|
45
|
+
defaultProps?: ComponentsPropsList['M4LDynamicFilter'];
|
|
46
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilter'];
|
|
47
|
+
variants?: ComponentsVariants['M4LDynamicFilter'];
|
|
48
|
+
};
|
|
49
|
+
M4LMenuActions?: {
|
|
50
|
+
defaultProps?: ComponentsPropsList['M4LMenuActions'];
|
|
51
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LMenuActions'];
|
|
52
|
+
variants?: ComponentsVariants['M4LMenuActions'];
|
|
53
|
+
};
|
|
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
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
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-n5hK7nJD.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-BnKsmvtw.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index-CueLDD9j.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-C-MsxWtr.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-By5vsRzf.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index-W88rbpsJ.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-OMq0pPK0.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-DkUBXDpR.js";
|
|
5
5
|
function BaseModule(props) {
|
|
6
6
|
const {
|
|
7
7
|
children,
|
package/components/CommonActions/components/ActionCancel/{index-GS4HJIdE.js → index-D_42VfUR.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-CksGG1B8.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index-CX2I9LHt.js → index-DL7fDBi6.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-CksGG1B8.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-CTAwKk5D.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.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-BaB3Ojgu.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index-w0_c4nBH.js → index-i3HmOpoU.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-CksGG1B8.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index-iGNIvcsn.js → index-i5875EXe.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-CksGG1B8.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-ChW1FuFf.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-C-MsxWtr.js";
|
|
9
9
|
function getCommonActionsDictionary() {
|
|
10
10
|
return ["common_actions"];
|
|
11
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10 13H6C3.245 13 1 10.755 1 8C1 5.245 3.245 3 6 3H10C12.755 3 15 5.245 15 8C15 10.755 12.755 13 10 13ZM6 4C3.795 4 2 5.795 2 8C2 10.205 3.795 12 6 12H10C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4H6Z" fill="#2F3737"/>
|
|
3
|
-
<path d="M10 11C8.345 11 7 9.655 7 8C7 6.345 8.345 5 10 5C11.655 5 13 6.345 13 8C13 9.655 11.655 11 10 11ZM10 6C8.895 6 8 6.895 8 8C8 9.105 8.895 10 10 10C11.105 10 12 9.105 12 8C12 6.895 11.105 6 10 6Z" fill="#2F3737"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10 13H6C3.245 13 1 10.755 1 8C1 5.245 3.245 3 6 3H10C12.755 3 15 5.245 15 8C15 10.755 12.755 13 10 13ZM6 4C3.795 4 2 5.795 2 8C2 10.205 3.795 12 6 12H10C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4H6Z" fill="#2F3737"/>
|
|
3
|
+
<path d="M10 11C8.345 11 7 9.655 7 8C7 6.345 8.345 5 10 5C11.655 5 13 6.345 13 8C13 9.655 11.655 11 10 11ZM10 6C8.895 6 8 6.895 8 8C8 9.105 8.895 10 10 10C11.105 10 12 9.105 12 8C12 6.895 11.105 6 10 6Z" fill="#2F3737"/>
|
|
4
|
+
</svg>
|
|
@@ -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-Bc2l6GTX.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-Botdzyt2.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-EgaRUtbL.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-EgaRUtbL.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.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-KryIxH_j.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index-k7SRq6Jo.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-C-MsxWtr.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-BF4pV_-K.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 { u as useDataGrid, a as useFilters, b as dictionary } from "../../index-
|
|
2
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index-EgaRUtbL.js";
|
|
3
3
|
import { useTheme, Skeleton } from "@mui/material";
|
|
4
4
|
import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants-8L7QgBKi.js";
|
|
5
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index-
|
|
6
|
-
import { P as Pager } from "../../../mui_extended/Pager/index-
|
|
7
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index-
|
|
5
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index-De7dpdBH.js";
|
|
6
|
+
import { P as Pager } from "../../../mui_extended/Pager/index-k7SRq6Jo.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index-OMq0pPK0.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-C-MsxWtr.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-DggW8-4n.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index-CTAwKk5D.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase-Ce6yRLcN.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index-ChW1FuFf.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-D_42VfUR.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-i5875EXe.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-ChW1FuFf.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index-erpzYu8W.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-Cfs28hud.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index-1XC3u2dm.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-EW1sL9gf.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index-BFcVswNb.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-ChW1FuFf.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-OMq0pPK0.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index-BnKsmvtw.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index-W88rbpsJ.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
13
13
|
);
|
|
@@ -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-BLjn97jC.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-EW1sL9gf.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index-Cfs28hud.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-CaFVu7xW.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-P3SkjYOy.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index-EW1sL9gf.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots-CaFVu7xW.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index-DjgwIwH9.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-EW1sL9gf.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-CaFVu7xW.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-CAdtxARw.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index-Cfcgzcw7.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index-CYY3cjbX.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index-COoNIh4L.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-B2qYGLOx.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-erpzYu8W.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-B2qYGLOx.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-erpzYu8W.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index-OdXKdhJS.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-B2qYGLOx.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-erpzYu8W.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-BWZWPFn5.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-B2qYGLOx.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-EW1sL9gf.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-erpzYu8W.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index-BV0f25eK.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-B2qYGLOx.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-erpzYu8W.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-BWZWPFn5.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index-BNi-tpG7.js → index-Cfs28hud.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-B4mhUk9e.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index-BEMRO3Ng.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index-CA3JDlD0.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index-B4R83Pyi.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index-1XC3u2dm.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index-BATOWnYB.js → index-CYY3cjbX.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-EW1sL9gf.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-B2qYGLOx.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-CaFVu7xW.js";
|
|
7
7
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
8
8
|
const ASSETS = {
|
|
9
9
|
refresh: "restart.svg",
|