@m4l/components 2.0.5 → 2.0.7
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/types.d.ts +7 -4
- package/components/AccountPopover/{index.09362223.js → index.a5747746.js} +3 -3
- package/components/AppBar/{index.ad5dd74a.js → index.2d458607.js} +4 -4
- package/components/BaseModule/{index.0255d08a.js → index.3f266927.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f0e87113.js → index.c1185f46.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.19e9426c.js → index.7f76a6ba.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.77a6fe72.js → index.8a23ec62.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f35bee5a.js → index.185199da.js} +2 -2
- package/components/CommonActions/components/Actions/{index.a31243c7.js → index.ea4c273b.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.2dd9a083.js → index.0739f098.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.989012eb.js → index.d524f74c.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.64406a72.js → index.addc6664.js} +1 -1
- package/components/DataGrid/formatters/{index.23ae62ba.js → index.ee269cae.js} +2 -2
- package/components/DataGrid/{index.3b0b896f.js → index.1feaab04.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.862a2ef4.js → index.06306495.js} +11 -11
- package/components/DragResizeWindow/{index.2d36bbda.js → index.44fad985.js} +3 -7
- package/components/DynamicFilter/{dictionary.ad954460.js → dictionary.a55d5bc2.js} +2 -2
- package/components/DynamicFilter/{index.4747acfe.js → index.2033e755.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.345fe83a.js → dynamicFilterSlots.3ef5ec21.js} +5 -5
- package/components/DynamicFilter/store/{index.8e24684e.js → index.3cc06678.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f68c42e6.js → index.db29f2ff.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.3508775b.js → index.2de720bc.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.5297577d.js → index.7a9d4d33.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.cce07177.js → index.a4269ba3.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.1fafe2e3.js → index.ebb6606c.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.b0b906a1.js → index.cd343ba0.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.1db0c059.js → index.b5c31620.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.7accc2b1.js → index.4c42f140.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.8f88f9d0.js → index.3e15fc1c.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.bf41bca8.js → index.0d687448.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.a2976024.js → index.4c5bb297.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.f247b95a.js → index.6c8c52ae.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.1467729b.js → index.9cf2bc44.js} +2 -2
- package/components/FieldLabel/{index.c35e5984.js → index.972f989e.js} +3 -3
- package/components/GridLayout/{index.991206c1.js → index.2b9bc85c.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.50663f91.js → index.684c3f3c.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.c10c0af7.js → index.dc0a1ce0.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.e4ef4f10.js → index.15d0ca85.js} +1 -1
- package/components/HelperText/{index.c0fc2bfb.js → index.2f4c6655.js} +2 -2
- package/components/Icon/{index.0378f7b8.js → index.0f315ccd.js} +3 -3
- package/components/Image/{index.7df7536b.js → index.32b58ce4.js} +2 -2
- package/components/LanguagePopover/{index.12cbf486.js → index.6ac2473a.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.49e62c03.js → index.6d1605ff.js} +1 -1
- package/components/LoadingError/{index.efecda3d.js → index.c5a70390.js} +5 -5
- package/components/MFIsolationApp/{index.71823b4e.js → index.56a12cde.js} +2 -2
- package/components/MFLoader/{index.2b4b60aa.js → index.cc350d72.js} +2 -2
- package/components/ModalDialog/{index.3cf272e0.js → index.580a88dc.js} +3 -3
- package/components/NavLink/{index.34d04791.js → index.c6fd316b.js} +2 -2
- package/components/NoItemSelected/{index.6d3880da.js → index.7274cdb1.js} +1 -1
- package/components/ObjectLogs/{index.11c77d6c.js → index.1b51e5f2.js} +9 -9
- package/components/PDFViewer/{index.c119e76a.js → index.eed9494a.js} +2 -2
- package/components/Page/{index.8b261573.js → index.f6884847.js} +1 -1
- package/components/PaperForm/{index.1b7bf005.js → index.86c1f1d6.js} +2 -2
- package/components/Period/{index.d08a64dd.js → index.5757802b.js} +4 -4
- package/components/PrintingSystem/{index.64fb8f9e.js → index.47e0ce83.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.58e31c42.js → index.d58660a8.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.cfe2f5ae.js → index.8e010873.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.ec939491.js → index.13330f51.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.9d0d60c7.js → index.05da3e1d.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1f05914c.js → index.d68b5460.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9a488ca7.js → index.0ed11227.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.1d4ed8ed.js → index.0a0227e4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.d39efc69.js → index.18931b6e.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.63c25d75.js → index.e80cce87.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.e6e71c65.js → index.7fc92f43.js} +1 -1
- package/components/PropertyValue/{index.4584a224.js → index.ee9cf342.js} +3 -3
- package/components/Resizeable/{index.c48bfe53.js → index.0ffd46bc.js} +1 -1
- package/components/ScrollBar/{index.3168cc7d.js → index.45b8db89.js} +1 -1
- package/components/SideBar/{index.c6664730.js → index.50868466.js} +5 -5
- package/components/SplitLayout/{index.f73f5f71.js → index.c2b8dcb8.js} +1 -1
- package/components/ToastContainer/{index.404d68c0.js → index.ed566312.js} +2 -2
- package/components/animate/LoadingScreen/{index.d494c5f4.js → index.31af02f8.js} +1 -1
- package/components/animate/{index.35e70d72.js → index.160607f3.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.daf5521f.js → index.cb60f940.js} +14 -14
- package/components/areas/components/AreasViewer/{index.dab7e9c9.js → index.350ee032.js} +13 -13
- package/components/areas/contexts/AreasContext/{index.43aadacb.js → index.1a5c5df1.js} +4 -4
- package/components/areas/hooks/useAreas/{index.ed67113b.js → index.ba948f80.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.4ab283a9.js → index.cdc42f41.js} +1 -1
- package/components/commercial/SectionCommercial/{index.5e808beb.js → index.a9265d42.js} +1 -1
- package/components/commercial/TopBar/{index.d5fc459d.js → index.06c1e138.js} +5 -5
- package/components/commercial/{index.b17673f0.js → index.163293c3.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.d792c9f4.js → index.b224ae9b.js} +2 -2
- package/components/formatters/{index.e3314ffd.js → index.373a6ce1.js} +2 -2
- package/components/hook-form/HelperError/{index.d37b96f4.js → index.399e7338.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.e8d47108.js → index.0d32fed5.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.10e23560.js → index.2622450c.js} +6 -4
- package/components/hook-form/RHFCheckbox/{index.ab66cde5.js → index.3229f16c.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.8224d965.js → index.86525787.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.af136c35.js → index.572079c5.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.cdad3414.js → index.1883d9f6.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.a3e56551.js → index.9eea0df1.js} +1 -1
- package/components/hook-form/RHFTextField/{index.03fa7ae0.js → index.5b124af3.js} +4 -4
- package/components/hook-form/RHFUpload/{index.2209f3a8.js → index.cf63abf0.js} +5 -5
- package/components/maps/components/GpsTools/{index.2f9fdb32.js → index.7628172f.js} +23 -23
- package/components/maps/components/Map/{index.1130b9e0.js → index.df953487.js} +41 -34
- package/components/modal/{WindowBase.26cb9e19.js → WindowBase.cb284225.js} +3 -3
- package/components/modal/{WindowConfirm.ffee7475.js → WindowConfirm.193cc75e.js} +6 -6
- package/components/mui_extended/Accordion/{index.56b0bded.js → index.49007a43.js} +4 -4
- package/components/mui_extended/Avatar/{index.9e8c8487.js → index.a2e1ca6d.js} +1 -1
- package/components/mui_extended/Badge/{index.ef803787.js → index.188ffbb4.js} +1 -1
- package/components/mui_extended/Button/{index.67e1ea7f.js → index.ca15c36e.js} +3 -3
- package/components/mui_extended/{CheckBox.71c728f8.js → CheckBox.983e10e6.js} +2 -2
- package/components/mui_extended/IconButton/{index.4a12de37.js → index.caf17392.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b19042b5.js → index.c24bd476.js} +5 -5
- package/components/mui_extended/Pager/{index.8da962a5.js → index.f27033fc.js} +4 -4
- package/components/mui_extended/Popover/{index.71389b6e.js → index.1fafd106.js} +1 -1
- package/components/mui_extended/Stack/{index.27af6301.js → index.b8c3b40b.js} +1 -1
- package/components/mui_extended/Tab/{index.0469b44f.js → index.c2dca6dd.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.96ae2da5.js → index.4b6f9c8e.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.a446e702.js → index.0513d9e6.js} +1 -1
- package/components/mui_extended/Typography/{index.978f5554.js → index.61dd3fc6.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.a4d6eb40.js → index.c6a0c277.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.0b92fc90.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.49e5d904.js → index.50cc9ba8.js} +1 -1
- package/contexts/RHFormContext/{index.5f9c1c0e.js → index.acc30d9b.js} +1 -1
- package/hooks/useFormAddEdit/{index.000bf636.js → index.daf5d0c8.js} +2 -2
- package/hooks/useModal/{index.3c70915b.js → index.6f5c238d.js} +1 -1
- package/hooks/useTab/{index.0e62c5a7.js → index.8c6646a4.js} +1 -1
- package/index.js +129 -129
- package/package.json +1 -1
- package/styles/{index.b0676d6a.js → index.ccd8acc4.js} +7 -7
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.ff398b8d.js +0 -39
|
@@ -6,13 +6,13 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
6
6
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
7
7
|
import { devtools } from "zustand/middleware";
|
|
8
8
|
import { immer } from "zustand/middleware/immer";
|
|
9
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
10
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
9
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.350ee032.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.cb60f940.js";
|
|
11
11
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
12
12
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
13
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
13
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.dc0a1ce0.js";
|
|
14
14
|
import { debounce, cloneDeep } from "lodash";
|
|
15
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
15
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.2b9bc85c.js";
|
|
16
16
|
const PADDING_GRIDLAYOUT = 11;
|
|
17
17
|
const MARGIN_GRIDLAYOUT = 11;
|
|
18
18
|
const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { b as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { b as AreasContext } from "../../contexts/AreasContext/index.1a5c5df1.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
4
|
import { g as getComponentUtilityClass } from "../../../utils/index.ebfbb70f.js";
|
|
5
|
-
import { ab as AppBarComercialRoot } from "../../../styles/index.
|
|
5
|
+
import { ab as AppBarComercialRoot } from "../../../styles/index.ccd8acc4.js";
|
|
6
6
|
const componentName = "M4LAppBarCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
4
|
import { g as getComponentUtilityClass } from "../../../utils/index.ebfbb70f.js";
|
|
5
|
-
import { ac as SectionCommercialRoot } from "../../../styles/index.
|
|
5
|
+
import { ac as SectionCommercialRoot } from "../../../styles/index.ccd8acc4.js";
|
|
6
6
|
const componentName = "M4LSectionCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -5,13 +5,13 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../../utils/index.ebfbb70f.js";
|
|
6
6
|
import { createContext, useContext, useState } from "react";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { ad as ArrowIconRoot } from "../../../styles/index.
|
|
9
|
-
import { I as Icon } from "../../Icon/index.
|
|
8
|
+
import { ad as ArrowIconRoot } from "../../../styles/index.ccd8acc4.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
12
|
-
import { A as Accordion } from "../../mui_extended/Accordion/index.
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
14
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
12
|
+
import { A as Accordion } from "../../mui_extended/Accordion/index.49007a43.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.ca15c36e.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.1fafd106.js";
|
|
15
15
|
const componentName = "M4LTopBar";
|
|
16
16
|
const TopBarClasses = generateUtilityClasses(componentName, [
|
|
17
17
|
"root",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ae as HamburgerMenuRoot } from "../../styles/index.
|
|
3
|
+
import { ae as HamburgerMenuRoot } from "../../styles/index.ccd8acc4.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { S as SideBar } from "../SideBar/index.
|
|
9
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
+
import { S as SideBar } from "../SideBar/index.50868466.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.caf17392.js";
|
|
10
10
|
const componentName = "M4LHamburgerMenuCommercial";
|
|
11
11
|
generateUtilityClasses(componentName, ["root", "ImageLogo"]);
|
|
12
12
|
function getHamburgerMenuComercialClassesUtilityClass(slot) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
5
5
|
import { W as WrapperComponent } from "../../WrapperComponent/index.57964195.js";
|
|
6
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index.
|
|
6
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index.373a6ce1.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
9
9
|
const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { af as FormatterRootContainer } from "../../styles/index.
|
|
4
|
+
import { af as FormatterRootContainer } from "../../styles/index.ccd8acc4.js";
|
|
5
5
|
import { W as WrapperComponent } from "../WrapperComponent/index.57964195.js";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.
|
|
7
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.b224ae9b.js";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
9
9
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
10
10
|
"root",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useController } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
4
4
|
function HelperError(props) {
|
|
5
5
|
const { name } = props;
|
|
6
6
|
const { control } = useFormContext();
|
|
@@ -6,14 +6,14 @@ import { generateUtilityClasses, generateUtilityClass, Skeleton, useTheme, Autoc
|
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useFormContext, Controller } from "react-hook-form";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.
|
|
9
|
+
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.ccd8acc4.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
-
import { I as Image } from "../../Image/index.
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
13
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
11
|
+
import { I as Image } from "../../Image/index.32b58ce4.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.61dd3fc6.js";
|
|
13
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
|
|
15
15
|
import { C as CircularProgress } from "../../mui_extended/CircularProgress/index.967e70b7.js";
|
|
16
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
16
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.caf17392.js";
|
|
17
17
|
const componentName = "M4LRHFAutocomplete";
|
|
18
18
|
generateUtilityClasses(
|
|
19
19
|
componentName,
|
|
@@ -4,9 +4,9 @@ import { useState, useCallback, useEffect } from "react";
|
|
|
4
4
|
import debounce from "lodash/debounce";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.
|
|
7
|
+
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.ccd8acc4.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
9
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.0d32fed5.js";
|
|
10
10
|
const componentName = "M4LRHFAutocompleteAsync";
|
|
11
11
|
generateUtilityClasses(
|
|
12
12
|
componentName,
|
|
@@ -51,6 +51,7 @@ function ComponentTypeText(props) {
|
|
|
51
51
|
const [filterParms, setFilterParms] = useState({});
|
|
52
52
|
const refresh = () => {
|
|
53
53
|
setNewRefresh((current) => current + 1);
|
|
54
|
+
firstOpen === 0 && hanldeFirstOpen();
|
|
54
55
|
};
|
|
55
56
|
const debouncedFilter = useCallback(
|
|
56
57
|
debounce(
|
|
@@ -76,7 +77,7 @@ function ComponentTypeText(props) {
|
|
|
76
77
|
}
|
|
77
78
|
};
|
|
78
79
|
useEffect(() => {
|
|
79
|
-
if (!loading && canLoadOptions) {
|
|
80
|
+
if (firstOpen === 1 && !loading && canLoadOptions) {
|
|
80
81
|
setIsloading(true);
|
|
81
82
|
setOptions([]);
|
|
82
83
|
setCanLoadOptions(false);
|
|
@@ -141,6 +142,7 @@ function ComponentTypeImage(props) {
|
|
|
141
142
|
const [filterParms, setFilterParms] = useState({});
|
|
142
143
|
const refresh = () => {
|
|
143
144
|
setNewRefresh((current) => current + 1);
|
|
145
|
+
firstOpen === 0 && hanldeFirstOpen();
|
|
144
146
|
};
|
|
145
147
|
const debouncedFilter = useCallback(
|
|
146
148
|
debounce(
|
|
@@ -166,7 +168,7 @@ function ComponentTypeImage(props) {
|
|
|
166
168
|
}
|
|
167
169
|
};
|
|
168
170
|
useEffect(() => {
|
|
169
|
-
if (!loading && canLoadOptions) {
|
|
171
|
+
if (firstOpen === 1 && !loading && canLoadOptions) {
|
|
170
172
|
setIsloading(true);
|
|
171
173
|
setOptions([]);
|
|
172
174
|
setCanLoadOptions(false);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.
|
|
3
|
+
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.ccd8acc4.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { useModuleSkeleton } from "@m4l/core";
|
|
10
10
|
import { useFormFocus } from "../../../index.js";
|
|
11
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox.
|
|
11
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox.983e10e6.js";
|
|
12
12
|
generateUtilityClasses("M4LRHFCheckbox", [
|
|
13
13
|
"root",
|
|
14
14
|
"checkTypography",
|
|
@@ -3,17 +3,17 @@ import { useState } from "react";
|
|
|
3
3
|
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
4
4
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { SketchPicker } from "react-color";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { al as RHFColorPickerRoot } from "../../../styles/index.
|
|
9
|
+
import { al as RHFColorPickerRoot } from "../../../styles/index.ccd8acc4.js";
|
|
10
10
|
import { useTheme } from "@mui/material/styles";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
12
|
import { useFormFocus } from "../../../index.js";
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
15
|
-
import { I as Icon } from "../../Icon/index.
|
|
16
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.1fafd106.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
16
|
+
import { B as Button } from "../../mui_extended/Button/index.ca15c36e.js";
|
|
17
17
|
const componentName = "M4LRHFColorPicker";
|
|
18
18
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
19
19
|
"root",
|
|
@@ -7,12 +7,12 @@ import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
|
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { am as RHFDateTimeRoot } from "../../../styles/index.
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
10
|
+
import { am as RHFDateTimeRoot } from "../../../styles/index.ccd8acc4.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
12
12
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
15
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
16
16
|
const SkeletonRHFDateTime = (props) => {
|
|
17
17
|
const { skeletonWidth, skeletonHeight, className, label } = props;
|
|
18
18
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { an as RHFPeriodRoot } from "../../../styles/index.
|
|
2
|
+
import { an as RHFPeriodRoot } from "../../../styles/index.ccd8acc4.js";
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
4
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { useFormFocus } from "../../../index.js";
|
|
9
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
10
|
-
import { P as Period } from "../../Period/index.
|
|
9
|
+
import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
|
|
10
|
+
import { P as Period } from "../../Period/index.5757802b.js";
|
|
11
11
|
const componentName = "M4LRHFPeriod";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { RadioGroup, FormControlLabel, FormHelperText, Radio } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
5
5
|
function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
|
|
6
6
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
7
7
|
/* @__PURE__ */ jsx(
|
|
@@ -2,16 +2,16 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { forwardRef, useState, useEffect } from "react";
|
|
5
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
5
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.caf17392.js";
|
|
6
6
|
import { useFormContext, Controller } from "react-hook-form";
|
|
7
|
-
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.
|
|
7
|
+
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.ccd8acc4.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { g as getComponentUtilityClass } from "../../../utils/index.ebfbb70f.js";
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.972f989e.js";
|
|
15
15
|
const RHFTEXTFIELD_ROOT_TEST_ID = "RHFTextFieldRoot";
|
|
16
16
|
const RHFTEXTFIELD_INPUT_TEST_ID = "RHFTextFieldInput";
|
|
17
17
|
const RHFTEXTFIELD_PREFIX = "RHFTextField";
|
|
@@ -3,15 +3,15 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
|
-
import { I as Image } from "../../Image/index.
|
|
6
|
+
import { I as Image } from "../../Image/index.32b58ce4.js";
|
|
7
7
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
8
|
-
import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.
|
|
8
|
+
import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.ccd8acc4.js";
|
|
9
9
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
14
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.61dd3fc6.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.ca15c36e.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.2f4c6655.js";
|
|
15
15
|
const ICON_PREFIX = "M4LRHFUploadImage";
|
|
16
16
|
const getNameRHFUploadImageDataTestId = (KEY) => {
|
|
17
17
|
return `${ICON_PREFIX}-${KEY}`;
|
|
@@ -5,42 +5,42 @@ import { shallow } from "zustand/shallow";
|
|
|
5
5
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
6
6
|
import "@geoman-io/leaflet-geoman-free";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.
|
|
9
|
-
import { D as DynamicFilter } from "../../../DynamicFilter/index.
|
|
10
|
-
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.
|
|
8
|
+
import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.ccd8acc4.js";
|
|
9
|
+
import { D as DynamicFilter } from "../../../DynamicFilter/index.2033e755.js";
|
|
10
|
+
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.ee269cae.js";
|
|
11
11
|
import { C as ColumnDateFormatter } from "../../../DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js";
|
|
12
12
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
13
13
|
import { useFormContext, useWatch, useFormState } from "react-hook-form";
|
|
14
|
-
import { H as HelperError } from "../../../hook-form/HelperError/index.
|
|
15
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
16
|
-
import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.
|
|
14
|
+
import { H as HelperError } from "../../../hook-form/HelperError/index.399e7338.js";
|
|
15
|
+
import { u as useModal } from "../../../../hooks/useModal/index.6f5c238d.js";
|
|
16
|
+
import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.9a23e1d0.js";
|
|
17
17
|
import { createStore, useStore } from "zustand";
|
|
18
18
|
import { devtools } from "zustand/middleware";
|
|
19
19
|
import { immer } from "zustand/middleware/immer";
|
|
20
20
|
import { enableMapSet } from "immer";
|
|
21
|
-
import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.
|
|
22
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
23
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
24
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
21
|
+
import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.8a23ec62.js";
|
|
22
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.193cc75e.js";
|
|
23
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.ea4c273b.js";
|
|
24
|
+
import { B as Button } from "../../../mui_extended/Button/index.ca15c36e.js";
|
|
25
25
|
import { useMap } from "react-leaflet";
|
|
26
26
|
import * as L from "leaflet";
|
|
27
27
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
28
|
-
import { u as useTab } from "../../../../hooks/useTab/index.
|
|
28
|
+
import { u as useTab } from "../../../../hooks/useTab/index.8c6646a4.js";
|
|
29
29
|
import { generateUtilityClasses } from "@mui/material";
|
|
30
30
|
import "@mui/base";
|
|
31
|
-
import { P as PaperForm } from "../../../PaperForm/index.
|
|
32
|
-
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.
|
|
33
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
34
|
-
import { S as Stack } from "../../../mui_extended/Stack/index.
|
|
35
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
36
|
-
import { P as PropertyValue } from "../../../PropertyValue/index.
|
|
37
|
-
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.
|
|
38
|
-
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.
|
|
39
|
-
import { I as Icon } from "../../../Icon/index.
|
|
31
|
+
import { P as PaperForm } from "../../../PaperForm/index.86c1f1d6.js";
|
|
32
|
+
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
|
|
33
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.5b124af3.js";
|
|
34
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.b8c3b40b.js";
|
|
35
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.js";
|
|
36
|
+
import { P as PropertyValue } from "../../../PropertyValue/index.ee9cf342.js";
|
|
37
|
+
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.86525787.js";
|
|
38
|
+
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.c2dca6dd.js";
|
|
39
|
+
import { I as Icon } from "../../../Icon/index.0f315ccd.js";
|
|
40
40
|
import * as Yup from "yup";
|
|
41
|
-
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.
|
|
42
|
-
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.
|
|
43
|
-
import { D as DataGrid } from "../../../DataGrid/index.
|
|
41
|
+
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.daf5d0c8.js";
|
|
42
|
+
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.df953487.js";
|
|
43
|
+
import { D as DataGrid } from "../../../DataGrid/index.1feaab04.js";
|
|
44
44
|
const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
|
|
45
45
|
const COMPONENT_MAP_TOOLS_ID = "gps_tools";
|
|
46
46
|
const STYLE_OPACITIES = [
|
|
@@ -9,24 +9,24 @@ import { createPortal } from "react-dom";
|
|
|
9
9
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment, useModulePrivileges } from "@m4l/core";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
12
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
13
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
12
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.ea4c273b.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index.ca15c36e.js";
|
|
14
14
|
import * as Yup from "yup";
|
|
15
15
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
16
|
-
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.
|
|
17
|
-
import { S as Stack } from "../../../mui_extended/Stack/index.
|
|
18
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
19
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
20
|
-
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.
|
|
21
|
-
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.
|
|
22
|
-
import { D as DataGrid } from "../../../DataGrid/index.
|
|
16
|
+
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.2622450c.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.b8c3b40b.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.acc30d9b.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.js";
|
|
20
|
+
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.9a23e1d0.js";
|
|
21
|
+
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.0513d9e6.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index.1feaab04.js";
|
|
23
23
|
import { generateUtilityClasses, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
24
24
|
import { C as ColumnSetCheckFormatter } from "../../../DataGrid/formatters/ColumnSetCheckFormatter/index.4045b2f2.js";
|
|
25
|
-
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.
|
|
25
|
+
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.0f315ccd.js";
|
|
26
26
|
import { u as useStateRef } from "../../../../hooks/useStateRef/index.538edb89.js";
|
|
27
|
-
import { C as CheckBox } from "../../../mui_extended/CheckBox.
|
|
28
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.
|
|
29
|
-
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.
|
|
27
|
+
import { C as CheckBox } from "../../../mui_extended/CheckBox.983e10e6.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.1fafd106.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.c6a0c277.js";
|
|
30
30
|
import { createPathComponent } from "@react-leaflet/core";
|
|
31
31
|
import "leaflet.markercluster";
|
|
32
32
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -40,6 +40,8 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
40
40
|
import { g as getComponentUtilityClass } from "../../../../utils/index.ebfbb70f.js";
|
|
41
41
|
import { b as bearingRawToCSS } from "../../index.13bb982c.js";
|
|
42
42
|
import "leaflet-polylinedecorator";
|
|
43
|
+
const updateOwnerStateClasses = (_state) => {
|
|
44
|
+
};
|
|
43
45
|
const COMPONENT_CLASS_NAME = "M4LMap";
|
|
44
46
|
const MAP_ZINDEX_DEFAULT = 0;
|
|
45
47
|
const MAP_ZINDEX_OVER_MAP = 1100;
|
|
@@ -76,8 +78,6 @@ const SVG_ICON_DEFAULT = `<svg viewBox="0 0 640 640" height="32" width="32" xmln
|
|
|
76
78
|
>P</text>
|
|
77
79
|
</g>
|
|
78
80
|
</svg>`;
|
|
79
|
-
const updateOwnerStateClasses = (_state) => {
|
|
80
|
-
};
|
|
81
81
|
const mapClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
82
82
|
"root",
|
|
83
83
|
"topLeftToolsRoot",
|
|
@@ -1709,22 +1709,30 @@ function Controls(props) {
|
|
|
1709
1709
|
L__default.DomEvent.disableScrollPropagation(cContainer);
|
|
1710
1710
|
}
|
|
1711
1711
|
}, [map]);
|
|
1712
|
-
return /* @__PURE__ */ jsxs(
|
|
1712
|
+
return /* @__PURE__ */ jsxs(
|
|
1713
|
+
PopupsProvider,
|
|
1713
1714
|
{
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1715
|
+
baseZindex: MAP_ZINDEX_OVER_MAP,
|
|
1716
|
+
containerElement: map.getContainer(),
|
|
1717
|
+
initialPopups: [
|
|
1718
|
+
{
|
|
1719
|
+
popupId: "popup1",
|
|
1720
|
+
status: "init",
|
|
1721
|
+
iconUrl: "`https://s3.amazonaws.com/static.made4labs/environments/d1/frontend/components/dynamic_filter/assets/icons/edit.svg`,",
|
|
1722
|
+
title: "Popup 1",
|
|
1723
|
+
subTitle: "Subtitulo",
|
|
1724
|
+
zIndex: 1,
|
|
1725
|
+
componentProps: {},
|
|
1726
|
+
functionComponent: () => /* @__PURE__ */ jsx("div", { children: "MyComponent" })
|
|
1727
|
+
}
|
|
1728
|
+
],
|
|
1729
|
+
children: [
|
|
1730
|
+
/* @__PURE__ */ jsx(TopLeftTools, {}),
|
|
1731
|
+
/* @__PURE__ */ jsx(TopRightTools, { gpsTools }),
|
|
1732
|
+
controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewer, {}), controlContainer)
|
|
1733
|
+
]
|
|
1722
1734
|
}
|
|
1723
|
-
|
|
1724
|
-
/* @__PURE__ */ jsx(TopLeftTools, {}),
|
|
1725
|
-
/* @__PURE__ */ jsx(TopRightTools, { gpsTools }),
|
|
1726
|
-
controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewer, {}), controlContainer)
|
|
1727
|
-
] });
|
|
1735
|
+
);
|
|
1728
1736
|
}
|
|
1729
1737
|
const MarkerClusterGroup = createPathComponent(({ children: _c, ...props }, ctx) => {
|
|
1730
1738
|
const clusterProps = {};
|
|
@@ -2338,12 +2346,11 @@ export {
|
|
|
2338
2346
|
CommonFeatureRender as C,
|
|
2339
2347
|
GPS_TOOLS_POPUP_ID as G,
|
|
2340
2348
|
LABEL_BK_COLOR_DEFAULT as L,
|
|
2341
|
-
|
|
2349
|
+
Map$1 as M,
|
|
2342
2350
|
LABEL_COLOR_DEFAULT as a,
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
MarkerFeatureRender as e,
|
|
2351
|
+
MapProvider as b,
|
|
2352
|
+
MapContext as c,
|
|
2353
|
+
MarkerFeatureRender as d,
|
|
2347
2354
|
mapClasses as m,
|
|
2348
2355
|
useMapStore as u
|
|
2349
2356
|
};
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { m as modalUtilityClasses } from "./index.81eb6def.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.0f315ccd.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.caf17392.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.6f5c238d.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const { title, onClickCancel, urlIcon, classes } = props;
|
|
10
10
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
2
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.ea4c273b.js";
|
|
3
3
|
import { Typography } from "@mui/material";
|
|
4
4
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
5
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
6
|
-
import { I as Image } from "../Image/index.
|
|
5
|
+
import { u as useModal } from "../../hooks/useModal/index.6f5c238d.js";
|
|
6
|
+
import { I as Image } from "../Image/index.32b58ce4.js";
|
|
7
7
|
import { m as modalUtilityClasses } from "./index.81eb6def.js";
|
|
8
|
-
import { W as WindowBase } from "./WindowBase.
|
|
9
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
10
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
8
|
+
import { W as WindowBase } from "./WindowBase.cb284225.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.c1185f46.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.185199da.js";
|
|
11
11
|
const dictionary = {
|
|
12
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
13
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
3
|
-
import { I as IconButton } from "../IconButton/index.
|
|
3
|
+
import { I as IconButton } from "../IconButton/index.caf17392.js";
|
|
4
4
|
import { useEnvironment } from "@m4l/core";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { ax as AccordionRoot } from "../../../styles/index.
|
|
6
|
+
import { ax as AccordionRoot } from "../../../styles/index.ccd8acc4.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
10
|
+
import { I as Icon } from "../../Icon/index.0f315ccd.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index.61dd3fc6.js";
|
|
12
12
|
const componentName = "M4LAccordion";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
"root",
|
|
@@ -4,7 +4,7 @@ import { Skeleton, generateUtilityClasses, generateUtilityClass, Avatar as Avata
|
|
|
4
4
|
import { useModuleSkeleton } from "@m4l/core";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ay as AvatarRoot } from "../../../styles/index.
|
|
7
|
+
import { ay as AvatarRoot } from "../../../styles/index.ccd8acc4.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
const AVATAR_PREFIX = "M4LAvatar";
|
|
10
10
|
const getNameAvatarDataTestId = (KEY) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, Badge as Badge$1 } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { az as BadgeRoot } from "../../../styles/index.
|
|
4
|
+
import { az as BadgeRoot } from "../../../styles/index.ccd8acc4.js";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
const componentName = "M4LBadge";
|
|
7
7
|
const badgeClasses = generateUtilityClasses(componentName, [
|