@heycar/heycars-map 0.3.7 → 0.3.9
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/dist/Demo/DemoBusinessRecomendPlace.d.ts +9 -0
- package/dist/business-components/AbsoluteAddressBox/AbsoluteAddressBox.d.ts +1 -2
- package/dist/business-components/AddressBox/AddressBox.d.ts +1 -2
- package/dist/business-components/BusinessQuotingMap/BusinessQuotingMap.d.ts +2 -0
- package/dist/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +2 -2
- package/dist/business-components/BusinessTaxiEndMap/BusinessTaxiEndMap.d.ts +1 -2
- package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceMap.d.ts +2 -8
- package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceSection.d.ts +46 -0
- package/dist/business-components/DrivingLine/DrivingLine.d.ts +1 -2
- package/dist/business-components/DrivingRoute/DrivingRoute.d.ts +1 -2
- package/dist/business-components/PassengerCircle/PassengerCircle.d.ts +1 -2
- package/dist/business-components/PickupPoints/PickupPoints.d.ts +1 -2
- package/dist/business-components/PlaceCircle/PlaceCircle.d.ts +1 -2
- package/dist/business-components/StartEndPoint/StartEndPoint.d.ts +1 -2
- package/dist/business-components/TaxiCar/TaxiCar.d.ts +1 -2
- package/dist/business-components/WalkingLine/WalkingLine.d.ts +1 -2
- package/dist/business-components/WalkingRoute/WalkingRoute.d.ts +1 -2
- package/dist/business-components/WaveCircle/WaveCircle.d.ts +1 -2
- package/dist/components/Gmap/Gmap.d.ts +0 -2
- package/dist/components/MapProvider/MapProvider.d.ts +1 -4
- package/dist/hooks/useMapAutoComplete.d.ts +1 -2
- package/dist/hooks-business/useBusinessMapAutoComplete.d.ts +1 -2
- package/dist/index.cjs +54 -54
- package/dist/index.js +1867 -1959
- package/package.json +2 -3
- package/todo.md +27 -4
- package/dist/Demo/CityBound/SearchDemo.d.ts +0 -1
- package/dist/Demo/CityBound/country.d.ts +0 -5
- package/dist/Demo/CityBound/searchResult.d.ts +0 -8
- package/dist/hooks/useMapLog.d.ts +0 -5
- package/src/App.tsx +0 -27
- package/src/Demo/CityBound/SearchDemo.tsx +0 -142
- package/src/Demo/CityBound/country.ts +0 -4179
- package/src/Demo/CityBound/searchResult.ts +0 -21122
- package/src/Demo/Demo.css.ts +0 -6
- package/src/Demo/Demo.tsx +0 -97
- package/src/Demo/DemoBusinessQuoting.tsx +0 -18
- package/src/Demo/DemoBusinessRecomendPlace.tsx +0 -89
- package/src/Demo/DemoBusinessTaxiEnd.tsx +0 -38
- package/src/Demo/DemoBusinessTaxiService.tsx +0 -58
- package/src/Demo/sample.json +0 -793
- package/src/api/contants.ts +0 -3
- package/src/api/driving.ts +0 -87
- package/src/api/geocoder.ts +0 -88
- package/src/api/geometry.ts +0 -44
- package/src/api/place.ts +0 -105
- package/src/assets/icons/svg/address-locator.svg +0 -1
- package/src/assets/icons/svg/arrow-right.svg +0 -1
- package/src/assets/icons/svg/end-point.svg +0 -1
- package/src/assets/icons/svg/passenger-circle.svg +0 -1
- package/src/assets/icons/svg/place-circle.svg +0 -22
- package/src/assets/icons/svg/start-point.svg +0 -1
- package/src/assets/icons/svg/taxi-car.svg +0 -1
- package/src/assets/icons/svg/wave-circle.svg +0 -1
- package/src/business-components/AbsoluteAddressBox/AbsoluteAddressBox.css.ts +0 -68
- package/src/business-components/AbsoluteAddressBox/AbsoluteAddressBox.tsx +0 -50
- package/src/business-components/AbsoluteAddressBox/index.ts +0 -1
- package/src/business-components/AddressBox/AddressBox.css.ts +0 -55
- package/src/business-components/AddressBox/AddressBox.tsx +0 -76
- package/src/business-components/AddressBox/index.ts +0 -1
- package/src/business-components/AddressLocator/AddressLocator.css.ts +0 -7
- package/src/business-components/AddressLocator/AddressLocator.tsx +0 -40
- package/src/business-components/AddressLocator/index.ts +0 -1
- package/src/business-components/BusinessQuotingMap/BusinessQuotingMap.tsx +0 -49
- package/src/business-components/BusinessQuotingMap/index.ts +0 -1
- package/src/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.tsx +0 -218
- package/src/business-components/BusinessRecomendPlaceMap/index.ts +0 -1
- package/src/business-components/BusinessTaxiEndMap/BusinessTaxiEndMap.tsx +0 -43
- package/src/business-components/BusinessTaxiEndMap/index.ts +0 -1
- package/src/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceMap.tsx +0 -453
- package/src/business-components/BusinessTaxiServiceMap/index.ts +0 -1
- package/src/business-components/DrivingLine/DrivingLine.css.ts +0 -10
- package/src/business-components/DrivingLine/DrivingLine.tsx +0 -135
- package/src/business-components/DrivingLine/index.ts +0 -1
- package/src/business-components/DrivingRoute/DrivingRoute.tsx +0 -52
- package/src/business-components/DrivingRoute/index.ts +0 -1
- package/src/business-components/FitView/FitView.tsx +0 -22
- package/src/business-components/FitView/index.ts +0 -1
- package/src/business-components/PassengerCircle/PassengerCircle.css.ts +0 -21
- package/src/business-components/PassengerCircle/PassengerCircle.tsx +0 -69
- package/src/business-components/PassengerCircle/index.ts +0 -1
- package/src/business-components/PickupPoints/PickupPoints.tsx +0 -38
- package/src/business-components/PickupPoints/index.ts +0 -1
- package/src/business-components/PlaceCircle/PlaceCircle.css.ts +0 -76
- package/src/business-components/PlaceCircle/PlaceCircle.tsx +0 -110
- package/src/business-components/PlaceCircle/index.ts +0 -1
- package/src/business-components/StartEndPoint/StartEndPoint.css.ts +0 -70
- package/src/business-components/StartEndPoint/StartEndPoint.tsx +0 -122
- package/src/business-components/StartEndPoint/index.ts +0 -1
- package/src/business-components/TaxiCar/TaxiCar.css.ts +0 -16
- package/src/business-components/TaxiCar/TaxiCar.tsx +0 -93
- package/src/business-components/TaxiCar/index.ts +0 -1
- package/src/business-components/WalkingLine/WalkingLine.tsx +0 -80
- package/src/business-components/WalkingLine/index.ts +0 -1
- package/src/business-components/WalkingRoute/WalkingRoute.tsx +0 -43
- package/src/business-components/WalkingRoute/index.ts +0 -1
- package/src/business-components/WaveCircle/WaveCircle.css.ts +0 -54
- package/src/business-components/WaveCircle/WaveCircle.tsx +0 -59
- package/src/business-components/WaveCircle/index.ts +0 -1
- package/src/components/Amap/Amap.css.ts +0 -5
- package/src/components/Amap/Amap.ts +0 -76
- package/src/components/Amap/index.ts +0 -1
- package/src/components/AmapInfoWindow/AmapInfoWindow.ts +0 -45
- package/src/components/AmapInfoWindow/index.ts +0 -1
- package/src/components/AmapLoader/AmapLoader.ts +0 -20
- package/src/components/AmapLoader/index.ts +0 -1
- package/src/components/AmapMarker/AmapMarker.ts +0 -48
- package/src/components/AmapMarker/index.ts +0 -1
- package/src/components/AmapPolygon/AmapPolygon.ts +0 -41
- package/src/components/AmapPolygon/index.ts +0 -1
- package/src/components/AmapPolyline/AmapPolyline.ts +0 -40
- package/src/components/AmapPolyline/index.ts +0 -1
- package/src/components/AmapText/AmapText.ts +0 -39
- package/src/components/AmapText/index.ts +0 -1
- package/src/components/Gmap/Gmap.css.ts +0 -10
- package/src/components/Gmap/Gmap.ts +0 -54
- package/src/components/Gmap/index.ts +0 -1
- package/src/components/GmapAdvancedMarkerView/GmapAdvancedMarkerView.ts +0 -63
- package/src/components/GmapAdvancedMarkerView/index.ts +0 -1
- package/src/components/GmapInfoWindow/GmapInfoWindow.ts +0 -38
- package/src/components/GmapInfoWindow/index.ts +0 -1
- package/src/components/GmapLoader/GmapLoader.ts +0 -21
- package/src/components/GmapLoader/index.ts +0 -1
- package/src/components/GmapMarker/GmapMarker.ts +0 -34
- package/src/components/GmapMarker/index.ts +0 -1
- package/src/components/GmapPolygon/GmapPolygon.ts +0 -29
- package/src/components/GmapPolygon/index.ts +0 -1
- package/src/components/GmapPolyline/GmapPolyline.ts +0 -29
- package/src/components/GmapPolyline/index.ts +0 -1
- package/src/components/MapProvider/MapProvider.tsx +0 -83
- package/src/components/MapProvider/index.ts +0 -1
- package/src/hooks/useDrivingRoute.ts +0 -106
- package/src/hooks/useGeoLocation.ts +0 -70
- package/src/hooks/useHeycarMap.ts +0 -28
- package/src/hooks/useMap.ts +0 -43
- package/src/hooks/useMapAngle.ts +0 -42
- package/src/hooks/useMapAutoComplete.ts +0 -130
- package/src/hooks/useMapCityBound.ts +0 -64
- package/src/hooks/useMapDrag.ts +0 -72
- package/src/hooks/useMapEventSource.ts +0 -20
- package/src/hooks/useMapFitView.ts +0 -135
- package/src/hooks/useMapGeometry.ts +0 -27
- package/src/hooks/useMapLngLatToVw.ts +0 -31
- package/src/hooks/useMapLoader.ts +0 -164
- package/src/hooks/useMapLog.ts +0 -24
- package/src/hooks/useMapPlace.ts +0 -138
- package/src/hooks/useMapRecomendPlace.ts +0 -150
- package/src/hooks/useMapSupplier.ts +0 -16
- package/src/hooks/useOverlay.ts +0 -23
- package/src/hooks/usePlacesLabelDirection.ts +0 -61
- package/src/hooks/useUdate.ts +0 -9
- package/src/hooks/useWaitTimer.ts +0 -25
- package/src/hooks/useWalkingRoute.ts +0 -87
- package/src/hooks-business/useBusinessMapAutoComplete.ts +0 -22
- package/src/hooks-business/useBusinessQuotingMap.ts +0 -11
- package/src/hooks-business/useBusinessRecomendPlaceMap.ts +0 -45
- package/src/hooks-business/useBusinessTaxiServiceMap.ts +0 -12
- package/src/index.ts +0 -33
- package/src/main.ts +0 -6
- package/src/style.css +0 -0
- package/src/types/amap/autocomplete.d.ts +0 -64
- package/src/types/amap/driving.d.ts +0 -170
- package/src/types/amap/geocoder.d.ts +0 -217
- package/src/types/amap/marker.ts +0 -11
- package/src/types/amap/place.d.ts +0 -114
- package/src/types/amap/plugin.d.ts +0 -27
- package/src/types/amap/walking.d.ts +0 -78
- package/src/types/global.d.ts +0 -10
- package/src/types/helper.ts +0 -172
- package/src/types/interface.ts +0 -62
- package/src/types/mapHelper.ts +0 -1
- package/src/utils/compare.ts +0 -189
- package/src/utils/dom.ts +0 -14
- package/src/utils/helper.ts +0 -5
- package/src/utils/transform.ts +0 -68
- package/src/vite-env.d.ts +0 -12
|
@@ -1 +1,10 @@
|
|
|
1
|
+
export declare const SomeAutoComplete: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<{
|
|
2
|
+
cityName: string;
|
|
3
|
+
}>, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").EmitByProps<{
|
|
4
|
+
cityName: string;
|
|
5
|
+
}, Required<{
|
|
6
|
+
cityName: string;
|
|
7
|
+
}>>, never, {
|
|
8
|
+
cityName: string;
|
|
9
|
+
}, {}>;
|
|
1
10
|
export declare const DemoBusinessRecomendPlace: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<unknown>, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").Empty, import("../types/helper").EmitByProps<unknown, Required<unknown>>, never, unknown, {}>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import type { Point } from "../../types/interface";
|
|
3
2
|
import type { AbsoluteAddressBoxProps } from "../AbsoluteAddressBox";
|
|
4
|
-
export interface AddressBoxProps extends
|
|
3
|
+
export interface AddressBoxProps extends AbsoluteAddressBoxProps {
|
|
5
4
|
position: Point;
|
|
6
5
|
}
|
|
7
6
|
export declare const AAddressBox: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<AddressBoxProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<AddressBoxProps, Required<AddressBoxProps>>, "click", AddressBoxProps, {}>;
|
|
@@ -4,9 +4,11 @@ import type { Place } from "../../types/interface";
|
|
|
4
4
|
export type BusinessQuotingMapProps = Omit<HeycarMapProps, "center" | "zoom"> & Required<MROP> & {
|
|
5
5
|
from: Place;
|
|
6
6
|
to: Place;
|
|
7
|
+
fromDescription: string;
|
|
7
8
|
renderDescription: (titleProps: {
|
|
8
9
|
distance: number;
|
|
9
10
|
duration: number;
|
|
10
11
|
}) => string;
|
|
12
|
+
log?: boolean;
|
|
11
13
|
};
|
|
12
14
|
export declare const BusinessQuotingMap: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<BusinessQuotingMapProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<BusinessQuotingMapProps, Required<BusinessQuotingMapProps>>, "dragEnd", BusinessQuotingMapProps, {} | {}>;
|
|
@@ -2,7 +2,6 @@ import { HeycarMapProps } from "../../components/MapProvider";
|
|
|
2
2
|
import type { BusinessRecomendPlaceContext } from "../../hooks-business/useBusinessRecomendPlaceMap";
|
|
3
3
|
import { UseGeoLocationProps } from "../../hooks/useGeoLocation";
|
|
4
4
|
import { UseMapDragProps } from "../../hooks/useMapDrag";
|
|
5
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
6
5
|
import type { UseMapPlaceProps } from "../../hooks/useMapPlace";
|
|
7
6
|
import { UseMapRecomendPlaceProps } from "../../hooks/useMapRecomendPlace";
|
|
8
7
|
import type { Point } from "../../types/interface";
|
|
@@ -10,7 +9,8 @@ import { AbsoluteAddressBoxProps } from "../AbsoluteAddressBox";
|
|
|
10
9
|
export interface CenterPlaceSource {
|
|
11
10
|
source: "default" | "geo" | "drag" | "recomend" | "api";
|
|
12
11
|
}
|
|
13
|
-
export interface BusinessRecomendPlaceMapProps extends Omit<HeycarMapProps, "center" | "zoom" | "mapRef">, Pick<UseMapRecomendPlaceProps<CenterPlaceSource>, "getRecomendPlace"
|
|
12
|
+
export interface BusinessRecomendPlaceMapProps extends Omit<HeycarMapProps, "center" | "zoom" | "mapRef">, Pick<UseMapRecomendPlaceProps<CenterPlaceSource>, "getRecomendPlace"> {
|
|
13
|
+
log?: boolean;
|
|
14
14
|
geoLoadingTitle: string;
|
|
15
15
|
unavailableTitle: string;
|
|
16
16
|
recomendDescription: string;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { HeycarMapProps } from "../../components/MapProvider";
|
|
2
|
-
import { MapMountedProps } from "../../hooks/useMap";
|
|
3
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
4
2
|
import type { MROP } from "../../hooks/useOverlay";
|
|
5
3
|
import type { DriverStatus, Place, Point } from "../../types/interface";
|
|
6
|
-
export type
|
|
7
|
-
from: Place;
|
|
8
|
-
to: Place;
|
|
9
|
-
};
|
|
10
|
-
export declare const SectionEndService: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionEndServiceProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionEndServiceProps, Required<SectionEndServiceProps>>, "mapMounted", SectionEndServiceProps, {} | {}>;
|
|
11
|
-
export type BusinessTaxiServiceMapProps = Omit<HeycarMapProps, "center" | "zoom"> & Required<MROP> & MapLogProps & {
|
|
4
|
+
export type BusinessTaxiServiceMapProps = Omit<HeycarMapProps, "center" | "zoom"> & Required<MROP> & {
|
|
12
5
|
from: Place;
|
|
13
6
|
to: Place;
|
|
7
|
+
log?: boolean;
|
|
14
8
|
dispatchingTitle: string;
|
|
15
9
|
bookDispatchingTitle: string;
|
|
16
10
|
bookDispatchedTitle: string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MapMountedProps } from "../../hooks/useMap";
|
|
2
|
+
import type { MROP } from "../../hooks/useOverlay";
|
|
3
|
+
import type { Place, Point } from "../../types/interface";
|
|
4
|
+
import { DrivingRouteRenderProps } from "../DrivingRoute";
|
|
5
|
+
type SectionDispatchingProps = MROP & MapMountedProps & {
|
|
6
|
+
title: string;
|
|
7
|
+
from: Place;
|
|
8
|
+
};
|
|
9
|
+
export declare const SectionDispatching: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionDispatchingProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionDispatchingProps, Required<SectionDispatchingProps>>, "mapMounted", SectionDispatchingProps, {} | {}>;
|
|
10
|
+
type SectionDriverStartServiceProps = MROP & MapMountedProps & {
|
|
11
|
+
passengerPosition?: Point;
|
|
12
|
+
carPosition: Point;
|
|
13
|
+
from: Place;
|
|
14
|
+
renderTitle: (props: Pick<DrivingRouteRenderProps, "duration" | "distance">) => string;
|
|
15
|
+
};
|
|
16
|
+
export declare const SectionDriverStartService: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionDriverStartServiceProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionDriverStartServiceProps, Required<SectionDriverStartServiceProps>>, "mapMounted", SectionDriverStartServiceProps, {} | {}>;
|
|
17
|
+
type SectionBookDispatchedProps = MROP & MapMountedProps & {
|
|
18
|
+
passengerPosition?: Point;
|
|
19
|
+
from: Place;
|
|
20
|
+
title: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const SectionBookDispatched: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionBookDispatchedProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionBookDispatchedProps, Required<SectionBookDispatchedProps>>, "mapMounted", SectionBookDispatchedProps, {} | {}>;
|
|
23
|
+
type SectionDriverArrivedProps = MROP & MapMountedProps & {
|
|
24
|
+
from: Place;
|
|
25
|
+
carPosition: Point;
|
|
26
|
+
passengerPosition?: Point;
|
|
27
|
+
title: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const SectionDriverArrived: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionDriverArrivedProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionDriverArrivedProps, Required<SectionDriverArrivedProps>>, "mapMounted", SectionDriverArrivedProps, {} | {}>;
|
|
30
|
+
type SectionInServiceProps = MROP & MapMountedProps & {
|
|
31
|
+
to: Place;
|
|
32
|
+
carPosition: Point;
|
|
33
|
+
renderTitle: (props: Pick<DrivingRouteRenderProps, "duration" | "distance">) => string;
|
|
34
|
+
};
|
|
35
|
+
export declare const SectionInService: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionInServiceProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionInServiceProps, Required<SectionInServiceProps>>, "mapMounted", SectionInServiceProps, {} | {}>;
|
|
36
|
+
type SectionCanceledProps = MROP & MapMountedProps & {
|
|
37
|
+
from: Place;
|
|
38
|
+
to: Place;
|
|
39
|
+
};
|
|
40
|
+
export declare const SectionCanceled: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionCanceledProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionCanceledProps, Required<SectionCanceledProps>>, "mapMounted", SectionCanceledProps, {} | {}>;
|
|
41
|
+
export type SectionEndServiceProps = MROP & MapMountedProps & {
|
|
42
|
+
from: Place;
|
|
43
|
+
to: Place;
|
|
44
|
+
};
|
|
45
|
+
export declare const SectionEndService: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<SectionEndServiceProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<SectionEndServiceProps, Required<SectionEndServiceProps>>, "mapMounted", SectionEndServiceProps, {} | {}>;
|
|
46
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UseDrivingRouteProps } from "../../hooks/useDrivingRoute";
|
|
2
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
3
2
|
import { VNodeChild } from "../../types/helper";
|
|
4
3
|
import type { Point } from "../../types/interface";
|
|
5
4
|
export type DrivingRouteRenderProps = {
|
|
@@ -8,7 +7,7 @@ export type DrivingRouteRenderProps = {
|
|
|
8
7
|
distance: number;
|
|
9
8
|
duration: number;
|
|
10
9
|
};
|
|
11
|
-
export interface DrivingRouteProps extends UseDrivingRouteProps
|
|
10
|
+
export interface DrivingRouteProps extends UseDrivingRouteProps {
|
|
12
11
|
render?: (props: DrivingRouteRenderProps) => VNodeChild;
|
|
13
12
|
}
|
|
14
13
|
export declare const ADrivingRoute: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<DrivingRouteProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<DrivingRouteProps, Required<DrivingRouteProps>>, never, DrivingRouteProps, {}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import type { GmapOverlay, MapRegisterOverlayProps } from "../../hooks/useOverlay";
|
|
3
|
-
interface PassengerCircleProps<T> extends MapRegisterOverlayProps<T
|
|
2
|
+
interface PassengerCircleProps<T> extends MapRegisterOverlayProps<T> {
|
|
4
3
|
position: [number, number];
|
|
5
4
|
size?: "small" | "large";
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import type { Place } from "../../types/interface";
|
|
3
|
-
export interface PickupPointsProps
|
|
2
|
+
export interface PickupPointsProps {
|
|
4
3
|
places: Place[];
|
|
5
4
|
renderLabel?: (place: Place) => string | undefined;
|
|
6
5
|
onClick?: (value: Place) => any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import type { Point } from "../../types/interface";
|
|
3
|
-
export interface PlaceCircleProps
|
|
2
|
+
export interface PlaceCircleProps {
|
|
4
3
|
position: [number, number];
|
|
5
4
|
label?: string;
|
|
6
5
|
textAlign?: "left" | "right";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import type { GmapOverlay, MapRegisterOverlayProps } from "../../hooks/useOverlay";
|
|
3
|
-
export interface StartEndPointProps<T> extends MapRegisterOverlayProps<T
|
|
2
|
+
export interface StartEndPointProps<T> extends MapRegisterOverlayProps<T> {
|
|
4
3
|
type: "start" | "end";
|
|
5
4
|
position: [number, number];
|
|
6
5
|
title?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import type { GmapOverlay, MapRegisterOverlayProps } from "../../hooks/useOverlay";
|
|
3
|
-
export interface TaxiCarProps<T> extends MapRegisterOverlayProps<T
|
|
2
|
+
export interface TaxiCarProps<T> extends MapRegisterOverlayProps<T> {
|
|
4
3
|
position: [number, number];
|
|
5
4
|
angle?: number;
|
|
6
5
|
title?: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export interface WalkingLineProps extends MapLogProps {
|
|
1
|
+
export interface WalkingLineProps {
|
|
3
2
|
path: [number, number][];
|
|
4
3
|
}
|
|
5
4
|
export declare const AWalkingLine: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<WalkingLineProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<WalkingLineProps, Required<WalkingLineProps>>, never, WalkingLineProps, {}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
2
1
|
import { UseWalkingRouteProps } from "../../hooks/useWalkingRoute";
|
|
3
2
|
import { VNodeChild } from "../../types/helper";
|
|
4
3
|
import type { Point } from "../../types/interface";
|
|
5
4
|
export type WalkingRouteRenderProps = {
|
|
6
5
|
path: Point[];
|
|
7
6
|
};
|
|
8
|
-
export interface WalkingRouteProps extends UseWalkingRouteProps
|
|
7
|
+
export interface WalkingRouteProps extends UseWalkingRouteProps {
|
|
9
8
|
render?: (props: WalkingRouteRenderProps) => VNodeChild;
|
|
10
9
|
}
|
|
11
10
|
export declare const AWalkingRoute: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<WalkingRouteProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<WalkingRouteProps, Required<WalkingRouteProps>>, never, WalkingRouteProps, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export interface WaveCircleProps extends MapLogProps {
|
|
1
|
+
export interface WaveCircleProps {
|
|
3
2
|
position: [number, number];
|
|
4
3
|
}
|
|
5
4
|
export declare const AWaveCircle: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<WaveCircleProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<WaveCircleProps, Required<WaveCircleProps>>, never, WaveCircleProps, {}>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
2
|
import type { SetMap } from "../../hooks/useHeycarMap";
|
|
3
|
-
import { VueNode } from "../../types/helper";
|
|
4
3
|
import type { MapEventHandler } from "../../types/mapHelper";
|
|
5
4
|
export interface GmapProps extends google.maps.MapOptions {
|
|
6
5
|
mapRef?: SetMap<google.maps.Map>;
|
|
7
6
|
onDragStart?: MapEventHandler<google.maps.Map>;
|
|
8
7
|
onDragEnd?: MapEventHandler<google.maps.Map>;
|
|
9
|
-
renderOverlay?: () => VueNode;
|
|
10
8
|
}
|
|
11
9
|
export declare const Gmap: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<GmapProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<GmapProps, Required<GmapProps>>, "dragStart" | "dragEnd", GmapProps, {}>;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
2
|
import type { SetMap } from "../../hooks/useHeycarMap";
|
|
3
3
|
import { GmapLoaderProps, UseMapLoaderProps } from "../../hooks/useMapLoader";
|
|
4
|
-
import { MapLogProps } from "../../hooks/useMapLog";
|
|
5
4
|
import { MapSupplierPayolad } from "../../hooks/useMapSupplier";
|
|
6
5
|
import { AmapProps } from "../Amap";
|
|
7
|
-
import { GmapProps } from "../Gmap";
|
|
8
6
|
export type MapProviderProps = UseMapLoaderProps & Pick<MapSupplierPayolad, "gmapId">;
|
|
9
7
|
export declare const MapProvider: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<MapProviderProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<MapProviderProps, Required<MapProviderProps>>, "change", MapProviderProps, {}>;
|
|
10
|
-
export interface HeycarMapProps extends Pick<GmapLoaderProps, "fallback" | "loading">, Pick<AmapProps, "center" | "zoom"
|
|
8
|
+
export interface HeycarMapProps extends Pick<GmapLoaderProps, "fallback" | "loading">, Pick<AmapProps, "center" | "zoom"> {
|
|
11
9
|
mapRef?: SetMap<AMap.Map> | SetMap<google.maps.Map>;
|
|
12
|
-
renderOverlay?: GmapProps["renderOverlay"];
|
|
13
10
|
onDragEnd?: (value: [number, number]) => any;
|
|
14
11
|
}
|
|
15
12
|
export declare const HeycarMap: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<HeycarMapProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<HeycarMapProps, Required<HeycarMapProps>>, "dragEnd", HeycarMapProps, {}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Region } from "../types/interface";
|
|
2
|
-
|
|
3
|
-
export interface UseMapAutoCompleteProps extends MapLogProps {
|
|
2
|
+
export interface UseMapAutoCompleteProps {
|
|
4
3
|
city: Region;
|
|
5
4
|
}
|
|
6
5
|
export declare const useAmapAutoComplete: (props: UseMapAutoCompleteProps) => {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Ref } from "vue-demi";
|
|
2
|
-
|
|
3
|
-
export interface UseBusinessMapAutoCompleteProps extends MapLogProps {
|
|
2
|
+
export interface UseBusinessMapAutoCompleteProps {
|
|
4
3
|
cityNameRef: Ref<string>;
|
|
5
4
|
}
|
|
6
5
|
export declare const useBusinessMapAutoComplete: (props: UseBusinessMapAutoCompleteProps) => {
|