@m4l/components 2.0.2 → 2.0.4
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 +37 -34
- package/components/AccountPopover/{index.68a8c117.js → index.323b6cf4.js} +3 -3
- package/components/AppBar/{index.09ac84de.js → index.209841e1.js} +4 -4
- package/components/BaseModule/{index.51f3fd59.js → index.aee40a28.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f6c15443.js → index.797d8195.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.33d49d50.js → index.d6776091.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.0e78a223.js → index.2af9a15d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.73b33789.js → index.865af0d8.js} +2 -2
- package/components/CommonActions/components/Actions/{index.c7fab394.js → index.841f1da0.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0a1b3610.js → index.5dac4b66.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.30890ddd.js → index.12d2461f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.9aa14799.js → index.7234f4b9.js} +1 -1
- package/components/DataGrid/formatters/{index.90ed715b.js → index.93458be0.js} +2 -2
- package/components/DataGrid/{index.58b8d903.js → index.fa8634c0.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.ea70129c.js → index.5ff19f99.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.8c51fb79.js → index.c0382188.js} +5 -9
- package/components/DynamicFilter/{dictionary.10bebb21.js → dictionary.d36bea70.js} +2 -2
- package/components/DynamicFilter/{index.a978aea9.js → index.5d0688b9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.26eaa1b1.js → dynamicFilterSlots.58ee518d.js} +6 -6
- package/components/DynamicFilter/store/{index.81a5dd49.js → index.2c9704ee.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.bc09a76f.js → index.faf637d6.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.891b913a.js → index.e1008442.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.8fbcaf0f.js → index.246c1304.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.699a1d82.js → index.5c3063f2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.59293b05.js → index.cc477a59.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.ca652641.js → index.88bb0dee.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.22eac312.js → index.eec7fa42.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.3e2ae583.js → index.50a0dfb9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.0abab72e.js → index.06fb696b.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.06e8baff.js → index.415b11e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.b312fd70.js → index.46905747.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.eeb15b54.js → index.fe51263d.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.43857f7a.js → index.0b52a455.js} +2 -2
- package/components/FieldLabel/{index.2aaaac6f.js → index.13a833c9.js} +4 -4
- package/components/GridLayout/{index.2f9a1cff.js → index.95c84243.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.f904e69e.js → index.99bf4b5c.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.ef62bea3.js → index.83d6fc44.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.2707f196.js → index.bf9a859a.js} +1 -1
- package/components/HelperText/{index.25891eda.js → index.83b28429.js} +2 -2
- package/components/Icon/{index.89dba21c.js → index.f9cd9367.js} +3 -3
- package/components/Image/{index.94949e55.js → index.eec95206.js} +2 -2
- package/components/LanguagePopover/{index.54aff144.js → index.becad7ef.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.e25f9201.js → index.87be4283.js} +2 -2
- package/components/LoadingError/{index.ef15a461.js → index.8b7a3162.js} +5 -5
- package/components/MFIsolationApp/{index.083fad1c.js → index.d20c8218.js} +2 -2
- package/components/MFLoader/{index.342598a8.js → index.3e7b4cb5.js} +2 -2
- package/components/ModalDialog/{index.545ef5eb.js → index.ec0ab622.js} +4 -4
- package/components/NavLink/{index.6a6f3671.js → index.cca2c605.js} +2 -2
- package/components/NoItemSelected/{index.0d1e8d29.js → index.fa49cac5.js} +1 -1
- package/components/ObjectLogs/{index.32555956.js → index.f70e0c0c.js} +9 -9
- package/components/PDFViewer/{index.e909be56.js → index.cdc90184.js} +2 -2
- package/components/Page/{index.d42de29f.js → index.4759d66c.js} +1 -1
- package/components/PaperForm/{index.dbcbd677.js → index.5cc98ed7.js} +2 -2
- package/components/Period/{index.76c4e428.js → index.6b0b98c1.js} +4 -4
- package/components/PrintingSystem/{index.3381ece1.js → index.0acacf1b.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.da4c231c.js → index.779838e5.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4871c76e.js → index.6a572f3d.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f768c90f.js → index.a121da0d.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.725664fd.js → index.0775edc0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.caebf8e6.js → index.8d196cc6.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a5f20406.js → index.1542db42.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.6d2ed690.js → index.34e7cd43.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.ec9d332c.js → index.8f42fe69.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.e9449a3f.js → index.9a39e104.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.bf55f5a7.js → index.73fb8756.js} +1 -1
- package/components/PropertyValue/{index.9dd592cd.js → index.d1ca87c1.js} +3 -3
- package/components/Resizeable/{index.6cbe80f0.js → index.c2f229d6.js} +1 -1
- package/components/ScrollBar/{index.aedb43d9.js → index.424bd908.js} +1 -1
- package/components/SideBar/{index.edd76204.js → index.2ce72f65.js} +6 -6
- package/components/SplitLayout/{index.5289a660.js → index.4265a602.js} +1 -1
- package/components/ToastContainer/{index.8f9f75e9.js → index.b5413d7f.js} +3 -3
- package/components/animate/LoadingScreen/{index.c5cf3b93.js → index.20b1f443.js} +1 -1
- package/components/animate/{index.9c9ee071.js → index.680f5895.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.a52bb40d.js → index.b41fe898.js} +15 -15
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.de8df5d3.js → index.be5f5a9d.js} +73 -36
- package/components/areas/contexts/AreasContext/{index.514df5ff.js → index.e4be3c65.js} +4 -4
- package/components/areas/hooks/useAreas/{index.6c943645.js → index.ce08327d.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.cac50795.js → index.372ea01e.js} +2 -2
- package/components/commercial/SectionCommercial/{index.c967ba14.js → index.026cc71f.js} +2 -2
- package/components/commercial/TopBar/{index.85568231.js → index.fff88136.js} +6 -6
- package/components/commercial/{index.d872094e.js → index.1ea39cc1.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.1da1e6b0.js → index.c29c63fc.js} +2 -2
- package/components/formatters/{index.ac081b3a.js → index.5f44ed46.js} +2 -2
- package/components/hook-form/HelperError/{index.296a4c82.js → index.f2b943ae.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.b1c29dd0.js → index.3f11b4dd.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.fb434e68.js → index.60003c6b.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.140d872f.js → index.3ce32b03.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index.3eb719ac.js → index.21ae7dca.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.54f97b37.js → index.0d2b3d0a.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.c8238ea4.js → index.c950b5d0.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.78ec0e22.js → index.87be90b7.js} +1 -1
- package/components/hook-form/RHFTextField/{index.984a4dba.js → index.7f95edb6.js} +5 -5
- package/components/hook-form/RHFUpload/{index.0516dc8f.js → index.13724496.js} +5 -5
- package/components/maps/components/GpsTools/{index.779e5b17.js → index.6da62b64.js} +23 -23
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.14ce256b.js → index.9c3b3cd0.js} +42 -35
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.a6654e8c.js → WindowBase.6c15797f.js} +3 -3
- package/components/modal/{WindowConfirm.38a79eee.js → WindowConfirm.0d48420b.js} +6 -6
- package/components/mui_extended/Accordion/{index.0e62423b.js → index.fd738d87.js} +4 -4
- package/components/mui_extended/Avatar/{index.edcf899d.js → index.c7b7541f.js} +1 -1
- package/components/mui_extended/Badge/{index.a6dceff2.js → index.cb26549b.js} +1 -1
- package/components/mui_extended/Button/{index.9c6c173c.js → index.19eb272d.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox.9d43398b.js → CheckBox.d6469bd2.js} +2 -2
- package/components/mui_extended/IconButton/{index.42efd85d.js → index.4134de6f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b1f8a1be.js → index.ee8887b7.js} +5 -5
- package/components/mui_extended/Pager/{index.3687d8b6.js → index.015df2f9.js} +4 -4
- package/components/mui_extended/Popover/{index.58f8522b.js → index.ab4709b3.js} +1 -1
- package/components/mui_extended/Stack/{index.b0690398.js → index.53be5d28.js} +1 -1
- package/components/mui_extended/Tab/{index.8a0bd49c.js → index.7abd42e8.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.c4e62f10.js → index.a34836ba.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.7635e223.js → index.1f4121fa.js} +1 -1
- package/components/mui_extended/Typography/{index.24a872e2.js → index.202945af.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.eaa54c6c.js → index.fb409d20.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.00d8493c.js +46 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +6 -1
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +3 -4
- package/components/popups/components/PopupsViewer/constants.d.ts +0 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +3 -3
- package/components/popups/components/PopupsViewer/slots/slots.d.ts +1 -1
- package/components/popups/components/PopupsViewer/types.d.ts +1 -1
- package/contexts/ModalContext/{index.7f4d2b18.js → index.eb616dfb.js} +1 -1
- package/contexts/RHFormContext/{index.19edaacb.js → index.2ced89c0.js} +1 -1
- package/hooks/useFormAddEdit/{index.aa9cc210.js → index.5f204081.js} +2 -2
- package/hooks/useModal/{index.a2a50f01.js → index.33e4befd.js} +1 -1
- package/hooks/useTab/{index.c0a8f413.js → index.bcbaa818.js} +1 -1
- package/index.js +133 -133
- package/package.json +1 -1
- package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.557ee3a7.js} +1 -1
- package/styles/{index.59da2f54.js → index.cabe6a64.js} +19 -11
- package/vite-env.d.ts +4 -4
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.45032030.js +0 -39
- /package/utils/{index.14912462.js → index.78d1638f.js} +0 -0
package/components/CommonActions/components/ActionCancel/{index.f6c15443.js → index.797d8195.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.19eb272d.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.841f1da0.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index.33d49d50.js → index.d6776091.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.19eb272d.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.33e4befd.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.841f1da0.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.0d48420b.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.0e78a223.js → index.2af9a15d.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.19eb272d.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index.841f1da0.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.73b33789.js → index.865af0d8.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.19eb272d.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.841f1da0.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.78d1638f.js";
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index.cabe6a64.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.c29c63fc.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.5f44ed46.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.fa8634c0.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.fa8634c0.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.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.ec0ab622.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.015df2f9.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.cabe6a64.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.5ff19f99.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.ee8887b7.js";
|
|
3
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.fa8634c0.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.015df2f9.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.4134de6f.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.cabe6a64.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.7234f4b9.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index.33e4befd.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase.6c15797f.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.841f1da0.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.797d8195.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.865af0d8.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -1,23 +1,20 @@
|
|
|
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.310e3387.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.14ce256b.js";
|
|
7
6
|
import "@mui/base";
|
|
8
|
-
import { R as Resizable } from "../../react-resizable.
|
|
7
|
+
import { R as Resizable } from "../../react-resizable.3755959b.js";
|
|
9
8
|
const WrapperDragResizeWindowRoot = styled("div")`
|
|
10
9
|
position: absolute;
|
|
11
10
|
left: 0px;
|
|
12
11
|
top: 0px;
|
|
13
12
|
background-color: gray;
|
|
14
|
-
|
|
15
|
-
prop2: 2;
|
|
16
|
-
|
|
13
|
+
prop2: 1;
|
|
17
14
|
|
|
18
15
|
&.M4LDraggableWindow-hidden {
|
|
19
16
|
visibility: hidden;
|
|
20
|
-
|
|
17
|
+
pointerevents: none;
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
${(props) => props.theme.components?.M4LDragResizeWindow?.styleOverrides}
|
|
@@ -465,8 +462,7 @@ const DragResizeWindow = forwardRef((props, ref) => {
|
|
|
465
462
|
const styleFinal = {
|
|
466
463
|
...style,
|
|
467
464
|
...setTransform(currentState),
|
|
468
|
-
prop2: 1
|
|
469
|
-
backgroundColor: "gray"
|
|
465
|
+
prop2: 1
|
|
470
466
|
};
|
|
471
467
|
const memoChildren = useMemo(() => {
|
|
472
468
|
return children;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
2
|
-
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.
|
|
1
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.841f1da0.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.3f11b4dd.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.06fb696b.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.eec7fa42.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.2c9704ee.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.246c1304.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.557ee3a7.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.841f1da0.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.4134de6f.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.ab4709b3.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.202945af.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.5d0688b9.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.2c9704ee.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.06fb696b.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.58ee518d.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.424bd908.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.2c9704ee.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.58ee518d.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.faf637d6.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.2c9704ee.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.58ee518d.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.46905747.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.e1008442.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.415b11e6.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.fe51263d.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.d36bea70.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.3f11b4dd.js";
|
|
8
8
|
function BooleanFilter() {
|
|
9
9
|
const { getLabel } = useModuleDictionary();
|
|
10
10
|
const operators = useMemo(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.d36bea70.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.3f11b4dd.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.0d2b3d0a.js";
|
|
10
|
+
import { i as isValidDate } from "../../../../../utils/index.78d1638f.js";
|
|
11
11
|
function DateTimeFilter() {
|
|
12
12
|
const { getLabel } = useModuleDictionary();
|
|
13
13
|
const { control } = useFormContext();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.d36bea70.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.3f11b4dd.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.7f95edb6.js";
|
|
10
10
|
function NumberFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { control } = useFormContext();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.d36bea70.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.2c9704ee.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.3f11b4dd.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.60003c6b.js";
|
|
10
10
|
function SelectFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const field = useDynamicFilterStore((state) => state.popoverFilterData?.field);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.d36bea70.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.3f11b4dd.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.7f95edb6.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.0abab72e.js → index.06fb696b.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.5c3063f2.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.50a0dfb9.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.cc477a59.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.88bb0dee.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.eec7fa42.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.06e8baff.js → index.415b11e6.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.2c9704ee.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.d36bea70.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.58ee518d.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.b312fd70.js → index.46905747.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.d36bea70.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.2c9704ee.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.58ee518d.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.0b52a455.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index.eeb15b54.js → index.fe51263d.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.2c9704ee.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.06fb696b.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.58ee518d.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.2ced89c0.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.797d8195.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.865af0d8.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.2c9704ee.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.58ee518d.js";
|
|
5
5
|
function usePopoverMenuFields() {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { F as FieldLabelRoot } from "../../styles/index.
|
|
3
|
+
import { F as FieldLabelRoot } from "../../styles/index.cabe6a64.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.78d1638f.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.202945af.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.f9cd9367.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.99bf4b5c.js";
|
|
5
|
+
import { G as GridLayoutRoot } from "../../styles/index.cabe6a64.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.f904e69e.js → index.99bf4b5c.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.310e3387.js";
|
|
4
|
+
import { R as Resizable } from "../../../../react-resizable.3755959b.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.95c84243.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.ef62bea3.js → index.83d6fc44.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.95c84243.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.2707f196.js → index.bf9a859a.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.95c84243.js";
|
|
7
7
|
function withSizeProvider(ComposedComponent) {
|
|
8
8
|
return (props) => {
|
|
9
9
|
const { measureBeforeMount = true, ...rest } = props;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { H as HelperTextRoot } from "../../styles/index.
|
|
2
|
+
import { H as HelperTextRoot } from "../../styles/index.cabe6a64.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
5
|
+
import { T as Typography } from "../mui_extended/Typography/index.202945af.js";
|
|
6
6
|
const componentName = "M4LHelperText";
|
|
7
7
|
const errorLabelClasses = generateUtilityClasses(componentName, [
|
|
8
8
|
"root",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Marker } from "react-leaflet";
|
|
3
3
|
import L__default from "leaflet";
|
|
4
|
-
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.
|
|
4
|
+
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.9c3b3cd0.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
|
-
import { I as IconRoot, e as DivIcon, f as ArrowIconRoot } from "../../styles/index.
|
|
8
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
7
|
+
import { I as IconRoot, e as DivIcon, f as ArrowIconRoot } from "../../styles/index.cabe6a64.js";
|
|
8
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.2ce72f65.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|