@m4l/components 2.0.5 → 2.0.6
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.23a1eabd.js} +3 -3
- package/components/AppBar/{index.ad5dd74a.js → index.1956ba23.js} +4 -4
- package/components/BaseModule/{index.0255d08a.js → index.6835e9a6.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f0e87113.js → index.6b060ad1.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.19e9426c.js → index.09be1900.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.77a6fe72.js → index.c93b31d4.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f35bee5a.js → index.c8e7ae9e.js} +2 -2
- package/components/CommonActions/components/Actions/{index.a31243c7.js → index.4eb9ca1e.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.2dd9a083.js → index.7743ee64.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.989012eb.js → index.c77f8bfc.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.64406a72.js → index.8cab2870.js} +1 -1
- package/components/DataGrid/formatters/{index.23ae62ba.js → index.ec837142.js} +2 -2
- package/components/DataGrid/{index.3b0b896f.js → index.dc8fa469.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.862a2ef4.js → index.f1fe2bd2.js} +11 -11
- package/components/DragResizeWindow/{index.2d36bbda.js → index.44fad985.js} +3 -7
- package/components/DynamicFilter/{dictionary.ad954460.js → dictionary.8b931250.js} +2 -2
- package/components/DynamicFilter/{index.4747acfe.js → index.93376b7c.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.345fe83a.js → dynamicFilterSlots.3143a011.js} +5 -5
- package/components/DynamicFilter/store/{index.8e24684e.js → index.0b26e781.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f68c42e6.js → index.294d846d.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.3508775b.js → index.d54831ba.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.5297577d.js → index.8b75ee17.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.cce07177.js → index.119aa323.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.1fafe2e3.js → index.090819a9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.b0b906a1.js → index.69a5da30.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.1db0c059.js → index.696ea1ff.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.7accc2b1.js → index.2dfd8e4b.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.8f88f9d0.js → index.3eea7e61.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.bf41bca8.js → index.d2f7e0ac.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.a2976024.js → index.03fe887d.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.f247b95a.js → index.f3af7c5e.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.1467729b.js → index.928b69f1.js} +2 -2
- package/components/FieldLabel/{index.c35e5984.js → index.c191727a.js} +3 -3
- package/components/GridLayout/{index.991206c1.js → index.1efdb6ca.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.50663f91.js → index.ad5e4dd6.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.c10c0af7.js → index.e3ff990a.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.e4ef4f10.js → index.5fa6f902.js} +1 -1
- package/components/HelperText/{index.c0fc2bfb.js → index.451bc436.js} +2 -2
- package/components/Icon/{index.0378f7b8.js → index.d82723ca.js} +3 -3
- package/components/Image/{index.7df7536b.js → index.472191c2.js} +2 -2
- package/components/LanguagePopover/{index.12cbf486.js → index.9cb9f615.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.49e62c03.js → index.330dd4d7.js} +1 -1
- package/components/LoadingError/{index.efecda3d.js → index.8c5c3905.js} +5 -5
- package/components/MFIsolationApp/{index.71823b4e.js → index.7aed6dd6.js} +2 -2
- package/components/MFLoader/{index.2b4b60aa.js → index.ae54aafb.js} +2 -2
- package/components/ModalDialog/{index.3cf272e0.js → index.238735ec.js} +3 -3
- package/components/NavLink/{index.34d04791.js → index.52568cdd.js} +2 -2
- package/components/NoItemSelected/{index.6d3880da.js → index.0038a666.js} +1 -1
- package/components/ObjectLogs/{index.11c77d6c.js → index.6da63df6.js} +9 -9
- package/components/PDFViewer/{index.c119e76a.js → index.f2394ac9.js} +2 -2
- package/components/Page/{index.8b261573.js → index.0df91a0d.js} +1 -1
- package/components/PaperForm/{index.1b7bf005.js → index.3a46ec6c.js} +2 -2
- package/components/Period/{index.d08a64dd.js → index.cd547147.js} +4 -4
- package/components/PrintingSystem/{index.64fb8f9e.js → index.ba908ae6.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.58e31c42.js → index.251148ca.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.cfe2f5ae.js → index.e2882c92.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.ec939491.js → index.b17898c6.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.9d0d60c7.js → index.4227795f.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1f05914c.js → index.c210ce35.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9a488ca7.js → index.cec9df33.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.1d4ed8ed.js → index.59ab10b9.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.d39efc69.js → index.5d12fac5.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.63c25d75.js → index.cf0b2bd1.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.e6e71c65.js → index.b7beb250.js} +1 -1
- package/components/PropertyValue/{index.4584a224.js → index.de28c147.js} +3 -3
- package/components/Resizeable/{index.c48bfe53.js → index.7df514af.js} +1 -1
- package/components/ScrollBar/{index.3168cc7d.js → index.3bf5b4b3.js} +1 -1
- package/components/SideBar/{index.c6664730.js → index.1c9dc8a5.js} +5 -5
- package/components/SplitLayout/{index.f73f5f71.js → index.d17f44d2.js} +1 -1
- package/components/ToastContainer/{index.404d68c0.js → index.6407b2e3.js} +2 -2
- package/components/animate/LoadingScreen/{index.d494c5f4.js → index.2be4af69.js} +1 -1
- package/components/animate/{index.35e70d72.js → index.08d2e411.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.daf5521f.js → index.cbabcf60.js} +14 -14
- package/components/areas/components/AreasViewer/{index.dab7e9c9.js → index.84bf6e1e.js} +13 -13
- package/components/areas/contexts/AreasContext/{index.43aadacb.js → index.a6d20b26.js} +4 -4
- package/components/areas/hooks/useAreas/{index.ed67113b.js → index.1ee5d290.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.4ab283a9.js → index.81279e02.js} +1 -1
- package/components/commercial/SectionCommercial/{index.5e808beb.js → index.d903e9e7.js} +1 -1
- package/components/commercial/TopBar/{index.d5fc459d.js → index.9d791d27.js} +5 -5
- package/components/commercial/{index.b17673f0.js → index.380aa13d.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.d792c9f4.js → index.1f89b011.js} +2 -2
- package/components/formatters/{index.e3314ffd.js → index.9ab0137a.js} +2 -2
- package/components/hook-form/HelperError/{index.d37b96f4.js → index.eb0451a8.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.e8d47108.js → index.66b8a523.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.10e23560.js → index.d0f40f8f.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.ab66cde5.js → index.95d31dea.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.8224d965.js → index.6fc44977.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.af136c35.js → index.8db9d2a6.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.cdad3414.js → index.febe530f.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.a3e56551.js → index.29f49580.js} +1 -1
- package/components/hook-form/RHFTextField/{index.03fa7ae0.js → index.6f9bbd80.js} +4 -4
- package/components/hook-form/RHFUpload/{index.2209f3a8.js → index.77519c4c.js} +5 -5
- package/components/maps/components/GpsTools/{index.2f9fdb32.js → index.c912d7c6.js} +23 -23
- package/components/maps/components/Map/{index.1130b9e0.js → index.765e578d.js} +41 -34
- package/components/modal/{WindowBase.26cb9e19.js → WindowBase.044659d9.js} +3 -3
- package/components/modal/{WindowConfirm.ffee7475.js → WindowConfirm.08d72905.js} +6 -6
- package/components/mui_extended/Accordion/{index.56b0bded.js → index.7bafa548.js} +4 -4
- package/components/mui_extended/Avatar/{index.9e8c8487.js → index.9f9346ad.js} +1 -1
- package/components/mui_extended/Badge/{index.ef803787.js → index.182414ed.js} +1 -1
- package/components/mui_extended/Button/{index.67e1ea7f.js → index.d44027cf.js} +3 -3
- package/components/mui_extended/{CheckBox.71c728f8.js → CheckBox.a68237b1.js} +2 -2
- package/components/mui_extended/IconButton/{index.4a12de37.js → index.b43ca9c9.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b19042b5.js → index.0d11f43a.js} +5 -5
- package/components/mui_extended/Pager/{index.8da962a5.js → index.fd0db044.js} +4 -4
- package/components/mui_extended/Popover/{index.71389b6e.js → index.ea936c4a.js} +1 -1
- package/components/mui_extended/Stack/{index.27af6301.js → index.f88ee5eb.js} +1 -1
- package/components/mui_extended/Tab/{index.0469b44f.js → index.cb37d00d.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.96ae2da5.js → index.c3a9d691.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.a446e702.js → index.fa33051b.js} +1 -1
- package/components/mui_extended/Typography/{index.978f5554.js → index.850bc036.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.a4d6eb40.js → index.722af14c.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.3fce4e57.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.61e5d598.js} +1 -1
- package/contexts/RHFormContext/{index.5f9c1c0e.js → index.b5e15835.js} +1 -1
- package/hooks/useFormAddEdit/{index.000bf636.js → index.9b6c5008.js} +2 -2
- package/hooks/useModal/{index.3c70915b.js → index.64d98763.js} +1 -1
- package/hooks/useTab/{index.0e62c5a7.js → index.75c252f9.js} +1 -1
- package/index.js +129 -129
- package/package.json +1 -1
- package/styles/{index.b0676d6a.js → index.1664b7ed.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.84bf6e1e.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.cbabcf60.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.e3ff990a.js";
|
|
14
14
|
import { debounce, cloneDeep } from "lodash";
|
|
15
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
15
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.1efdb6ca.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.a6d20b26.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.1664b7ed.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.1664b7ed.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.1664b7ed.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index.d82723ca.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.7bafa548.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.d44027cf.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.ea936c4a.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.1664b7ed.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.1c9dc8a5.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b43ca9c9.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.d82723ca.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.9ab0137a.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.1664b7ed.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.1f89b011.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.451bc436.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.1664b7ed.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.472191c2.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.850bc036.js";
|
|
13
|
+
import { H as HelperText } from "../../HelperText/index.451bc436.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.c191727a.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.b43ca9c9.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.1664b7ed.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.66b8a523.js";
|
|
10
10
|
const componentName = "M4LRHFAutocompleteAsync";
|
|
11
11
|
generateUtilityClasses(
|
|
12
12
|
componentName,
|
|
@@ -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.1664b7ed.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.451bc436.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.a68237b1.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.451bc436.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.1664b7ed.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.c191727a.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.ea936c4a.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.d82723ca.js";
|
|
16
|
+
import { B as Button } from "../../mui_extended/Button/index.d44027cf.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.1664b7ed.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.451bc436.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.c191727a.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.d82723ca.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.1664b7ed.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.451bc436.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.c191727a.js";
|
|
10
|
+
import { P as Period } from "../../Period/index.cd547147.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.d82723ca.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.b43ca9c9.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.1664b7ed.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.451bc436.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.c191727a.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.472191c2.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.1664b7ed.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.850bc036.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.d44027cf.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.451bc436.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.1664b7ed.js";
|
|
9
|
+
import { D as DynamicFilter } from "../../../DynamicFilter/index.93376b7c.js";
|
|
10
|
+
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.ec837142.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.eb0451a8.js";
|
|
15
|
+
import { u as useModal } from "../../../../hooks/useModal/index.64d98763.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.c93b31d4.js";
|
|
22
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.08d72905.js";
|
|
23
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.4eb9ca1e.js";
|
|
24
|
+
import { B as Button } from "../../../mui_extended/Button/index.d44027cf.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.75c252f9.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.3a46ec6c.js";
|
|
32
|
+
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.66b8a523.js";
|
|
33
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.6f9bbd80.js";
|
|
34
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.f88ee5eb.js";
|
|
35
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.b43ca9c9.js";
|
|
36
|
+
import { P as PropertyValue } from "../../../PropertyValue/index.de28c147.js";
|
|
37
|
+
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.6fc44977.js";
|
|
38
|
+
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.cb37d00d.js";
|
|
39
|
+
import { I as Icon } from "../../../Icon/index.d82723ca.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.9b6c5008.js";
|
|
42
|
+
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.765e578d.js";
|
|
43
|
+
import { D as DataGrid } from "../../../DataGrid/index.dc8fa469.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.4eb9ca1e.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index.d44027cf.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.d0f40f8f.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.f88ee5eb.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.b5e15835.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.b43ca9c9.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.fa33051b.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index.dc8fa469.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.d82723ca.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.a68237b1.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.ea936c4a.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.722af14c.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.d82723ca.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b43ca9c9.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.64d98763.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.4eb9ca1e.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.64d98763.js";
|
|
6
|
+
import { I as Image } from "../Image/index.472191c2.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.044659d9.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.6b060ad1.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.c8e7ae9e.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.b43ca9c9.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.1664b7ed.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.d82723ca.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index.850bc036.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.1664b7ed.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.1664b7ed.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, [
|
|
@@ -2,14 +2,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Skeleton, IconButton, Tooltip } from "@mui/material";
|
|
4
4
|
import MuiButton from "@mui/material/Button";
|
|
5
|
-
import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index.
|
|
5
|
+
import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index.1664b7ed.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { useMemo } from "react";
|
|
9
|
-
import { I as Image } from "../../Image/index.
|
|
9
|
+
import { I as Image } from "../../Image/index.472191c2.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
12
|
-
import { T as Typography } from "../Typography/index.
|
|
12
|
+
import { T as Typography } from "../Typography/index.850bc036.js";
|
|
13
13
|
const componentName$2 = "M4LButton";
|
|
14
14
|
const buttonClasses = generateUtilityClasses(componentName$2, [
|
|
15
15
|
"root",
|
|
@@ -5,8 +5,8 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
import { aD as CheckBoxRoot } from "../../styles/index.
|
|
9
|
-
import { F as FieldLabel } from "../FieldLabel/index.
|
|
8
|
+
import { aD as CheckBoxRoot } from "../../styles/index.1664b7ed.js";
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index.c191727a.js";
|
|
10
10
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
11
11
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
12
12
|
"root",
|