@m4l/gclick 0.3.7 → 0.3.8

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.
Files changed (89) hide show
  1. package/components/ReportsViewer/subcomponents/ReportSheetMapFitBounds/ReportSheetMapFitBounds.d.ts +3 -2
  2. package/components/ReportsViewer/subcomponents/ReportSheetMapFitBounds/ReportSheetMapFitBounds.d.ts.map +1 -1
  3. package/components/ReportsViewer/subcomponents/ReportSheetMapFitBounds/ReportSheetMapFitBounds.js +16 -20
  4. package/components/index.d.ts +1 -0
  5. package/components/index.d.ts.map +1 -1
  6. package/components/maps/components/GpsMap/constants.d.ts +1 -0
  7. package/components/maps/components/GpsMap/constants.d.ts.map +1 -1
  8. package/components/maps/components/GpsMap/constants.js +16 -14
  9. package/components/maps/components/GpsMap/contexts/MapContext/MapContext.d.ts +2 -1
  10. package/components/maps/components/GpsMap/contexts/MapContext/MapContext.d.ts.map +1 -1
  11. package/components/maps/components/GpsMap/contexts/MapContext/helpers/featureObservability.d.ts +28 -0
  12. package/components/maps/components/GpsMap/contexts/MapContext/helpers/featureObservability.d.ts.map +1 -0
  13. package/components/maps/components/GpsMap/contexts/MapContext/helpers/featureObservability.js +111 -0
  14. package/components/maps/components/GpsMap/contexts/MapContext/helpers/geoJsonBounds.d.ts +9 -0
  15. package/components/maps/components/GpsMap/contexts/MapContext/helpers/geoJsonBounds.d.ts.map +1 -0
  16. package/components/maps/components/GpsMap/contexts/MapContext/helpers/geoJsonBounds.js +183 -0
  17. package/components/maps/components/GpsMap/contexts/MapContext/helpers/helpers.d.ts +112 -0
  18. package/components/maps/components/GpsMap/contexts/MapContext/helpers/helpers.d.ts.map +1 -0
  19. package/components/maps/components/GpsMap/contexts/MapContext/helpers/helpers.js +87 -0
  20. package/components/maps/components/GpsMap/contexts/MapContext/helpers/layerDataBounds.d.ts +10 -0
  21. package/components/maps/components/GpsMap/contexts/MapContext/helpers/layerDataBounds.d.ts.map +1 -0
  22. package/components/maps/components/GpsMap/contexts/MapContext/helpers/layerDataBounds.js +12 -0
  23. package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts +2 -1
  24. package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts.map +1 -1
  25. package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts +6 -2
  26. package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts.map +1 -1
  27. package/components/maps/components/GpsMap/contexts/MapContext/store.js +301 -123
  28. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +191 -20
  29. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts.map +1 -1
  30. package/components/maps/components/GpsMap/contexts/MapContext/types.js +8 -0
  31. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.d.ts.map +1 -1
  32. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +93 -124
  33. package/components/maps/components/GpsMap/hooks/index.d.ts +3 -0
  34. package/components/maps/components/GpsMap/hooks/index.d.ts.map +1 -1
  35. package/components/maps/components/GpsMap/hooks/useAutoFocus/helpers.d.ts +12 -0
  36. package/components/maps/components/GpsMap/hooks/useAutoFocus/helpers.d.ts.map +1 -0
  37. package/components/maps/components/GpsMap/hooks/useAutoFocus/helpers.js +29 -0
  38. package/components/maps/components/GpsMap/hooks/useAutoFocus/index.d.ts +1 -4
  39. package/components/maps/components/GpsMap/hooks/useAutoFocus/index.d.ts.map +1 -1
  40. package/components/maps/components/GpsMap/hooks/useAutoFocus/index.js +32 -59
  41. package/components/maps/components/GpsMap/hooks/useAutoFocus/types.d.ts +4 -13
  42. package/components/maps/components/GpsMap/hooks/useAutoFocus/types.d.ts.map +1 -1
  43. package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.d.ts +7 -0
  44. package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.d.ts.map +1 -0
  45. package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.js +42 -0
  46. package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.types.d.ts +19 -0
  47. package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.types.d.ts.map +1 -0
  48. package/components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.d.ts +12 -0
  49. package/components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.d.ts.map +1 -0
  50. package/components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.js +43 -0
  51. package/components/maps/components/GpsMap/index.d.ts +1 -0
  52. package/components/maps/components/GpsMap/index.d.ts.map +1 -1
  53. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/constants.d.ts +5 -0
  54. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/constants.d.ts.map +1 -1
  55. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/constants.js +20 -13
  56. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +4 -3
  57. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts.map +1 -1
  58. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/index.js +175 -120
  59. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +6 -0
  60. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts.map +1 -1
  61. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.d.ts.map +1 -1
  62. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.js +26 -12
  63. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/Layer.js +1 -1
  64. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts +6 -0
  65. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts.map +1 -1
  66. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js +38 -26
  67. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.js +26 -26
  68. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.js +27 -27
  69. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.js +4 -4
  70. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts +1 -1
  71. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts.map +1 -1
  72. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.js +34 -28
  73. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useRowActionsGetter.d.ts.map +1 -1
  74. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useRowActionsGetter.js +41 -36
  75. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.js +17 -17
  76. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts.map +1 -1
  77. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js +16 -18
  78. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +3 -2
  79. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts.map +1 -1
  80. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +136 -92
  81. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.d.ts.map +1 -1
  82. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.js +29 -23
  83. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts +1 -1
  84. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts.map +1 -1
  85. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.js +60 -95
  86. package/components/maps/index.d.ts +1 -0
  87. package/components/maps/index.d.ts.map +1 -1
  88. package/index.js +143 -136
  89. package/package.json +3 -4
