@m4l/components 3.1.0 → 3.1.2
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-vXlaw69C.js → index-BuACZ9ky.js} +3 -3
- package/components/AppBar/{index-3gXtikUI.js → index-Bdhxmnh5.js} +4 -4
- package/components/BaseModule/{index-CtN6b__U.js → index-BjWSimLM.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index-D_42VfUR.js → index-CpB3X0Xf.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-DL7fDBi6.js → index-CWelr7Cw.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index-i3HmOpoU.js → index-XsQwRqW1.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index-i5875EXe.js → index-dU8aeBT-.js} +2 -2
- package/components/CommonActions/components/Actions/{index-ChW1FuFf.js → index-oHakkAC6.js} +1 -1
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-BjkuIa7y.js → index-tSC7phMu.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-CWQp1KWU.js → index-cIa3MJmr.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-DggW8-4n.js → index-34AToVcH.js} +1 -1
- package/components/DataGrid/formatters/{index-B3AsHKeD.js → index-tmUVxG9k.js} +2 -2
- package/components/DataGrid/{index-EgaRUtbL.js → index-XH38_5e7.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index-BF4pV_-K.js → index-CFt7tSOn.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DynamicFilter/{dictionary-B2qYGLOx.js → dictionary-C1vgVi9W.js} +2 -2
- package/components/DynamicFilter/{index-BLjn97jC.js → index-DlSrVnb9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots-CaFVu7xW.js → dynamicFilterSlots-C1kTJEGW.js} +5 -5
- package/components/DynamicFilter/store/{index-EW1sL9gf.js → index-Bgedmj4b.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-DjgwIwH9.js → index-Bfl9o_HJ.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index-Cfcgzcw7.js → index-0dUR9VzO.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-BFcVswNb.js → index-C6MT1e7M.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-B4mhUk9e.js → index-Bdt8d9-s.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-CA3JDlD0.js → index-Crp1DpLu.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-B4R83Pyi.js → index-D3dYXMWw.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-1XC3u2dm.js → index-D8SpvPB7.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-BEMRO3Ng.js → index-1qgPmizl.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index-Cfs28hud.js → index-idvMShYX.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index-CYY3cjbX.js → index-Xo4XupZN.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index-CAdtxARw.js → index-BGAB2haD.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index-COoNIh4L.js → index-D-pXpUlG.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-Kz-jfM3o.js → index-CLNbzt8q.js} +2 -2
- package/components/FieldLabel/{index-DCAMDJoJ.js → index-CHr0G4U4.js} +3 -3
- package/components/GridLayout/{index-DUfp2sP_.js → index-Bvbye3zC.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index-DEi0Ai1D.js → index-DM37I5Js.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index-B7v5X9un.js → index-CKXr5Ku9.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index-BsKaLKRl.js → index-CCcydnac.js} +1 -1
- package/components/HelperText/{index-DVV5Jfc8.js → index-h0MumQq6.js} +2 -2
- package/components/Icon/{index-CueLDD9j.js → index-DlKdux5o.js} +3 -3
- package/components/Image/{index-By5vsRzf.js → index-CD7ItT7K.js} +2 -2
- package/components/LanguagePopover/{index-Dn2JPzf1.js → index-BdGT_466.js} +4 -4
- package/components/LinearProgressIndeterminate/{index-CTlvokQp.js → index-vjNY0mtm.js} +1 -1
- package/components/LoadingError/{index-CXVOiscg.js → index-BDOoTyKm.js} +5 -5
- package/components/MFIsolationApp/{index-BfFMo2Q2.js → index-F6kqceKZ.js} +3 -3
- package/components/MFLoader/{index-CCtU6zwR.js → index-B8OvaIZZ.js} +2 -2
- package/components/ModalDialog/{index-KryIxH_j.js → index-PAbGXf3m.js} +3 -3
- package/components/NavLink/{index-D6eiKlc0.js → index-CIdVPxnm.js} +2 -2
- package/components/NoItemSelected/{index-DKhhgTAH.js → index-ClUQj63z.js} +1 -1
- package/components/ObjectLogs/{index-CpBmanv0.js → index-Cjx1g6nX.js} +9 -9
- package/components/PDFViewer/{index-3PBUibum.js → index-bQU38gm0.js} +2 -2
- package/components/Page/{index-PXQkJn7v.js → index-ep9NXPP-.js} +1 -1
- package/components/PaperForm/{index-B6a3-CZt.js → index-DeN26l8w.js} +2 -2
- package/components/Period/{index-DtFWU3y5.js → index-DI0yyJkf.js} +4 -4
- package/components/PrintingSystem/{index-DJmGF2SQ.js → index-OJkEAF3K.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index-DorXm6AO.js → index-DcpWvHx2.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index-Cd9H-_3i.js → index-DZzVD0ul.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index-Dm-RAH_l.js → index-sCFW6dYk.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index-BPg-NpDf.js → index-pQ3nUSd8.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index-u0ZSP6s4.js → index-NCniUPbs.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index-C7eFFsTN.js → index-D01RlhKC.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index-D7M4YL4C.js → index-DmcwHHQY.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-Drjfhq-n.js → index-D11bVMkr.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index-Banh4UxX.js → index-AJqsDo3W.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index-OBnZLPEc.js → index-JPzaROjh.js} +1 -1
- package/components/PropertyValue/{index-Cc7y20oI.js → index-BGd-MVBw.js} +3 -3
- package/components/Resizeable/{index-BwQ6EKCK.js → index-DBUqVyUE.js} +1 -1
- package/components/ScrollBar/{index-P3SkjYOy.js → index-_YQnR_9D.js} +1 -1
- package/components/SideBar/{index-Ddxe1VvL.js → index-Cg2Hd3OG.js} +5 -5
- package/components/SplitLayout/{index-CwmZT1x6.js → index-V50jidpT.js} +1 -1
- package/components/ToastContainer/{index-DN3ZHpBT.js → index-BNaBs5l-.js} +2 -2
- package/components/animate/LoadingScreen/{index-CcjW-mkl.js → index-Csm-vO-6.js} +1 -1
- package/components/animate/{index-DsolrzTC.js → index-BMFe5NbU.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-Y6S0Q7TN.js → index-JeH9kJ69.js} +14 -14
- package/components/areas/components/AreasViewer/{index-DfcpQwSl.js → index-C38FJmxA.js} +14 -14
- package/components/areas/contexts/AreasContext/{index-spCQnOlk.js → index-Bzb63gLW.js} +4 -4
- package/components/areas/hooks/useAreas/{index-D6DaWBIP.js → index-CyoFQzOJ.js} +1 -1
- package/components/commercial/AppBarCommercial/{index-D1jIOw7M.js → index-D0Wmf8WU.js} +1 -1
- package/components/commercial/SectionCommercial/{index-C9THYik8.js → index-Dnz7W2Bb.js} +1 -1
- package/components/commercial/TopBar/{index-DLn3yEcX.js → index-Dp0HbEi4.js} +5 -5
- package/components/commercial/{index-D1bCIF7p.js → index-jFFB9huP.js} +3 -3
- package/components/formatters/BooleanFormatter/{index-Bc2l6GTX.js → index-ZFF1gn_z.js} +2 -2
- package/components/formatters/{index-Botdzyt2.js → index-DdR_x4nK.js} +2 -2
- package/components/hook-form/HelperError/{index-J-C5u9AH.js → index-B4Wv-sMd.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index-erpzYu8W.js → index-3FegFmnl.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index-BV0f25eK.js → index-BEhJbBLF.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index-Duf51-pS.js → index-BRNLiE6R.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index-C-tITRAx.js → index-BUnSZgFP.js} +6 -6
- package/components/hook-form/RHFDateTime/{index-OdXKdhJS.js → index-C4AKdQZs.js} +4 -4
- package/components/hook-form/RHFPeriod/{index-CjkIGYUY.js → index-DGx23zNh.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index-Da_2zFu3.js → index-kb5Lptxq.js} +1 -1
- package/components/hook-form/RHFTextField/{index-BWZWPFn5.js → index-BHl6F84S.js} +4 -4
- package/components/hook-form/RHFUpload/{index-D4nrnFFT.js → index-C89fkCDi.js} +5 -5
- package/components/maps/components/GpsTools/{index-DPY-BjB8.js → index-DQqaEJv0.js} +22 -22
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index-BRrVIyA-.js → index-c6gmoLHQ.js} +11 -12
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase-Ce6yRLcN.js → WindowBase-CHrJsQOI.js} +3 -3
- package/components/modal/{WindowConfirm-BaB3Ojgu.js → WindowConfirm-B9Q-SG8F.js} +6 -6
- package/components/mui_extended/Accordion/{index-D1775s1J.js → index-CWyB6Das.js} +4 -4
- package/components/mui_extended/Avatar/{index-n5hK7nJD.js → index-Cl8uuEmb.js} +1 -1
- package/components/mui_extended/Badge/{index-Dfdw5Iaq.js → index-BMeJAZBX.js} +1 -1
- package/components/mui_extended/Button/{index-CksGG1B8.js → index-BcnBUlsM.js} +3 -3
- package/components/mui_extended/{CheckBox-CjxjIrmN.js → CheckBox-BlPCAug7.js} +2 -2
- package/components/mui_extended/IconButton/classes/constants-ChY2jKkp.js +4 -0
- package/components/mui_extended/IconButton/classes/index-BxjJGAqZ.js +45 -0
- package/components/mui_extended/IconButton/{index-OMq0pPK0.js → index-Czt3k_Cz.js} +25 -45
- package/components/mui_extended/IconButton/styledIconButton-fAsbGoFS.js +7 -0
- package/components/mui_extended/IconButton/types-l0sNRNKZ.js +1 -0
- package/components/mui_extended/MenuActions/{index-De7dpdBH.js → MenuActions-DiOk68OQ.js} +4 -57
- package/components/mui_extended/MenuActions/constants-BwsU9chA.js +10 -0
- package/components/mui_extended/MenuActions/dictionary-Dj_07puT.js +11 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum-Bu-L6eWU.js +13 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots-DWUrFRUQ.js +46 -0
- package/components/mui_extended/MenuActions/slots/index.d.ts +1 -1
- package/components/mui_extended/MenuActions/types.d.ts +1 -1
- package/components/mui_extended/Pager/{index-k7SRq6Jo.js → index-CBxF0ey5.js} +4 -4
- package/components/mui_extended/Popover/{index-BnKsmvtw.js → index-BDuzJ2yN.js} +1 -1
- package/components/mui_extended/Stack/{index-C9YEChZB.js → index-BkpDpzJ-.js} +1 -1
- package/components/mui_extended/Tab/{index-CpdHav0V.js → index-B0LeeWsk.js} +1 -1
- package/components/mui_extended/ToggleButton/{index-CS1mz-lH.js → index-DXTMVVIz.js} +1 -1
- package/components/mui_extended/Typography/{index-W88rbpsJ.js → index-CWUVoTPQ.js} +1 -1
- package/components/popups/PopupsViewer/{index-Dn0XOI6q.js → index-HDdzpbpI.js} +3 -3
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots-Db8QAmEE.js → popupsViewerSlots-Da8-eSIo.js} +1 -1
- package/contexts/ModalContext/{index-DkUBXDpR.js → index-9KMVwVbc.js} +1 -1
- package/contexts/RHFormContext/{index-Ct48jRjb.js → index-CK8xajrE.js} +1 -1
- package/hooks/useFormAddEdit/{index-BkBJNq8b.js → index-Bqwam1G9.js} +2 -2
- package/hooks/useModal/{index-CTAwKk5D.js → index-C4KFRfjs.js} +1 -1
- package/hooks/useTab/{index-PXnpiLMx.js → index-BpZ6eYx1.js} +1 -1
- package/index.js +89 -90
- package/package.json +1 -1
- package/styles/MenuActions-lTi-ynPM.js +42 -0
- package/styles/MenuActions.styles.d.ts +1 -1
- package/styles/{index-C-MsxWtr.js → index-BqaiaJOv.js} +28 -69
- package/vite-env.d.ts +4 -4
- package/components/mui_extended/ToggleIconButton/index-BNQrQ6-b.js +0 -25
- /package/components/mui_extended/IconButton/{styles.d.ts → styledIconButton.d.ts} +0 -0
- /package/components/mui_extended/MenuActions/{constant.d.ts → constants.d.ts} +0 -0
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-Cl8uuEmb.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-BDuzJ2yN.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index-DlKdux5o.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-BqaiaJOv.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-CD7ItT7K.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index-CWUVoTPQ.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-Czt3k_Cz.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-9KMVwVbc.js";
|
|
5
5
|
function BaseModule(props) {
|
|
6
6
|
const {
|
|
7
7
|
children,
|
package/components/CommonActions/components/ActionCancel/{index-D_42VfUR.js → index-CpB3X0Xf.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-BcnBUlsM.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-oHakkAC6.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index-DL7fDBi6.js → index-CWelr7Cw.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-BcnBUlsM.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-C4KFRfjs.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-oHakkAC6.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-B9Q-SG8F.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index-i3HmOpoU.js → index-XsQwRqW1.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-BcnBUlsM.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-oHakkAC6.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index-i5875EXe.js → index-dU8aeBT-.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-BcnBUlsM.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-oHakkAC6.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-BqaiaJOv.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-ZFF1gn_z.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-DdR_x4nK.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-XH38_5e7.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-XH38_5e7.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index-DlKdux5o.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-PAbGXf3m.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index-CBxF0ey5.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-BqaiaJOv.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-CFt7tSOn.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-XH38_5e7.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/
|
|
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/MenuActions-DiOk68OQ.js";
|
|
6
|
+
import { P as Pager } from "../../../mui_extended/Pager/index-CBxF0ey5.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index-Czt3k_Cz.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-BqaiaJOv.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-34AToVcH.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index-C4KFRfjs.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase-CHrJsQOI.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index-oHakkAC6.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-CpB3X0Xf.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-dU8aeBT-.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-oHakkAC6.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index-3FegFmnl.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-idvMShYX.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index-D8SpvPB7.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-Bgedmj4b.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index-C6MT1e7M.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-oHakkAC6.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index-DlKdux5o.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-Czt3k_Cz.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index-BDuzJ2yN.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index-CWUVoTPQ.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-DlSrVnb9.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-Bgedmj4b.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index-idvMShYX.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-C1kTJEGW.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-_YQnR_9D.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index-Bgedmj4b.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots-C1kTJEGW.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index-Bfl9o_HJ.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-Bgedmj4b.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-C1kTJEGW.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-BGAB2haD.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index-0dUR9VzO.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index-Xo4XupZN.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index-D-pXpUlG.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-C1vgVi9W.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-3FegFmnl.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-C1vgVi9W.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-3FegFmnl.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index-C4AKdQZs.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-C1vgVi9W.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-3FegFmnl.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-BHl6F84S.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-C1vgVi9W.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-Bgedmj4b.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index-3FegFmnl.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index-BEhJbBLF.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-C1vgVi9W.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-3FegFmnl.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index-BHl6F84S.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index-Cfs28hud.js → index-idvMShYX.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-Bdt8d9-s.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index-1qgPmizl.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index-Crp1DpLu.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index-D3dYXMWw.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index-D8SpvPB7.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index-CYY3cjbX.js → index-Xo4XupZN.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-Bgedmj4b.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary-C1vgVi9W.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-C1kTJEGW.js";
|
|
7
7
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
8
8
|
const ASSETS = {
|
|
9
9
|
refresh: "restart.svg",
|