@m4l/components 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/DataGrid/{index.8fbcf147.js → index.7e5b3989.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/{index.bad681dc.js → index.5ad30a83.js} +1 -1
- package/components/DynamicFilter/{index.cd7691e0.js → index.df9dee43.js} +1 -1
- package/components/ObjectLogs/{index.9c353020.js → index.0a5ea5fd.js} +2 -2
- package/components/PropertyValue/{index.37d91d0c.js → index.ac4269e2.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.a14ba797.js → index.aaacd6fd.js} +1 -1
- package/components/areas/components/AreasViewer/{index.c4545f2d.js → index.6ccf9d36.js} +3 -3
- package/components/areas/contexts/AreasContext/{index.54893ef7.js → index.9faec1ec.js} +2 -2
- package/components/areas/hooks/useAreas/{index.a15b3d9c.js → index.dd4d8f73.js} +1 -1
- package/components/hook-form/RHFRadioGroup/{index.7deb4e48.js → index.3b17819b.js} +1 -1
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +1 -1
- package/components/maps/components/GpsTools/{index.889b0c39.js → index.c94fd76f.js} +20 -27
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +1 -1
- package/components/maps/components/Map/classes/index.d.ts +1 -1
- package/components/maps/components/Map/contexts/MapContext/types.d.ts +1 -1
- package/components/maps/components/Map/{index.665e5c5d.js → index.5171d0de.js} +2 -2
- package/components/mui_extended/Accordion/{index.b9b427d7.js → index.19018073.js} +1 -1
- package/components/mui_extended/Tab/{index.724d5948.js → index.c6b81776.js} +1 -1
- package/hooks/useTab/{index.991b13a7.js → index.f39d479c.js} +1 -1
- package/index.js +16 -17
- package/package.json +1 -1
- package/{vendor.8f8b0ac9.js → vendor.10467412.js} +13 -13
|
@@ -8,10 +8,10 @@ import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D
|
|
|
8
8
|
import { useDrag, useDrop, DndProvider } from "react-dnd";
|
|
9
9
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
10
10
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
11
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.
|
|
11
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.5ad30a83.js";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
13
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
14
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
14
|
+
import { g as getNameDataTestId } from "../../vendor.10467412.js";
|
|
15
15
|
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.4f3cbdce.js";
|
|
16
16
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
17
17
|
import { C as ConcatenatedFormatter } from "../formatters/index.4ca6946d.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.8c02ff61.js";
|
|
2
|
-
import { D as DATAGRID_ACTIONS_COLUMN_KEY, u as useDataGrid, a as useFilters, C as ColumnInteractiveCheckFormatterColumn, b as DataGridRoot, d as dictionary } from "../../index.
|
|
2
|
+
import { D as DATAGRID_ACTIONS_COLUMN_KEY, u as useDataGrid, a as useFilters, C as ColumnInteractiveCheckFormatterColumn, b as DataGridRoot, d as dictionary } from "../../index.7e5b3989.js";
|
|
3
3
|
import { useTheme, Skeleton } from "@mui/material";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { P as Pager } from "../../../mui_extended/Pager/index.5629e82b.js";
|
|
@@ -9,7 +9,7 @@ import { immer } from "zustand/middleware/immer";
|
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.2f6286eb.js";
|
|
11
11
|
import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.0ce87ac3.js";
|
|
12
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
12
|
+
import { g as getNameDataTestId } from "../../vendor.10467412.js";
|
|
13
13
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
14
14
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
15
15
|
import { shallow } from "zustand/shallow";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.7e5b3989.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -12,7 +12,7 @@ import { u as useModal } from "../../hooks/useModal/index.abdc0962.js";
|
|
|
12
12
|
import { I as Icon } from "../Icon/index.05984e7f.js";
|
|
13
13
|
import { S as Stack } from "../mui_extended/Stack/index.0e53197c.js";
|
|
14
14
|
import { W as WindowBase } from "../modal/WindowBase.ea17cf20.js";
|
|
15
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
15
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.df9dee43.js";
|
|
16
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
17
17
|
const Container = styled("div")(() => ({
|
|
18
18
|
height: "100%",
|
|
@@ -4,7 +4,7 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
7
|
+
import { g as getNameDataTestId } from "../../vendor.10467412.js";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
10
|
import { I as Icon } from "../Icon/index.05984e7f.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.dd4d8f73.js";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useRef, useMemo } from "react";
|
|
4
4
|
import * as Yup from "yup";
|
|
@@ -7,7 +7,7 @@ import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
|
7
7
|
import { shallow } from "zustand/shallow";
|
|
8
8
|
import React__default, { useMemo, useEffect } from "react";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
10
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.dd4d8f73.js";
|
|
11
11
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
12
12
|
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.8c02ff61.js";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -23,8 +23,8 @@ import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/
|
|
|
23
23
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
24
24
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
25
25
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
26
|
-
import { g as getNameDataTestId } from "../../../../vendor.
|
|
27
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
26
|
+
import { g as getNameDataTestId } from "../../../../vendor.10467412.js";
|
|
27
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.9faec1ec.js";
|
|
28
28
|
import { S as SizeProvider } from "../../../GridLayout/index.e8c04242.js";
|
|
29
29
|
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.e25df1dc.js";
|
|
30
30
|
import { useLocation } from "react-router-dom";
|
|
@@ -5,8 +5,8 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.6ccf9d36.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.aaacd6fd.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
12
|
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.e25df1dc.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.9faec1ec.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -24,7 +24,7 @@ function RHFRadioGroup({
|
|
|
24
24
|
...field,
|
|
25
25
|
row: true,
|
|
26
26
|
...other,
|
|
27
|
-
children: options.map((option,
|
|
27
|
+
children: options.map((option, _index) => /* @__PURE__ */ jsx(FormControlLabel, {
|
|
28
28
|
defaultValue: field.value,
|
|
29
29
|
value: getOptionValue(option),
|
|
30
30
|
control: /* @__PURE__ */ jsx(Radio, {}),
|
|
@@ -86,7 +86,7 @@ export declare type GeofenceId = number;
|
|
|
86
86
|
* @interface
|
|
87
87
|
* @description Interface que define el estado del componente (variables y funciones )
|
|
88
88
|
*/
|
|
89
|
-
export interface MapToolsState
|
|
89
|
+
export interface MapToolsState {
|
|
90
90
|
ownerState: OwnerState;
|
|
91
91
|
/**
|
|
92
92
|
* "currentTabTool" indica la pestaña actual en uso
|
|
@@ -7,10 +7,10 @@ import { devtools } from "zustand/middleware";
|
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
8
|
import { enableMapSet } from "immer";
|
|
9
9
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
10
|
-
import { D as DynamicFilter } from "../../../DynamicFilter/index.
|
|
10
|
+
import { D as DynamicFilter } from "../../../DynamicFilter/index.df9dee43.js";
|
|
11
11
|
import { S as SelectCellFormatter } from "../../../../react-data-grid.c5377916.js";
|
|
12
|
-
import { e as columnDateFormatter, c as DataGrid } from "../../../DataGrid/index.
|
|
13
|
-
import { u as useMapToolsStore, a as useMapStore, m as mapClasses, M as MAP_ZINDEX_DEFAULT, b as MAP_ZINDEX_OVER_MAP } from "../Map/index.
|
|
12
|
+
import { e as columnDateFormatter, c as DataGrid } from "../../../DataGrid/index.7e5b3989.js";
|
|
13
|
+
import { u as useMapToolsStore, a as useMapStore, m as mapClasses, M as MAP_ZINDEX_DEFAULT, b as MAP_ZINDEX_OVER_MAP } from "../Map/index.5171d0de.js";
|
|
14
14
|
import { u as useModal } from "../../../../hooks/useModal/index.abdc0962.js";
|
|
15
15
|
import { W as WindowConfirm } from "../../../modal/WindowConfirm.19ddbd5d.js";
|
|
16
16
|
import { generateUtilityClasses } from "@mui/material";
|
|
@@ -25,20 +25,19 @@ import { useMap, Polyline, Polygon, Popup, Circle } from "react-leaflet";
|
|
|
25
25
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
26
26
|
import * as L from "leaflet";
|
|
27
27
|
import L__default from "leaflet";
|
|
28
|
-
import { u as useTab } from "../../../../hooks/useTab/index.
|
|
28
|
+
import { u as useTab } from "../../../../hooks/useTab/index.f39d479c.js";
|
|
29
29
|
import { P as PaperForm } from "../../../PaperForm/index.7ea3883f.js";
|
|
30
30
|
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.0ce87ac3.js";
|
|
31
31
|
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.80cc07e0.js";
|
|
32
|
-
import { P as PropertyValue } from "../../../PropertyValue/index.
|
|
32
|
+
import { P as PropertyValue } from "../../../PropertyValue/index.ac4269e2.js";
|
|
33
33
|
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.d00a2b53.js";
|
|
34
34
|
import clsx from "clsx";
|
|
35
|
-
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.
|
|
35
|
+
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.c6b81776.js";
|
|
36
36
|
import { T as Tooltip } from "../../../mui_extended/Tooltip/index.24a2bc3f.js";
|
|
37
37
|
import * as Yup from "yup";
|
|
38
38
|
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.32aa4f64.js";
|
|
39
39
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.7769076a.js";
|
|
40
40
|
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.57789d3a.js";
|
|
41
|
-
import "leaflet-polylinedecorator";
|
|
42
41
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
43
42
|
import "@geoman-io/leaflet-geoman-free";
|
|
44
43
|
import { styled } from "@mui/material/styles";
|
|
@@ -59,7 +58,7 @@ const createMapToolsStore = (initProps) => {
|
|
|
59
58
|
};
|
|
60
59
|
return createStore(
|
|
61
60
|
devtools(
|
|
62
|
-
immer((set,
|
|
61
|
+
immer((set, _get) => ({
|
|
63
62
|
...startProps,
|
|
64
63
|
mapToolsActions: {
|
|
65
64
|
init: () => {
|
|
@@ -335,7 +334,7 @@ function Filter(props) {
|
|
|
335
334
|
const [initialFilter] = useState(() => {
|
|
336
335
|
return [];
|
|
337
336
|
});
|
|
338
|
-
const onChangeFilter = (
|
|
337
|
+
const onChangeFilter = (_initialFilters, rawFilters) => {
|
|
339
338
|
setBackendQueryParams({
|
|
340
339
|
f: rawFilters
|
|
341
340
|
});
|
|
@@ -709,7 +708,7 @@ function useMaster() {
|
|
|
709
708
|
const onSelectedRowsChange = (newRowsSelectSet) => {
|
|
710
709
|
setSelectedRows(newRowsSelectSet);
|
|
711
710
|
};
|
|
712
|
-
const fullRefresh = useCallback((
|
|
711
|
+
const fullRefresh = useCallback((_id) => {
|
|
713
712
|
Refresh();
|
|
714
713
|
}, []);
|
|
715
714
|
useEffect(() => {
|
|
@@ -1078,7 +1077,7 @@ function useDrawing() {
|
|
|
1078
1077
|
);
|
|
1079
1078
|
setValue("lat", layer.getLatLng().lat);
|
|
1080
1079
|
setValue("lng", layer.getLatLng().lng);
|
|
1081
|
-
layer.on("pm:change", (
|
|
1080
|
+
layer.on("pm:change", (_e) => {
|
|
1082
1081
|
setValue("properties.radius", layer.getRadius());
|
|
1083
1082
|
});
|
|
1084
1083
|
});
|
|
@@ -1557,7 +1556,7 @@ function useSubmit(props) {
|
|
|
1557
1556
|
{ type: "success" }
|
|
1558
1557
|
);
|
|
1559
1558
|
goToList();
|
|
1560
|
-
}).catch((
|
|
1559
|
+
}).catch((_error) => {
|
|
1561
1560
|
});
|
|
1562
1561
|
};
|
|
1563
1562
|
return { onSubmit };
|
|
@@ -1663,7 +1662,7 @@ function MyActions() {
|
|
|
1663
1662
|
})
|
|
1664
1663
|
});
|
|
1665
1664
|
}
|
|
1666
|
-
function MeasureDataValidation(
|
|
1665
|
+
function MeasureDataValidation(_getLabel) {
|
|
1667
1666
|
return {};
|
|
1668
1667
|
}
|
|
1669
1668
|
function useValidation() {
|
|
@@ -1844,15 +1843,15 @@ function useMeasure() {
|
|
|
1844
1843
|
icon: getMarkerPointIcon(currentMeasure.current.measurePoints.length + 1),
|
|
1845
1844
|
zIndexOffset: MAP_ZINDEX_DEFAULT
|
|
1846
1845
|
}).addTo(map);
|
|
1847
|
-
marker.on("moveend", function(
|
|
1846
|
+
marker.on("moveend", function(_e) {
|
|
1848
1847
|
var latlng = marker.getLatLng();
|
|
1849
1848
|
labelMarker.setLatLng(latlng);
|
|
1850
1849
|
setValue("value", measureDistante());
|
|
1851
1850
|
});
|
|
1852
|
-
marker.on("mouseover", function(
|
|
1851
|
+
marker.on("mouseover", function(_e) {
|
|
1853
1852
|
currentMeasure.current.addMarker = false;
|
|
1854
1853
|
});
|
|
1855
|
-
marker.on("mouseout", function(
|
|
1854
|
+
marker.on("mouseout", function(_e) {
|
|
1856
1855
|
currentMeasure.current.addMarker = true;
|
|
1857
1856
|
});
|
|
1858
1857
|
var labelMarker = L.marker([lat, lng], {
|
|
@@ -1861,21 +1860,21 @@ function useMeasure() {
|
|
|
1861
1860
|
icon: getLabelMarkerPointIcon(formatDistanceFromPrevious),
|
|
1862
1861
|
zIndexOffset: MAP_ZINDEX_DEFAULT
|
|
1863
1862
|
}).addTo(map);
|
|
1864
|
-
labelMarker.on("moveend", function(
|
|
1863
|
+
labelMarker.on("moveend", function(_e) {
|
|
1865
1864
|
var latlng = labelMarker.getLatLng();
|
|
1866
1865
|
marker.setLatLng(latlng);
|
|
1867
1866
|
setValue("value", measureDistante());
|
|
1868
1867
|
});
|
|
1869
|
-
labelMarker.on("mouseover", function(
|
|
1868
|
+
labelMarker.on("mouseover", function(_e) {
|
|
1870
1869
|
currentMeasure.current.addMarker = false;
|
|
1871
1870
|
});
|
|
1872
|
-
labelMarker.on("mouseout", function(
|
|
1871
|
+
labelMarker.on("mouseout", function(_e) {
|
|
1873
1872
|
currentMeasure.current.addMarker = true;
|
|
1874
1873
|
});
|
|
1875
|
-
labelMarker.on("dragstart", function(
|
|
1874
|
+
labelMarker.on("dragstart", function(_e) {
|
|
1876
1875
|
currentMeasure.current.dragging = true;
|
|
1877
1876
|
});
|
|
1878
|
-
labelMarker.on("dragend", function(
|
|
1877
|
+
labelMarker.on("dragend", function(_e) {
|
|
1879
1878
|
setTimeout(function() {
|
|
1880
1879
|
currentMeasure.current.dragging = false;
|
|
1881
1880
|
}, 10);
|
|
@@ -1935,7 +1934,6 @@ function useMeasure() {
|
|
|
1935
1934
|
}, []);
|
|
1936
1935
|
return { statusEdition, magnitudFactor, value };
|
|
1937
1936
|
}
|
|
1938
|
-
const DevTool = process.env.NODE_ENV === "development" ? require("@hookform/devtools").DevTool : () => null;
|
|
1939
1937
|
function MeasureData() {
|
|
1940
1938
|
const {
|
|
1941
1939
|
getLabel
|
|
@@ -1944,9 +1942,6 @@ function MeasureData() {
|
|
|
1944
1942
|
host_static_assets,
|
|
1945
1943
|
environment_assets
|
|
1946
1944
|
} = useEnvironment();
|
|
1947
|
-
const {
|
|
1948
|
-
control
|
|
1949
|
-
} = useFormContext();
|
|
1950
1945
|
const {
|
|
1951
1946
|
value,
|
|
1952
1947
|
magnitudFactor
|
|
@@ -1974,8 +1969,6 @@ function MeasureData() {
|
|
|
1974
1969
|
className: mapToolsClasses.toolMeasureFormValueSymbol,
|
|
1975
1970
|
children: magnitudFactor.symbol
|
|
1976
1971
|
})]
|
|
1977
|
-
}), process.env.NODE_ENV === "development" && /* @__PURE__ */ jsx(DevTool, {
|
|
1978
|
-
control
|
|
1979
1972
|
})]
|
|
1980
1973
|
});
|
|
1981
1974
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
|
-
export declare function MeasureDataValidation(
|
|
2
|
+
export declare function MeasureDataValidation(_getLabel: GetLabelType): {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MapClasses } from './types';
|
|
2
2
|
import { OwnerState } from '../contexts/MapContext/types';
|
|
3
3
|
export declare const mapClasses: MapClasses;
|
|
4
|
-
export declare const useMapUtilityClasses: (
|
|
4
|
+
export declare const useMapUtilityClasses: (_ownerState: OwnerState) => Record<"root" | "mapContainer" | "svgLayersContainer" | "svgLayer" | "svgLayerMultiPoints" | "layerMarker" | "mainToolsRoot" | "measureMarkerRoot" | "measureMarkerContainer" | "measureMarkerContainerRhomb" | "measureMarkerContainerSlot" | "measureMarkerContainerSlotNumber" | "measureLabelMarkerRoot" | "measureLabelMarkerContainer" | "measureLabelMarkerDistance" | "measureLabelMarkerRemove", string>;
|
|
5
5
|
export declare type Classes = ReturnType<typeof useMapUtilityClasses>;
|
|
@@ -274,7 +274,7 @@ export declare type AreaMapType = {
|
|
|
274
274
|
* @interface
|
|
275
275
|
* @description Interface que define el estado del componente (variables y funciones )
|
|
276
276
|
*/
|
|
277
|
-
export interface MapState
|
|
277
|
+
export interface MapState {
|
|
278
278
|
ownerState: OwnerState;
|
|
279
279
|
/**
|
|
280
280
|
* "classes" enfocado al funcionamiento de las clases a nivel de map
|
|
@@ -16,7 +16,7 @@ import { generateUtilityClasses } from "@mui/material";
|
|
|
16
16
|
import { unstable_composeClasses } from "@mui/base";
|
|
17
17
|
import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
|
|
18
18
|
import { cloneDeep } from "lodash";
|
|
19
|
-
import { G as GpsToolsContext } from "../GpsTools/index.
|
|
19
|
+
import { G as GpsToolsContext } from "../GpsTools/index.c94fd76f.js";
|
|
20
20
|
const COMPONENT_CLASS_NAME = "M4LMap";
|
|
21
21
|
const MAP_ZINDEX_DEFAULT = 0;
|
|
22
22
|
const MAP_ZINDEX_OVER_MAP = 1100;
|
|
@@ -38,7 +38,7 @@ const mapClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
|
38
38
|
"measureLabelMarkerDistance",
|
|
39
39
|
"measureLabelMarkerRemove"
|
|
40
40
|
]);
|
|
41
|
-
const useMapUtilityClasses = (
|
|
41
|
+
const useMapUtilityClasses = (_ownerState) => {
|
|
42
42
|
const slots = {
|
|
43
43
|
root: ["root"],
|
|
44
44
|
mapContainer: ["mapContainer"],
|
|
@@ -4,7 +4,7 @@ import { useEnvironment } from "@m4l/core";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
7
|
+
import { g as getNameDataTestId } from "../../../vendor.10467412.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { I as Icon } from "../../Icon/index.05984e7f.js";
|
|
10
10
|
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
8
|
+
import { g as getNameDataTestId } from "../../../vendor.10467412.js";
|
|
9
9
|
import { createContext, useState } from "react";
|
|
10
10
|
const componentName$2 = "M4LTabs";
|
|
11
11
|
generateUtilityClasses(componentName$2, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { d as TabContext } from "../../components/mui_extended/Tab/index.
|
|
2
|
+
import { d as TabContext } from "../../components/mui_extended/Tab/index.c6b81776.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L } from "./assets/Logo/index.228dcb5a.js";
|
|
2
|
-
import { c, h, i, e, f, g } from "./components/DataGrid/index.
|
|
2
|
+
import { c, h, i, e, f, g } from "./components/DataGrid/index.7e5b3989.js";
|
|
3
3
|
import { N, T } from "./components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
4
4
|
import { N as N2 } from "./components/NavLink/index.b75c91e1.js";
|
|
5
5
|
import { S } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
@@ -12,11 +12,11 @@ import { v } from "./components/animate/variants/fade.b561c0fc.js";
|
|
|
12
12
|
import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
13
13
|
import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
|
|
14
14
|
import { v as v4, a, b } from "./components/animate/variants/transition.bd46b9ce.js";
|
|
15
|
-
import { A as A2 } from "./components/areas/components/AreasAdmin/index.
|
|
16
|
-
import { A as A3 } from "./components/areas/components/AreasViewer/index.
|
|
15
|
+
import { A as A2 } from "./components/areas/components/AreasAdmin/index.aaacd6fd.js";
|
|
16
|
+
import { A as A3 } from "./components/areas/components/AreasViewer/index.6ccf9d36.js";
|
|
17
17
|
import { a as a2, W } from "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
18
18
|
import { a as a3, D, M as M3, c as c2 } from "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
19
|
-
import { A as A4, b as b2 } from "./components/areas/contexts/AreasContext/index.
|
|
19
|
+
import { A as A4, b as b2 } from "./components/areas/contexts/AreasContext/index.9faec1ec.js";
|
|
20
20
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
21
21
|
import { u as u2 } from "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
22
22
|
import { A as A5, D as D2, L as L3, a as a4, g as g2 } from "./components/areas/dictionary.08cfc4c9.js";
|
|
@@ -28,11 +28,11 @@ import { R as R5 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.
|
|
|
28
28
|
import { R as R6 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
29
29
|
import { R as R7 } from "./components/hook-form/RHFPeriod/index.ae9bcf41.js";
|
|
30
30
|
import { P as P2, g as g5 } from "./components/Period/index.0aa8e507.js";
|
|
31
|
-
import { R as R8 } from "./components/hook-form/RHFRadioGroup/index.
|
|
31
|
+
import { R as R8 } from "./components/hook-form/RHFRadioGroup/index.3b17819b.js";
|
|
32
32
|
import { R as R9 } from "./components/hook-form/RHFCheckbox/index.a38715e3.js";
|
|
33
33
|
import { b as b3, c as c3, a as a5, R as R10, d } from "./components/hook-form/RHFTextField/index.80cc07e0.js";
|
|
34
34
|
import { R as R11 } from "./components/hook-form/RHFUpload/index.587aac00.js";
|
|
35
|
-
import { A as A6 } from "./components/mui_extended/Accordion/index.
|
|
35
|
+
import { A as A6 } from "./components/mui_extended/Accordion/index.19018073.js";
|
|
36
36
|
import { A as A7 } from "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
37
37
|
import { B } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
38
38
|
import { B as B2 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
@@ -43,7 +43,7 @@ import { L as L5 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.
|
|
|
43
43
|
import { B as B4, I as I2, L as L6 } from "./components/mui_extended/Button/index.570fd3a4.js";
|
|
44
44
|
import { M as M4 } from "./components/mui_extended/MenuActions/index.8c02ff61.js";
|
|
45
45
|
import { P as P3, g as g6 } from "./components/mui_extended/Pager/index.5629e82b.js";
|
|
46
|
-
import { a as a6, b as b4, d as d2, c as c4, T as T2 } from "./components/mui_extended/Tab/index.
|
|
46
|
+
import { a as a6, b as b4, d as d2, c as c4, T as T2 } from "./components/mui_extended/Tab/index.c6b81776.js";
|
|
47
47
|
import { C as C2 } from "./components/mui_extended/CheckBox.e662d20c.js";
|
|
48
48
|
import { I as I3 } from "./components/mui_extended/IconButton/index.26de70bd.js";
|
|
49
49
|
import { P as P4 } from "./components/mui_extended/Popover/index.b3eca6b1.js";
|
|
@@ -62,7 +62,7 @@ import { c as c5 } from "./components/DataGrid/formatters/columnUncertaintyForma
|
|
|
62
62
|
import { c as c6 } from "./components/DataGrid/formatters/columnPointsFormatter/index.a19b7b90.js";
|
|
63
63
|
import { c as c7 } from "./components/DataGrid/formatters/columnNestedValueFormatter/index.b63f7246.js";
|
|
64
64
|
import { c as c8 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
65
|
-
import { D as D4, g as g12 } from "./components/DynamicFilter/index.
|
|
65
|
+
import { D as D4, g as g12 } from "./components/DynamicFilter/index.df9dee43.js";
|
|
66
66
|
import { H, e as e2 } from "./components/HelperText/index.7d2afdb3.js";
|
|
67
67
|
import { A as A8, d as d3, g as g13 } from "./components/CommonActions/components/Actions/index.2f6286eb.js";
|
|
68
68
|
import { A as A9 } from "./components/CommonActions/components/ActionCancel/index.06539086.js";
|
|
@@ -78,8 +78,8 @@ import { L as L7 } from "./components/LanguagePopover/index.5ff37dbf.js";
|
|
|
78
78
|
import { L as L8 } from "./components/LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
79
79
|
import { I as I5 } from "./components/Image/index.bf37e923.js";
|
|
80
80
|
import { L as L9 } from "./components/Loadable/index.e994fc3e.js";
|
|
81
|
-
import { c as c10, e as e3, d as d4, a as a9, u as u3 } from "./components/maps/components/Map/index.
|
|
82
|
-
import { a as a10 } from "./components/maps/components/GpsTools/index.
|
|
81
|
+
import { c as c10, e as e3, d as d4, a as a9, u as u3 } from "./components/maps/components/Map/index.5171d0de.js";
|
|
82
|
+
import { a as a10 } from "./components/maps/components/GpsTools/index.c94fd76f.js";
|
|
83
83
|
import { M as M5, d as d5, g as g14 } from "./components/ModalDialog/index.89e26413.js";
|
|
84
84
|
import { g as g15 } from "./components/modal/index.61389369.js";
|
|
85
85
|
import { W as W2 } from "./components/modal/WindowConfirm.19ddbd5d.js";
|
|
@@ -87,11 +87,11 @@ import { W as W3 } from "./components/modal/WindowBase.ea17cf20.js";
|
|
|
87
87
|
import { L as L10, g as g16 } from "./components/LoadingError/index.fabad214.js";
|
|
88
88
|
import { M as M6, g as g17 } from "./components/MFLoader/index.7b4ee2a4.js";
|
|
89
89
|
import { N as N3, d as d6, g as g18 } from "./components/NoItemSelected/index.7db73e77.js";
|
|
90
|
-
import { O, d as d7, g as g19 } from "./components/ObjectLogs/index.
|
|
90
|
+
import { O, d as d7, g as g19 } from "./components/ObjectLogs/index.0a5ea5fd.js";
|
|
91
91
|
import { P as P9 } from "./components/PaperForm/index.7ea3883f.js";
|
|
92
92
|
import { P as P10 } from "./components/PDFViewer/index.5c2db67a.js";
|
|
93
93
|
import { H as H2 } from "./components/Page/index.710cb16f.js";
|
|
94
|
-
import { P as P11 } from "./components/PropertyValue/index.
|
|
94
|
+
import { P as P11 } from "./components/PropertyValue/index.ac4269e2.js";
|
|
95
95
|
import { R as R13 } from "./components/Resizeable/index.6478d7d8.js";
|
|
96
96
|
import { S as S4 } from "./components/ScrollBar/index.010f1b9d.js";
|
|
97
97
|
import { S as S5 } from "./components/SplitLayout/index.30fd5861.js";
|
|
@@ -103,7 +103,7 @@ import { R as R14, g as g22 } from "./contexts/RHFormContext/index.7769076a.js";
|
|
|
103
103
|
import { M as M7, a as a12 } from "./contexts/ModalContext/index.b39d303d.js";
|
|
104
104
|
import { g as g23, u as u4 } from "./hooks/useFormAddEdit/index.32aa4f64.js";
|
|
105
105
|
import { u as u5 } from "./hooks/useModal/index.abdc0962.js";
|
|
106
|
-
import { u as u6 } from "./hooks/useTab/index.
|
|
106
|
+
import { u as u6 } from "./hooks/useTab/index.f39d479c.js";
|
|
107
107
|
import "react-router-dom";
|
|
108
108
|
import "@mui/material/styles";
|
|
109
109
|
import "@mui/material";
|
|
@@ -114,15 +114,15 @@ import "clsx";
|
|
|
114
114
|
import "react-dnd";
|
|
115
115
|
import "react-dnd-html5-backend";
|
|
116
116
|
import "@m4l/core";
|
|
117
|
-
import "./components/DataGrid/subcomponents/Actions/index.
|
|
117
|
+
import "./components/DataGrid/subcomponents/Actions/index.5ad30a83.js";
|
|
118
118
|
import "@m4l/graphics";
|
|
119
119
|
import "@mui/base";
|
|
120
120
|
import "./test/constants_no_mock.86c553a9.js";
|
|
121
|
-
import "./vendor.
|
|
121
|
+
import "./vendor.10467412.js";
|
|
122
122
|
import "framer-motion";
|
|
123
123
|
import "simplebar-react";
|
|
124
124
|
import "./react-spinners.342a6578.js";
|
|
125
|
-
import "./components/areas/hooks/useAreas/index.
|
|
125
|
+
import "./components/areas/hooks/useAreas/index.dd4d8f73.js";
|
|
126
126
|
import "zustand";
|
|
127
127
|
import "yup";
|
|
128
128
|
import "./utils/index.de903261.js";
|
|
@@ -178,7 +178,6 @@ import "leaflet";
|
|
|
178
178
|
import "immer";
|
|
179
179
|
import "./components/hook-form/HelperError/index.66bbcac3.js";
|
|
180
180
|
import "./hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
181
|
-
import "leaflet-polylinedecorator";
|
|
182
181
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
183
182
|
import "@geoman-io/leaflet-geoman-free";
|
|
184
183
|
import "./react-json-view.5636414a.js";
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./assets/Logo/index.228dcb5a.js";
|
|
2
|
-
import "./components/DataGrid/index.
|
|
2
|
+
import "./components/DataGrid/index.7e5b3989.js";
|
|
3
3
|
import "./components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
4
4
|
import "./components/NavLink/index.b75c91e1.js";
|
|
5
5
|
import "./components/ScrollToTop/index.e06f98f6.js";
|
|
@@ -12,11 +12,11 @@ import "./components/animate/variants/fade.b561c0fc.js";
|
|
|
12
12
|
import "./components/animate/variants/bounce.784aaaaa.js";
|
|
13
13
|
import "./components/animate/variants/container.11f82b76.js";
|
|
14
14
|
import "./components/animate/variants/transition.bd46b9ce.js";
|
|
15
|
-
import "./components/areas/components/AreasAdmin/index.
|
|
16
|
-
import "./components/areas/components/AreasViewer/index.
|
|
15
|
+
import "./components/areas/components/AreasAdmin/index.aaacd6fd.js";
|
|
16
|
+
import "./components/areas/components/AreasViewer/index.6ccf9d36.js";
|
|
17
17
|
import "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
18
18
|
import "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
19
|
-
import "./components/areas/contexts/AreasContext/index.
|
|
19
|
+
import "./components/areas/contexts/AreasContext/index.9faec1ec.js";
|
|
20
20
|
import "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
21
21
|
import "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
22
22
|
import "./components/areas/dictionary.08cfc4c9.js";
|
|
@@ -28,11 +28,11 @@ import "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
|
28
28
|
import "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
29
29
|
import "./components/hook-form/RHFPeriod/index.ae9bcf41.js";
|
|
30
30
|
import "./components/Period/index.0aa8e507.js";
|
|
31
|
-
import "./components/hook-form/RHFRadioGroup/index.
|
|
31
|
+
import "./components/hook-form/RHFRadioGroup/index.3b17819b.js";
|
|
32
32
|
import "./components/hook-form/RHFCheckbox/index.a38715e3.js";
|
|
33
33
|
import "./components/hook-form/RHFTextField/index.80cc07e0.js";
|
|
34
34
|
import "./components/hook-form/RHFUpload/index.587aac00.js";
|
|
35
|
-
import "./components/mui_extended/Accordion/index.
|
|
35
|
+
import "./components/mui_extended/Accordion/index.19018073.js";
|
|
36
36
|
import "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
37
37
|
import "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
38
38
|
import "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
@@ -43,7 +43,7 @@ import "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
|
43
43
|
import "./components/mui_extended/Button/index.570fd3a4.js";
|
|
44
44
|
import "./components/mui_extended/MenuActions/index.8c02ff61.js";
|
|
45
45
|
import "./components/mui_extended/Pager/index.5629e82b.js";
|
|
46
|
-
import "./components/mui_extended/Tab/index.
|
|
46
|
+
import "./components/mui_extended/Tab/index.c6b81776.js";
|
|
47
47
|
import "./components/mui_extended/CheckBox.e662d20c.js";
|
|
48
48
|
import "./components/mui_extended/IconButton/index.26de70bd.js";
|
|
49
49
|
import "./components/mui_extended/Popover/index.b3eca6b1.js";
|
|
@@ -62,7 +62,7 @@ import "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae205
|
|
|
62
62
|
import "./components/DataGrid/formatters/columnPointsFormatter/index.a19b7b90.js";
|
|
63
63
|
import "./components/DataGrid/formatters/columnNestedValueFormatter/index.b63f7246.js";
|
|
64
64
|
import "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
65
|
-
import "./components/DynamicFilter/index.
|
|
65
|
+
import "./components/DynamicFilter/index.df9dee43.js";
|
|
66
66
|
import "./components/HelperText/index.7d2afdb3.js";
|
|
67
67
|
import "./components/CommonActions/components/Actions/index.2f6286eb.js";
|
|
68
68
|
import "./components/CommonActions/components/ActionCancel/index.06539086.js";
|
|
@@ -78,8 +78,8 @@ import "./components/LanguagePopover/index.5ff37dbf.js";
|
|
|
78
78
|
import "./components/LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
79
79
|
import "./components/Image/index.bf37e923.js";
|
|
80
80
|
import "./components/Loadable/index.e994fc3e.js";
|
|
81
|
-
import "./components/maps/components/Map/index.
|
|
82
|
-
import "./components/maps/components/GpsTools/index.
|
|
81
|
+
import "./components/maps/components/Map/index.5171d0de.js";
|
|
82
|
+
import "./components/maps/components/GpsTools/index.c94fd76f.js";
|
|
83
83
|
import "./components/ModalDialog/index.89e26413.js";
|
|
84
84
|
import "./components/modal/index.61389369.js";
|
|
85
85
|
import "./components/modal/WindowConfirm.19ddbd5d.js";
|
|
@@ -87,11 +87,11 @@ import "./components/modal/WindowBase.ea17cf20.js";
|
|
|
87
87
|
import "./components/LoadingError/index.fabad214.js";
|
|
88
88
|
import "./components/MFLoader/index.7b4ee2a4.js";
|
|
89
89
|
import "./components/NoItemSelected/index.7db73e77.js";
|
|
90
|
-
import "./components/ObjectLogs/index.
|
|
90
|
+
import "./components/ObjectLogs/index.0a5ea5fd.js";
|
|
91
91
|
import "./components/PaperForm/index.7ea3883f.js";
|
|
92
92
|
import "./components/PDFViewer/index.5c2db67a.js";
|
|
93
93
|
import "./components/Page/index.710cb16f.js";
|
|
94
|
-
import "./components/PropertyValue/index.
|
|
94
|
+
import "./components/PropertyValue/index.ac4269e2.js";
|
|
95
95
|
import "./components/Resizeable/index.6478d7d8.js";
|
|
96
96
|
import "./components/ScrollBar/index.010f1b9d.js";
|
|
97
97
|
import "./components/SplitLayout/index.30fd5861.js";
|
|
@@ -103,7 +103,7 @@ import "./contexts/RHFormContext/index.7769076a.js";
|
|
|
103
103
|
import "./contexts/ModalContext/index.b39d303d.js";
|
|
104
104
|
import "./hooks/useFormAddEdit/index.32aa4f64.js";
|
|
105
105
|
import "./hooks/useModal/index.abdc0962.js";
|
|
106
|
-
import "./hooks/useTab/index.
|
|
106
|
+
import "./hooks/useTab/index.f39d479c.js";
|
|
107
107
|
const getNameDataTestId = (ELEMENT_PREFIX, ELEMENT_KEY, ELEMENT_ID) => {
|
|
108
108
|
return `${ELEMENT_PREFIX}-${[ELEMENT_KEY]}-${ELEMENT_ID}`;
|
|
109
109
|
};
|