package/index.js CHANGED
@@ -1,138 +1,145 @@
1
- import { getDeviceComponentsDictionary as r } from "./components/Device/dictionary.js";
2
- import { getDeviceByData as p } from "./components/Device/helpers.js";
3
- import { getDeviceStatusByData as i } from "./components/Device/helpers/helperDeviceStatus.js";
4
- import { DEVICE_STATUSES_CONFIG as n } from "./components/Device/hooks/constants.js";
5
- import { useDeviceStatus as f } from "./components/Device/hooks/useDeviceStatus.js";
6
- import { Device as l } from "./components/Device/Device.js";
7
- import { DeviceLabel as c } from "./components/DeviceLabel/DeviceLabel.js";
8
- import { getCourseDirection as T } from "./components/formatters/CourseFormatter/helper.js";
9
- import { getCourseFormatterComponentsDictionary as D } from "./components/formatters/CourseFormatter/dictionary.js";
10
- import { CourseFormatter as d } from "./components/formatters/CourseFormatter/CourseFormatter.js";
11
- import { courseToCssAngle as I } from "./components/maps/utils/courseToCssAngle.js";
12
- import { GpsMap as _ } from "./components/maps/components/GpsMap/GpsMap.js";
13
- import { MapContext as R, MapProvider as P } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
14
- import { getMapComponentsDictionary as O } from "./components/maps/components/GpsMap/dictionary.js";
15
- import { LAT_LON_FIXED_DIGITS as G } from "./components/maps/components/GpsMap/constants.js";
16
- import { MarkerFeatureRender as L } from "./components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.js";
17
- import { PolylineWithArrows as U } from "./components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.js";
18
- import { useFilterDecimation as Q } from "./components/maps/components/GpsMap/hooks/useFilterDecimation/useFilterDecimation.js";
19
- import { createPixelPathDecimationFilter as B } from "./components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/createPixelPathDecimationFilter.js";
20
- import { useDisableMapEventsOnMouseOver as Y } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js";
21
- import { useDisableMapEventsOnFlag as W } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js";
22
- import { useMapStore as z } from "./components/maps/components/GpsMap/hooks/useMapStore/index.js";
23
- import { useRegisterMapToolController as j } from "./components/maps/components/GpsMap/hooks/useRegisterMapToolController.js";
24
- import { coordsToQuadKey as X } from "./components/maps/utils/coordsToQuadKey.js";
25
- import { courseToCartesianAngle as J } from "./components/maps/utils/courseToCartesianAngle.js";
26
- import { isFeature as $ } from "./components/maps/utils/isFeature.js";
27
- import { isFeatureCollection as eo } from "./components/maps/utils/isFeatureCollection.js";
28
- import { isFeatureCollectionDraft as to } from "./components/maps/utils/isFeatureCollectionDraft.js";
29
- import { isGeometry as mo } from "./components/maps/utils/isGeometry.js";
30
- import { GeofencesTool as ao } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
31
- import { GEOFENCES_TOOL as xo } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
32
- import { getGpsMapToolsComponentsDictionary as so } from "./components/maps/components/GpsMapTools/dictionary.js";
33
- import { GpsMapToolsContext as uo, GpsMapToolsProvider as co } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
34
- import { IndicatorBattery as To } from "./components/indicators/IndicatorBattery/IndicatorBattery.js";
35
- import { getIndicatorBatteryComponentsDictionary as Do } from "./components/indicators/IndicatorBattery/dictionary.js";
36
- import { IndicatorCSQ as Eo } from "./components/indicators/IndicatorCSQ/IndicatorCSQ.js";
37
- import { getIndicatorCSQComponentsDictionary as yo } from "./components/indicators/IndicatorCSQ/dictionary.js";
38
- import { IndicatorValueStatus as Mo } from "./components/indicators/IndicatorValueStatus/IndicatorValueStatus.js";
39
- import { IndicatorValueAndMagnitude as Po } from "./components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.js";
40
- import { VideoTimeLineSelector as Oo } from "./components/VideoTimeLineSelector/VideoTimeLineSelector.js";
41
- import { getVideoTimeLineSelectorComponentDictionary as Go } from "./components/VideoTimeLineSelector/dictionary.js";
42
- import { TIME_VISIBLE_OPTIONS_KEYS as Lo } from "./components/VideoTimeLineSelector/constants.js";
43
- import { ReportsViewer as Uo } from "./components/ReportsViewer/ReportsViewer.js";
44
- import { EnumResourceTypesIds as Qo } from "./contexts/RealTimeProducerContext/constants.js";
45
- import { REAL_TIME_RT_DEVICES_DUMMMY_INITIAL as Bo } from "./contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js";
46
- import { RealTimeProducerContext as Yo, RealTimeProducerProvider as bo } from "./contexts/RealTimeProducerContext/RealTimeProducerContext.js";
47
- import { RESOURCE_TYPE_DEVICES as wo } from "./contexts/RealTimeConsumerContext/constants.js";
48
- import { RealTimeConsumerContext as Ko, RealTimeConsumerProvider as jo } from "./contexts/RealTimeConsumerContext/RealTimeConsumerContext.js";
49
- import { useRealTimeProducer as Xo } from "./hooks/useRealTimeProducer/index.js";
50
- import { useRealTimeConsumer as Jo } from "./hooks/useRealTimeConsumer/index.js";
51
- import { capitalizeFirstLetter as $o } from "./utils/capitalizeFirstLetter.js";
52
- import { isValidDate as ee } from "./utils/isValidDate.js";
53
- import { getComponentUtilityClass as te } from "./utils/getComponentUtilityClass.js";
54
- import { getPaletteColor as me } from "./utils/getPaletteColor.js";
55
- import { getTypographyStyles as ae } from "./utils/getTypographyStyles.js";
56
- import { getHeightSizeStyles as xe } from "./utils/getSizeStyles/getSizeStyles.js";
57
- import { ObjectQueue as se } from "./utils/ObjectQueue.js";
58
- import { getComponentClasses as ue, getComponentSlotRoot as ce } from "./utils/getComponentSlotRoot.js";
59
- import { getVptValueWithGuard as Te } from "./utils/getVptValueWithGuard.js";
60
- import { getVptUpdatedAtWithGuard as De } from "./utils/getVptUpdatedAtWithGuard.js";
61
- import { getHdopFromPrecision as de, getPrecisionFromHdop as Ee, getQualityCategoryFromPrecision as Ie } from "./utils/getPrecisionFromHdop/getPrecisionFromHdop.js";
62
- import { DEFAULT_RMS_ERROR as _e, HDOP_QUALITY_RANGES as Me, HDOP_QUALITY_STATUS as Re } from "./utils/getPrecisionFromHdop/constants.js";
63
- import { GNSSEnumMotionStatus as Fe, GNSSEnumSignal as Oe } from "./@types/constants.js";
1
+ import { isObservableFeatureEventCaptured as r, useObservableFeatureEventHandlers as t } from "./components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.js";
2
+ import { getDeviceComponentsDictionary as m } from "./components/Device/dictionary.js";
3
+ import { getDeviceByData as a } from "./components/Device/helpers.js";
4
+ import { getDeviceStatusByData as s } from "./components/Device/helpers/helperDeviceStatus.js";
5
+ import { DEVICE_STATUSES_CONFIG as f } from "./components/Device/hooks/constants.js";
6
+ import { useDeviceStatus as u } from "./components/Device/hooks/useDeviceStatus.js";
7
+ import { Device as C } from "./components/Device/Device.js";
8
+ import { DeviceLabel as S } from "./components/DeviceLabel/DeviceLabel.js";
9
+ import { getCourseDirection as E } from "./components/formatters/CourseFormatter/helper.js";
10
+ import { getCourseFormatterComponentsDictionary as g } from "./components/formatters/CourseFormatter/dictionary.js";
11
+ import { CourseFormatter as _ } from "./components/formatters/CourseFormatter/CourseFormatter.js";
12
+ import { courseToCssAngle as M } from "./components/maps/utils/courseToCssAngle.js";
13
+ import { GpsMap as F } from "./components/maps/components/GpsMap/GpsMap.js";
14
+ import { MapContext as P, MapProvider as v } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
15
+ import { getMapComponentsDictionary as G } from "./components/maps/components/GpsMap/dictionary.js";
16
+ import { LAT_LON_FIXED_DIGITS as V } from "./components/maps/components/GpsMap/constants.js";
17
+ import { INTERACTION_CHANNELS as U } from "./components/maps/components/GpsMap/contexts/MapContext/types.js";
18
+ import { MarkerFeatureRender as H } from "./components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.js";
19
+ import { PolylineWithArrows as h } from "./components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.js";
20
+ import { useFilterDecimation as Y } from "./components/maps/components/GpsMap/hooks/useFilterDecimation/useFilterDecimation.js";
21
+ import { createPixelPathDecimationFilter as w } from "./components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/createPixelPathDecimationFilter.js";
22
+ import { useDisableMapEventsOnMouseOver as K } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js";
23
+ import { useDisableMapEventsOnFlag as k } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js";
24
+ import { useMapInteractionCapture as q } from "./components/maps/components/GpsMap/hooks/useMapInteractionCapture.js";
25
+ import { useMapStore as Z } from "./components/maps/components/GpsMap/hooks/useMapStore/index.js";
26
+ import { useRegisterMapToolController as ee } from "./components/maps/components/GpsMap/hooks/useRegisterMapToolController.js";
27
+ import { coordsToQuadKey as re } from "./components/maps/utils/coordsToQuadKey.js";
28
+ import { courseToCartesianAngle as pe } from "./components/maps/utils/courseToCartesianAngle.js";
29
+ import { isFeature as ie } from "./components/maps/utils/isFeature.js";
30
+ import { isFeatureCollection as ne } from "./components/maps/utils/isFeatureCollection.js";
31
+ import { isFeatureCollectionDraft as xe } from "./components/maps/utils/isFeatureCollectionDraft.js";
32
+ import { isGeometry as le } from "./components/maps/utils/isGeometry.js";
33
+ import { GeofencesTool as ce } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
34
+ import { GEOFENCES_TOOL as Te } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
35
+ import { getGpsMapToolsComponentsDictionary as De } from "./components/maps/components/GpsMapTools/dictionary.js";
36
+ import { GpsMapToolsContext as de, GpsMapToolsProvider as ge } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
37
+ import { IndicatorBattery as _e } from "./components/indicators/IndicatorBattery/IndicatorBattery.js";
38
+ import { getIndicatorBatteryComponentsDictionary as Me } from "./components/indicators/IndicatorBattery/dictionary.js";
39
+ import { IndicatorCSQ as Fe } from "./components/indicators/IndicatorCSQ/IndicatorCSQ.js";
40
+ import { getIndicatorCSQComponentsDictionary as Pe } from "./components/indicators/IndicatorCSQ/dictionary.js";
41
+ import { IndicatorValueStatus as Ae } from "./components/indicators/IndicatorValueStatus/IndicatorValueStatus.js";
42
+ import { IndicatorValueAndMagnitude as Le } from "./components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.js";
43
+ import { VideoTimeLineSelector as Ne } from "./components/VideoTimeLineSelector/VideoTimeLineSelector.js";
44
+ import { getVideoTimeLineSelectorComponentDictionary as be } from "./components/VideoTimeLineSelector/dictionary.js";
45
+ import { TIME_VISIBLE_OPTIONS_KEYS as Qe } from "./components/VideoTimeLineSelector/constants.js";
46
+ import { ReportsViewer as Be } from "./components/ReportsViewer/ReportsViewer.js";
47
+ import { EnumResourceTypesIds as We } from "./contexts/RealTimeProducerContext/constants.js";
48
+ import { REAL_TIME_RT_DEVICES_DUMMMY_INITIAL as ze } from "./contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js";
49
+ import { RealTimeProducerContext as je, RealTimeProducerProvider as ke } from "./contexts/RealTimeProducerContext/RealTimeProducerContext.js";
50
+ import { RESOURCE_TYPE_DEVICES as qe } from "./contexts/RealTimeConsumerContext/constants.js";
51
+ import { RealTimeConsumerContext as Ze, RealTimeConsumerProvider as $e } from "./contexts/RealTimeConsumerContext/RealTimeConsumerContext.js";
52
+ import { useRealTimeProducer as oo } from "./hooks/useRealTimeProducer/index.js";
53
+ import { useRealTimeConsumer as to } from "./hooks/useRealTimeConsumer/index.js";
54
+ import { capitalizeFirstLetter as mo } from "./utils/capitalizeFirstLetter.js";
55
+ import { isValidDate as ao } from "./utils/isValidDate.js";
56
+ import { getComponentUtilityClass as so } from "./utils/getComponentUtilityClass.js";
57
+ import { getPaletteColor as fo } from "./utils/getPaletteColor.js";
58
+ import { getTypographyStyles as uo } from "./utils/getTypographyStyles.js";
59
+ import { getHeightSizeStyles as Co } from "./utils/getSizeStyles/getSizeStyles.js";
60
+ import { ObjectQueue as So } from "./utils/ObjectQueue.js";
61
+ import { getComponentClasses as Eo, getComponentSlotRoot as go } from "./utils/getComponentSlotRoot.js";
62
+ import { getVptValueWithGuard as _o } from "./utils/getVptValueWithGuard.js";
63
+ import { getVptUpdatedAtWithGuard as Mo } from "./utils/getVptUpdatedAtWithGuard.js";
64
+ import { getHdopFromPrecision as Fo, getPrecisionFromHdop as Oo, getQualityCategoryFromPrecision as Po } from "./utils/getPrecisionFromHdop/getPrecisionFromHdop.js";
65
+ import { DEFAULT_RMS_ERROR as Ao, HDOP_QUALITY_RANGES as Go, HDOP_QUALITY_STATUS as Lo } from "./utils/getPrecisionFromHdop/constants.js";
66
+ import { GNSSEnumMotionStatus as No, GNSSEnumSignal as Uo } from "./@types/constants.js";
64
67
  export {
65
- d as CourseFormatter,
66
- _e as DEFAULT_RMS_ERROR,
67
- n as DEVICE_STATUSES_CONFIG,
68
- l as Device,
69
- c as DeviceLabel,
70
- Qo as EnumResourceTypesIds,
71
- xo as GEOFENCES_TOOL,
72
- Fe as GNSSEnumMotionStatus,
73
- Oe as GNSSEnumSignal,
74
- ao as GeofencesTool,
75
- _ as GpsMap,
76
- uo as GpsMapToolsContext,
77
- co as GpsMapToolsProvider,
78
- Me as HDOP_QUALITY_RANGES,
79
- Re as HDOP_QUALITY_STATUS,
80
- To as IndicatorBattery,
81
- Eo as IndicatorCSQ,
82
- Po as IndicatorValueAndMagnitude,
83
- Mo as IndicatorValueStatus,
84
- G as LAT_LON_FIXED_DIGITS,
85
- R as MapContext,
86
- P as MapProvider,
87
- L as MarkerFeatureRender,
88
- se as ObjectQueue,
89
- U as PolylineWithArrows,
90
- Bo as REAL_TIME_RT_DEVICES_DUMMMY_INITIAL,
91
- wo as RESOURCE_TYPE_DEVICES,
92
- Ko as RealTimeConsumerContext,
93
- jo as RealTimeConsumerProvider,
94
- Yo as RealTimeProducerContext,
95
- bo as RealTimeProducerProvider,
96
- Uo as ReportsViewer,
97
- Lo as TIME_VISIBLE_OPTIONS_KEYS,
98
- Oo as VideoTimeLineSelector,
99
- $o as capitalizeFirstLetter,
100
- X as coordsToQuadKey,
101
- J as courseToCartesianAngle,
102
- I as courseToCssAngle,
103
- B as createPixelPathDecimationFilter,
104
- ue as getComponentClasses,
105
- ce as getComponentSlotRoot,
106
- te as getComponentUtilityClass,
107
- T as getCourseDirection,
108
- D as getCourseFormatterComponentsDictionary,
109
- p as getDeviceByData,
110
- r as getDeviceComponentsDictionary,
111
- i as getDeviceStatusByData,
112
- so as getGpsMapToolsComponentsDictionary,
113
- de as getHdopFromPrecision,
114
- xe as getHeightSizeStyles,
115
- Do as getIndicatorBatteryComponentsDictionary,
116
- yo as getIndicatorCSQComponentsDictionary,
117
- O as getMapComponentsDictionary,
118
- me as getPaletteColor,
119
- Ee as getPrecisionFromHdop,
120
- Ie as getQualityCategoryFromPrecision,
121
- ae as getTypographyStyles,
122
- Go as getVideoTimeLineSelectorComponentDictionary,
123
- De as getVptUpdatedAtWithGuard,
124
- Te as getVptValueWithGuard,
125
- $ as isFeature,
126
- eo as isFeatureCollection,
127
- to as isFeatureCollectionDraft,
128
- mo as isGeometry,
129
- ee as isValidDate,
130
- f as useDeviceStatus,
131
- W as useDisableMapEventsOnFlag,
132
- Y as useDisableMapEventsOnMouseOver,
133
- Q as useFilterDecimation,
134
- z as useMapStore,
135
- Jo as useRealTimeConsumer,
136
- Xo as useRealTimeProducer,
137
- j as useRegisterMapToolController
68
+ _ as CourseFormatter,
69
+ Ao as DEFAULT_RMS_ERROR,
70
+ f as DEVICE_STATUSES_CONFIG,
71
+ C as Device,
72
+ S as DeviceLabel,
73
+ We as EnumResourceTypesIds,
74
+ Te as GEOFENCES_TOOL,
75
+ No as GNSSEnumMotionStatus,
76
+ Uo as GNSSEnumSignal,
77
+ ce as GeofencesTool,
78
+ F as GpsMap,
79
+ de as GpsMapToolsContext,
80
+ ge as GpsMapToolsProvider,
81
+ Go as HDOP_QUALITY_RANGES,
82
+ Lo as HDOP_QUALITY_STATUS,
83
+ U as INTERACTION_CHANNELS,
84
+ _e as IndicatorBattery,
85
+ Fe as IndicatorCSQ,
86
+ Le as IndicatorValueAndMagnitude,
87
+ Ae as IndicatorValueStatus,
88
+ V as LAT_LON_FIXED_DIGITS,
89
+ P as MapContext,
90
+ v as MapProvider,
91
+ H as MarkerFeatureRender,
92
+ So as ObjectQueue,
93
+ h as PolylineWithArrows,
94
+ ze as REAL_TIME_RT_DEVICES_DUMMMY_INITIAL,
95
+ qe as RESOURCE_TYPE_DEVICES,
96
+ Ze as RealTimeConsumerContext,
97
+ $e as RealTimeConsumerProvider,
98
+ je as RealTimeProducerContext,
99
+ ke as RealTimeProducerProvider,
100
+ Be as ReportsViewer,
101
+ Qe as TIME_VISIBLE_OPTIONS_KEYS,
102
+ Ne as VideoTimeLineSelector,
103
+ mo as capitalizeFirstLetter,
104
+ re as coordsToQuadKey,
105
+ pe as courseToCartesianAngle,
106
+ M as courseToCssAngle,
107
+ w as createPixelPathDecimationFilter,
108
+ Eo as getComponentClasses,
109
+ go as getComponentSlotRoot,
110
+ so as getComponentUtilityClass,
111
+ E as getCourseDirection,
112
+ g as getCourseFormatterComponentsDictionary,
113
+ a as getDeviceByData,
114
+ m as getDeviceComponentsDictionary,
115
+ s as getDeviceStatusByData,
116
+ De as getGpsMapToolsComponentsDictionary,
117
+ Fo as getHdopFromPrecision,
118
+ Co as getHeightSizeStyles,
119
+ Me as getIndicatorBatteryComponentsDictionary,
120
+ Pe as getIndicatorCSQComponentsDictionary,
121
+ G as getMapComponentsDictionary,
122
+ fo as getPaletteColor,
123
+ Oo as getPrecisionFromHdop,
124
+ Po as getQualityCategoryFromPrecision,
125
+ uo as getTypographyStyles,
126
+ be as getVideoTimeLineSelectorComponentDictionary,
127
+ Mo as getVptUpdatedAtWithGuard,
128
+ _o as getVptValueWithGuard,
129
+ ie as isFeature,
130
+ ne as isFeatureCollection,
131
+ xe as isFeatureCollectionDraft,
132
+ le as isGeometry,
133
+ r as isObservableFeatureEventCaptured,
134
+ ao as isValidDate,
135
+ u as useDeviceStatus,
136
+ k as useDisableMapEventsOnFlag,
137
+ K as useDisableMapEventsOnMouseOver,
138
+ Y as useFilterDecimation,
139
+ q as useMapInteractionCapture,
140
+ Z as useMapStore,
141
+ t as useObservableFeatureEventHandlers,
142
+ to as useRealTimeConsumer,
143
+ oo as useRealTimeProducer,
144
+ ee as useRegisterMapToolController
138
145
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/gclick",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,21 +30,20 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "react": "^19.0.0",
33
+ "zustand": "4.3.6",
33
34
  "@emotion/react": "11.14.0",
34
35
  "clsx": "^2.1.1",
35
36
  "react-leaflet": "^4.2.1",
36
- "zustand": "4.3.6",
37
37
  "leaflet": "^1.9.4",
38
38
  "leaflet-polylinedecorator": "^1.6.0",
39
39
  "lodash-es": "^4.17.21",
40
40
  "kdbush": "^4.0.2",
41
41
  "@mui/material": "5.16.7",
42
42
  "react-dom": "^19.0.0",
43
+ "immer": "^9.0.21",
43
44
  "atmosphere.js": "^4.0.0",
44
45
  "camelcase-keys": "^9.1.3",
45
- "immer": "^9.0.21",
46
46
  "@googlemaps/js-api-loader": "^1.16.6",
47
- "@geoman-io/leaflet-geoman-free": "^2.14.2",
48
47
  "leaflet.markercluster": "^1.5.3",
49
48
  "react-hook-form": "^7.33.1",
50
49
  "yup": "0.32.11"