@m4l/components 1.0.22 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/AccountPopover/{index.f8453a39.js → index.789ca5b9.js} +3 -3
- package/components/AppBar/{index.48d5220c.js → index.a1734c3b.js} +4 -4
- package/components/BaseModule/BaseModule.d.ts +2 -0
- package/components/BaseModule/index.d.ts +2 -0
- package/components/BaseModule/index.db78c929.js +30 -0
- package/components/BaseModule/types.d.ts +10 -0
- package/components/CommonActions/components/ActionCancel/{index.5dc2a47d.js → index.a44544d1.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.2a421fd5.js → index.1b921390.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.dfab71be.js → index.624a468b.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.3f96d6dc.js → index.63222f6a.js} +2 -2
- package/components/CommonActions/components/Actions/{index.2569b4df.js → index.46d6c3d1.js} +2 -2
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.f29b245f.js → index.8ba7afb9.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.e54fd4db.js → index.5a93dc9b.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.3424cf67.js → index.35597c7f.js} +1 -1
- package/components/DataGrid/formatters/{index.59c6d2a6.js → index.4a07af63.js} +2 -2
- package/components/DataGrid/{index.79892601.js → index.65f1da52.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.6d5cb1d7.js → index.1fed83ce.js} +11 -11
- package/components/DragResizeWindow/{index.be8a40b2.js → index.ad0da648.js} +3 -3
- package/components/DynamicFilter/{dictionary.d15d08fc.js → dictionary.7aeaab97.js} +2 -2
- package/components/DynamicFilter/{index.900abf99.js → index.895da58e.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.95aa2fd6.js → dynamicFilterSlots.84150a22.js} +6 -6
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
- package/components/DynamicFilter/store/{index.13e44665.js → index.6ec4c67c.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.11860dc2.js → index.42446f8e.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.1c74b0a2.js → index.621ca411.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.11e8fb88.js → index.0c3af964.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.2c973bfc.js → index.f92d2a9c.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.254058ff.js → index.aad7a12c.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.2b0a8737.js → index.852c4c73.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.42cb7301.js → index.4beced1d.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.88923c45.js → index.17191093.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.1f7bcb48.js → index.10c9c338.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.5820ac71.js → index.7bee6c25.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.b9a06165.js → index.85d720be.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.86a867ab.js → index.0fdc8a51.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.4cd0d771.js → index.3674da6c.js} +2 -2
- package/components/FieldLabel/{index.9b515e11.js → index.523aaa62.js} +4 -4
- package/components/GridLayout/{index.2a975f9d.js → index.3b90ce9b.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.d1d38e7a.js → index.83d54714.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.84c3e0eb.js → index.f06bbf5e.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.28155002.js → index.72bfaedb.js} +1 -1
- package/components/HelperText/{index.985f65b9.js → index.af402ba9.js} +2 -2
- package/components/Icon/{index.735ed5af.js → index.ab280d41.js} +3 -3
- package/components/Image/{index.31093474.js → index.ec13c4a1.js} +2 -2
- package/components/LanguagePopover/{index.a7ec1033.js → index.6af275d0.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.af8809c0.js → index.6739ff49.js} +2 -2
- package/components/LoadingError/{index.1b480949.js → index.cfdfb380.js} +5 -5
- package/components/MFIsolationApp/MFIsolationApp.d.ts +2 -0
- package/components/MFIsolationApp/index.96eb2a32.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.c65e5b0f.js → index.9f542136.js} +2 -2
- package/components/ModalDialog/{index.52db045e.js → index.b975fc7b.js} +4 -4
- package/components/NavLink/{index.01b82b32.js → index.9cc3caf4.js} +2 -2
- package/components/NoItemSelected/{index.55fc2872.js → index.4ea373aa.js} +1 -1
- package/components/ObjectLogs/{index.22344399.js → index.55d93ddb.js} +9 -9
- package/components/PDFViewer/{index.a8751ff9.js → index.8d8c9d39.js} +2 -2
- package/components/Page/{index.bea04867.js → index.eb107182.js} +1 -1
- package/components/PaperForm/{index.b76ee2b3.js → index.37170e07.js} +2 -2
- package/components/Period/{index.3731b3c5.js → index.2a193da0.js} +4 -4
- package/components/PrintingSystem/{index.5941d5ea.js → index.6d6cd410.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.f63e9cca.js → index.2f4b2285.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4b32dbc2.js → index.0e11ce1a.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.2ac056f3.js → index.774c0eb8.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.dbda1218.js → index.23fb8a3e.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.0770d62f.js → index.9cd30c38.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.f01a96bc.js → index.9f4f2196.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.76ad4b49.js → index.7b78e756.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8dc2d646.js → index.6c924beb.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.f5e3019c.js → index.2da2a062.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.86ad2bd4.js → index.334ff3ef.js} +1 -1
- package/components/PropertyValue/{index.b8350841.js → index.cec68741.js} +3 -3
- package/components/Resizeable/{index.031731ec.js → index.a27cb569.js} +1 -1
- package/components/ScrollBar/{index.f59feb47.js → index.4e447b30.js} +1 -1
- package/components/SideBar/{index.6b59320a.js → index.902789b8.js} +6 -6
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/SplitLayout/{index.3e816b39.js → index.e048f8c4.js} +1 -1
- package/components/ToastContainer/{index.bb85cf2c.js → index.319037c5.js} +3 -3
- package/components/animate/LoadingScreen/{index.614abae2.js → index.d22d67a3.js} +1 -1
- package/components/animate/{index.34175ff1.js → index.271410bf.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.92015229.js → index.f3a211a4.js} +15 -15
- package/components/areas/components/AreasViewer/{index.5613b04c.js → index.8e9d24c2.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.ab6739b8.js → index.b29fb29f.js} +6 -6
- package/components/areas/hooks/useAreas/{index.fb7026bb.js → index.5f7f615d.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.84ddbcf1.js → index.8b27200f.js} +2 -2
- package/components/commercial/SectionCommercial/{index.b0416595.js → index.6ffe7283.js} +2 -2
- package/components/commercial/TopBar/{index.fefacbbb.js → index.67ee203b.js} +6 -6
- package/components/commercial/{index.e852decf.js → index.196f2f16.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.bab92b54.js → index.71e5727f.js} +2 -2
- package/components/formatters/{index.54397ac7.js → index.6c7fdd6c.js} +2 -2
- package/components/hook-form/HelperError/{index.f3c76460.js → index.af99c705.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.6e22b0e5.js → index.b295a0b4.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.027097e2.js → index.ad51f3e2.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.f55b8014.js → index.4aa49169.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.b3921a34.js → index.6e788803.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.d017e3ea.js → index.4c686856.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.f76251fc.js → index.7bd17690.js} +4 -4
- package/components/hook-form/RHFTextField/{index.d982607c.js → index.ec3f5dd5.js} +5 -5
- package/components/hook-form/RHFUpload/{index.5fa39ab0.js → index.1275836a.js} +5 -5
- package/components/index.d.ts +2 -0
- package/components/maps/components/GpsTools/{index.3e432a7d.js → index.44b82290.js} +23 -23
- package/components/maps/components/Map/{index.92f8d4f5.js → index.7cb66143.js} +14 -14
- package/components/modal/{WindowBase.62dc9432.js → WindowBase.e663941b.js} +3 -3
- package/components/modal/{WindowConfirm.af2047ad.js → WindowConfirm.abcfd142.js} +6 -6
- package/components/mui_extended/Accordion/{index.2c184653.js → index.1d692b19.js} +4 -4
- package/components/mui_extended/Avatar/{index.b4817d98.js → index.561ed0f7.js} +1 -1
- package/components/mui_extended/Badge/{index.40d1aa2c.js → index.abad2c28.js} +1 -1
- package/components/mui_extended/Button/{index.3f98a33c.js → index.8afd5131.js} +3 -3
- package/components/mui_extended/{CheckBox.d1a186d8.js → CheckBox.d84658da.js} +2 -2
- package/components/mui_extended/IconButton/{index.6e1e7606.js → index.cb274bbe.js} +2 -2
- package/components/mui_extended/MenuActions/{index.e40047bd.js → index.8168ad20.js} +5 -5
- package/components/mui_extended/Pager/{index.3d387e89.js → index.9184e616.js} +4 -4
- package/components/mui_extended/Popover/{index.2dc9ded4.js → index.594e3587.js} +1 -1
- package/components/mui_extended/Stack/{index.5ffdbe1b.js → index.6516b2b5.js} +1 -1
- package/components/mui_extended/Tab/{index.aa10efd0.js → index.2ac4a667.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.82878215.js → index.94cd32f3.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.ce4374ba.js → index.3cb364d1.js} +1 -1
- package/components/mui_extended/Typography/{index.5bd73114.js → index.71fbb5c4.js} +1 -1
- package/components/popups/PopupsProvider/{index.67239cbd.js → index.07940e4f.js} +1 -1
- package/components/popups/PopupsViewer/{index.4b9f2606.js → index.d8b9a059.js} +4 -4
- package/contexts/ModalContext/{index.ca0f8525.js → index.dd147fa6.js} +3 -3
- package/contexts/RHFormContext/{index.b08da209.js → index.cedd3482.js} +1 -1
- package/hooks/useFormAddEdit/{index.a5612e31.js → index.00c86b5b.js} +2 -2
- package/hooks/useModal/{index.f2579c58.js → index.84233480.js} +1 -1
- package/hooks/useTab/{index.36300b7b.js → index.74399f56.js} +1 -1
- package/index.js +131 -123
- package/package.json +4 -1
- package/{react-draggable.310e3387.js → react-draggable.079122b0.js} +1 -1
- package/{react-resizable.3755959b.js → react-resizable.330f1499.js} +2 -2
- package/styles/{DynamicFilter.c33860d6.js → DynamicFilter.0713a406.js} +49 -35
- package/styles/DynamicFilter.styles.d.ts +1 -1
- package/styles/{index.2129f144.js → index.1735a866.js} +8 -8
- /package/utils/{index.78d1638f.js → index.f77cc2ab.js} +0 -0
|
@@ -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.561ed0f7.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.594e3587.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.ab280d41.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.1735a866.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.ec13c4a1.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.71fbb5c4.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.cb274bbe.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.dd147fa6.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.5dc2a47d.js → index.a44544d1.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.8afd5131.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.46d6c3d1.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index.2a421fd5.js → index.1b921390.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.8afd5131.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.84233480.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.46d6c3d1.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.abcfd142.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.dfab71be.js → index.624a468b.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.8afd5131.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.46d6c3d1.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.3f96d6dc.js → index.63222f6a.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.8afd5131.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.46d6c3d1.js";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
@@ -4,8 +4,8 @@ import clsx from "clsx";
|
|
|
4
4
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
5
5
|
import { generateUtilityClasses } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
8
|
-
import { W as WrapperStandarActions } from "../../../../styles/index.
|
|
7
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.f77cc2ab.js";
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index.1735a866.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.71e5727f.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.6c7fdd6c.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.65f1da52.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.65f1da52.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.ab280d41.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.b975fc7b.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.9184e616.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.1735a866.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.1fed83ce.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.8168ad20.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.65f1da52.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.9184e616.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.cb274bbe.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.1735a866.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.35597c7f.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.84233480.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.e663941b.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.46d6c3d1.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.a44544d1.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.63222f6a.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { forwardRef, useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
3
|
-
import { D as DraggableCore_1 } from "../../react-draggable.
|
|
3
|
+
import { D as DraggableCore_1 } from "../../react-draggable.079122b0.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.7cb66143.js";
|
|
7
7
|
import "@mui/base";
|
|
8
|
-
import { R as Resizable } from "../../react-resizable.
|
|
8
|
+
import { R as Resizable } from "../../react-resizable.330f1499.js";
|
|
9
9
|
const WrapperDragResizeWindowRoot = styled("div")`
|
|
10
10
|
position: absolute;
|
|
11
11
|
left: 0px;
|
|
@@ -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.46d6c3d1.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.b295a0b4.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.10c9c338.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.4beced1d.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.6ec4c67c.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.0c3af964.js";
|
|
7
7
|
function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName) {
|
|
8
8
|
const newFilters = [];
|
|
9
9
|
const fixedFields = [];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { D as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.095f1dbb.js";
|
|
3
3
|
import { D as DynamicFilterSlots } from "./SlotsEnum.104a03d4.js";
|
|
4
|
-
import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter.
|
|
4
|
+
import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter.0713a406.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.46d6c3d1.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.ab280d41.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.cb274bbe.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.594e3587.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.71fbb5c4.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
13
13
|
);
|
|
@@ -58,7 +58,7 @@ export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponen
|
|
|
58
58
|
}, {}, {}>;
|
|
59
59
|
export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
60
60
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
61
|
-
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "
|
|
61
|
+
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
62
62
|
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
63
63
|
}, {}, {}>;
|
|
64
64
|
export declare const PopoverMenuItemIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
@@ -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.895da58e.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.6ec4c67c.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.10c9c338.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.84150a22.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.4e447b30.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.42446f8e.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.6ec4c67c.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.84150a22.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.85d720be.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.621ca411.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.7bee6c25.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.0fdc8a51.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.7aeaab97.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.b295a0b4.js";
|
|
8
8
|
function BooleanFilter() {
|
|
9
9
|
const { getLabel } = useModuleDictionary();
|
|
10
10
|
const operators = useMemo(
|
|
@@ -1,13 +1,13 @@
|
|
|
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.7aeaab97.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.
|
|
10
|
-
import { i as isValidDate } from "../../../../../utils/index.
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.4c686856.js";
|
|
10
|
+
import { i as isValidDate } from "../../../../../utils/index.f77cc2ab.js";
|
|
11
11
|
function DateTimeFilter() {
|
|
12
12
|
const { getLabel } = useModuleDictionary();
|
|
13
13
|
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.7aeaab97.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.b295a0b4.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.ec3f5dd5.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.7aeaab97.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.6ec4c67c.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.ad51f3e2.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.7aeaab97.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.b295a0b4.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.ec3f5dd5.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.1f7bcb48.js → index.10c9c338.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.f92d2a9c.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.17191093.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.aad7a12c.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.852c4c73.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.4beced1d.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.5820ac71.js → index.7bee6c25.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.6ec4c67c.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.7aeaab97.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.84150a22.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.b9a06165.js → index.85d720be.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.7aeaab97.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.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.84150a22.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.3674da6c.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index.86a867ab.js → index.0fdc8a51.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.6ec4c67c.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.10c9c338.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.cedd3482.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.a44544d1.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.63222f6a.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.6ec4c67c.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
5
5
|
function usePopoverMenuFields() {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
|