@m4l/components 1.0.18 → 1.0.20
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.f2226cb9.js → index.4140090a.js} +3 -3
- package/components/AppBar/{index.50d090b7.js → index.0f184f51.js} +4 -7
- package/components/CommonActions/components/ActionCancel/{index.609a78ca.js → index.84664a29.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.03a5915a.js → index.42d6027c.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.34d569d1.js → index.7719f3c8.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.ebac0bc1.js → index.27a112d7.js} +2 -2
- package/components/CommonActions/components/Actions/{index.258bf919.js → index.e65a7bcf.js} +1 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.e0dbec18.js → index.ca85494e.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.671116f2.js → index.94d4cac8.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.f7b20493.js → index.b1c5af28.js} +1 -1
- package/components/DataGrid/{index.447c4e44.js → index.a04bda27.js} +7 -23
- package/components/DataGrid/subcomponents/Actions/{index.aff74341.js → index.929841cd.js} +11 -54
- package/components/DragResizeWindow/{index.132406ef.js → index.279d2d28.js} +2 -2
- package/components/DynamicFilter/{dictionary.80fc7baf.js → dictionary.54a4fec2.js} +2 -2
- package/components/DynamicFilter/index.8ef3a4d7.js +117 -0
- package/components/DynamicFilter/slots/{index.e2218307.js → dynamicFilterSlots.3715278c.js} +7 -7
- package/components/DynamicFilter/slots/index.36b12be1.js +1 -0
- package/components/DynamicFilter/slots/index.d.ts +2 -87
- package/components/DynamicFilter/store/{index.b9c2fe0b.js → index.6a1c6ebd.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f0fe22f7.js → index.c392afc5.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.30d89b6c.js → index.f2746f8e.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.edd7ed6f.js → index.093fc1de.js} +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.f926af49.js → index.62a94cc6.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.2382297a.js → index.e01b0972.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7b4dccf7.js → index.d87d2102.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.2258fceb.js → index.0fcc1bf9.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.82ca3e32.js → index.2a517be1.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.f4457f31.js → index.ec96878f.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.ba70cf6a.js → index.6ae6c60b.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.c7d72fb4.js → index.aecc596f.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c2014303.js → index.4ba51a6e.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.895fbe45.js → index.ceff0602.js} +2 -2
- package/components/DynamicFilter/types.d.ts +1 -1
- package/components/FieldLabel/{index.9fd6697a.js → index.fd98626d.js} +4 -6
- package/components/GridLayout/{index.68d907d4.js → index.75b39062.js} +2 -160
- package/components/GridLayout/subcomponents/Griditem/{index.8955a794.js → index.e6eee265.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.45cecca2.js → index.563cc6a3.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.7050ac4f.js → index.a4cc046b.js} +1 -1
- package/components/HelperText/{index.09e80920.js → index.844d7fab.js} +2 -5
- package/components/Icon/{index.5cf594aa.js → index.04c02216.js} +4 -26
- package/components/Image/{index.19aa7ff5.js → index.2510b352.js} +2 -5
- package/components/LanguagePopover/{index.921efd11.js → index.75e8c624.js} +4 -24
- package/components/LinearProgressIndeterminate/{index.ea9c8518.js → index.26813f64.js} +2 -4
- package/components/LoadingError/{index.427a569c.js → index.a40afdf7.js} +5 -8
- package/components/MFLoader/MFLoader.d.ts +0 -6
- package/components/MFLoader/{index.12ccba1a.js → index.81187b38.js} +3 -9
- package/components/ModalDialog/{index.0dd5af28.js → index.b5af0b1f.js} +3 -3
- package/components/NavLink/{index.ad039baf.js → index.0a27adcd.js} +2 -5
- package/components/NoItemSelected/index.cfe1e5a0.js +52 -0
- package/components/ObjectLogs/{index.a3ed9816.js → index.ada43757.js} +9 -38
- package/components/PDFViewer/{index.35f68e67.js → index.c400f3f0.js} +3 -5
- package/components/Page/{index.f4755eba.js → index.dd548b37.js} +1 -1
- package/components/PaperForm/{index.9ed65352.js → index.36c60c3d.js} +2 -41
- package/components/Period/{index.78867b45.js → index.deb4b0ee.js} +4 -45
- package/components/PrintingSystem/{index.a69a9d85.js → index.b3ed99bb.js} +14 -16
- package/components/PrintingSystem/subcomponents/BodyNode/{index.528fcfbf.js → index.f7aef0ee.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.fbe87257.js → index.7f51da5f.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f5adab1d.js → index.a59784e6.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.f42ca7dc.js → index.2c427ac5.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.041b9cff.js → index.0668e2e7.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a8140332.js → index.38fefa1e.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.aabde2bb.js → index.95f1c171.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.7f75ca46.js → index.5ca53b9a.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.61babb47.js → index.84963bd7.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.4d0e67a3.js → index.8333cfac.js} +1 -1
- package/components/PropertyValue/{index.4f0da54d.js → index.dc42164f.js} +4 -6
- package/components/Resizeable/index.e06bb8be.js +20 -0
- package/components/ScrollBar/index.6ec54e64.js +33 -0
- package/components/SideBar/{index.0298ead4.js → index.d0a63ab1.js} +6 -128
- package/components/SplitLayout/{index.15756f0f.js → index.0212514c.js} +2 -24
- package/components/ToastContainer/{index.e6d48658.js → index.733671bf.js} +3 -5
- package/components/animate/LoadingScreen/{index.779690a7.js → index.964f6dbd.js} +2 -19
- package/components/animate/{index.b8497385.js → index.1fcd3d70.js} +2 -39
- package/components/areas/components/AreasAdmin/{index.5af510af.js → index.e59f2566.js} +16 -52
- package/components/areas/components/AreasViewer/{index.343f0452.js → index.f8f9cc1a.js} +18 -247
- package/components/areas/contexts/AreasContext/{index.91e1acfc.js → index.f0ba940e.js} +4 -4
- package/components/areas/hooks/useAreas/{index.98ea6788.js → index.566c6df3.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.cbd55cf8.js → index.32ac55a8.js} +2 -4
- package/components/commercial/SectionCommercial/{index.d22ebbd5.js → index.a43eed40.js} +2 -5
- package/components/commercial/TopBar/{index.df994f5f.js → index.1ab121f1.js} +6 -10
- package/components/commercial/{index.73cf794c.js → index.eba9a74e.js} +3 -6
- package/components/formatters/BooleanFormatter/{index.699e0aee.js → index.6a020b80.js} +2 -2
- package/components/formatters/{index.8abccc30.js → index.66129ebe.js} +3 -5
- package/components/hook-form/HelperError/{index.c0109d5b.js → index.86ec06fe.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.1efaddc9.js → index.1bfe3607.js} +6 -14
- package/components/hook-form/RHFAutocompleteAsync/{index.2f123535.js → index.d7b799af.js} +2 -32
- package/components/hook-form/RHFCheckbox/{index.a9cf6faf.js → index.f60adcca.js} +4 -22
- package/components/hook-form/RHFColorPicker/{index.963323e4.js → index.c1a58a8c.js} +7 -9
- package/components/hook-form/RHFDateTime/{index.b3d0b2de.js → index.08dc3eef.js} +5 -7
- package/components/hook-form/RHFPeriod/{index.d1f45273.js → index.ccfe43d5.js} +4 -13
- package/components/hook-form/RHFTextField/{index.97ba17ae.js → index.d80b8e93.js} +4 -34
- package/components/hook-form/RHFUpload/{index.7fd23b2a.js → index.e3d41879.js} +6 -14
- package/components/maps/components/GpsTools/{index.0c6dff10.js → index.dee0a9fb.js} +21 -75
- package/components/maps/components/Map/{index.50447504.js → index.8f7d0575.js} +13 -13
- package/components/modal/{WindowBase.bf119f28.js → WindowBase.62b9da74.js} +3 -3
- package/components/modal/{WindowConfirm.b70c4b0f.js → WindowConfirm.78a87ff2.js} +6 -6
- package/components/mui_extended/Accordion/{index.427d380a.js → index.b1c28e9b.js} +4 -25
- package/components/mui_extended/Avatar/{index.fb9ad158.js → index.be988f79.js} +2 -4
- package/components/mui_extended/Badge/{index.8beaeefc.js → index.ab4aa117.js} +1 -5
- package/components/mui_extended/Button/{index.d742e9ee.js → index.7b82d621.js} +4 -16
- package/components/mui_extended/{CheckBox.84c57702.js → CheckBox.fdfd68f4.js} +3 -5
- package/components/mui_extended/IconButton/{index.ee45bba2.js → index.3525b765.js} +2 -5
- package/components/mui_extended/MenuActions/{index.06aaa091.js → index.c4a0f78b.js} +8 -17
- package/components/mui_extended/Pager/{index.c77a7694.js → index.16b6e3e4.js} +4 -7
- package/components/mui_extended/Popover/{index.2348fc4f.js → index.1747563c.js} +3 -5
- package/components/mui_extended/Stack/{index.fe363ca5.js → index.55cd11a9.js} +2 -4
- package/components/mui_extended/Tab/{index.e911930f.js → index.ba96a6f0.js} +2 -14
- package/components/mui_extended/ToggleButton/{index.b834f5f0.js → index.dada68c8.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.50ce11e4.js → index.27fed8b4.js} +1 -1
- package/components/mui_extended/Typography/{index.642798f1.js → index.fd25cf61.js} +1 -4
- package/components/popups/PopupsProvider/{index.7ed83556.js → index.27b67a9b.js} +1 -1
- package/components/popups/PopupsViewer/{index.9b734a0a.js → index.fd732c17.js} +4 -4
- package/contexts/ModalContext/{index.ad1fb73b.js → index.cdf3bdf9.js} +1 -1
- package/contexts/RHFormContext/{index.bf3a2812.js → index.0e2d7d10.js} +2 -4
- package/hooks/useFormAddEdit/{index.3468c18c.js → index.73e642af.js} +2 -2
- package/hooks/useModal/{index.2003c854.js → index.773ef0ff.js} +1 -1
- package/hooks/useTab/{index.8d1a6e63.js → index.ad587c1d.js} +1 -1
- package/index.js +136 -134
- package/package.json +1 -1
- package/{components/DynamicFilter/index.a7cb7710.js → styles/DynamicFilter.27c16026.js} +17 -132
- package/styles/index.256d1a63.js +1444 -0
- package/components/AccountPopover/style.d.ts +0 -2
- package/components/AppBar/styles.d.ts +0 -2
- package/components/CommonActions/components/Actions/styles.d.ts +0 -2
- package/components/DataGrid/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +0 -8
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +0 -6
- package/components/DragResizeWindow/styled.d.ts +0 -2
- package/components/FieldLabel/styles.d.ts +0 -2
- package/components/GridLayout/styles.d.ts +0 -2
- package/components/HelperText/styles.d.ts +0 -2
- package/components/Icon/styles.d.ts +0 -4
- package/components/Image/styles.d.ts +0 -2
- package/components/LanguagePopover/styles.d.ts +0 -6
- package/components/LinearProgressIndeterminate/styles.d.ts +0 -2
- package/components/LoadingError/styles.d.ts +0 -2
- package/components/MFLoader/styles.d.ts +0 -2
- package/components/NavLink/styles.d.ts +0 -2
- package/components/NoItemSelected/index.d10603d7.js +0 -71
- package/components/NoItemSelected/styles.d.ts +0 -5
- package/components/ObjectLogs/styles.d.ts +0 -4
- package/components/PDFViewer/styles.d.ts +0 -2
- package/components/PaperForm/styles.d.ts +0 -7
- package/components/Period/styles.d.ts +0 -7
- package/components/PrintingSystem/styles.d.ts +0 -2
- package/components/PropertyValue/styles.d.ts +0 -2
- package/components/Resizeable/index.4f75c0b5.js +0 -124
- package/components/ResizeableWindow/styles.d.ts +0 -5
- package/components/ScrollBar/index.21bc5025.js +0 -104
- package/components/ScrollBar/styles.d.ts +0 -9
- package/components/SideBar/styles.d.ts +0 -20
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -3
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -9
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -6
- package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -3
- package/components/SplitLayout/styles.d.ts +0 -4
- package/components/ToastContainer/styles.d.ts +0 -2
- package/components/animate/AnimatedScroll/styles.d.ts +0 -6
- package/components/animate/LoadingScreen/styles.d.ts +0 -7
- package/components/animate/PropagateLoader/syles.d.ts +0 -2
- package/components/areas/components/AreasAdmin/styles.d.ts +0 -5
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +0 -4
- package/components/areas/components/AreasViewer/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/styles.d.ts +0 -3
- package/components/commercial/AppBarCommercial/styles.d.ts +0 -2
- package/components/commercial/HamburgerMenu/styles.d.ts +0 -13
- package/components/commercial/SectionCommercial/styles.d.ts +0 -6
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/styles.d.ts +0 -2
- package/components/commercial/TopBar/style.d.ts +0 -2
- package/components/formatters/FormatterRoot/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -5
- package/components/hook-form/RHFCheckbox/styles.d.ts +0 -7
- package/components/hook-form/RHFColorPicker/styles.d.ts +0 -2
- package/components/hook-form/RHFDateTime/styles.d.ts +0 -2
- package/components/hook-form/RHFPeriod/styles.d.ts +0 -2
- package/components/hook-form/RHFTextField/styles.d.ts +0 -3
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +0 -3
- package/components/hook-form/RHFTextFieldPassword/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +0 -2
- package/components/maps/components/GpsTools/styles.d.ts +0 -2
- package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -6
- package/components/maps/components/Map/styled.d.ts +0 -2
- package/components/mui_extended/Accordion/styles.d.ts +0 -4
- package/components/mui_extended/Avatar/styles.d.ts +0 -2
- package/components/mui_extended/Badge/styles.d.ts +0 -2
- package/components/mui_extended/Button/styles.d.ts +0 -5
- package/components/mui_extended/CheckBox/styles.d.ts +0 -2
- package/components/mui_extended/IconButton/styles.d.ts +0 -2
- package/components/mui_extended/ImageButton/styles.d.ts +0 -2
- package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
- package/components/mui_extended/MenuActions/styles.d.ts +0 -5
- package/components/mui_extended/Pager/styles.d.ts +0 -2
- package/components/mui_extended/Popover/styles.d.ts +0 -1
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -3
- package/components/mui_extended/Stack/styles.d.ts +0 -4
- package/components/mui_extended/Tab/styles.d.ts +0 -3
- package/components/mui_extended/TabContent/styles.d.ts +0 -2
- package/components/mui_extended/Tabs/styles.d.ts +0 -4
- package/components/mui_extended/Typography/styles.d.ts +0 -2
- package/components/popups/components/PopupsViewer/styled.d.ts +0 -2
- package/contexts/RHFormContext/styles.d.ts +0 -2
- /package/components/DynamicFilter/slots/{constants.13968194.js → SlotsEnum.104a03d4.js} +0 -0
- /package/components/DynamicFilter/slots/{constants.d.ts → SlotsEnum.d.ts} +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.be988f79.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.1747563c.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.04c02216.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
const componentName = "M4LAccountPopover";
|
|
13
13
|
generateUtilityClasses(
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { A as AppBarRoot } from "../../styles/index.256d1a63.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.
|
|
11
|
-
const AppBarRoot = styled("header")(({ theme }) => ({
|
|
12
|
-
...theme.components?.M4LAppBar?.styleOverrides
|
|
13
|
-
}));
|
|
8
|
+
import { I as Image } from "../Image/index.2510b352.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.fd25cf61.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.3525b765.js";
|
|
14
11
|
const APPBAR_PREFIX = "M4LAppBar";
|
|
15
12
|
const getNameDataTestId = (KEY) => {
|
|
16
13
|
return `${APPBAR_PREFIX}-${KEY}`;
|
package/components/CommonActions/components/ActionCancel/{index.609a78ca.js → index.84664a29.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.7b82d621.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.e65a7bcf.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index.03a5915a.js → index.42d6027c.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.7b82d621.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.773ef0ff.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.e65a7bcf.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.78a87ff2.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.34d569d1.js → index.7719f3c8.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.7b82d621.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.e65a7bcf.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.ebac0bc1.js → index.27a112d7.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.7b82d621.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.e65a7bcf.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 {
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index.256d1a63.js";
|
|
9
9
|
function getCommonActionsDictionary() {
|
|
10
10
|
return ["common_actions"];
|
|
11
11
|
}
|
|
@@ -42,9 +42,6 @@ const useCommonActionsUtilityClasses = () => {
|
|
|
42
42
|
};
|
|
43
43
|
return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
44
44
|
};
|
|
45
|
-
const WrapperStandarActions = styled("div")(({ theme }) => ({
|
|
46
|
-
...theme.components?.M4LCommonActions?.styleOverrides
|
|
47
|
-
}));
|
|
48
45
|
const COMMONACTIONS_PREFIX = "M4LCommonActions";
|
|
49
46
|
const getNameCommonActionsDataTestId = (KEY) => {
|
|
50
47
|
return `${COMMONACTIONS_PREFIX}-${KEY}`;
|
|
@@ -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.6a020b80.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.66129ebe.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.a04bda27.js";
|
|
4
4
|
function ColumnInteractiveCheckFormatter(props) {
|
|
5
5
|
const { row, onRowChange, column } = props;
|
|
6
6
|
const handleChange = () => {
|
|
@@ -1,27 +1,18 @@
|
|
|
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.b5af0b1f.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.16b6e3e4.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
4
|
+
import { a as WrapperSkeleton, D as DataGridRoot } from "../../styles/index.256d1a63.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";
|
|
8
8
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
9
|
-
import { SvgIcon, Checkbox, InputBase,
|
|
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.929841cd.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";
|
|
16
|
-
const DataGridRoot = styled("div")(({ theme }) => ({
|
|
17
|
-
display: "flex",
|
|
18
|
-
flexDirection: "column",
|
|
19
|
-
position: "absolute",
|
|
20
|
-
padding: "0px",
|
|
21
|
-
inset: "0px",
|
|
22
|
-
overflow: "hidden",
|
|
23
|
-
...theme.components?.M4LDataGrid?.styleOverrides
|
|
24
|
-
}));
|
|
25
16
|
function CheckboxIcon(props) {
|
|
26
17
|
return /* @__PURE__ */ jsx(SvgIcon, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M17 3a4 4 0 014 4v10a4 4 0 01-4 4H7a4 4 0 01-4-4V7a4 4 0 014-4h10zm0 2H7a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2z" }) });
|
|
27
18
|
}
|
|
@@ -495,12 +486,6 @@ const getDragHeaderRenderer = (handleColumnsReorder) => {
|
|
|
495
486
|
}
|
|
496
487
|
return HeaderRenderer2;
|
|
497
488
|
};
|
|
498
|
-
const WrapperSkeleton = styled$1("div")(() => ({
|
|
499
|
-
display: "flex",
|
|
500
|
-
width: "100%",
|
|
501
|
-
height: "100%",
|
|
502
|
-
alignItems: "center"
|
|
503
|
-
}));
|
|
504
489
|
function SkeletonFormatter() {
|
|
505
490
|
const { classes } = useDataGrid();
|
|
506
491
|
return /* @__PURE__ */ jsx(WrapperSkeleton, { className: classes.skeletonFormatter, children: /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: "100%", height: "12px" }) });
|
|
@@ -904,12 +889,11 @@ const getDataGridRowsFromSet = (set, rows, rowKeyGetter) => {
|
|
|
904
889
|
return rowsFinded;
|
|
905
890
|
};
|
|
906
891
|
export {
|
|
907
|
-
|
|
892
|
+
DataGrid as D,
|
|
908
893
|
useFilters as a,
|
|
909
894
|
dictionary as b,
|
|
910
|
-
|
|
895
|
+
getDataGridRowsFromSet as c,
|
|
911
896
|
dataGridClasses as d,
|
|
912
|
-
getDataGridRowsFromSet as e,
|
|
913
897
|
getDataGridComponentsDictionary as g,
|
|
914
898
|
useDataGrid as u
|
|
915
899
|
};
|
|
@@ -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,
|
|
2
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.c4a0f78b.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.a04bda27.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.16b6e3e4.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.3525b765.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.256d1a63.js";
|
|
11
12
|
import { D as DataGrid$1 } from "../../../../react-data-grid.c5377916.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { A as
|
|
17
|
-
import { A as
|
|
18
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.ebac0bc1.js";
|
|
13
|
+
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.b1c5af28.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.773ef0ff.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.62b9da74.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.e65a7bcf.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.84664a29.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.27a112d7.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -72,49 +72,6 @@ function Filter() {
|
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
|
-
const WrapperColumnsConfig = styled("div")(({ theme }) => ({
|
|
76
|
-
color: theme.vars.palette.text.primary,
|
|
77
|
-
position: "relative",
|
|
78
|
-
display: "flex",
|
|
79
|
-
flexDirection: "column",
|
|
80
|
-
height: "100%",
|
|
81
|
-
width: "100%"
|
|
82
|
-
}));
|
|
83
|
-
styled("div")(({ theme }) => ({
|
|
84
|
-
color: theme.vars.palette.text.primary,
|
|
85
|
-
fontSize: theme.typography.h4.fontSize
|
|
86
|
-
}));
|
|
87
|
-
const DivSelColumns = styled("div")(({ theme }) => ({
|
|
88
|
-
...theme.colorSchemes.finalTheme.typography.bodyDens,
|
|
89
|
-
color: theme.vars.palette.text.primary,
|
|
90
|
-
padding: `16px 8px`
|
|
91
|
-
}));
|
|
92
|
-
const WrapperDataGrid = styled("div")(() => ({
|
|
93
|
-
position: "relative",
|
|
94
|
-
display: "flex",
|
|
95
|
-
flexDirection: "column",
|
|
96
|
-
flexGrow: 1,
|
|
97
|
-
overflow: "auto"
|
|
98
|
-
}));
|
|
99
|
-
styled("div")(() => ({
|
|
100
|
-
display: "flex",
|
|
101
|
-
flexDirection: "row"
|
|
102
|
-
}));
|
|
103
|
-
const ColumnActions = styled("div")(() => ({
|
|
104
|
-
paddingTop: "16px",
|
|
105
|
-
paddingBottom: "8px",
|
|
106
|
-
display: "flex",
|
|
107
|
-
flexDirection: "row"
|
|
108
|
-
}));
|
|
109
|
-
styled("div")(({ theme }) => ({
|
|
110
|
-
paddingTop: theme.spacing(3),
|
|
111
|
-
display: "flex",
|
|
112
|
-
flexDirection: "row",
|
|
113
|
-
justifyContent: "flex-end",
|
|
114
|
-
"& > button": {
|
|
115
|
-
marginLeft: "10px"
|
|
116
|
-
}
|
|
117
|
-
}));
|
|
118
75
|
function getRowsFromColumnsConfig(columnsConfig) {
|
|
119
76
|
return columnsConfig.filter((column) => !column.hidden).map(
|
|
120
77
|
(column) => ({
|
|
@@ -3,9 +3,9 @@ import { forwardRef, useState, useRef, useImperativeHandle, useCallback, useEffe
|
|
|
3
3
|
import { D as DraggableCore_1 } from "../../react-draggable.1c1ba224.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { styled, generateUtilityClasses } 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.8f7d0575.js";
|
|
7
7
|
import "@mui/base";
|
|
8
|
-
import { M as MAP_ZINDEX_OVER_MAP$1 } from "../popups/PopupsViewer/index.
|
|
8
|
+
import { M as MAP_ZINDEX_OVER_MAP$1 } from "../popups/PopupsViewer/index.fd732c17.js";
|
|
9
9
|
import { R as Resizable } from "../../react-resizable.a59c14f4.js";
|
|
10
10
|
const WrapperWindowRoot = styled("div")`
|
|
11
11
|
position: absolute;
|
|
@@ -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.e65a7bcf.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.1bfe3607.js";
|
|
3
3
|
const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
|
|
4
4
|
function getDynamicFilterComponentsDictionary() {
|
|
5
5
|
return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { f as fieldFactory } from "./subcomponents/FieldTypes/index.ec96878f.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.0fcc1bf9.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
5
|
+
import { D as DynamicFilterProvider } from "./store/index.6a1c6ebd.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.093fc1de.js";
|
|
7
|
+
function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName) {
|
|
8
|
+
const newFilters = [];
|
|
9
|
+
const fixedFields = [];
|
|
10
|
+
for (let index = 0; index < initialFilters.length; index++) {
|
|
11
|
+
try {
|
|
12
|
+
const initialFilter = initialFilters[index];
|
|
13
|
+
const field = getFieldByName(initialFilter.name);
|
|
14
|
+
const filter = {
|
|
15
|
+
id: 0,
|
|
16
|
+
isSet: true,
|
|
17
|
+
fixed: false,
|
|
18
|
+
field,
|
|
19
|
+
fieldType: field.type,
|
|
20
|
+
operator: initialFilters[index].operator,
|
|
21
|
+
operand1: initialFilters[index].operand1,
|
|
22
|
+
operand2: initialFilters[index].operand2,
|
|
23
|
+
operandsArray: initialFilters[index].operandsArray
|
|
24
|
+
};
|
|
25
|
+
if (!field)
|
|
26
|
+
continue;
|
|
27
|
+
const canAddField = fieldFactory(field.type).verifyFilter(initialFilter, field);
|
|
28
|
+
if (canAddField) {
|
|
29
|
+
if (filter.fieldType === "datetime") {
|
|
30
|
+
filter.operand1 = new Date(filter.operand1 + "");
|
|
31
|
+
filter.operand2 = new Date(filter.operand2 + "");
|
|
32
|
+
}
|
|
33
|
+
if (field.presence === "fixed") {
|
|
34
|
+
if (fixedFields.findIndex((f) => f === field.name) === -1) {
|
|
35
|
+
filter.fixed = true;
|
|
36
|
+
fixedFields.push(field.name);
|
|
37
|
+
} else {
|
|
38
|
+
filter.fixed = false;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
filter.isSet = true;
|
|
42
|
+
filter.id = newFilters.length + 1;
|
|
43
|
+
newFilters.push(filter);
|
|
44
|
+
}
|
|
45
|
+
} catch (error) {
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
for (let index = 0; index < fields.length; index++) {
|
|
49
|
+
const field = fields[index];
|
|
50
|
+
if (field.presence === "initialized" || field.presence === "fixed") {
|
|
51
|
+
if (!initialFilters.find((f) => f.name === field.name)) {
|
|
52
|
+
const newFilter = fieldFactory(field.type).getDefaultFilter(
|
|
53
|
+
field,
|
|
54
|
+
field.presence === "fixed"
|
|
55
|
+
);
|
|
56
|
+
newFilter.id = newFilters.length + 1;
|
|
57
|
+
newFilters.push(newFilter);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return newFilters;
|
|
62
|
+
}
|
|
63
|
+
const formatToRawFilter = (appliedFilters) => {
|
|
64
|
+
return appliedFilters.map((af) => {
|
|
65
|
+
let oa = void 0;
|
|
66
|
+
if (af.field.type === "select" && af.operandsArray) {
|
|
67
|
+
oa = Array.isArray(af.operandsArray) ? af.operandsArray.map(af.field.selectOptions.getOptionId) : [af.field.selectOptions.getOptionId(af.operandsArray)];
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
n: af.field.name,
|
|
71
|
+
o: af.operator,
|
|
72
|
+
o1: af.operand1,
|
|
73
|
+
o2: af.operator === "b" ? af.operand2 : void 0,
|
|
74
|
+
oa
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
function formatToInitialFilters(appliedFilters) {
|
|
79
|
+
return appliedFilters.map((appliedFilter) => {
|
|
80
|
+
const ret = {
|
|
81
|
+
name: appliedFilter.field.name,
|
|
82
|
+
operator: appliedFilter.operator,
|
|
83
|
+
operand1: appliedFilter.operand1,
|
|
84
|
+
operand2: appliedFilter.operator === "b" ? appliedFilter.operand2 : void 0
|
|
85
|
+
};
|
|
86
|
+
if (appliedFilter.fieldType === "datetime") {
|
|
87
|
+
ret.operand1 = appliedFilter.operand1.toISOString();
|
|
88
|
+
ret.operand2 = appliedFilter.operator === "b" ? appliedFilter.operand2.toISOString() : void 0;
|
|
89
|
+
}
|
|
90
|
+
if (appliedFilter.fieldType === "select") {
|
|
91
|
+
const validOperandsArray = filterValidOperandsArraySelect(
|
|
92
|
+
appliedFilter.operandsArray,
|
|
93
|
+
appliedFilter.field
|
|
94
|
+
);
|
|
95
|
+
if (validOperandsArray && validOperandsArray?.length > 0) {
|
|
96
|
+
ret.operandsArray = validOperandsArray;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
if (ret.operand2 === void 0) {
|
|
100
|
+
delete ret.operand2;
|
|
101
|
+
}
|
|
102
|
+
return ret;
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
function DynamicFilter(props) {
|
|
106
|
+
const hasPresentFlags = useFlagsPresent([CommonFlags.FLAG_DICTIONARY_LOADED]);
|
|
107
|
+
if (!hasPresentFlags) {
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
return /* @__PURE__ */ jsx(DynamicFilterProvider, { ...props, children: /* @__PURE__ */ jsx(DynamicFilterBase, {}) });
|
|
111
|
+
}
|
|
112
|
+
export {
|
|
113
|
+
DynamicFilter as D,
|
|
114
|
+
formatToRawFilter as a,
|
|
115
|
+
formatToInitialFilters as f,
|
|
116
|
+
getPurgedInitialFiltersApplied as g
|
|
117
|
+
};
|
|
@@ -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
|
-
import { D as DynamicFilterSlots } from "./
|
|
4
|
-
import { d as dynamicFilterStyles } from "
|
|
3
|
+
import { D as DynamicFilterSlots } from "./SlotsEnum.104a03d4.js";
|
|
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.e65a7bcf.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.04c02216.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.3525b765.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.1747563c.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.fd25cf61.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
13
13
|
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,87 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
4
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
5
|
-
export declare const InnerContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
6
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
7
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
8
|
-
export declare const InputFilterStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
9
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
10
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
11
|
-
export declare const InputFilterInputStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
12
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
13
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import("react").ClassAttributes<HTMLInputElement> | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, {}>;
|
|
14
|
-
export declare const InputFilterIconStyled: 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> & {
|
|
15
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
16
|
-
}, {}, {}>;
|
|
17
|
-
export declare const AppliedFiltersStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
18
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
19
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
20
|
-
export declare const AppliedFilterInnerContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
21
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
22
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
23
|
-
export declare const AppliedFilterChipStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
24
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
25
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
26
|
-
export declare const AppliedFilterChipIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
27
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
28
|
-
}, {}, {}>;
|
|
29
|
-
export declare const AppliedFilterChipInfoStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
30
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
31
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("react").ClassAttributes<HTMLButtonElement> | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, {}>;
|
|
32
|
-
export declare const AppliedFilterChipInfoFieldNameStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
33
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
34
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
35
|
-
export declare const AppliedFilterChipInfoOperatorStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
36
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
37
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
38
|
-
export declare const AppliedFilterChipInfoOperandsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
39
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
40
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
41
|
-
export declare const AppliedFilterChipRemoveButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
42
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
43
|
-
}, {}, {}>;
|
|
44
|
-
export declare const ActionsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
45
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
46
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
47
|
-
export declare const ActionsSkeletonButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
48
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
49
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
50
|
-
export declare const ActionsClearButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
51
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
52
|
-
}, {}, {}>;
|
|
53
|
-
export declare const ActionsSubmitButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
54
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
55
|
-
}, {}, {}>;
|
|
56
|
-
export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/Popover/types").PopoverProps, keyof import("../../mui_extended/Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
57
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
58
|
-
}, {}, {}>;
|
|
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
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
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
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
63
|
-
}, {}, {}>;
|
|
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> & {
|
|
65
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
66
|
-
}, {}, {}>;
|
|
67
|
-
export declare const PopoverMenuItemLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
68
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
69
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
70
|
-
export declare const PopoverStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/Popover/types").PopoverProps, keyof import("../../mui_extended/Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
71
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
72
|
-
}, {}, {}>;
|
|
73
|
-
export declare const PopoverContainerFieldsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
74
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
75
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
76
|
-
export declare const PopoverHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
77
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
78
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
79
|
-
export declare const PopoverHeaderIconStyled: 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> & {
|
|
80
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
81
|
-
}, {}, {}>;
|
|
82
|
-
export declare const PopoverHeaderTitleStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/Typography/types").TypographyProps, keyof import("../../mui_extended/Typography/types").TypographyProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
83
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
84
|
-
}, {}, {}>;
|
|
85
|
-
export declare const PopoverHeaderActionsStyled: import("@emotion/styled").StyledComponent<Pick<import("../../CommonActions/components/Actions/types").CommonActionsProps & import("react").RefAttributes<any>, keyof import("react").RefAttributes<any> | keyof import("../../CommonActions/components/Actions/types").CommonActionsProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
86
|
-
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
87
|
-
}, {}, {}>;
|
|
1
|
+
export * from './dynamicFilterSlots';
|
|
2
|
+
export { DynamicFilterSlots } from './SlotsEnum';
|
|
@@ -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.8ef3a4d7.js";
|
|
9
9
|
import { devtools } from "zustand/middleware";
|
|
10
10
|
import { immer } from "zustand/middleware/immer";
|
|
11
11
|
function useDynamicFilterStore(selector, equalityFn) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/index.e2218307.js";
|
|
3
2
|
import { useMemo } from "react";
|
|
4
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
4
|
import { useFormatter } from "@m4l/graphics";
|
|
6
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
7
|
-
import { f as fieldFactory } from "../FieldTypes/index.
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.6a1c6ebd.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.ec96878f.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.3715278c.js";
|
|
8
8
|
function useAppliedFilterChip(filter) {
|
|
9
9
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|