@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.
- package/components/ReportsViewer/subcomponents/ReportSheetMapFitBounds/ReportSheetMapFitBounds.d.ts +3 -2
- package/components/ReportsViewer/subcomponents/ReportSheetMapFitBounds/ReportSheetMapFitBounds.d.ts.map +1 -1
- package/components/ReportsViewer/subcomponents/ReportSheetMapFitBounds/ReportSheetMapFitBounds.js +16 -20
- package/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/constants.d.ts +1 -0
- package/components/maps/components/GpsMap/constants.d.ts.map +1 -1
- package/components/maps/components/GpsMap/constants.js +16 -14
- package/components/maps/components/GpsMap/contexts/MapContext/MapContext.d.ts +2 -1
- package/components/maps/components/GpsMap/contexts/MapContext/MapContext.d.ts.map +1 -1
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/featureObservability.d.ts +28 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/featureObservability.d.ts.map +1 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/featureObservability.js +111 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/geoJsonBounds.d.ts +9 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/geoJsonBounds.d.ts.map +1 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/geoJsonBounds.js +183 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/helpers.d.ts +112 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/helpers.d.ts.map +1 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/helpers.js +87 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/layerDataBounds.d.ts +10 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/layerDataBounds.d.ts.map +1 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helpers/layerDataBounds.js +12 -0
- package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts +2 -1
- package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts +6 -2
- package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts.map +1 -1
- package/components/maps/components/GpsMap/contexts/MapContext/store.js +301 -123
- package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +191 -20
- package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts.map +1 -1
- package/components/maps/components/GpsMap/contexts/MapContext/types.js +8 -0
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +93 -124
- package/components/maps/components/GpsMap/hooks/index.d.ts +3 -0
- package/components/maps/components/GpsMap/hooks/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/hooks/useAutoFocus/helpers.d.ts +12 -0
- package/components/maps/components/GpsMap/hooks/useAutoFocus/helpers.d.ts.map +1 -0
- package/components/maps/components/GpsMap/hooks/useAutoFocus/helpers.js +29 -0
- package/components/maps/components/GpsMap/hooks/useAutoFocus/index.d.ts +1 -4
- package/components/maps/components/GpsMap/hooks/useAutoFocus/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/hooks/useAutoFocus/index.js +32 -59
- package/components/maps/components/GpsMap/hooks/useAutoFocus/types.d.ts +4 -13
- package/components/maps/components/GpsMap/hooks/useAutoFocus/types.d.ts.map +1 -1
- package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.d.ts +7 -0
- package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.d.ts.map +1 -0
- package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.js +42 -0
- package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.types.d.ts +19 -0
- package/components/maps/components/GpsMap/hooks/useMapInteractionCapture.types.d.ts.map +1 -0
- package/components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.d.ts +12 -0
- package/components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.d.ts.map +1 -0
- package/components/maps/components/GpsMap/hooks/useObservableFeatureEventHandlers.js +43 -0
- package/components/maps/components/GpsMap/index.d.ts +1 -0
- package/components/maps/components/GpsMap/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/constants.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/constants.d.ts.map +1 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/constants.js +20 -13
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +4 -3
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts.map +1 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/index.js +175 -120
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +6 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts.map +1 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.d.ts.map +1 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.js +26 -12
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/Layer.js +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts +6 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js +38 -26
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.js +26 -26
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.js +27 -27
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.js +4 -4
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.js +34 -28
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useRowActionsGetter.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useRowActionsGetter.js +41 -36
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.js +17 -17
- 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 +16 -18
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +3 -2
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +136 -92
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.js +29 -23
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts.map +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.js +60 -95
- package/components/maps/index.d.ts +1 -0
- package/components/maps/index.d.ts.map +1 -1
- package/index.js +143 -136
- package/package.json +3 -4
|
@@ -145,10 +145,86 @@ export type SelectedFeatureState = {
|
|
|
145
145
|
source: FeatureSelectionSource;
|
|
146
146
|
requestId: number;
|
|
147
147
|
};
|
|
148
|
-
export type
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
export type MapFeatureEventType = 'click' | 'dblclick' | 'contextmenu' | 'mouseover' | 'mouseout';
|
|
149
|
+
export type LayerFeatureAnchorStrategy = 'geometry' | 'bounds_center' | 'feature_property';
|
|
150
|
+
export type MapObservableFeatureAnchorPurpose = 'pick' | 'snap' | 'measure';
|
|
151
|
+
export type LayerFeatureObservability = {
|
|
152
|
+
enabled: boolean;
|
|
153
|
+
events?: MapFeatureEventType[];
|
|
154
|
+
pickable?: boolean;
|
|
155
|
+
magnetizable?: boolean;
|
|
156
|
+
anchorStrategy?: LayerFeatureAnchorStrategy;
|
|
157
|
+
};
|
|
158
|
+
export type MapObservableFeatureEvent = {
|
|
159
|
+
type: MapFeatureEventType;
|
|
160
|
+
layerId: string;
|
|
161
|
+
featureId: FeatureId;
|
|
162
|
+
latlng?: ViewportPoint;
|
|
163
|
+
sourceTarget?: unknown;
|
|
164
|
+
originalEvent?: LeafletEvent;
|
|
165
|
+
};
|
|
166
|
+
export type MapObservableFeatureConsumer = (event: MapObservableFeatureEvent) => void;
|
|
167
|
+
export type MapObservableFeatureSubscriptionOptions = {
|
|
168
|
+
captureOriginalEvent?: boolean;
|
|
169
|
+
eventTypes?: MapFeatureEventType[];
|
|
170
|
+
};
|
|
171
|
+
export type MapObservableFeatureAnchorResult = {
|
|
172
|
+
layerId: string;
|
|
173
|
+
featureId: FeatureId;
|
|
174
|
+
anchor: ViewportPoint;
|
|
175
|
+
source: 'feature_property' | 'point_geometry' | 'geometry_bounds_center';
|
|
176
|
+
strategy: LayerFeatureAnchorStrategy;
|
|
177
|
+
pickable: boolean;
|
|
178
|
+
magnetizable: boolean;
|
|
179
|
+
};
|
|
180
|
+
export type MapObservableFeaturePickResult = MapObservableFeatureAnchorResult & {
|
|
181
|
+
event: MapObservableFeatureEvent;
|
|
182
|
+
};
|
|
183
|
+
export declare const INTERACTION_CHANNELS: readonly ["map_click", "draw_geometry", "viewport_control"];
|
|
184
|
+
export type InteractionChannel = typeof INTERACTION_CHANNELS[number];
|
|
185
|
+
export type InteractionOwnerId = string;
|
|
186
|
+
export type InteractionOwnershipState = {
|
|
187
|
+
ownersByChannel: Partial<Record<InteractionChannel, InteractionOwnerId>>;
|
|
188
|
+
};
|
|
189
|
+
export type ViewportPoint = {
|
|
190
|
+
lat: number;
|
|
191
|
+
lng: number;
|
|
192
|
+
};
|
|
193
|
+
export type ViewportBounds = {
|
|
194
|
+
southWest: ViewportPoint;
|
|
195
|
+
northEast: ViewportPoint;
|
|
196
|
+
};
|
|
197
|
+
export type LayerDataBounds = {
|
|
198
|
+
southWest: [number, number];
|
|
199
|
+
northEast: [number, number];
|
|
200
|
+
};
|
|
201
|
+
export type ViewportPadding = [number, number];
|
|
202
|
+
export type ViewportActionStatus = 'success' | 'blocked' | 'noop' | 'map-unavailable' | 'invalid-target';
|
|
203
|
+
export type ViewportActionResult = {
|
|
204
|
+
ok: boolean;
|
|
205
|
+
status: ViewportActionStatus;
|
|
206
|
+
};
|
|
207
|
+
export type ViewportActionBaseOptions = {
|
|
208
|
+
ownerId?: InteractionOwnerId;
|
|
209
|
+
animate?: boolean;
|
|
210
|
+
duration?: number;
|
|
211
|
+
minZoom?: number;
|
|
212
|
+
maxZoom?: number;
|
|
213
|
+
padding?: ViewportPadding;
|
|
214
|
+
invalidateSize?: boolean;
|
|
215
|
+
};
|
|
216
|
+
export type InvalidateViewportSizeOptions = {
|
|
217
|
+
ownerId?: InteractionOwnerId;
|
|
218
|
+
};
|
|
219
|
+
export type MoveToPointOptions = ViewportActionBaseOptions & {
|
|
220
|
+
mode?: 'pan' | 'fly';
|
|
221
|
+
zoom?: number;
|
|
222
|
+
};
|
|
223
|
+
export type SmartMoveToPointOptions = ViewportActionBaseOptions & {
|
|
224
|
+
zoomThreshold?: number;
|
|
225
|
+
};
|
|
226
|
+
export type MoveToBoundsOptions = ViewportActionBaseOptions & {
|
|
227
|
+
mode?: 'fit' | 'fly';
|
|
152
228
|
};
|
|
153
229
|
/**
|
|
154
230
|
* A feature object which contains a geometry and associated properties.
|
|
@@ -165,16 +241,7 @@ export interface Feature<G extends Geometry | null = Geometry, P = GeoJsonProper
|
|
|
165
241
|
* https://tools.ietf.org/html/rfc7946#section-3.2.
|
|
166
242
|
*/
|
|
167
243
|
id: FeatureId;
|
|
168
|
-
/**
|
|
169
|
-
* Properties associated with this feature.
|
|
170
|
-
*/
|
|
171
244
|
properties: P;
|
|
172
|
-
/**
|
|
173
|
-
* "getLeafletLayer" es una función que retorna la capa de leaflet que creo renderFeature
|
|
174
|
-
* set usa esta metodología, porque guarda toda la capa en zustand, es muy pesado, al guardar
|
|
175
|
-
* solo funciones, se ahorra memoria.
|
|
176
|
-
*/
|
|
177
|
-
layerData?: FeatureLayerData;
|
|
178
245
|
}
|
|
179
246
|
/**
|
|
180
247
|
* A collection of feature objects.
|
|
@@ -332,10 +399,28 @@ export type LayerStore = {
|
|
|
332
399
|
* TODO: Incluir el bounds en la capa de leaftLayer para dar mayor velocidad al mapa CREO.
|
|
333
400
|
*/
|
|
334
401
|
geoJsonObject?: GeoJsonImplementedObject;
|
|
402
|
+
/**
|
|
403
|
+
* `dataBounds` stores the serialized GeoJSON-driven bounds cache used by autofocus.
|
|
404
|
+
*/
|
|
405
|
+
dataBounds?: LayerDataBounds;
|
|
406
|
+
/**
|
|
407
|
+
* `dataBoundsOverride` allows callers to replace the derived bounds cache with
|
|
408
|
+
* one explicit serialized bounds value.
|
|
409
|
+
*/
|
|
410
|
+
dataBoundsOverride?: LayerDataBounds;
|
|
411
|
+
/**
|
|
412
|
+
* `dataBoundsVersion` increments only when the cached layer bounds change.
|
|
413
|
+
*/
|
|
414
|
+
dataBoundsVersion?: number;
|
|
335
415
|
/**
|
|
336
416
|
* "renderFeature" render prop encarga de renderizar cada feature
|
|
337
417
|
*/
|
|
338
418
|
renderFeature?: ComponentRenderPropFeature;
|
|
419
|
+
/**
|
|
420
|
+
* `featureObservability` configures whether one layer exposes normalized
|
|
421
|
+
* host-level feature events and anchor resolution.
|
|
422
|
+
*/
|
|
423
|
+
featureObservability?: LayerFeatureObservability;
|
|
339
424
|
/**
|
|
340
425
|
* "decimationConfig" configuración opcional de decimación por capa.
|
|
341
426
|
* Si está definida, se aplica el filtrado en zoom/pan.
|
|
@@ -515,6 +600,11 @@ export interface MapState extends GoogleMapState {
|
|
|
515
600
|
* renderers and popup components.
|
|
516
601
|
*/
|
|
517
602
|
hasMapData: Record<any, any>;
|
|
603
|
+
/**
|
|
604
|
+
* "interactionOwnership" keeps the current exclusive owner for each host
|
|
605
|
+
* interaction channel.
|
|
606
|
+
*/
|
|
607
|
+
interactionOwnership: InteractionOwnershipState;
|
|
518
608
|
}
|
|
519
609
|
export interface MapStateWithActions extends MapState {
|
|
520
610
|
mapActions: {
|
|
@@ -538,15 +628,21 @@ export interface MapStateWithActions extends MapState {
|
|
|
538
628
|
/**
|
|
539
629
|
* Modifica toda la capa, reemplanzando todo el geoJson
|
|
540
630
|
*/
|
|
541
|
-
setDataLayer: (layerId: string, geoJson: GeoJsonImplementedObject
|
|
631
|
+
setDataLayer: (layerId: string, geoJson: GeoJsonImplementedObject, options?: {
|
|
632
|
+
dataBoundsOverride?: LayerDataBounds;
|
|
633
|
+
}) => void;
|
|
542
634
|
/**
|
|
543
635
|
* Modifica la capa, mezclando el geoJson actual con el nuevo
|
|
544
636
|
*/
|
|
545
|
-
mergeDataLayer: (layerId: string, geoJson: GeoJsonImplementedObject
|
|
637
|
+
mergeDataLayer: (layerId: string, geoJson: GeoJsonImplementedObject, options?: {
|
|
638
|
+
dataBoundsOverride?: LayerDataBounds;
|
|
639
|
+
}) => void;
|
|
546
640
|
/**
|
|
547
641
|
* Agrega o modifica un feature especifico de la capa, mezclando las propiedades actuales, con las nuevas que llegan.
|
|
548
642
|
*/
|
|
549
|
-
setFeatureData: (layerId: string, featureId: FeatureId, geometry: GeometryObject, properties: GeoJsonProperties, featureLabel?: FeatureIconLabel
|
|
643
|
+
setFeatureData: (layerId: string, featureId: FeatureId, geometry: GeometryObject, properties: GeoJsonProperties, featureLabel?: FeatureIconLabel, options?: {
|
|
644
|
+
dataBoundsOverride?: LayerDataBounds;
|
|
645
|
+
}) => void;
|
|
550
646
|
/**
|
|
551
647
|
* Remueve un feature especifico de la capa
|
|
552
648
|
*/
|
|
@@ -563,10 +659,6 @@ export interface MapStateWithActions extends MapState {
|
|
|
563
659
|
* Agrega una capa nueva,
|
|
564
660
|
*/
|
|
565
661
|
addLayer: (layer: LayerStore) => void;
|
|
566
|
-
/**
|
|
567
|
-
* Agrega una capa nueva a un feature especifico,
|
|
568
|
-
*/
|
|
569
|
-
addLayerDataToFeature: (layerId: string, featureId: FeatureId, layerData: FeatureLayerData) => void;
|
|
570
662
|
/**
|
|
571
663
|
* Removes a layer from the store.
|
|
572
664
|
*/
|
|
@@ -584,6 +676,85 @@ export interface MapStateWithActions extends MapState {
|
|
|
584
676
|
* Clears external feature-selection intent.
|
|
585
677
|
*/
|
|
586
678
|
clearSelectedFeature: () => void;
|
|
679
|
+
/**
|
|
680
|
+
* Dispatches one normalized feature-observability event for consumers
|
|
681
|
+
* subscribed through the host map store.
|
|
682
|
+
*/
|
|
683
|
+
dispatchObservableFeatureEvent: (event: MapObservableFeatureEvent) => boolean;
|
|
684
|
+
/**
|
|
685
|
+
* Registers one observable-feature consumer in the host callback registry.
|
|
686
|
+
* Returns the subscription id that the consumer should later use to unsubscribe.
|
|
687
|
+
*/
|
|
688
|
+
subscribeObservableFeatureEvents: (consumer: MapObservableFeatureConsumer, options?: MapObservableFeatureSubscriptionOptions) => string;
|
|
689
|
+
/**
|
|
690
|
+
* Removes one observable-feature consumer from the host callback registry.
|
|
691
|
+
*/
|
|
692
|
+
unsubscribeObservableFeatureEvents: (subscriptionId: string) => void;
|
|
693
|
+
/**
|
|
694
|
+
* Resolves one normalized anchor for an observable feature when the layer
|
|
695
|
+
* has opted into host-level observability.
|
|
696
|
+
*/
|
|
697
|
+
resolveObservableFeatureAnchor: (layerId: string, featureId: FeatureId, options?: {
|
|
698
|
+
purpose?: MapObservableFeatureAnchorPurpose;
|
|
699
|
+
}) => MapObservableFeatureAnchorResult | undefined;
|
|
700
|
+
/**
|
|
701
|
+
* Resolves one normalized pick payload from a previously observed feature
|
|
702
|
+
* event when the target is still observable and pickable.
|
|
703
|
+
*/
|
|
704
|
+
resolveObservableFeaturePick: (event: MapObservableFeatureEvent, options?: {
|
|
705
|
+
purpose?: MapObservableFeatureAnchorPurpose;
|
|
706
|
+
}) => MapObservableFeaturePickResult | undefined;
|
|
707
|
+
/**
|
|
708
|
+
* Resolves one normalized snap target for an observable feature when the
|
|
709
|
+
* target is still magnetizable.
|
|
710
|
+
*/
|
|
711
|
+
resolveObservableFeatureSnapTarget: (layerId: string, featureId: FeatureId) => MapObservableFeatureAnchorResult | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* Tries to capture one or more interaction channels for the same owner.
|
|
714
|
+
* Multi-channel capture is atomic: either all channels are granted or none
|
|
715
|
+
* of them change owner.
|
|
716
|
+
*/
|
|
717
|
+
requestInteractionCapture: (ownerId: InteractionOwnerId, channels: InteractionChannel[]) => boolean;
|
|
718
|
+
/**
|
|
719
|
+
* Releases selected channels for one owner. Releasing a channel owned by
|
|
720
|
+
* another owner is ignored safely.
|
|
721
|
+
*/
|
|
722
|
+
releaseInteractionCapture: (ownerId: InteractionOwnerId, channels?: InteractionChannel[]) => void;
|
|
723
|
+
/**
|
|
724
|
+
* Releases every interaction channel currently owned by the provided owner.
|
|
725
|
+
*/
|
|
726
|
+
releaseAllInteractionCapture: (ownerId: InteractionOwnerId) => void;
|
|
727
|
+
/**
|
|
728
|
+
* Returns whether the requested interaction channels are currently free for
|
|
729
|
+
* acquisition. When `ownerId` is provided, channels already owned by that
|
|
730
|
+
* same owner are treated as available.
|
|
731
|
+
*/
|
|
732
|
+
isInteractionAvailable: (channels: InteractionChannel[], ownerId?: InteractionOwnerId) => boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Returns the current owner for one interaction channel, if any.
|
|
735
|
+
*/
|
|
736
|
+
getInteractionOwner: (channel: InteractionChannel) => InteractionOwnerId | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* Invalidates the current Leaflet viewport size through the host map store.
|
|
739
|
+
* This is the preferred shared seam for sibling consumers instead of
|
|
740
|
+
* reaching for `getMap()` directly.
|
|
741
|
+
*/
|
|
742
|
+
invalidateViewportSize: (options?: InvalidateViewportSizeOptions) => ViewportActionResult;
|
|
743
|
+
/**
|
|
744
|
+
* Moves the viewport to a single point using an explicit host-owned intent.
|
|
745
|
+
* `pan` keeps the current zoom, while `fly` can optionally apply a target zoom.
|
|
746
|
+
*/
|
|
747
|
+
moveToPoint: (point: ViewportPoint, options?: MoveToPointOptions) => ViewportActionResult;
|
|
748
|
+
/**
|
|
749
|
+
* Uses the shared host heuristic to decide between `panTo` and `flyTo`
|
|
750
|
+
* depending on the current zoom and the requested minimum zoom.
|
|
751
|
+
*/
|
|
752
|
+
smartMoveToPoint: (point: ViewportPoint, options?: SmartMoveToPointOptions) => ViewportActionResult;
|
|
753
|
+
/**
|
|
754
|
+
* Moves the viewport to serializable bounds through the host map store.
|
|
755
|
+
* `fit` uses Leaflet fit-bounds semantics, while `fly` uses fly-to-bounds.
|
|
756
|
+
*/
|
|
757
|
+
moveToBounds: (bounds: ViewportBounds, options?: MoveToBoundsOptions) => ViewportActionResult;
|
|
587
758
|
/**
|
|
588
759
|
* Registers an externally callable controller for a tool.
|
|
589
760
|
* The default scope is intended for wrapper-level fallback behavior, while
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/contexts/MapContext/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,CAAC,EAAE,EACR,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,GAAG,IAAI,UAAU,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAGrB,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AACxC;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;AACpD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAC3C;;;GAGG;AACH,MAAM,MAAM,IAAI,GACZ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAChC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AACrD;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC;AAChC;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAI5B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,MAAM,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AAe,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;QACjG;;;;;WAKG;QACH,wBAAwB,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;QAChG;;;;WAIG;QACH,4BAA4B,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,OAAO,CAAC,6BAA6B,CAAC,KAAK,IAAI,CAAC;KAG5K,CAAC;CACH;AACD,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,QAAQ,EACR,UAAU,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,SAAS,GAAG,YAAY,CAChF,GACC,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAGhC,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,QAAQ,EAAE,SAAS,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;IAC3E,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/contexts/MapContext/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,CAAC,EAAE,EACR,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,GAAG,IAAI,UAAU,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAs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,GAAG,EAAE,GAAG,CAAC,CAAC;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAwB,MAAM,2BAA2B,CAAC;AAClG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAe/D;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,GAAE,oBAAyB,GAAG,0BAA0B,CAuPvG;AAED,eAAO,MAAM,mBAAmB,4BAA8B,CAAC"}
|
|
@@ -1,141 +1,118 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Circle as
|
|
4
|
-
import { shallow as
|
|
5
|
-
import { useMapStore as
|
|
6
|
-
import { MarkerIconLabel as
|
|
7
|
-
import { MARKER_COLOR_DEFAULT as
|
|
8
|
-
import { FALLBACK_SVG as
|
|
9
|
-
import { MarkerIconLabelWithPopup as
|
|
10
|
-
import { PolylineWithArrows as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as s, jsxs as y, Fragment as k } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import M, { useState as S, useEffect as j } from "react";
|
|
3
|
+
import { Circle as H, Polyline as _, Polygon as w, GeoJSON as D } from "react-leaflet";
|
|
4
|
+
import { shallow as I } from "zustand/shallow";
|
|
5
|
+
import { useMapStore as U } from "../../hooks/useMapStore/index.js";
|
|
6
|
+
import { MarkerIconLabel as f } from "../MarkerIconLabel/index.js";
|
|
7
|
+
import { MARKER_COLOR_DEFAULT as g, LABEL_FILLCOLOR_DEFAULT as x, LABEL_COLOR_DEFAULT as W, SVG_ICON_DEFAULT as B } from "../../constants.js";
|
|
8
|
+
import { FALLBACK_SVG as G } from "./constants.js";
|
|
9
|
+
import { MarkerIconLabelWithPopup as J } from "../MarkerIconLabelWithPopup/MarkerIconLabelWithPopup.js";
|
|
10
|
+
import { PolylineWithArrows as N } from "../../pluginLayers/PolylineWithArrows/index.js";
|
|
11
|
+
import { useObservableFeatureEventHandlers as K } from "../../hooks/useObservableFeatureEventHandlers.js";
|
|
12
|
+
function V(h = {}) {
|
|
13
|
+
const { popupRender: m, popupOptions: b } = h, u = (L) => {
|
|
14
|
+
const { id: d, layerId: c } = L, p = K(c, d), e = U((t) => {
|
|
15
|
+
const r = t.hashLayers[c].geoJsonObject;
|
|
16
|
+
if (!r)
|
|
16
17
|
return null;
|
|
17
|
-
if (
|
|
18
|
+
if (r.object.type === "Feature")
|
|
18
19
|
return {
|
|
19
|
-
id:
|
|
20
|
-
geometry:
|
|
21
|
-
properties:
|
|
20
|
+
id: r.object.id,
|
|
21
|
+
geometry: r.object.geometry,
|
|
22
|
+
properties: r.object.properties
|
|
22
23
|
};
|
|
23
|
-
const i =
|
|
24
|
+
const i = r.object.features.find((o) => o.id === d);
|
|
24
25
|
return i ? {
|
|
25
26
|
id: i.id,
|
|
26
27
|
geometry: i.geometry,
|
|
27
28
|
properties: i.properties
|
|
28
29
|
} : null;
|
|
29
|
-
},
|
|
30
|
-
|
|
30
|
+
}, I), [a, C] = S(null);
|
|
31
|
+
if (j(() => {
|
|
31
32
|
if (!e || e.geometry?.type !== "Point" || e.properties?.subType !== "Marker" && e.properties?.subType !== void 0)
|
|
32
33
|
return;
|
|
33
|
-
const { iconUrl:
|
|
34
|
+
const { iconUrl: t, markerColor: r = g } = e.properties ?? {};
|
|
34
35
|
(async () => {
|
|
35
|
-
if (
|
|
36
|
+
if (a && a.path === t && a.color === r)
|
|
36
37
|
return;
|
|
37
38
|
let o;
|
|
38
|
-
if (
|
|
39
|
+
if (t)
|
|
39
40
|
try {
|
|
40
|
-
o = await fetch(
|
|
41
|
+
o = await fetch(t).then((n) => n.text());
|
|
41
42
|
} catch {
|
|
42
|
-
o =
|
|
43
|
+
o = G;
|
|
43
44
|
}
|
|
44
|
-
o || (o =
|
|
45
|
-
color:
|
|
46
|
-
path:
|
|
45
|
+
o || (o = B), o = "data:image/svg+xml;base64," + btoa((o || "").replace(/#1E96DC/g, r)), C({
|
|
46
|
+
color: r,
|
|
47
|
+
path: t,
|
|
47
48
|
data: o
|
|
48
49
|
});
|
|
49
50
|
})();
|
|
50
|
-
}, [e,
|
|
51
|
-
const R = y((r) => {
|
|
52
|
-
if (!e)
|
|
53
|
-
return;
|
|
54
|
-
const t = {
|
|
55
|
-
boundsNW: r.target?._latlng,
|
|
56
|
-
boundsSE: r.target?._latlng,
|
|
57
|
-
getTarget: () => r.target
|
|
58
|
-
};
|
|
59
|
-
c(s, e.id, t);
|
|
60
|
-
}, [c, e, s]), d = y((r) => {
|
|
61
|
-
if (!e)
|
|
62
|
-
return;
|
|
63
|
-
const t = {
|
|
64
|
-
boundsNW: r.target.getBounds().getNorthWest(),
|
|
65
|
-
boundsSE: r.target.getBounds().getSouthEast(),
|
|
66
|
-
getTarget: () => r.target
|
|
67
|
-
};
|
|
68
|
-
c(s, e.id, t);
|
|
69
|
-
}, [c, e, s]);
|
|
70
|
-
if (!e)
|
|
51
|
+
}, [e, a]), !e)
|
|
71
52
|
return null;
|
|
72
53
|
const l = {
|
|
73
54
|
featureId: e.id
|
|
74
|
-
},
|
|
75
|
-
layerId:
|
|
55
|
+
}, F = {
|
|
56
|
+
layerId: c,
|
|
76
57
|
...l
|
|
77
58
|
};
|
|
78
59
|
if (e.geometry?.type === "Point") {
|
|
79
|
-
const [
|
|
60
|
+
const [t, r] = e.geometry.coordinates;
|
|
80
61
|
if (e.properties?.subType === "Marker" || e.properties?.subType === void 0) {
|
|
81
62
|
const {
|
|
82
63
|
iconUrl: i,
|
|
83
64
|
iconRotate: o = 0,
|
|
84
65
|
scaleIcon: n = 1,
|
|
85
|
-
iconHeight:
|
|
86
|
-
iconWidth:
|
|
87
|
-
label:
|
|
88
|
-
markerColor:
|
|
89
|
-
labelBkColor:
|
|
90
|
-
labelColor:
|
|
91
|
-
offsetLeftTop:
|
|
92
|
-
...
|
|
66
|
+
iconHeight: P,
|
|
67
|
+
iconWidth: v,
|
|
68
|
+
label: R,
|
|
69
|
+
markerColor: q = g,
|
|
70
|
+
labelBkColor: A = x,
|
|
71
|
+
labelColor: E = W,
|
|
72
|
+
offsetLeftTop: O = [42, 0],
|
|
73
|
+
...T
|
|
93
74
|
} = e.properties;
|
|
94
|
-
return i && !
|
|
95
|
-
|
|
75
|
+
return i && !a ? null : /* @__PURE__ */ s(
|
|
76
|
+
J,
|
|
96
77
|
{
|
|
97
|
-
position: { lat:
|
|
98
|
-
label:
|
|
99
|
-
iconSrc:
|
|
78
|
+
position: { lat: r, lng: t },
|
|
79
|
+
label: R,
|
|
80
|
+
iconSrc: a?.data,
|
|
100
81
|
iconScale: n,
|
|
101
82
|
iconRotate: o,
|
|
102
|
-
width:
|
|
103
|
-
height:
|
|
104
|
-
fillColor:
|
|
105
|
-
color:
|
|
106
|
-
offsetLeftTop:
|
|
83
|
+
width: v,
|
|
84
|
+
height: P,
|
|
85
|
+
fillColor: A,
|
|
86
|
+
color: E,
|
|
87
|
+
offsetLeftTop: O,
|
|
107
88
|
draggable: !1,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
popupRender: u,
|
|
112
|
-
popupOptions: P,
|
|
89
|
+
popupRender: m,
|
|
90
|
+
popupOptions: b,
|
|
113
91
|
properties: e.properties,
|
|
114
|
-
|
|
115
|
-
...
|
|
92
|
+
eventHandlers: p,
|
|
93
|
+
...T,
|
|
94
|
+
...F
|
|
116
95
|
}
|
|
117
96
|
);
|
|
118
97
|
}
|
|
119
98
|
if (e.properties?.subType === "Circle" && e.properties?.radius) {
|
|
120
99
|
const { subType: i, radius: o, ...n } = e.properties;
|
|
121
|
-
return /* @__PURE__ */
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
|
|
100
|
+
return /* @__PURE__ */ y(k, { children: [
|
|
101
|
+
/* @__PURE__ */ s(
|
|
102
|
+
H,
|
|
124
103
|
{
|
|
125
|
-
center: { lat:
|
|
104
|
+
center: { lat: r, lng: t },
|
|
126
105
|
radius: e.properties.radius,
|
|
127
|
-
eventHandlers:
|
|
128
|
-
add: d
|
|
129
|
-
},
|
|
106
|
+
eventHandlers: p,
|
|
130
107
|
...n,
|
|
131
108
|
...l
|
|
132
109
|
},
|
|
133
110
|
Math.random()
|
|
134
111
|
),
|
|
135
|
-
e.properties.label && /* @__PURE__ */
|
|
136
|
-
|
|
112
|
+
e.properties.label && /* @__PURE__ */ s(
|
|
113
|
+
f,
|
|
137
114
|
{
|
|
138
|
-
position: [
|
|
115
|
+
position: [r + e.properties.radius / 111319, t],
|
|
139
116
|
...e.properties.label
|
|
140
117
|
}
|
|
141
118
|
)
|
|
@@ -143,33 +120,29 @@ function z(C = {}) {
|
|
|
143
120
|
}
|
|
144
121
|
}
|
|
145
122
|
if (e.geometry?.type === "LineString") {
|
|
146
|
-
const
|
|
147
|
-
(
|
|
123
|
+
const t = e.geometry.coordinates.map(
|
|
124
|
+
(r) => [r[1], r[0]]
|
|
148
125
|
);
|
|
149
|
-
return e.properties?.subType === "PolylineWithArrows" ? /* @__PURE__ */
|
|
150
|
-
|
|
126
|
+
return e.properties?.subType === "PolylineWithArrows" ? /* @__PURE__ */ s(
|
|
127
|
+
N,
|
|
151
128
|
{
|
|
152
|
-
positions:
|
|
129
|
+
positions: t,
|
|
153
130
|
stroke: !0,
|
|
154
131
|
weight: 10,
|
|
155
|
-
eventHandlers: {
|
|
156
|
-
add: d
|
|
157
|
-
},
|
|
158
132
|
dashArray: "20 30",
|
|
133
|
+
eventHandlers: p,
|
|
159
134
|
...e.properties,
|
|
160
135
|
...l
|
|
161
136
|
},
|
|
162
137
|
Math.random()
|
|
163
|
-
) : /* @__PURE__ */
|
|
164
|
-
|
|
138
|
+
) : /* @__PURE__ */ s(
|
|
139
|
+
_,
|
|
165
140
|
{
|
|
166
|
-
positions:
|
|
141
|
+
positions: t,
|
|
167
142
|
stroke: !0,
|
|
168
143
|
weight: 10,
|
|
169
|
-
eventHandlers: {
|
|
170
|
-
add: d
|
|
171
|
-
},
|
|
172
144
|
dashArray: "20 30",
|
|
145
|
+
eventHandlers: p,
|
|
173
146
|
...e.properties,
|
|
174
147
|
...l
|
|
175
148
|
},
|
|
@@ -177,45 +150,41 @@ function z(C = {}) {
|
|
|
177
150
|
);
|
|
178
151
|
}
|
|
179
152
|
if (e.geometry?.type === "Polygon") {
|
|
180
|
-
const
|
|
153
|
+
const t = e.geometry.coordinates.map(
|
|
181
154
|
(i) => i.map(([o, n]) => [n, o])
|
|
182
155
|
);
|
|
183
|
-
let
|
|
184
|
-
return
|
|
156
|
+
let r = null;
|
|
157
|
+
return t[0].forEach((i) => {
|
|
185
158
|
const [o, n] = i;
|
|
186
|
-
(!
|
|
187
|
-
}),
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
|
|
159
|
+
(!r || o >= r[0] && n >= r[1]) && (r = i);
|
|
160
|
+
}), r = r || t[0][0], /* @__PURE__ */ y(M.Fragment, { children: [
|
|
161
|
+
/* @__PURE__ */ s(
|
|
162
|
+
w,
|
|
190
163
|
{
|
|
191
|
-
positions:
|
|
164
|
+
positions: t,
|
|
192
165
|
opacity: 1,
|
|
193
|
-
eventHandlers:
|
|
194
|
-
add: d
|
|
195
|
-
},
|
|
166
|
+
eventHandlers: p,
|
|
196
167
|
...e.properties,
|
|
197
168
|
...l
|
|
198
169
|
}
|
|
199
170
|
),
|
|
200
|
-
e.properties.label && /* @__PURE__ */
|
|
171
|
+
e.properties.label && /* @__PURE__ */ s(f, { position: r, ...e.properties.label })
|
|
201
172
|
] });
|
|
202
173
|
}
|
|
203
|
-
return e.geometry?.type === "MultiPolygon" ? /* @__PURE__ */
|
|
204
|
-
|
|
174
|
+
return e.geometry?.type === "MultiPolygon" ? /* @__PURE__ */ s(
|
|
175
|
+
D,
|
|
205
176
|
{
|
|
206
177
|
data: e.geometry,
|
|
207
|
-
eventHandlers:
|
|
208
|
-
add: d
|
|
209
|
-
},
|
|
178
|
+
eventHandlers: p,
|
|
210
179
|
...e.properties,
|
|
211
180
|
...l
|
|
212
181
|
}
|
|
213
182
|
) : null;
|
|
214
183
|
};
|
|
215
|
-
return
|
|
184
|
+
return u.displayName = m ? "CommonFeatureRenderWithPopup" : "CommonFeatureRender", u;
|
|
216
185
|
}
|
|
217
|
-
const
|
|
186
|
+
const ne = V();
|
|
218
187
|
export {
|
|
219
|
-
|
|
220
|
-
|
|
188
|
+
ne as CommonFeatureRender,
|
|
189
|
+
V as createCommonFeatureRender
|
|
221
190
|
};
|