@m4l/gclick 0.3.1-beta.2 → 0.3.1
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/DeviceStatus/slots/DeviceStatusSlots.d.ts +1 -1
- package/components/GaugeCircular/slots/GaugeCircularSlots.d.ts +3 -3
- package/components/indicators/IndicatorBattery/constants.d.ts +1 -1
- package/components/indicators/IndicatorCSQ/constants.d.ts +1 -1
- package/components/indicators/IndicatorValueAndMagnitude/constants.d.ts +1 -1
- package/components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.js +6 -7
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MapLayersTool/slots/styled.d.ts +4 -4
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MapSourcesTool/slots/styled.d.ts +7 -7
- package/components/maps/components/GpsMap/subcomponents/Layers/index.js +4 -5
- package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/index.js +10 -11
- package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.d.ts +5 -4
- package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.js +23 -14
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLayers.js +4 -5
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.js +17 -18
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js +41 -32
- package/formatters/CourseFormatter/CourseFormatter.js +4 -5
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/test/mocks.d.ts +2 -2
- package/utils/getVptUpdatedAtWithGuard.d.ts +1 -1
- package/components/Device/slots/DeviceSlots.d.ts +0 -16
- package/components/Device/slots/DeviceSlots.d.ts.map +0 -1
- package/components/DeviceLabel/slots/DeviceLabelSlots.d.ts +0 -10
- package/components/DeviceLabel/slots/DeviceLabelSlots.d.ts.map +0 -1
- package/components/VideoTimeLineSelector/slots/VideoTimeLineSelectorSlots.d.ts +0 -67
- package/components/VideoTimeLineSelector/slots/VideoTimeLineSelectorSlots.d.ts.map +0 -1
- package/components/indicators/IndicatorBattery/slots/IndicatorBaterySlots.d.ts +0 -28
- package/components/indicators/IndicatorBattery/slots/IndicatorBaterySlots.d.ts.map +0 -1
- package/components/indicators/IndicatorCSQ/slots/IndicatorCSQSlots.d.ts +0 -16
- package/components/indicators/IndicatorCSQ/slots/IndicatorCSQSlots.d.ts.map +0 -1
- package/components/indicators/IndicatorValueAndMagnitude/slots/styled.d.ts +0 -13
- package/components/indicators/IndicatorValueAndMagnitude/slots/styled.d.ts.map +0 -1
- package/components/indicators/IndicatorValueStatus/slots/IndicatorValueStatusSlots.d.ts +0 -16
- package/components/indicators/IndicatorValueStatus/slots/IndicatorValueStatusSlots.d.ts.map +0 -1
- package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.d.ts +0 -34
- package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.d.ts.map +0 -1
- package/components/maps/components/GpsMap/slots/styled.d.ts +0 -22
- package/components/maps/components/GpsMap/slots/styled.d.ts.map +0 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/slots/styled.d.ts +0 -19
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/slots/styled.d.ts.map +0 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.d.ts +0 -28
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.d.ts.map +0 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.d.ts +0 -20
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.d.ts.map +0 -1
- package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +0 -4
- package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const DeviceStatusRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
1
|
+
export declare const DeviceStatusRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
2
2
|
//# sourceMappingURL=DeviceStatusSlots.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const GaugeFullCircleRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
2
|
-
export declare const GaugeFullCircleInnerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
-
export declare const GaugeFullCircleCircularBgStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
1
|
+
export declare const GaugeFullCircleRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
2
|
+
export declare const GaugeFullCircleInnerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
3
|
+
export declare const GaugeFullCircleCircularBgStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
//# sourceMappingURL=GaugeCircularSlots.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const INDICATOR_BATTERY_KEY_COMPONENT = "M4LIndicatorBattery";
|
|
2
|
-
export declare const INDICATOR_BATTERY_CLASSES: Record<"
|
|
2
|
+
export declare const INDICATOR_BATTERY_CLASSES: Record<"title" | "content" | "root" | "voltageStatusContainer" | "statusContainer" | "voltageContainer" | "containerTitleBatteryPorcentage" | "containerStatusVoltage" | "containerIconPercentage", string>;
|
|
3
3
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -5,5 +5,5 @@ export declare const INDICATOR_CSQ_KEY_COMPONENT = "M4LCSQSignal";
|
|
|
5
5
|
/**
|
|
6
6
|
* Classes for the CSQSignal component
|
|
7
7
|
*/
|
|
8
|
-
export declare const INDICATOR_CSQ_CLASSES: Record<"
|
|
8
|
+
export declare const INDICATOR_CSQ_CLASSES: Record<"title" | "root" | "chip" | "signalIcon" | "containerTitleAndChip", string>;
|
|
9
9
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const VALUE_AND_MAGNITUDE_COMPONENT_KEY = "M4LIndicatorValueAndMagnitude";
|
|
2
|
-
export declare const VALUE_AND_MAGNITUDE_CLASSES: Record<"
|
|
2
|
+
export declare const VALUE_AND_MAGNITUDE_CLASSES: Record<"value" | "root" | "unit" | "unitContainer", string>;
|
|
3
3
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -30,16 +30,15 @@ import "../../../../../Device/hooks/constants.js";
|
|
|
30
30
|
import { getDeviceStatusComponentsDictionary as r } from "../../../../../DeviceStatus/dictionary.js";
|
|
31
31
|
import "leaflet-polylinedecorator";
|
|
32
32
|
import "@m4l/layouts";
|
|
33
|
-
import "../../../GpsMapTools/
|
|
34
|
-
import "@geoman-io/leaflet-geoman-free";
|
|
35
|
-
import "yup";
|
|
33
|
+
import "../../../GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js";
|
|
36
34
|
import "@m4l/graphics";
|
|
35
|
+
import "../../../GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
|
|
37
36
|
import { getCourseFormatterComponentsDictionary as p } from "../../../../../../formatters/CourseFormatter/dictionary.js";
|
|
38
37
|
const o = "map_popup_my_gps";
|
|
39
|
-
function
|
|
38
|
+
function F() {
|
|
40
39
|
return [o].concat(t()).concat(p()).concat(r());
|
|
41
40
|
}
|
|
42
|
-
const
|
|
41
|
+
const x = {
|
|
43
42
|
LABEL_MAP_POPUP_MYGPS_ADDRESS: `${o}.label_address`,
|
|
44
43
|
LABEL_MAP_POPUP_MYGPS_LAST_REPORT: `${o}.label_last_report`,
|
|
45
44
|
LABEL_MAP_POPUP_MYGPS_STATUS: `${o}.label_status`,
|
|
@@ -49,6 +48,6 @@ const W = {
|
|
|
49
48
|
LABEL_MAP_POPUP_MYGPS_VIEW_MORE: `${o}.label_view_more`
|
|
50
49
|
};
|
|
51
50
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
x as MAP_POPUP_GPS_DEVICE_DICCTIONARY,
|
|
52
|
+
F as getMapPopupDeviceComponentsDictionary
|
|
54
53
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const GpsMapLayersToolRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
2
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
3
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const GpsMapLayersToolRowContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
5
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
6
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
6
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const GpsMapLayersToolRowCheckBoxNameContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
8
8
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
9
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
9
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
export declare const GpsMapLayersToolRowOptionsContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
11
11
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
12
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
12
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
13
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const GpsMapSourcesToolRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
2
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
3
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const GpsMapSourcesToolHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
5
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
6
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
6
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const GpsMapSourcesToolContentGroupStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
8
8
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
9
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
9
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
export declare const GpsMapSourcesToolContentGroupHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
11
11
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
12
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
12
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
13
|
export declare const GpsMapSourceToolCardIconTitleContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
14
14
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
15
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
16
|
-
export declare const GpsMapSourceToolCardIconStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/components').IconProps, keyof import('@m4l/components').IconBaseProps
|
|
15
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
16
|
+
export declare const GpsMapSourceToolCardIconStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/components').IconProps, "src" | "icon" | keyof import('@m4l/components').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
17
17
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
export declare const GpsMapSourceToolCardRoadOptionsContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
20
20
|
ownerState?: (Partial<import('../../../../../../../types').MapOwnerState> & Record<string, unknown>) | undefined;
|
|
21
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
21
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
22
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -25,15 +25,14 @@ import "../../contexts/MapContext/MapContext.js";
|
|
|
25
25
|
import "../../popups/MapPopupDevice/slots/MapPopupDeviceSlots.js";
|
|
26
26
|
import "../../../../../../formatters/CourseFormatter/slots/CourseFormatterSlots.js";
|
|
27
27
|
import "@m4l/layouts";
|
|
28
|
+
import "../../../GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js";
|
|
29
|
+
import "@m4l/graphics";
|
|
28
30
|
import "zustand";
|
|
29
31
|
import "../../../GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
|
|
30
|
-
import "@geoman-io/leaflet-geoman-free";
|
|
31
|
-
import "yup";
|
|
32
|
-
import "@m4l/graphics";
|
|
33
32
|
import "../../../../../DeviceStatus/slots/DeviceStatusSlots.js";
|
|
34
33
|
import "../../../../../Device/hooks/constants.js";
|
|
35
34
|
import "leaflet-polylinedecorator";
|
|
36
|
-
const
|
|
35
|
+
const V = () => {
|
|
37
36
|
const i = n((o) => o.layersIds, u), p = l(), r = e();
|
|
38
37
|
return c(), a(() => {
|
|
39
38
|
if (r)
|
|
@@ -43,5 +42,5 @@ const W = () => {
|
|
|
43
42
|
}, [r]), p || !r ? null : /* @__PURE__ */ t(s.Fragment, { children: i.map((o) => /* @__PURE__ */ t(f, { layerId: o }, o)) });
|
|
44
43
|
};
|
|
45
44
|
export {
|
|
46
|
-
|
|
45
|
+
V as LayersContainer
|
|
47
46
|
};
|
|
@@ -4,7 +4,7 @@ import { LayerGroup as v } from "react-leaflet";
|
|
|
4
4
|
import h from "leaflet";
|
|
5
5
|
import { shallow as u } from "zustand/shallow";
|
|
6
6
|
import { MarkerClusterGroup as M } from "./subcomponents/MarkerClusterGroup/index.js";
|
|
7
|
-
import { useMapStore as
|
|
7
|
+
import { useMapStore as c } from "../../../../hooks/useMapStore/index.js";
|
|
8
8
|
import { deepShallow as g } from "@m4l/components";
|
|
9
9
|
import "../../../../external/googleMutant/googleMutant.js";
|
|
10
10
|
import "@googlemaps/js-api-loader";
|
|
@@ -26,29 +26,28 @@ import "../../../../contexts/MapContext/MapContext.js";
|
|
|
26
26
|
import "../../../../popups/MapPopupDevice/slots/MapPopupDeviceSlots.js";
|
|
27
27
|
import "../../../../../../../../formatters/CourseFormatter/slots/CourseFormatterSlots.js";
|
|
28
28
|
import "@m4l/layouts";
|
|
29
|
+
import "../../../../../GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js";
|
|
30
|
+
import "@m4l/graphics";
|
|
29
31
|
import "zustand";
|
|
30
32
|
import "../../../../../GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
|
|
31
|
-
import "@geoman-io/leaflet-geoman-free";
|
|
32
|
-
import "yup";
|
|
33
|
-
import "@m4l/graphics";
|
|
34
33
|
import "../../../../../../../DeviceStatus/slots/DeviceStatusSlots.js";
|
|
35
34
|
import "../../../../../../../Device/hooks/constants.js";
|
|
36
35
|
import "leaflet-polylinedecorator";
|
|
37
|
-
const
|
|
38
|
-
const { layerId: r } = C, t =
|
|
36
|
+
const ae = (C) => {
|
|
37
|
+
const { layerId: r } = C, t = c((o) => {
|
|
39
38
|
const e = o.hashLayers[r]?.geoJsonObject;
|
|
40
39
|
return e && e.object.type === "Feature" ? e.object.id : e && e.object.type === "FeatureCollection" ? e && e.object.features.map((i) => i.id) : null;
|
|
41
|
-
}, g), s =
|
|
40
|
+
}, g), s = c((o) => o.hashLayers[r].renderFeature, u), p = c(
|
|
42
41
|
(o) => o.hashLayers[r]?.decimationConfig,
|
|
43
42
|
u
|
|
44
|
-
), [F, m = !1] =
|
|
43
|
+
), [F, m = !1] = c(
|
|
45
44
|
(o) => [o.hashLayers[r]?.visible, o.hashLayers[r]?.cluster],
|
|
46
45
|
u
|
|
47
46
|
), a = Array.isArray(t), d = L(
|
|
48
47
|
a && !m ? t : [],
|
|
49
48
|
r,
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
p?.decimationFilter,
|
|
50
|
+
p?.debounceMs !== void 0 ? { debounceMs: p.debounceMs } : void 0
|
|
52
51
|
), f = b(() => a ? m ? t : d : [], [a, m, t, d]);
|
|
53
52
|
if (!t || !s || F === !1)
|
|
54
53
|
return null;
|
|
@@ -100,5 +99,5 @@ const le = (C) => {
|
|
|
100
99
|
);
|
|
101
100
|
};
|
|
102
101
|
export {
|
|
103
|
-
|
|
102
|
+
ae as Layer
|
|
104
103
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { default as L } from 'leaflet';
|
|
2
2
|
import { MarkerClusterGroupProps } from './types';
|
|
3
3
|
/**
|
|
4
|
-
* MarkerClusterGroup
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* MarkerClusterGroup is a functional component that wraps leaflet.markercluster behavior.
|
|
5
|
+
* In Chromatic (or when the plugin is not loaded), falls back to L.layerGroup() so the map
|
|
6
|
+
* still renders without clustering.
|
|
7
|
+
* Uses createPathComponent from @react-leaflet/core.
|
|
8
|
+
* @returns ForwardRefExoticComponent (wrapped with React.forwardRef).
|
|
8
9
|
*/
|
|
9
10
|
export declare const MarkerClusterGroup: import('react').ForwardRefExoticComponent<L.MarkerClusterGroupOptions & import('@react-leaflet/core').PathProps & import('./types').PropsWithChildren & import('react').RefAttributes<MarkerClusterGroupProps>>;
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.tsx"],"names":[],"mappings":"AACA,OAAO,CAAwC,MAAM,SAAS,CAAC;AAC/D
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.tsx"],"names":[],"mappings":"AACA,OAAO,CAAwC,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAyB,MAAM,SAAS,CAAC;AAkCzE;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,iNAgC7B,CAAC"}
|
|
@@ -1,20 +1,29 @@
|
|
|
1
|
-
import { createPathComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { createPathComponent as f } from "@react-leaflet/core";
|
|
2
|
+
import i from "leaflet";
|
|
3
|
+
const h = (() => {
|
|
4
|
+
if (typeof globalThis > "u")
|
|
5
|
+
return !1;
|
|
6
|
+
const r = globalThis;
|
|
7
|
+
if (r.__STORYBOOK_IS_CHROMATIC__ === !0)
|
|
8
|
+
return !0;
|
|
9
|
+
const o = r.location?.href ?? "", n = r.location?.hostname ?? "";
|
|
10
|
+
return /chromatic\.com/i.test(o) || /(^|\.)chromatic\.com$/i.test(n);
|
|
11
|
+
})();
|
|
12
|
+
typeof globalThis < "u" && !h && import("leaflet.markercluster");
|
|
13
|
+
const C = f(({ children: r, ...o }, n) => {
|
|
14
|
+
const c = {}, u = {};
|
|
15
|
+
Object.entries(o).forEach(([t, e]) => {
|
|
16
|
+
t !== void 0 && e !== "" && (t.startsWith("on") ? u[t] = e : c[t] = e);
|
|
8
17
|
});
|
|
9
|
-
const
|
|
10
|
-
return Object.entries(
|
|
11
|
-
const
|
|
12
|
-
|
|
18
|
+
const a = typeof i.MarkerClusterGroup < "u", s = a ? new i.MarkerClusterGroup(c) : i.layerGroup();
|
|
19
|
+
return a && Object.entries(u).forEach(([t, e]) => {
|
|
20
|
+
const l = `cluster${t.substring(2).toLowerCase()}`;
|
|
21
|
+
s.on(l, e);
|
|
13
22
|
}), {
|
|
14
|
-
instance:
|
|
15
|
-
context: { ...
|
|
23
|
+
instance: s,
|
|
24
|
+
context: { ...n, layerContainer: s }
|
|
16
25
|
};
|
|
17
26
|
});
|
|
18
27
|
export {
|
|
19
|
-
|
|
28
|
+
C as MarkerClusterGroup
|
|
20
29
|
};
|
package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLayers.js
CHANGED
|
@@ -27,16 +27,15 @@ import "../../../../GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.js";
|
|
|
27
27
|
import "../../../../../../../formatters/CourseFormatter/slots/CourseFormatterSlots.js";
|
|
28
28
|
import "@m4l/layouts";
|
|
29
29
|
import { GeofencesLayers as t } from "../constants.js";
|
|
30
|
-
import
|
|
31
|
-
import "@geoman-io/leaflet-geoman-free";
|
|
32
|
-
import "yup";
|
|
30
|
+
import "../subcomponents/GeofenceAddEdit/Form.js";
|
|
33
31
|
import "@m4l/graphics";
|
|
32
|
+
import { useGpsMapToolsStore as a } from "../../../hooks/useGpsMapToolsStore/index.js";
|
|
34
33
|
import { GeofenceFeatureRender as u } from "../subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.js";
|
|
35
34
|
import "../../../contexts/GpsMapToolsContext/GpsMapToolsContext.js";
|
|
36
35
|
import "../../../../../../DeviceStatus/slots/DeviceStatusSlots.js";
|
|
37
36
|
import "../../../../../../Device/hooks/constants.js";
|
|
38
37
|
import "leaflet-polylinedecorator";
|
|
39
|
-
function
|
|
38
|
+
function Q() {
|
|
40
39
|
const { addLayer: m, removeLayer: e } = s((o) => o.mapActions, r), { init: p } = a((o) => o.gpsToolsActions, r);
|
|
41
40
|
i(() => (m({
|
|
42
41
|
layerId: t.LAYER_GEOFENCES,
|
|
@@ -55,5 +54,5 @@ function U() {
|
|
|
55
54
|
}), []);
|
|
56
55
|
}
|
|
57
56
|
export {
|
|
58
|
-
|
|
57
|
+
Q as useLayers
|
|
59
58
|
};
|
|
@@ -11,7 +11,7 @@ import "clsx";
|
|
|
11
11
|
import "../../../../GpsMap/slots/styled.js";
|
|
12
12
|
import { useNetwork as F } from "@m4l/core";
|
|
13
13
|
import "../../../../GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MapSourcesTool/slots/styled.js";
|
|
14
|
-
import { shallow as
|
|
14
|
+
import { shallow as s } from "zustand/shallow";
|
|
15
15
|
import "../../../../GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MapLayersTool/slots/styled.js";
|
|
16
16
|
import "react-hook-form";
|
|
17
17
|
import "../../../../GpsMap/classes/index.js";
|
|
@@ -29,27 +29,26 @@ import "../../../../../../DeviceStatus/slots/DeviceStatusSlots.js";
|
|
|
29
29
|
import "../../../../../../Device/hooks/constants.js";
|
|
30
30
|
import "leaflet-polylinedecorator";
|
|
31
31
|
import "@m4l/layouts";
|
|
32
|
-
import { GeofencesLayers as
|
|
33
|
-
import
|
|
34
|
-
import "@
|
|
35
|
-
import "
|
|
36
|
-
import { getContrastTextColor as C } from "@m4l/graphics";
|
|
32
|
+
import { GeofencesLayers as p } from "../constants.js";
|
|
33
|
+
import "../subcomponents/GeofenceAddEdit/Form.js";
|
|
34
|
+
import { getContrastTextColor as g } from "@m4l/graphics";
|
|
35
|
+
import { useGpsMapToolsStore as C } from "../../../hooks/useGpsMapToolsStore/index.js";
|
|
37
36
|
import "../../../contexts/GpsMapToolsContext/GpsMapToolsContext.js";
|
|
38
|
-
function
|
|
39
|
-
const l = G((o) => o.layersIds.includes(
|
|
37
|
+
function pe() {
|
|
38
|
+
const l = G((o) => o.layersIds.includes(p.LAYER_GEOFENCES), s), [i] = C(
|
|
40
39
|
(o) => [o.geofenceState.checkedGeofences, o.geofenceState.hashGeofences],
|
|
41
|
-
|
|
42
|
-
), { setCheckedGeofences: h, setPartialValue: a, getGeofenceById: c } =
|
|
40
|
+
s
|
|
41
|
+
), { setCheckedGeofences: h, setPartialValue: a, getGeofenceById: c } = C(
|
|
43
42
|
(o) => o.geofenceActions,
|
|
44
|
-
|
|
43
|
+
s
|
|
45
44
|
), { setFeatureData: n, removeFeature: f, getFeatureIds: u } = G(
|
|
46
45
|
(o) => o.mapActions,
|
|
47
|
-
|
|
46
|
+
s
|
|
48
47
|
), { networkOperation: d } = F(), { startProgress: E, stopProgress: y } = O();
|
|
49
48
|
return P(() => {
|
|
50
49
|
if (!l)
|
|
51
50
|
return;
|
|
52
|
-
const o = u(
|
|
51
|
+
const o = u(p.LAYER_GEOFENCES);
|
|
53
52
|
return i.forEach((r) => {
|
|
54
53
|
const e = c(r);
|
|
55
54
|
if (e && (!o.includes(r) || !e.mustPaintGeometry))
|
|
@@ -74,7 +73,7 @@ function ae() {
|
|
|
74
73
|
...t.properties,
|
|
75
74
|
markerIconLabel: {
|
|
76
75
|
label: t.name,
|
|
77
|
-
color:
|
|
76
|
+
color: g(t.properties?.fillColor),
|
|
78
77
|
fillColor: t.properties?.fillColor,
|
|
79
78
|
fillOpacity: t.properties?.fillOpacity
|
|
80
79
|
}
|
|
@@ -88,20 +87,20 @@ function ae() {
|
|
|
88
87
|
...e.properties,
|
|
89
88
|
markerIconLabel: {
|
|
90
89
|
label: e.name,
|
|
91
|
-
color:
|
|
90
|
+
color: g(e.properties?.fillColor),
|
|
92
91
|
fillColor: e.properties?.fillColor,
|
|
93
92
|
fillOpacity: e.properties?.fillOpacity
|
|
94
93
|
}
|
|
95
94
|
};
|
|
96
95
|
n(
|
|
97
|
-
|
|
96
|
+
p.LAYER_GEOFENCES,
|
|
98
97
|
r,
|
|
99
98
|
e.geometry,
|
|
100
99
|
m
|
|
101
100
|
), a(e.id, { mustPaintGeometry: !1 });
|
|
102
101
|
}
|
|
103
102
|
}), o.forEach((r) => {
|
|
104
|
-
i.has(Number(r)) || f(
|
|
103
|
+
i.has(Number(r)) || f(p.LAYER_GEOFENCES, r);
|
|
105
104
|
}), () => {
|
|
106
105
|
};
|
|
107
106
|
}, [i, u, c, l, d, f, n, a, E, y]), {
|
|
@@ -110,5 +109,5 @@ function ae() {
|
|
|
110
109
|
};
|
|
111
110
|
}
|
|
112
111
|
export {
|
|
113
|
-
|
|
112
|
+
pe as useLoadDrawGeometry
|
|
114
113
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GeofenceAddEditProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Geofence add/edit form.
|
|
4
4
|
*/
|
|
5
5
|
export declare function Form(props: GeofenceAddEditProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAG,oBAAoB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAG,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA2CrD;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,oBAAoB,oDA8C/C"}
|
|
@@ -1,39 +1,48 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { RHFormProvider as
|
|
3
|
-
import { useSubmit as
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as t, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { RHFormProvider as f, Stepper as l, StepperContent as p, Step as n, Stack as d, StepperFooter as u, StepperFooterLeftActions as h, StepperFooterRightActions as S, StepperPrevButton as b, StepperNextButton as g, StepperSubmitButton as y } from "@m4l/components";
|
|
3
|
+
import { useSubmit as v } from "./hooks/useSubmit.js";
|
|
4
|
+
import { ConfigData as C } from "./subcomponents/ConfigData/index.js";
|
|
5
|
+
import { GeneralData as F } from "./subcomponents/GeneralData/GeneralData.js";
|
|
6
|
+
import { StyleData as I } from "./subcomponents/StyleData/index.js";
|
|
7
|
+
import T from "./hooks/useForm.js";
|
|
8
|
+
import { MyActionFormCancel as A } from "./subcomponents/MyActionFormCancel/MyActionFormCancel.js";
|
|
9
|
+
import { AssignmentData as _ } from "./subcomponents/AssignmentData/index.js";
|
|
10
|
+
import { ChooseAssignmentData as x } from "./subcomponents/ChooseAssignmentData/index.js";
|
|
11
|
+
const D = (() => {
|
|
12
|
+
if (typeof globalThis > "u")
|
|
13
|
+
return !1;
|
|
14
|
+
const e = globalThis;
|
|
15
|
+
if (e.__STORYBOOK_IS_CHROMATIC__ === !0)
|
|
16
|
+
return !0;
|
|
17
|
+
const r = e.location?.href ?? "", i = e.location?.hostname ?? "";
|
|
18
|
+
return /chromatic\.com/i.test(r) || /(^|\.)chromatic\.com$/i.test(i);
|
|
19
|
+
})();
|
|
20
|
+
typeof globalThis < "u" && !D && import("@geoman-io/leaflet-geoman-free");
|
|
21
|
+
function G(e) {
|
|
22
|
+
const { geofenceId: r } = e, { onSubmit: i } = v(e), { steps: m, formValues: s, statusLoad: a, validationSchema: c } = T(e);
|
|
23
|
+
return /* @__PURE__ */ t(
|
|
24
|
+
f,
|
|
16
25
|
{
|
|
17
26
|
statusLoad: a,
|
|
18
|
-
onSubmit:
|
|
27
|
+
onSubmit: i,
|
|
19
28
|
values: s,
|
|
20
|
-
validationSchema:
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
29
|
+
validationSchema: c,
|
|
30
|
+
children: /* @__PURE__ */ o(l, { indicatorType: "dot", storeId: "form-geofence-add-edit", steps: m, orientation: "vertical", visibleTitle: !1, children: [
|
|
31
|
+
/* @__PURE__ */ o(p, { children: [
|
|
32
|
+
/* @__PURE__ */ t(n, { stepKey: "basic-information", children: /* @__PURE__ */ o(d, { direction: "column", gap: "8px", children: [
|
|
33
|
+
/* @__PURE__ */ t(F, {}),
|
|
34
|
+
/* @__PURE__ */ t(C, {}),
|
|
35
|
+
/* @__PURE__ */ t(x, {})
|
|
27
36
|
] }) }, "basic-information"),
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ t(n, { stepKey: "assignment", children: /* @__PURE__ */ t(_, {}) }, "assignment"),
|
|
38
|
+
/* @__PURE__ */ t(n, { stepKey: "style-information", children: /* @__PURE__ */ t(I, {}) }, "style-information")
|
|
30
39
|
] }),
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ o(u, { children: [
|
|
41
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(A, { geofenceId: r }) }),
|
|
42
|
+
/* @__PURE__ */ o(S, { children: [
|
|
43
|
+
/* @__PURE__ */ t(b, { forceIsMobile: !0 }),
|
|
44
|
+
/* @__PURE__ */ t(g, { forceIsMobile: !0 }),
|
|
45
|
+
/* @__PURE__ */ t(y, { forceIsMobile: !0 })
|
|
37
46
|
] })
|
|
38
47
|
] })
|
|
39
48
|
] })
|
|
@@ -41,5 +50,5 @@ function V(o) {
|
|
|
41
50
|
);
|
|
42
51
|
}
|
|
43
52
|
export {
|
|
44
|
-
|
|
53
|
+
G as Form
|
|
45
54
|
};
|
|
@@ -34,11 +34,10 @@ import "../../components/Device/hooks/constants.js";
|
|
|
34
34
|
import "leaflet-polylinedecorator";
|
|
35
35
|
import { courseToCartesianAngle as T } from "../../components/maps/utils/courseToCartesianAngle.js";
|
|
36
36
|
import "@m4l/layouts";
|
|
37
|
-
import "../../components/maps/components/GpsMapTools/
|
|
38
|
-
import "@geoman-io/leaflet-geoman-free";
|
|
39
|
-
import "yup";
|
|
37
|
+
import "../../components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js";
|
|
40
38
|
import "@m4l/graphics";
|
|
41
|
-
|
|
39
|
+
import "../../components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
|
|
40
|
+
const mo = (o) => {
|
|
42
41
|
const {
|
|
43
42
|
course: t,
|
|
44
43
|
gapAngle: r = g,
|
|
@@ -59,5 +58,5 @@ const io = (o) => {
|
|
|
59
58
|
);
|
|
60
59
|
};
|
|
61
60
|
export {
|
|
62
|
-
|
|
61
|
+
mo as CourseFormatter
|
|
63
62
|
};
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/gclick",
|
|
3
|
-
"version": "0.3.1
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"lodash-es": "^4.17.21",
|
|
42
42
|
"kdbush": "^4.0.2",
|
|
43
43
|
"leaflet-polylinedecorator": "^1.6.0",
|
|
44
|
-
"@geoman-io/leaflet-geoman-free": "^2.14.2",
|
|
45
|
-
"yup": "0.32.11",
|
|
46
44
|
"leaflet.markercluster": "^1.5.3",
|
|
45
|
+
"@geoman-io/leaflet-geoman-free": "^2.14.2",
|
|
47
46
|
"atmosphere.js": "^4.0.0",
|
|
48
47
|
"camelcase-keys": "^9.1.3",
|
|
49
|
-
"immer": "^9.0.21"
|
|
48
|
+
"immer": "^9.0.21",
|
|
49
|
+
"yup": "0.32.11"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/test/mocks.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const mock_useEnvironment: {
|
|
|
16
16
|
domain_token: string;
|
|
17
17
|
};
|
|
18
18
|
export declare const mockedGraphics: {
|
|
19
|
-
useFormatter: Mock<() =>
|
|
19
|
+
useFormatter: Mock<() => graphics.Formatters>;
|
|
20
20
|
};
|
|
21
21
|
export declare function restoreGraphicsMocked(): void;
|
|
22
22
|
/**
|
|
@@ -24,6 +24,6 @@ export declare function restoreGraphicsMocked(): void;
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const coreImplementation: typeof core;
|
|
26
26
|
export declare const graphicsImplementation: {
|
|
27
|
-
useFormatter: Mock<() =>
|
|
27
|
+
useFormatter: Mock<() => graphics.Formatters>;
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* "getVptUpdatedAtWithGuard" obtiene el updatedAt de un vpt con un guardia de
|
|
2
|
+
* "getVptUpdatedAtWithGuard" obtiene el updatedAt de un vpt con un guardia de fecha por defecto
|
|
3
3
|
*/
|
|
4
4
|
export declare function getVptUpdatedAtWithGuard<T = string>(value: any, defaultValue?: T): T;
|
|
5
5
|
//# sourceMappingURL=getVptUpdatedAtWithGuard.d.ts.map
|