@m4l/components 1.1.2 → 2.0.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/@types/export.d.ts +269 -269
- package/@types/types.d.ts +34 -34
- package/components/AccountPopover/{index.84049a50.js → index.493dbab5.js} +3 -3
- package/components/AppBar/{index.22ed1a0e.js → index.4b2c02da.js} +4 -4
- package/components/BaseModule/{index.0fc648c5.js → index.dba0d174.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.33cf608e.js → index.ce196f96.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.d1359a38.js → index.d63f6a23.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.415de2bb.js → index.0daa98b8.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.0893587b.js → index.1c40d33b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.2342a37e.js → index.434f4824.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.9d6f8597.js → index.0a3660c0.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.9bcaba12.js → index.4b1df4ab.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.a58a8712.js → index.37f4f359.js} +1 -1
- package/components/DataGrid/formatters/{index.6698b419.js → index.91129d5e.js} +2 -2
- package/components/DataGrid/{index.b1cac6af.js → index.d538cef8.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.a60b17d5.js → index.8d2e96e7.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.46048367.js → index.17e7059d.js} +3 -3
- package/components/DynamicFilter/{dictionary.da256925.js → dictionary.f471309f.js} +2 -2
- package/components/DynamicFilter/{index.08abfc2c.js → index.a7e772f7.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.b02bff6a.js → dynamicFilterSlots.1e2dc145.js} +6 -6
- package/components/DynamicFilter/store/{index.1e4af8b4.js → index.3733c18e.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.37bcd016.js → index.5b952ba7.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.2740f285.js → index.e38ed08e.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.63102514.js → index.bbc1b1c0.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.3824d701.js → index.b0a2c96e.js} +4 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.57ddf344.js → index.2036b257.js} +5 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7beac9f0.js → index.d7559fb2.js} +4 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.e9e1af93.js → index.d628de04.js} +5 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.d27a8bcc.js → index.804bb474.js} +4 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.e8f1d8e5.js → index.de33ba0a.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.35014c15.js → index.c8c90968.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.f42e9571.js → index.1b95c167.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.ada7eb0c.js → index.fd8a2421.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.144885cf.js → index.9f07285e.js} +2 -2
- package/components/DynamicFilter/types.d.ts +1 -1
- package/components/FieldLabel/{index.59b9b63a.js → index.44f3e099.js} +4 -4
- package/components/GridLayout/{index.56c3f4fa.js → index.a9f419d8.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.02bcb3b3.js → index.c9f8165b.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.65aeef5e.js → index.ad80dae3.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.0aad6f90.js → index.6ebe8790.js} +1 -1
- package/components/HelperText/{index.5c72277a.js → index.e9eddfe4.js} +2 -2
- package/components/Icon/{index.13aaae3c.js → index.2b591dd6.js} +3 -3
- package/components/Image/{index.4b51d4ba.js → index.fb9e71ba.js} +2 -2
- package/components/LanguagePopover/{index.7605fda8.js → index.f495b317.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.292a4af8.js → index.8a0b3615.js} +2 -2
- package/components/LoadingError/{index.b129b573.js → index.2675dde0.js} +5 -5
- package/components/MFIsolationApp/{index.9f718621.js → index.359ce9ec.js} +2 -2
- package/components/MFLoader/{index.5d340e32.js → index.49a6bd2c.js} +2 -2
- package/components/ModalDialog/{index.ff275011.js → index.3571068b.js} +4 -4
- package/components/NavLink/{index.506c7827.js → index.82f5f2f4.js} +2 -2
- package/components/NoItemSelected/{index.1d7d5a9d.js → index.437fb106.js} +1 -1
- package/components/ObjectLogs/{index.473ebd65.js → index.5d260f34.js} +9 -9
- package/components/PDFViewer/{index.4e7ffac8.js → index.9f1d12c4.js} +2 -2
- package/components/Page/{index.b75c74e3.js → index.4e1e1b9b.js} +1 -1
- package/components/PaperForm/{index.8289409f.js → index.d6293e64.js} +2 -2
- package/components/Period/{index.13e4c351.js → index.f0095a0a.js} +4 -4
- package/components/PrintingSystem/{index.e1535b80.js → index.88fbf9ec.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.6b36842d.js → index.79cb87c7.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4aab9d2c.js → index.a5d910d6.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.23a9dc95.js → index.350c25de.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.d0e8fd15.js → index.8c2f7536.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.35ff7dab.js → index.b02b56db.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9547c826.js → index.462d6322.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.71afe03e.js → index.a5e25147.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.abbb154c.js → index.430bd242.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.b3f2ba6c.js → index.d76d27d3.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.809aaad2.js → index.2dcd8991.js} +1 -1
- package/components/PropertyValue/{index.36555931.js → index.5d847b88.js} +3 -3
- package/components/Resizeable/{index.57363836.js → index.f22bccb6.js} +1 -1
- package/components/ScrollBar/{index.236e2aa3.js → index.3f1ca3da.js} +1 -1
- package/components/SideBar/{index.bb6c2c7b.js → index.f15b9904.js} +6 -6
- package/components/SplitLayout/{index.75953afb.js → index.4b247e0c.js} +1 -1
- package/components/ToastContainer/{index.bb972338.js → index.dec47e74.js} +3 -3
- package/components/animate/LoadingScreen/{index.09915798.js → index.db36f970.js} +1 -1
- package/components/animate/{index.5c545243.js → index.14aa2d3c.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.42d40964.js → index.55c40f0c.js} +15 -15
- package/components/areas/components/AreasViewer/{index.266a3815.js → index.8a568629.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.c2289888.js → index.c677ccfa.js} +4 -4
- package/components/areas/hooks/useAreas/{index.509c1703.js → index.2d10f64c.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.3fd10868.js → index.85de55bb.js} +2 -2
- package/components/commercial/SectionCommercial/{index.bd45c64e.js → index.47c0cb0c.js} +2 -2
- package/components/commercial/TopBar/{index.4e55cffa.js → index.ec7a6cc6.js} +6 -6
- package/components/commercial/{index.4bdbb8fe.js → index.90e72726.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.ac870381.js → index.5243a181.js} +2 -2
- package/components/formatters/{index.53ad2f51.js → index.1b738709.js} +2 -2
- package/components/hook-form/HelperError/{index.9f93c627.js → index.c6f8f840.js} +1 -1
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +0 -1
- package/components/hook-form/RHFAutocomplete/{index.b8347185.js → index.c8bcfed8.js} +302 -70
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/types.d.ts +17 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.aeb3bf66.js → index.2b2ff592.js} +102 -5
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +3 -0
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +2 -0
- package/components/hook-form/RHFAutocompleteAsync/types.d.ts +6 -3
- package/components/hook-form/RHFCheckbox/{index.c3b7ce0f.js → index.06c0b776.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.c259b8ac.js → index.f606dce6.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.4efe48ce.js → index.fb4867fa.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.0f912e3e.js → index.75e07583.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.96c94958.js → index.a0a28a48.js} +1 -1
- package/components/hook-form/RHFTextField/{index.828b30f5.js → index.257c6486.js} +5 -5
- package/components/hook-form/RHFUpload/{index.b664c68b.js → index.a6954d0d.js} +5 -5
- package/components/maps/components/GpsTools/{index.e759163d.js → index.30fe41d1.js} +27 -24
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.c568e68d.js → index.14f082d4.js} +14 -13
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.58f9e2b0.js → WindowBase.0dc3b3ea.js} +3 -3
- package/components/modal/{WindowConfirm.60955735.js → WindowConfirm.b8a431dd.js} +6 -6
- package/components/mui_extended/Accordion/{index.e6971e30.js → index.bb0cd2ab.js} +4 -4
- package/components/mui_extended/Avatar/{index.8cc99f13.js → index.bcf4d669.js} +1 -1
- package/components/mui_extended/Badge/{index.07fb40c0.js → index.89ca5b23.js} +1 -1
- package/components/mui_extended/Button/{index.111f830e.js → index.24b9496b.js} +3 -3
- package/components/mui_extended/{CheckBox.a8958eb8.js → CheckBox.4d930bed.js} +2 -2
- package/components/mui_extended/IconButton/{index.9425bdc5.js → index.f5dcf537.js} +2 -2
- package/components/mui_extended/MenuActions/{index.8b0d69b7.js → index.540d82fd.js} +5 -5
- package/components/mui_extended/Pager/classes/index.d.ts +1 -1
- package/components/mui_extended/Pager/{index.cb749e65.js → index.f3a6c94b.js} +4 -4
- package/components/mui_extended/Popover/{index.5e78a637.js → index.6d8fe229.js} +1 -1
- package/components/mui_extended/Stack/{index.3674daf7.js → index.9d6ed8c2.js} +1 -1
- package/components/mui_extended/Tab/{index.a94a92c1.js → index.0941bb3a.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.a55def3b.js → index.d45c7a60.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.cd20de81.js → index.c51670d1.js} +1 -1
- package/components/mui_extended/Typography/{index.45e97bdd.js → index.dbc44e77.js} +1 -1
- package/components/popups/PopupsViewer/{index.8fe4aa5d.js → index.6a175b73.js} +4 -4
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots.aaf546e2.js → popupsViewerSlots.be9219c7.js} +2 -2
- package/contexts/ModalContext/{index.a5c622d6.js → index.26017754.js} +1 -1
- package/contexts/RHFormContext/{index.40a9547e.js → index.54d30cb2.js} +1 -1
- package/hooks/useFormAddEdit/{index.b6a3cf63.js → index.bd4ae2a5.js} +2 -2
- package/hooks/useModal/{index.3ad1e014.js → index.d3c18b29.js} +1 -1
- package/hooks/useTab/{index.4081b113.js → index.da9b5a24.js} +1 -1
- package/index.js +123 -123
- package/package.json +1 -1
- package/{react-draggable.310e3387.js → react-draggable.1c1ba224.js} +1 -1
- package/{react-resizable.3755959b.js → react-resizable.a59c14f4.js} +2 -2
- package/styles/{DynamicFilter.557ee3a7.js → DynamicFilter.27c16026.js} +1 -1
- package/styles/{index.239f949e.js → index.d972f170.js} +11 -11
- package/vite-env.d.ts +4 -4
- /package/utils/{index.78d1638f.js → index.14912462.js} +0 -0
package/components/CommonActions/components/ActionFormCancel/{index.d1359a38.js → index.d63f6a23.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.24b9496b.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.d3c18b29.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.434f4824.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.b8a431dd.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.415de2bb.js → index.0daa98b8.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.24b9496b.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.434f4824.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.0893587b.js → index.1c40d33b.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.24b9496b.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.434f4824.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.14912462.js";
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index.d972f170.js";
|
|
9
9
|
function getCommonActionsDictionary() {
|
|
10
10
|
return ["common_actions"];
|
|
11
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10 13H6C3.245 13 1 10.755 1 8C1 5.245 3.245 3 6 3H10C12.755 3 15 5.245 15 8C15 10.755 12.755 13 10 13ZM6 4C3.795 4 2 5.795 2 8C2 10.205 3.795 12 6 12H10C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4H6Z" fill="#2F3737"/>
|
|
3
|
-
<path d="M10 11C8.345 11 7 9.655 7 8C7 6.345 8.345 5 10 5C11.655 5 13 6.345 13 8C13 9.655 11.655 11 10 11ZM10 6C8.895 6 8 6.895 8 8C8 9.105 8.895 10 10 10C11.105 10 12 9.105 12 8C12 6.895 11.105 6 10 6Z" fill="#2F3737"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10 13H6C3.245 13 1 10.755 1 8C1 5.245 3.245 3 6 3H10C12.755 3 15 5.245 15 8C15 10.755 12.755 13 10 13ZM6 4C3.795 4 2 5.795 2 8C2 10.205 3.795 12 6 12H10C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4H6Z" fill="#2F3737"/>
|
|
3
|
+
<path d="M10 11C8.345 11 7 9.655 7 8C7 6.345 8.345 5 10 5C11.655 5 13 6.345 13 8C13 9.655 11.655 11 10 11ZM10 6C8.895 6 8 6.895 8 8C8 9.105 8.895 10 10 10C11.105 10 12 9.105 12 8C12 6.895 11.105 6 10 6Z" fill="#2F3737"/>
|
|
4
|
+
</svg>
|
|
@@ -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.5243a181.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.1b738709.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.d538cef8.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.d538cef8.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.2b591dd6.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.3571068b.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.f3a6c94b.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.d972f170.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.8d2e96e7.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.540d82fd.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.d538cef8.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.f3a6c94b.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.f5dcf537.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.d972f170.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.37f4f359.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.d3c18b29.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.0dc3b3ea.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.434f4824.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.ce196f96.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.1c40d33b.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.1c1ba224.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { styled, generateUtilityClasses, useForkRef } from "@mui/material";
|
|
6
|
-
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.
|
|
6
|
+
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.14f082d4.js";
|
|
7
7
|
import "@mui/base";
|
|
8
|
-
import { R as Resizable } from "../../react-resizable.
|
|
8
|
+
import { R as Resizable } from "../../react-resizable.a59c14f4.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.434f4824.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.c8bcfed8.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.de33ba0a.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.d628de04.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.3733c18e.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.bbc1b1c0.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.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.434f4824.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.2b591dd6.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.f5dcf537.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.6d8fe229.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.dbc44e77.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
13
13
|
);
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
7
7
|
import { A as ALL_FIELD } from "../constants.095f1dbb.js";
|
|
8
|
-
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index.
|
|
8
|
+
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index.a7e772f7.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.3733c18e.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.de33ba0a.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.1e2dc145.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.3f1ca3da.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.3733c18e.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.1e2dc145.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.5b952ba7.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.3733c18e.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.1e2dc145.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.1b95c167.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.e38ed08e.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.c8c90968.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.fd8a2421.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.f471309f.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.c8bcfed8.js";
|
|
8
8
|
function BooleanFilter() {
|
|
9
9
|
const { getLabel } = useModuleDictionary();
|
|
10
10
|
const operators = useMemo(
|
|
@@ -31,6 +31,7 @@ function BooleanFilter() {
|
|
|
31
31
|
/* @__PURE__ */ jsx(
|
|
32
32
|
RHFAutocomplete,
|
|
33
33
|
{
|
|
34
|
+
type: "text",
|
|
34
35
|
name: "formValueOperator",
|
|
35
36
|
autoComplete: "off",
|
|
36
37
|
options: operators,
|
|
@@ -42,6 +43,7 @@ function BooleanFilter() {
|
|
|
42
43
|
/* @__PURE__ */ jsx(
|
|
43
44
|
RHFAutocomplete,
|
|
44
45
|
{
|
|
46
|
+
type: "text",
|
|
45
47
|
name: "formValueOperand1",
|
|
46
48
|
autoComplete: "off",
|
|
47
49
|
options: optionsYesNo,
|
|
@@ -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.f471309f.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.c8bcfed8.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.fb4867fa.js";
|
|
10
|
+
import { i as isValidDate } from "../../../../../utils/index.14912462.js";
|
|
11
11
|
function DateTimeFilter() {
|
|
12
12
|
const { getLabel } = useModuleDictionary();
|
|
13
13
|
const { control } = useFormContext();
|
|
@@ -26,6 +26,7 @@ function DateTimeFilter() {
|
|
|
26
26
|
/* @__PURE__ */ jsx(
|
|
27
27
|
RHFAutocomplete,
|
|
28
28
|
{
|
|
29
|
+
type: "text",
|
|
29
30
|
name: "formValueOperator",
|
|
30
31
|
autoComplete: "off",
|
|
31
32
|
options: operators,
|
|
@@ -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.f471309f.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.c8bcfed8.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.257c6486.js";
|
|
10
10
|
function NumberFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { control } = useFormContext();
|
|
@@ -25,6 +25,7 @@ function NumberFilter() {
|
|
|
25
25
|
/* @__PURE__ */ jsx(
|
|
26
26
|
RHFAutocomplete,
|
|
27
27
|
{
|
|
28
|
+
type: "text",
|
|
28
29
|
name: "formValueOperator",
|
|
29
30
|
autoComplete: "off",
|
|
30
31
|
options: operators,
|
|
@@ -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.f471309f.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.3733c18e.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.c8bcfed8.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.2b2ff592.js";
|
|
10
10
|
function SelectFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const field = useDynamicFilterStore((state) => state.popoverFilterData?.field);
|
|
@@ -25,6 +25,7 @@ function SelectFilter() {
|
|
|
25
25
|
/* @__PURE__ */ jsx(
|
|
26
26
|
RHFAutocomplete,
|
|
27
27
|
{
|
|
28
|
+
type: "text",
|
|
28
29
|
name: "formValueOperator",
|
|
29
30
|
autoComplete: "off",
|
|
30
31
|
options: operators,
|
|
@@ -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.f471309f.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.c8bcfed8.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.257c6486.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
|
@@ -19,6 +19,7 @@ function StringFilter() {
|
|
|
19
19
|
/* @__PURE__ */ jsx(
|
|
20
20
|
RHFAutocomplete,
|
|
21
21
|
{
|
|
22
|
+
type: "text",
|
|
22
23
|
name: "formValueOperator",
|
|
23
24
|
autoComplete: "off",
|
|
24
25
|
options: operators,
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.e8f1d8e5.js → index.de33ba0a.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.b0a2c96e.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.804bb474.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.2036b257.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.d7559fb2.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.d628de04.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.35014c15.js → index.c8c90968.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.3733c18e.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.f471309f.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.1e2dc145.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.f42e9571.js → index.1b95c167.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.f471309f.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.3733c18e.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.1e2dc145.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.9f07285e.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index.ada7eb0c.js → index.fd8a2421.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.3733c18e.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.de33ba0a.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.1e2dc145.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.54d30cb2.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.ce196f96.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.1c40d33b.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.3733c18e.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.1e2dc145.js";
|
|
5
5
|
function usePopoverMenuFields() {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
|
|
@@ -23,7 +23,7 @@ export declare type FieldTypeOperator<T extends FieldType> = T extends 'boolean'
|
|
|
23
23
|
export declare type FieldTypeOperand<T extends FieldType> = T extends 'boolean' ? boolean : T extends 'datetime' ? Date : T extends 'number' ? number : T extends 'string' ? string : T extends 'select' ? OperandsArrayValues : FieldType;
|
|
24
24
|
declare type SelectOptions = Pick<RHFAutocompleteAsyncProps<{
|
|
25
25
|
[key: string]: any;
|
|
26
|
-
}>, '
|
|
26
|
+
}>, 'type' | 'endPoint' | 'getOptionLabel' | 'isOptionEqualToValue' | 'multiple' | 'autoComplete' | 'autoCapitalize' | 'parms' | 'timeout'> & {
|
|
27
27
|
getOptionId: (option: Record<string, any>) => string | number;
|
|
28
28
|
};
|
|
29
29
|
export interface FieldBase<T extends FieldType = FieldType> {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { F as FieldLabelRoot } from "../../styles/index.
|
|
3
|
+
import { F as FieldLabelRoot } from "../../styles/index.d972f170.js";
|
|
4
4
|
import { generateUtilityClasses, Tooltip, Skeleton } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
6
|
+
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { T as Typography } from "../mui_extended/Typography/index.dbc44e77.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.2b591dd6.js";
|
|
10
10
|
const componentName = "M4LFieldLabel";
|
|
11
11
|
generateUtilityClasses(componentName, [
|
|
12
12
|
"root",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.
|
|
5
|
-
import { G as GridLayoutRoot } from "../../styles/index.
|
|
4
|
+
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.c9f8165b.js";
|
|
5
|
+
import { G as GridLayoutRoot } from "../../styles/index.d972f170.js";
|
|
6
6
|
import { generateUtilityClasses } from "@mui/material";
|
|
7
7
|
import "@mui/base";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LGridLayout";
|
package/components/GridLayout/subcomponents/Griditem/{index.02bcb3b3.js → index.c9f8165b.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
3
|
-
import { D as DraggableCore_1 } from "../../../../react-draggable.
|
|
4
|
-
import { R as Resizable } from "../../../../react-resizable.
|
|
5
|
-
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.
|
|
3
|
+
import { D as DraggableCore_1 } from "../../../../react-draggable.1c1ba224.js";
|
|
4
|
+
import { R as Resizable } from "../../../../react-resizable.a59c14f4.js";
|
|
5
|
+
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.a9f419d8.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { deepEqual } from "fast-equals";
|
|
8
8
|
function GridItem(props) {
|
package/components/GridLayout/subcomponents/Responsive/{index.65aeef5e.js → index.ad80dae3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.
|
|
2
|
+
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.a9f419d8.js";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { useFirstRender } from "@m4l/graphics";
|
|
5
5
|
import { deepEqual } from "fast-equals";
|
package/components/GridLayout/subcomponents/SizeProvider/{index.0aad6f90.js → index.6ebe8790.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { throttle } from "lodash";
|
|
5
5
|
import { useResizeObserver } from "@m4l/graphics";
|
|
6
|
-
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.
|
|
6
|
+
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.a9f419d8.js";
|
|
7
7
|
function withSizeProvider(ComposedComponent) {
|
|
8
8
|
return (props) => {
|
|
9
9
|
const { measureBeforeMount = true, ...rest } = props;
|