@m4l/components 1.0.23 → 1.1.1
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/components/AccountPopover/{index.5c97ab79.js → index.dde11a5c.js} +3 -3
- package/components/AppBar/{index.631dac35.js → index.19b11c19.js} +4 -4
- package/components/BaseModule/BaseModule.d.ts +2 -0
- package/components/BaseModule/index.4b725d16.js +30 -0
- package/components/BaseModule/index.d.ts +2 -0
- package/components/BaseModule/types.d.ts +10 -0
- package/components/CommonActions/components/ActionCancel/{index.4ec04ad9.js → index.c3cddacf.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.4d61b0fe.js → index.3ec840af.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.241ff066.js → index.3187e7a7.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.6c855294.js → index.db2b2999.js} +2 -2
- package/components/CommonActions/components/Actions/{index.2083f1d3.js → index.84b8fd47.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.371bcc46.js → index.ea1b882e.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.efe5a903.js → index.cff633f6.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.8128c255.js → index.d2e656a0.js} +1 -1
- package/components/DataGrid/formatters/{index.84c30cd7.js → index.4b65c281.js} +2 -2
- package/components/DataGrid/{index.3f13b6aa.js → index.9aa088f6.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.feeb7987.js → index.9416e750.js} +11 -11
- package/components/DragResizeWindow/{index.4e9cf2dc.js → index.8f5a2e3e.js} +1 -1
- package/components/DynamicFilter/{dictionary.2241d3c2.js → dictionary.e9ad0f7c.js} +2 -2
- package/components/DynamicFilter/{index.94ef8a65.js → index.e737845f.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.cff0c775.js → dynamicFilterSlots.c6d731f1.js} +5 -5
- package/components/DynamicFilter/store/{index.806ee1a5.js → index.7a5e5f6a.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.e75e32be.js → index.f714d323.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.5c30d4c9.js → index.c4131ff0.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.9a3e7c86.js → index.9be8d255.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.abfd8da5.js → index.5caf5b34.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.4937bcea.js → index.f5262ca2.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.09549b28.js → index.f48b4af1.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.bbca18ab.js → index.86de8517.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.4e1c56b6.js → index.1ba1cc22.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.9dd57d81.js → index.8d2e925e.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.d13450e6.js → index.066a32f4.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.293ccf6f.js → index.f3f01ebc.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c5e7b96f.js → index.7805f621.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.aa8ff6d5.js → index.d5efe247.js} +2 -2
- package/components/FieldLabel/{index.170296ed.js → index.a6235bcc.js} +3 -3
- package/components/GridLayout/{index.9e93facb.js → index.14b734d6.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.225906d4.js → index.5c8546c8.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.3cb5a032.js → index.6646c077.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.16747fc4.js → index.1108dd01.js} +1 -1
- package/components/HelperText/{index.ad6b4907.js → index.b1961313.js} +2 -2
- package/components/Icon/{index.8168aa10.js → index.e06c693f.js} +3 -3
- package/components/Image/{index.92d522f9.js → index.8a3d05d3.js} +2 -2
- package/components/LanguagePopover/{index.68640a8e.js → index.25266514.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.9f87f47c.js → index.80f8b74d.js} +1 -1
- package/components/LoadingError/{index.32dc5ad7.js → index.81979bb3.js} +5 -5
- package/components/MFIsolationApp/MFIsolationApp.d.ts +2 -0
- package/components/MFIsolationApp/index.3125cd12.js +167 -0
- package/components/MFIsolationApp/index.d.ts +1 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.d.ts +2 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/index.d.ts +1 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/types.d.ts +6 -0
- package/components/MFIsolationApp/types.d.ts +14 -0
- package/components/MFLoader/{index.70b0984a.js → index.952a3fee.js} +2 -2
- package/components/ModalDialog/{index.22eb4873.js → index.0dba90d3.js} +3 -3
- package/components/NavLink/{index.ddfdae0b.js → index.0c844a30.js} +2 -2
- package/components/NoItemSelected/{index.9ac8f4c8.js → index.dd2cee48.js} +1 -1
- package/components/ObjectLogs/{index.032e25fb.js → index.f98e884b.js} +9 -9
- package/components/PDFViewer/{index.0f8c84da.js → index.1b7068e5.js} +2 -2
- package/components/Page/{index.0268570c.js → index.fa45b3d5.js} +1 -1
- package/components/PaperForm/{index.8a387dab.js → index.f1467e34.js} +2 -2
- package/components/Period/{index.c2efde10.js → index.732248a8.js} +4 -4
- package/components/PrintingSystem/{index.d3db73b0.js → index.7aed44a2.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.0b481469.js → index.3e82f72e.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.6d961379.js → index.8d4e4894.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.9f5fccbf.js → index.f9343c1f.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.9cb21de9.js → index.1cdf54cf.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.2e8b0108.js → index.32a2e08a.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.683901c4.js → index.715f4e49.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.c666cc89.js → index.92df744d.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.46901d93.js → index.4316a07a.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.4107bf33.js → index.21b9d770.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.ebece5ce.js → index.03e73c9d.js} +1 -1
- package/components/PropertyValue/{index.6445835e.js → index.f85c4118.js} +3 -3
- package/components/Resizeable/{index.57cbe2be.js → index.305dae8c.js} +1 -1
- package/components/ScrollBar/{index.56125bbf.js → index.9c677335.js} +1 -1
- package/components/SideBar/{index.ed48577e.js → index.d33d87f4.js} +5 -5
- package/components/SplitLayout/{index.dcdc77e6.js → index.a5414b61.js} +1 -1
- package/components/ToastContainer/{index.67f277fd.js → index.ce752150.js} +2 -2
- package/components/animate/LoadingScreen/{index.782f1eca.js → index.881ca784.js} +1 -1
- package/components/animate/{index.3dddf2d3.js → index.d6f073fe.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.3c8301b9.js → index.80da2678.js} +14 -14
- package/components/areas/components/AreasViewer/{index.9298ef7a.js → index.7836a623.js} +13 -13
- package/components/areas/contexts/AreasContext/{index.55cdde3e.js → index.c4e41ac3.js} +6 -6
- package/components/areas/hooks/useAreas/{index.5275e969.js → index.cf3f35fa.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.9fa71fbe.js → index.00571293.js} +1 -1
- package/components/commercial/SectionCommercial/{index.67cb0e24.js → index.c3f56cb3.js} +1 -1
- package/components/commercial/TopBar/{index.e307711a.js → index.56ade547.js} +5 -5
- package/components/commercial/{index.3b81acbf.js → index.788464b6.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.6b0373e0.js → index.6f664715.js} +2 -2
- package/components/formatters/{index.a0d79071.js → index.d1846e98.js} +2 -2
- package/components/hook-form/HelperError/{index.6b671a90.js → index.a0faefe4.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.0c0f1166.js → index.dab5e2d6.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.98c0c8b1.js → index.a61e7dda.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.93b8e70f.js → index.71751a9d.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.d6edb266.js → index.3a8f36b1.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.d793e753.js → index.2f4ce21c.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.f298b64d.js → index.acf46fb2.js} +4 -4
- package/components/hook-form/RHFTextField/{index.8ca96674.js → index.06342648.js} +4 -4
- package/components/hook-form/RHFUpload/{index.07ebbfc1.js → index.ef58c607.js} +5 -5
- package/components/index.d.ts +2 -0
- package/components/maps/components/GpsTools/{index.a19df7ba.js → index.3cc627c5.js} +23 -23
- package/components/maps/components/Map/{index.ccb0be2e.js → index.c50fc538.js} +13 -13
- package/components/modal/{WindowBase.58fc327c.js → WindowBase.af49e2e8.js} +3 -3
- package/components/modal/{WindowConfirm.746fdae7.js → WindowConfirm.141e19a9.js} +6 -6
- package/components/mui_extended/Accordion/{index.fd3b659c.js → index.e76a8701.js} +4 -4
- package/components/mui_extended/Avatar/{index.3ebe1a4b.js → index.fc674f4b.js} +1 -1
- package/components/mui_extended/Badge/{index.ecd151e9.js → index.615959af.js} +1 -1
- package/components/mui_extended/Button/{index.dc43db94.js → index.a391ee9f.js} +3 -3
- package/components/mui_extended/{CheckBox.ea329fff.js → CheckBox.ae30825c.js} +2 -2
- package/components/mui_extended/IconButton/{index.3284f1d5.js → index.97e91dae.js} +2 -2
- package/components/mui_extended/MenuActions/{index.9e3d7f5d.js → index.1092605e.js} +5 -5
- package/components/mui_extended/Pager/{index.ef526d95.js → index.4d510ef5.js} +4 -4
- package/components/mui_extended/Popover/{index.57cd2dc0.js → index.82970357.js} +1 -1
- package/components/mui_extended/Stack/{index.0c52ffa7.js → index.e64a379b.js} +1 -1
- package/components/mui_extended/Tab/{index.c0a8e330.js → index.f31eb904.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.560c0a3c.js → index.4afacb33.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.98d85395.js → index.621ff8bc.js} +1 -1
- package/components/mui_extended/Typography/{index.5a14dd12.js → index.8a0f958b.js} +1 -1
- package/components/popups/PopupsProvider/{index.b3bb56b7.js → index.6591c56e.js} +1 -1
- package/components/popups/PopupsViewer/{index.0f579946.js → index.caf23a5d.js} +4 -4
- package/contexts/ModalContext/{index.141fdede.js → index.8281527d.js} +3 -3
- package/contexts/RHFormContext/{index.8cfee498.js → index.939811b3.js} +1 -1
- package/hooks/useFormAddEdit/{index.f4f4dccd.js → index.dfb5570d.js} +2 -2
- package/hooks/useModal/{index.70c3f0b5.js → index.538e8219.js} +1 -1
- package/hooks/useTab/{index.6f39459c.js → index.bc8d38fc.js} +1 -1
- package/index.js +127 -119
- package/package.json +4 -1
- package/styles/{index.379fa100.js → index.7868464e.js} +7 -7
|
@@ -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.fc674f4b.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.82970357.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.e06c693f.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.7868464e.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.8a3d05d3.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.8a0f958b.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.97e91dae.js";
|
|
11
11
|
const APPBAR_PREFIX = "M4LAppBar";
|
|
12
12
|
const getNameDataTestId = (KEY) => {
|
|
13
13
|
return `${APPBAR_PREFIX}-${KEY}`;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider, ModulePrivilegesProvider } from "@m4l/core";
|
|
3
|
+
import { useLocales } from "@m4l/graphics";
|
|
4
|
+
import { M as ModalProvider } from "../../contexts/ModalContext/index.8281527d.js";
|
|
5
|
+
function BaseModule(props) {
|
|
6
|
+
const {
|
|
7
|
+
children,
|
|
8
|
+
isAuth = true,
|
|
9
|
+
moduleId,
|
|
10
|
+
moduleNameField,
|
|
11
|
+
skeletonFlags,
|
|
12
|
+
privileges,
|
|
13
|
+
componentsDictionary
|
|
14
|
+
} = props;
|
|
15
|
+
const localeString = useLocales().currentLocale?.localeString;
|
|
16
|
+
return /* @__PURE__ */ jsx(FlagsProvider, { children: /* @__PURE__ */ jsx(
|
|
17
|
+
ModuleDictionaryProvider,
|
|
18
|
+
{
|
|
19
|
+
isAuth,
|
|
20
|
+
moduleId,
|
|
21
|
+
moduleNameField,
|
|
22
|
+
componentsDictionary,
|
|
23
|
+
currentLang: localeString,
|
|
24
|
+
children: /* @__PURE__ */ jsx(ModuleSkeletonProvider, { flags: skeletonFlags, children: isAuth ? /* @__PURE__ */ jsx(ModulePrivilegesProvider, { queryPrivileges: privileges, children: /* @__PURE__ */ jsx(ModalProvider, { children }) }) : /* @__PURE__ */ jsx(ModalProvider, { children }) })
|
|
25
|
+
}
|
|
26
|
+
) });
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
BaseModule as B
|
|
30
|
+
};
|
package/components/CommonActions/components/ActionCancel/{index.4ec04ad9.js → index.c3cddacf.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.a391ee9f.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.84b8fd47.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index.4d61b0fe.js → index.3ec840af.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.a391ee9f.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.538e8219.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.84b8fd47.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.141e19a9.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.241ff066.js → index.3187e7a7.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.a391ee9f.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.84b8fd47.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.6c855294.js → index.db2b2999.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.a391ee9f.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.84b8fd47.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.14912462.js";
|
|
8
|
-
import { W as WrapperStandarActions } from "../../../../styles/index.
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index.7868464e.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.6f664715.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.d1846e98.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.9aa088f6.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.9aa088f6.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.e06c693f.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.0dba90d3.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.4d510ef5.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.7868464e.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.9416e750.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.1092605e.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.9aa088f6.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.4d510ef5.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.97e91dae.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.7868464e.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.d2e656a0.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.538e8219.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.af49e2e8.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.84b8fd47.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c3cddacf.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.db2b2999.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useState, useRef, useCallback, useEffect, u
|
|
|
3
3
|
import { D as DraggableCore_1 } from "../../react-draggable.1c1ba224.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.
|
|
6
|
+
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.c50fc538.js";
|
|
7
7
|
import "@mui/base";
|
|
8
8
|
import { R as Resizable } from "../../react-resizable.a59c14f4.js";
|
|
9
9
|
const WrapperDragResizeWindowRoot = styled("div")`
|
|
@@ -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.84b8fd47.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.dab5e2d6.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.8d2e925e.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.86de8517.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.7a5e5f6a.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.9be8d255.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.27c16026.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.84b8fd47.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.e06c693f.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.97e91dae.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.82970357.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.8a0f958b.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.e737845f.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.7a5e5f6a.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.8d2e925e.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.c6d731f1.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.9c677335.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.7a5e5f6a.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.c6d731f1.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.f714d323.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.7a5e5f6a.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.c6d731f1.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.f3f01ebc.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.c4131ff0.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.066a32f4.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.7805f621.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.e9ad0f7c.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.dab5e2d6.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.e9ad0f7c.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.dab5e2d6.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.2f4ce21c.js";
|
|
10
10
|
import { i as isValidDate } from "../../../../../utils/index.14912462.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.e9ad0f7c.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.dab5e2d6.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.06342648.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.e9ad0f7c.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.7a5e5f6a.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.dab5e2d6.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.a61e7dda.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.e9ad0f7c.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.dab5e2d6.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.06342648.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.9dd57d81.js → index.8d2e925e.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.5caf5b34.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.1ba1cc22.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.f5262ca2.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.f48b4af1.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.86de8517.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.d13450e6.js → index.066a32f4.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.7a5e5f6a.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.e9ad0f7c.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.c6d731f1.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.293ccf6f.js → index.f3f01ebc.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.e9ad0f7c.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.7a5e5f6a.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.c6d731f1.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.d5efe247.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c5e7b96f.js → index.7805f621.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.7a5e5f6a.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.8d2e925e.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.c6d731f1.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.939811b3.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c3cddacf.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.db2b2999.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.7a5e5f6a.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.c6d731f1.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.7868464e.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.14912462.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.8a0f958b.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.e06c693f.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.5c8546c8.js";
|
|
5
|
+
import { G as GridLayoutRoot } from "../../styles/index.7868464e.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.225906d4.js → index.5c8546c8.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.1c1ba224.js";
|
|
4
4
|
import { R as Resizable } from "../../../../react-resizable.a59c14f4.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.14b734d6.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.3cb5a032.js → index.6646c077.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.14b734d6.js";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { useFirstRender } from "@m4l/graphics";
|
|
5
5
|
import { deepEqual } from "fast-equals";
|
package/components/GridLayout/subcomponents/SizeProvider/{index.16747fc4.js → index.1108dd01.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { throttle } from "lodash";
|
|
5
5
|
import { useResizeObserver } from "@m4l/graphics";
|
|
6
|
-
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.
|
|
6
|
+
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.14b734d6.js";
|
|
7
7
|
function withSizeProvider(ComposedComponent) {
|
|
8
8
|
return (props) => {
|
|
9
9
|
const { measureBeforeMount = true, ...rest } = props;
|