@conboai/storybook.components 0.5.73 → 0.5.75
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { GeoComponentProps } from './types';
|
|
3
3
|
|
|
4
|
-
declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, center: centerFromProps, showOnlyPoints, initialCenter, zoom: zoomFromProps, onLoad, onError, googleMapsApiKey, googleMapsOptions, startMarkerLabel, endMarkerLabel, scaleNumber, fullscreenControl, showEndDirection, mapOverlay }: GeoComponentProps) => React.JSX.Element;
|
|
4
|
+
declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, center: centerFromProps, showOnlyPoints, initialCenter, zoom: zoomFromProps, onLoad, onError, googleMapsApiKey, googleMapsOptions, startMarkerLabel, endMarkerLabel, scaleNumber, fullscreenControl, showEndDirection, mapOverlay, }: GeoComponentProps) => React.JSX.Element;
|
|
5
5
|
export default Geo;
|
|
@@ -19,6 +19,10 @@ export interface GeoType {
|
|
|
19
19
|
showNumbers?: boolean;
|
|
20
20
|
isEditable?: boolean;
|
|
21
21
|
text?: string;
|
|
22
|
+
startMarkerLabel?: string;
|
|
23
|
+
endMarkerLabel?: string;
|
|
24
|
+
showDirection?: boolean;
|
|
25
|
+
showEndDirection?: boolean;
|
|
22
26
|
}
|
|
23
27
|
export interface CoordinatePoint {
|
|
24
28
|
lat: number;
|
|
@@ -80841,7 +80841,7 @@ const Dhe = () => {
|
|
|
80841
80841
|
endMarkerLabel: F,
|
|
80842
80842
|
scaleNumber: _,
|
|
80843
80843
|
fullscreenControl: R = !0,
|
|
80844
|
-
showEndDirection: P,
|
|
80844
|
+
showEndDirection: P = !1,
|
|
80845
80845
|
mapOverlay: L
|
|
80846
80846
|
}) => {
|
|
80847
80847
|
var ne;
|
|
@@ -80951,15 +80951,15 @@ const Dhe = () => {
|
|
|
80951
80951
|
Ihe,
|
|
80952
80952
|
{
|
|
80953
80953
|
zoom: ae,
|
|
80954
|
-
showDirection: u,
|
|
80954
|
+
showDirection: u || ee.showDirection,
|
|
80955
80955
|
showNumbers: d,
|
|
80956
80956
|
onChange: n,
|
|
80957
80957
|
showOnlyPoints: v,
|
|
80958
80958
|
data: ee,
|
|
80959
|
-
startMarkerLabel: D,
|
|
80960
|
-
endMarkerLabel: F,
|
|
80959
|
+
startMarkerLabel: D || ee.startMarkerLabel,
|
|
80960
|
+
endMarkerLabel: F || ee.endMarkerLabel,
|
|
80961
80961
|
scaleNumber: _,
|
|
80962
|
-
showEndDirection: P
|
|
80962
|
+
showEndDirection: P || ee.showEndDirection
|
|
80963
80963
|
},
|
|
80964
80964
|
re
|
|
80965
80965
|
);
|