@conboai/storybook.components 0.5.39 → 0.5.41

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;
@@ -10,6 +10,7 @@ export interface IPolygonProps {
10
10
  selected?: boolean;
11
11
  showOnlyPoints?: boolean;
12
12
  showNumbers?: boolean;
13
+ zIndex?: number;
13
14
  }
14
- declare const Polygon: React.MemoExoticComponent<({ selected, onChange: onChangeFromProps, onClick: onClickFromProps, data, mode, color, showNumbers, showOnlyPoints }: IPolygonProps) => React.JSX.Element>;
15
+ declare const Polygon: React.MemoExoticComponent<({ selected, onChange: onChangeFromProps, onClick: onClickFromProps, data, mode, color, showNumbers, showOnlyPoints, zIndex }: IPolygonProps) => React.JSX.Element>;
15
16
  export default Polygon;
@@ -1,4 +1,4 @@
1
- import { CoordinatePoint } from './types';
1
+ import { CoordinatePoint, GeoType } from './types';
2
2
 
3
3
  export { removeSamePoint, addSamePoint } from './components/Polygon/utils';
4
4
  export declare const getLatLngArray: (path: google.maps.LatLng[]) => CoordinatePoint[];
@@ -9,4 +9,5 @@ export declare const fitBoundsToPoints: (mapInstance: google.maps.Map | null, po
9
9
  export declare const addRandomDecimal: (number: number) => number;
10
10
  export declare const arrayToGeoCoordinates: (coordinates?: number[][]) => CoordinatePoint[];
11
11
  export declare const geoCoordinatesToArray: (coordinates: CoordinatePoint[], altitude?: boolean) => number[][];
12
+ export declare const sortGeoData: (data: GeoType[]) => GeoType[];
12
13
  export declare const colorPalette: string[];
@@ -12,5 +12,6 @@ export interface ITabsBar {
12
12
  onEdit?: (id: string, value: string) => void;
13
13
  onAdd?: () => void;
14
14
  onClick?: (id: string) => void;
15
+ isDisabled?: boolean;
15
16
  }
16
17
  export declare const TabsBar: FC<ITabsBar>;