@m4l/components 2.0.5 → 2.0.6
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.23a1eabd.js} +3 -3
- package/components/AppBar/{index.ad5dd74a.js → index.1956ba23.js} +4 -4
- package/components/BaseModule/{index.0255d08a.js → index.6835e9a6.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f0e87113.js → index.6b060ad1.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.19e9426c.js → index.09be1900.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.77a6fe72.js → index.c93b31d4.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f35bee5a.js → index.c8e7ae9e.js} +2 -2
- package/components/CommonActions/components/Actions/{index.a31243c7.js → index.4eb9ca1e.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.2dd9a083.js → index.7743ee64.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.989012eb.js → index.c77f8bfc.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.64406a72.js → index.8cab2870.js} +1 -1
- package/components/DataGrid/formatters/{index.23ae62ba.js → index.ec837142.js} +2 -2
- package/components/DataGrid/{index.3b0b896f.js → index.dc8fa469.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.862a2ef4.js → index.f1fe2bd2.js} +11 -11
- package/components/DragResizeWindow/{index.2d36bbda.js → index.44fad985.js} +3 -7
- package/components/DynamicFilter/{dictionary.ad954460.js → dictionary.8b931250.js} +2 -2
- package/components/DynamicFilter/{index.4747acfe.js → index.93376b7c.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.345fe83a.js → dynamicFilterSlots.3143a011.js} +5 -5
- package/components/DynamicFilter/store/{index.8e24684e.js → index.0b26e781.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f68c42e6.js → index.294d846d.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.3508775b.js → index.d54831ba.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.5297577d.js → index.8b75ee17.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.cce07177.js → index.119aa323.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.1fafe2e3.js → index.090819a9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.b0b906a1.js → index.69a5da30.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.1db0c059.js → index.696ea1ff.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.7accc2b1.js → index.2dfd8e4b.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.8f88f9d0.js → index.3eea7e61.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.bf41bca8.js → index.d2f7e0ac.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.a2976024.js → index.03fe887d.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.f247b95a.js → index.f3af7c5e.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.1467729b.js → index.928b69f1.js} +2 -2
- package/components/FieldLabel/{index.c35e5984.js → index.c191727a.js} +3 -3
- package/components/GridLayout/{index.991206c1.js → index.1efdb6ca.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.50663f91.js → index.ad5e4dd6.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.c10c0af7.js → index.e3ff990a.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.e4ef4f10.js → index.5fa6f902.js} +1 -1
- package/components/HelperText/{index.c0fc2bfb.js → index.451bc436.js} +2 -2
- package/components/Icon/{index.0378f7b8.js → index.d82723ca.js} +3 -3
- package/components/Image/{index.7df7536b.js → index.472191c2.js} +2 -2
- package/components/LanguagePopover/{index.12cbf486.js → index.9cb9f615.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.49e62c03.js → index.330dd4d7.js} +1 -1
- package/components/LoadingError/{index.efecda3d.js → index.8c5c3905.js} +5 -5
- package/components/MFIsolationApp/{index.71823b4e.js → index.7aed6dd6.js} +2 -2
- package/components/MFLoader/{index.2b4b60aa.js → index.ae54aafb.js} +2 -2
- package/components/ModalDialog/{index.3cf272e0.js → index.238735ec.js} +3 -3
- package/components/NavLink/{index.34d04791.js → index.52568cdd.js} +2 -2
- package/components/NoItemSelected/{index.6d3880da.js → index.0038a666.js} +1 -1
- package/components/ObjectLogs/{index.11c77d6c.js → index.6da63df6.js} +9 -9
- package/components/PDFViewer/{index.c119e76a.js → index.f2394ac9.js} +2 -2
- package/components/Page/{index.8b261573.js → index.0df91a0d.js} +1 -1
- package/components/PaperForm/{index.1b7bf005.js → index.3a46ec6c.js} +2 -2
- package/components/Period/{index.d08a64dd.js → index.cd547147.js} +4 -4
- package/components/PrintingSystem/{index.64fb8f9e.js → index.ba908ae6.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.58e31c42.js → index.251148ca.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.cfe2f5ae.js → index.e2882c92.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.ec939491.js → index.b17898c6.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.9d0d60c7.js → index.4227795f.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1f05914c.js → index.c210ce35.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9a488ca7.js → index.cec9df33.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.1d4ed8ed.js → index.59ab10b9.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.d39efc69.js → index.5d12fac5.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.63c25d75.js → index.cf0b2bd1.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.e6e71c65.js → index.b7beb250.js} +1 -1
- package/components/PropertyValue/{index.4584a224.js → index.de28c147.js} +3 -3
- package/components/Resizeable/{index.c48bfe53.js → index.7df514af.js} +1 -1
- package/components/ScrollBar/{index.3168cc7d.js → index.3bf5b4b3.js} +1 -1
- package/components/SideBar/{index.c6664730.js → index.1c9dc8a5.js} +5 -5
- package/components/SplitLayout/{index.f73f5f71.js → index.d17f44d2.js} +1 -1
- package/components/ToastContainer/{index.404d68c0.js → index.6407b2e3.js} +2 -2
- package/components/animate/LoadingScreen/{index.d494c5f4.js → index.2be4af69.js} +1 -1
- package/components/animate/{index.35e70d72.js → index.08d2e411.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.daf5521f.js → index.cbabcf60.js} +14 -14
- package/components/areas/components/AreasViewer/{index.dab7e9c9.js → index.84bf6e1e.js} +13 -13
- package/components/areas/contexts/AreasContext/{index.43aadacb.js → index.a6d20b26.js} +4 -4
- package/components/areas/hooks/useAreas/{index.ed67113b.js → index.1ee5d290.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.4ab283a9.js → index.81279e02.js} +1 -1
- package/components/commercial/SectionCommercial/{index.5e808beb.js → index.d903e9e7.js} +1 -1
- package/components/commercial/TopBar/{index.d5fc459d.js → index.9d791d27.js} +5 -5
- package/components/commercial/{index.b17673f0.js → index.380aa13d.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.d792c9f4.js → index.1f89b011.js} +2 -2
- package/components/formatters/{index.e3314ffd.js → index.9ab0137a.js} +2 -2
- package/components/hook-form/HelperError/{index.d37b96f4.js → index.eb0451a8.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.e8d47108.js → index.66b8a523.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.10e23560.js → index.d0f40f8f.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.ab66cde5.js → index.95d31dea.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.8224d965.js → index.6fc44977.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.af136c35.js → index.8db9d2a6.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.cdad3414.js → index.febe530f.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.a3e56551.js → index.29f49580.js} +1 -1
- package/components/hook-form/RHFTextField/{index.03fa7ae0.js → index.6f9bbd80.js} +4 -4
- package/components/hook-form/RHFUpload/{index.2209f3a8.js → index.77519c4c.js} +5 -5
- package/components/maps/components/GpsTools/{index.2f9fdb32.js → index.c912d7c6.js} +23 -23
- package/components/maps/components/Map/{index.1130b9e0.js → index.765e578d.js} +41 -34
- package/components/modal/{WindowBase.26cb9e19.js → WindowBase.044659d9.js} +3 -3
- package/components/modal/{WindowConfirm.ffee7475.js → WindowConfirm.08d72905.js} +6 -6
- package/components/mui_extended/Accordion/{index.56b0bded.js → index.7bafa548.js} +4 -4
- package/components/mui_extended/Avatar/{index.9e8c8487.js → index.9f9346ad.js} +1 -1
- package/components/mui_extended/Badge/{index.ef803787.js → index.182414ed.js} +1 -1
- package/components/mui_extended/Button/{index.67e1ea7f.js → index.d44027cf.js} +3 -3
- package/components/mui_extended/{CheckBox.71c728f8.js → CheckBox.a68237b1.js} +2 -2
- package/components/mui_extended/IconButton/{index.4a12de37.js → index.b43ca9c9.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b19042b5.js → index.0d11f43a.js} +5 -5
- package/components/mui_extended/Pager/{index.8da962a5.js → index.fd0db044.js} +4 -4
- package/components/mui_extended/Popover/{index.71389b6e.js → index.ea936c4a.js} +1 -1
- package/components/mui_extended/Stack/{index.27af6301.js → index.f88ee5eb.js} +1 -1
- package/components/mui_extended/Tab/{index.0469b44f.js → index.cb37d00d.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.96ae2da5.js → index.c3a9d691.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.a446e702.js → index.fa33051b.js} +1 -1
- package/components/mui_extended/Typography/{index.978f5554.js → index.850bc036.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.a4d6eb40.js → index.722af14c.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.3fce4e57.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.61e5d598.js} +1 -1
- package/contexts/RHFormContext/{index.5f9c1c0e.js → index.b5e15835.js} +1 -1
- package/hooks/useFormAddEdit/{index.000bf636.js → index.9b6c5008.js} +2 -2
- package/hooks/useModal/{index.3c70915b.js → index.64d98763.js} +1 -1
- package/hooks/useTab/{index.0e62c5a7.js → index.75c252f9.js} +1 -1
- package/index.js +129 -129
- package/package.json +1 -1
- package/styles/{index.b0676d6a.js → index.1664b7ed.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.9f9346ad.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.ea936c4a.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.d82723ca.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.1664b7ed.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.472191c2.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.850bc036.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b43ca9c9.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.61e5d598.js";
|
|
5
5
|
function BaseModule(props) {
|
|
6
6
|
const {
|
|
7
7
|
children,
|
package/components/CommonActions/components/ActionCancel/{index.f0e87113.js → index.6b060ad1.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.d44027cf.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.4eb9ca1e.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.09be1900.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.d44027cf.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.64d98763.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.4eb9ca1e.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.08d72905.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.77a6fe72.js → index.c93b31d4.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.d44027cf.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.4eb9ca1e.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.c8e7ae9e.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.d44027cf.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.4eb9ca1e.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.1664b7ed.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.1f89b011.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.9ab0137a.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.dc8fa469.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.dc8fa469.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.d82723ca.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.238735ec.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.fd0db044.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.1664b7ed.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.f1fe2bd2.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.0d11f43a.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.dc8fa469.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.fd0db044.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.b43ca9c9.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.1664b7ed.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.8cab2870.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.64d98763.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.044659d9.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.4eb9ca1e.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.6b060ad1.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.c8e7ae9e.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.4eb9ca1e.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.66b8a523.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.3eea7e61.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.696ea1ff.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.0b26e781.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.8b75ee17.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.4eb9ca1e.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.d82723ca.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.b43ca9c9.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.ea936c4a.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.850bc036.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.93376b7c.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.0b26e781.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.3eea7e61.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.3143a011.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.3bf5b4b3.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.0b26e781.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.3143a011.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.294d846d.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.0b26e781.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.3143a011.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.03fe887d.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.d54831ba.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.d2f7e0ac.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.f3af7c5e.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.8b931250.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.66b8a523.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.8b931250.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.66b8a523.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.8db9d2a6.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.8b931250.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.66b8a523.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.6f9bbd80.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.8b931250.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.0b26e781.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.66b8a523.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.d0f40f8f.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.8b931250.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.66b8a523.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.6f9bbd80.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.8f88f9d0.js → index.3eea7e61.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.119aa323.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.2dfd8e4b.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.090819a9.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.69a5da30.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.696ea1ff.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.bf41bca8.js → index.d2f7e0ac.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.0b26e781.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.8b931250.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.3143a011.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.03fe887d.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.8b931250.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.0b26e781.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.3143a011.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.928b69f1.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.f3af7c5e.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.0b26e781.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.3eea7e61.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.3143a011.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.b5e15835.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.6b060ad1.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.c8e7ae9e.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.0b26e781.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.3143a011.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.1664b7ed.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.850bc036.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.d82723ca.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.ad5e4dd6.js";
|
|
5
|
+
import { G as GridLayoutRoot } from "../../styles/index.1664b7ed.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.ad5e4dd6.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.1efdb6ca.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.e3ff990a.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.1efdb6ca.js";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { useFirstRender } from "@m4l/graphics";
|
|
5
5
|
import { deepEqual } from "fast-equals";
|