@m4l/components 2.0.5 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/types.d.ts +7 -4
- package/components/AccountPopover/{index.09362223.js → index.a5747746.js} +3 -3
- package/components/AppBar/{index.ad5dd74a.js → index.2d458607.js} +4 -4
- package/components/BaseModule/{index.0255d08a.js → index.3f266927.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f0e87113.js → index.c1185f46.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.19e9426c.js → index.7f76a6ba.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.77a6fe72.js → index.8a23ec62.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f35bee5a.js → index.185199da.js} +2 -2
- package/components/CommonActions/components/Actions/{index.a31243c7.js → index.ea4c273b.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.2dd9a083.js → index.0739f098.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.989012eb.js → index.d524f74c.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.64406a72.js → index.addc6664.js} +1 -1
- package/components/DataGrid/formatters/{index.23ae62ba.js → index.ee269cae.js} +2 -2
- package/components/DataGrid/{index.3b0b896f.js → index.1feaab04.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.862a2ef4.js → index.06306495.js} +11 -11
- package/components/DragResizeWindow/{index.2d36bbda.js → index.44fad985.js} +3 -7
- package/components/DynamicFilter/{dictionary.ad954460.js → dictionary.a55d5bc2.js} +2 -2
- package/components/DynamicFilter/{index.4747acfe.js → index.2033e755.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.345fe83a.js → dynamicFilterSlots.3ef5ec21.js} +5 -5
- package/components/DynamicFilter/store/{index.8e24684e.js → index.3cc06678.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f68c42e6.js → index.db29f2ff.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.3508775b.js → index.2de720bc.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.5297577d.js → index.7a9d4d33.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.cce07177.js → index.a4269ba3.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.1fafe2e3.js → index.ebb6606c.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.b0b906a1.js → index.cd343ba0.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.1db0c059.js → index.b5c31620.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.7accc2b1.js → index.4c42f140.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.8f88f9d0.js → index.3e15fc1c.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.bf41bca8.js → index.0d687448.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.a2976024.js → index.4c5bb297.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.f247b95a.js → index.6c8c52ae.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.1467729b.js → index.9cf2bc44.js} +2 -2
- package/components/FieldLabel/{index.c35e5984.js → index.972f989e.js} +3 -3
- package/components/GridLayout/{index.991206c1.js → index.2b9bc85c.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.50663f91.js → index.684c3f3c.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.c10c0af7.js → index.dc0a1ce0.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.e4ef4f10.js → index.15d0ca85.js} +1 -1
- package/components/HelperText/{index.c0fc2bfb.js → index.2f4c6655.js} +2 -2
- package/components/Icon/{index.0378f7b8.js → index.0f315ccd.js} +3 -3
- package/components/Image/{index.7df7536b.js → index.32b58ce4.js} +2 -2
- package/components/LanguagePopover/{index.12cbf486.js → index.6ac2473a.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.49e62c03.js → index.6d1605ff.js} +1 -1
- package/components/LoadingError/{index.efecda3d.js → index.c5a70390.js} +5 -5
- package/components/MFIsolationApp/{index.71823b4e.js → index.56a12cde.js} +2 -2
- package/components/MFLoader/{index.2b4b60aa.js → index.cc350d72.js} +2 -2
- package/components/ModalDialog/{index.3cf272e0.js → index.580a88dc.js} +3 -3
- package/components/NavLink/{index.34d04791.js → index.c6fd316b.js} +2 -2
- package/components/NoItemSelected/{index.6d3880da.js → index.7274cdb1.js} +1 -1
- package/components/ObjectLogs/{index.11c77d6c.js → index.1b51e5f2.js} +9 -9
- package/components/PDFViewer/{index.c119e76a.js → index.eed9494a.js} +2 -2
- package/components/Page/{index.8b261573.js → index.f6884847.js} +1 -1
- package/components/PaperForm/{index.1b7bf005.js → index.86c1f1d6.js} +2 -2
- package/components/Period/{index.d08a64dd.js → index.5757802b.js} +4 -4
- package/components/PrintingSystem/{index.64fb8f9e.js → index.47e0ce83.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.58e31c42.js → index.d58660a8.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.cfe2f5ae.js → index.8e010873.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.ec939491.js → index.13330f51.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.9d0d60c7.js → index.05da3e1d.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1f05914c.js → index.d68b5460.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9a488ca7.js → index.0ed11227.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.1d4ed8ed.js → index.0a0227e4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.d39efc69.js → index.18931b6e.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.63c25d75.js → index.e80cce87.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.e6e71c65.js → index.7fc92f43.js} +1 -1
- package/components/PropertyValue/{index.4584a224.js → index.ee9cf342.js} +3 -3
- package/components/Resizeable/{index.c48bfe53.js → index.0ffd46bc.js} +1 -1
- package/components/ScrollBar/{index.3168cc7d.js → index.45b8db89.js} +1 -1
- package/components/SideBar/{index.c6664730.js → index.50868466.js} +5 -5
- package/components/SplitLayout/{index.f73f5f71.js → index.c2b8dcb8.js} +1 -1
- package/components/ToastContainer/{index.404d68c0.js → index.ed566312.js} +2 -2
- package/components/animate/LoadingScreen/{index.d494c5f4.js → index.31af02f8.js} +1 -1
- package/components/animate/{index.35e70d72.js → index.160607f3.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.daf5521f.js → index.cb60f940.js} +14 -14
- package/components/areas/components/AreasViewer/{index.dab7e9c9.js → index.350ee032.js} +13 -13
- package/components/areas/contexts/AreasContext/{index.43aadacb.js → index.1a5c5df1.js} +4 -4
- package/components/areas/hooks/useAreas/{index.ed67113b.js → index.ba948f80.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.4ab283a9.js → index.cdc42f41.js} +1 -1
- package/components/commercial/SectionCommercial/{index.5e808beb.js → index.a9265d42.js} +1 -1
- package/components/commercial/TopBar/{index.d5fc459d.js → index.06c1e138.js} +5 -5
- package/components/commercial/{index.b17673f0.js → index.163293c3.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.d792c9f4.js → index.b224ae9b.js} +2 -2
- package/components/formatters/{index.e3314ffd.js → index.373a6ce1.js} +2 -2
- package/components/hook-form/HelperError/{index.d37b96f4.js → index.399e7338.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.e8d47108.js → index.0d32fed5.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.10e23560.js → index.2622450c.js} +6 -4
- package/components/hook-form/RHFCheckbox/{index.ab66cde5.js → index.3229f16c.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.8224d965.js → index.86525787.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.af136c35.js → index.572079c5.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.cdad3414.js → index.1883d9f6.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.a3e56551.js → index.9eea0df1.js} +1 -1
- package/components/hook-form/RHFTextField/{index.03fa7ae0.js → index.5b124af3.js} +4 -4
- package/components/hook-form/RHFUpload/{index.2209f3a8.js → index.cf63abf0.js} +5 -5
- package/components/maps/components/GpsTools/{index.2f9fdb32.js → index.7628172f.js} +23 -23
- package/components/maps/components/Map/{index.1130b9e0.js → index.df953487.js} +41 -34
- package/components/modal/{WindowBase.26cb9e19.js → WindowBase.cb284225.js} +3 -3
- package/components/modal/{WindowConfirm.ffee7475.js → WindowConfirm.193cc75e.js} +6 -6
- package/components/mui_extended/Accordion/{index.56b0bded.js → index.49007a43.js} +4 -4
- package/components/mui_extended/Avatar/{index.9e8c8487.js → index.a2e1ca6d.js} +1 -1
- package/components/mui_extended/Badge/{index.ef803787.js → index.188ffbb4.js} +1 -1
- package/components/mui_extended/Button/{index.67e1ea7f.js → index.ca15c36e.js} +3 -3
- package/components/mui_extended/{CheckBox.71c728f8.js → CheckBox.983e10e6.js} +2 -2
- package/components/mui_extended/IconButton/{index.4a12de37.js → index.caf17392.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b19042b5.js → index.c24bd476.js} +5 -5
- package/components/mui_extended/Pager/{index.8da962a5.js → index.f27033fc.js} +4 -4
- package/components/mui_extended/Popover/{index.71389b6e.js → index.1fafd106.js} +1 -1
- package/components/mui_extended/Stack/{index.27af6301.js → index.b8c3b40b.js} +1 -1
- package/components/mui_extended/Tab/{index.0469b44f.js → index.c2dca6dd.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.96ae2da5.js → index.4b6f9c8e.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.a446e702.js → index.0513d9e6.js} +1 -1
- package/components/mui_extended/Typography/{index.978f5554.js → index.61dd3fc6.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.a4d6eb40.js → index.c6a0c277.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.0b92fc90.js +46 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +6 -1
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +3 -4
- package/components/popups/components/PopupsViewer/constants.d.ts +0 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +3 -3
- package/components/popups/components/PopupsViewer/slots/slots.d.ts +1 -1
- package/components/popups/components/PopupsViewer/types.d.ts +1 -1
- package/contexts/ModalContext/{index.49e5d904.js → index.50cc9ba8.js} +1 -1
- package/contexts/RHFormContext/{index.5f9c1c0e.js → index.acc30d9b.js} +1 -1
- package/hooks/useFormAddEdit/{index.000bf636.js → index.daf5d0c8.js} +2 -2
- package/hooks/useModal/{index.3c70915b.js → index.6f5c238d.js} +1 -1
- package/hooks/useTab/{index.0e62c5a7.js → index.8c6646a4.js} +1 -1
- package/index.js +129 -129
- package/package.json +1 -1
- package/styles/{index.b0676d6a.js → index.ccd8acc4.js} +7 -7
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.ff398b8d.js +0 -39
package/@types/types.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ComponentsOverrides, ComponentsVariants, Theme as MuiTheme } from '@mui/material/styles';
|
|
2
2
|
|
|
3
3
|
import { DynamicFilterSlotsType, DynamicFilterOwnerState } from '../components/DynamicFilter/types';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
PopupOwnerState,
|
|
6
|
+
PopupViewerSlotsType,
|
|
7
|
+
PopupsViewerOwnerState,
|
|
8
|
+
} from '../components/popups/components/PopupsViewer/types';
|
|
5
9
|
|
|
6
10
|
type Theme = Omit<MuiTheme, 'components'>;
|
|
7
11
|
|
|
@@ -9,14 +13,13 @@ declare module '@mui/material/styles' {
|
|
|
9
13
|
// Define the slots in the theme
|
|
10
14
|
interface ComponentNameToClassKey {
|
|
11
15
|
M4LDynamicFilter: DynamicFilterSlotsType;
|
|
12
|
-
M4LPopupsViewer: PopupViewerSlotsType;
|
|
13
|
-
|
|
16
|
+
M4LPopupsViewer: PopupViewerSlotsType;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
interface ComponentsPropsList {
|
|
17
20
|
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
18
21
|
M4LDynamicFilter: Partial<DynamicFilterOwnerState>;
|
|
19
|
-
M4LPopupsViewer: Partial<PopupsViewerOwnerState
|
|
22
|
+
M4LPopupsViewer: Partial<PopupsViewerOwnerState>;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
interface Components {
|
|
@@ -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.86c553a9.js";
|
|
7
|
-
import { A as Avatar } from "../mui_extended/Avatar/index.
|
|
7
|
+
import { A as Avatar } from "../mui_extended/Avatar/index.a2e1ca6d.js";
|
|
8
8
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.967e70b7.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.1fafd106.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.0f315ccd.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.ccd8acc4.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.86c553a9.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.32b58ce4.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.61dd3fc6.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.caf17392.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.50cc9ba8.js";
|
|
5
5
|
function BaseModule(props) {
|
|
6
6
|
const {
|
|
7
7
|
children,
|
package/components/CommonActions/components/ActionCancel/{index.f0e87113.js → index.c1185f46.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.ca15c36e.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.ea4c273b.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index.19e9426c.js → index.7f76a6ba.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.ca15c36e.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.6f5c238d.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.ea4c273b.js";
|
|
8
8
|
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.2fbae9dc.js";
|
|
9
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
9
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.193cc75e.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.77a6fe72.js → index.8a23ec62.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.ca15c36e.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.ea4c273b.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.f35bee5a.js → index.185199da.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.ca15c36e.js";
|
|
4
4
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.ea4c273b.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.86c553a9.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.ebfbb70f.js";
|
|
8
|
-
import { W as WrapperStandarActions } from "../../../../styles/index.
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index.ccd8acc4.js";
|
|
9
9
|
function getCommonActionsDictionary() {
|
|
10
10
|
return ["common_actions"];
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.
|
|
3
|
+
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.b224ae9b.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.373a6ce1.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.1feaab04.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.1feaab04.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.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.580a88dc.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.f27033fc.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.ccd8acc4.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.c5377916.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.e334cd50.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.06306495.js";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
14
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
15
15
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId.0faeade8.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
3
|
-
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.
|
|
2
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.c24bd476.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.1feaab04.js";
|
|
4
4
|
import { useTheme, Skeleton } from "@mui/material";
|
|
5
5
|
import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants.e334cd50.js";
|
|
6
|
-
import { P as Pager } from "../../../mui_extended/Pager/index.
|
|
7
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
6
|
+
import { P as Pager } from "../../../mui_extended/Pager/index.f27033fc.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.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.ccd8acc4.js";
|
|
12
12
|
import { D as DataGrid$1 } from "../../../../react-data-grid.c5377916.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.addc6664.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.6f5c238d.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.cb284225.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.ea4c273b.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c1185f46.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.185199da.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -3,7 +3,6 @@ import React__default, { forwardRef, useState, useRef, useCallback, useEffect, u
|
|
|
3
3
|
import { D as DraggableCore_1 } from "../../react-draggable.df62ccbd.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { styled, generateUtilityClasses, useForkRef } from "@mui/material";
|
|
6
|
-
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.1130b9e0.js";
|
|
7
6
|
import "@mui/base";
|
|
8
7
|
import { R as Resizable } from "../../react-resizable.c746880c.js";
|
|
9
8
|
const WrapperDragResizeWindowRoot = styled("div")`
|
|
@@ -11,13 +10,11 @@ const WrapperDragResizeWindowRoot = styled("div")`
|
|
|
11
10
|
left: 0px;
|
|
12
11
|
top: 0px;
|
|
13
12
|
background-color: gray;
|
|
14
|
-
|
|
15
|
-
prop2: 2;
|
|
16
|
-
|
|
13
|
+
prop2: 1;
|
|
17
14
|
|
|
18
15
|
&.M4LDraggableWindow-hidden {
|
|
19
16
|
visibility: hidden;
|
|
20
|
-
|
|
17
|
+
pointerevents: none;
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
${(props) => props.theme.components?.M4LDragResizeWindow?.styleOverrides}
|
|
@@ -465,8 +462,7 @@ const DragResizeWindow = forwardRef((props, ref) => {
|
|
|
465
462
|
const styleFinal = {
|
|
466
463
|
...style,
|
|
467
464
|
...setTransform(currentState),
|
|
468
|
-
prop2: 1
|
|
469
|
-
backgroundColor: "gray"
|
|
465
|
+
prop2: 1
|
|
470
466
|
};
|
|
471
467
|
const memoChildren = useMemo(() => {
|
|
472
468
|
return children;
|
|
@@ -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.ea4c273b.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.0d32fed5.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.3e15fc1c.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.b5c31620.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.3cc06678.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.7a9d4d33.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.095f1dbb.js";
|
|
|
3
3
|
import { D as DynamicFilterSlots } from "./SlotsEnum.104a03d4.js";
|
|
4
4
|
import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter.f317726e.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.ea4c273b.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.caf17392.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.1fafd106.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.61dd3fc6.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.095f1dbb.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.2033e755.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.3cc06678.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.3e15fc1c.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.3ef5ec21.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.45b8db89.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.db29f2ff.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.3cc06678.js";
|
|
3
3
|
import { a as getPropDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
|
|
4
|
-
import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots.
|
|
4
|
+
import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
|
|
5
5
|
import { D as DynamicFilterSlots } from "../../slots/SlotsEnum.104a03d4.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.4c5bb297.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.2de720bc.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.0d687448.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.6c8c52ae.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.a55d5bc2.js";
|
|
3
3
|
import { B as BOOLEAN_OPERATORS } from "../../../constants.095f1dbb.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.0d32fed5.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.a55d5bc2.js";
|
|
3
3
|
import { a as DATE_TIME_OPERATORS } from "../../../constants.095f1dbb.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.0d32fed5.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.572079c5.js";
|
|
10
10
|
import { i as isValidDate } from "../../../../../utils/index.ebfbb70f.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.a55d5bc2.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.095f1dbb.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.0d32fed5.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.5b124af3.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.a55d5bc2.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.095f1dbb.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.3cc06678.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.2622450c.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.a55d5bc2.js";
|
|
3
3
|
import { b as STRING_OPERATORS } from "../../../constants.095f1dbb.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.0d32fed5.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.5b124af3.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.8f88f9d0.js → index.3e15fc1c.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.a4269ba3.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.4c42f140.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.ebb6606c.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.cd343ba0.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.b5c31620.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.bf41bca8.js → index.0d687448.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.3cc06678.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.a55d5bc2.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.3ef5ec21.js";
|
|
7
7
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
8
8
|
const ASSETS = {
|
|
9
9
|
refresh: "restart.svg",
|
package/components/DynamicFilter/subcomponents/InputFilter/{index.a2976024.js → index.4c5bb297.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.
|
|
5
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.a55d5bc2.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
|
|
6
6
|
import { A as ALL_FIELD } from "../../constants.095f1dbb.js";
|
|
7
7
|
import { Skeleton } from "@mui/material";
|
|
8
|
-
import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots.
|
|
9
|
-
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.
|
|
8
|
+
import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.9cf2bc44.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index.f247b95a.js → index.6c8c52ae.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useMemo, useCallback } from "react";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
5
|
-
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.
|
|
6
|
-
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.
|
|
7
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
8
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
9
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
4
|
+
import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.3e15fc1c.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.acc30d9b.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c1185f46.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.185199da.js";
|
|
10
10
|
function usePopoverFilter() {
|
|
11
11
|
let anchorEl;
|
|
12
12
|
let field;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
4
|
-
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.3cc06678.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.3ef5ec21.js";
|
|
5
5
|
function usePopoverMenuFields() {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { F as FieldLabelRoot } from "../../styles/index.
|
|
3
|
+
import { F as FieldLabelRoot } from "../../styles/index.ccd8acc4.js";
|
|
4
4
|
import { generateUtilityClasses, Tooltip, Skeleton } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { g as getComponentUtilityClass } from "../../utils/index.ebfbb70f.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { T as Typography } from "../mui_extended/Typography/index.61dd3fc6.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.0f315ccd.js";
|
|
10
10
|
const componentName = "M4LFieldLabel";
|
|
11
11
|
generateUtilityClasses(componentName, [
|
|
12
12
|
"root",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.
|
|
5
|
-
import { G as GridLayoutRoot } from "../../styles/index.
|
|
4
|
+
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.684c3f3c.js";
|
|
5
|
+
import { G as GridLayoutRoot } from "../../styles/index.ccd8acc4.js";
|
|
6
6
|
import { generateUtilityClasses } from "@mui/material";
|
|
7
7
|
import "@mui/base";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LGridLayout";
|
package/components/GridLayout/subcomponents/Griditem/{index.50663f91.js → index.684c3f3c.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
3
3
|
import { D as DraggableCore_1 } from "../../../../react-draggable.df62ccbd.js";
|
|
4
4
|
import { R as Resizable } from "../../../../react-resizable.c746880c.js";
|
|
5
|
-
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.
|
|
5
|
+
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.2b9bc85c.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { deepEqual } from "fast-equals";
|
|
8
8
|
function GridItem(props) {
|
package/components/GridLayout/subcomponents/Responsive/{index.c10c0af7.js → index.dc0a1ce0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.
|
|
2
|
+
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.2b9bc85c.js";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { useFirstRender } from "@m4l/graphics";
|
|
5
5
|
import { deepEqual } from "fast-equals";
|