@heycar/heycars-map 0.9.11 → 0.9.13
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/index.cjs +506 -93
- package/dist/index.js +507 -94
- package/dist/src/Demo/DemoBusinessTaxiService.d.ts +805 -560
- package/dist/src/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +0 -1
- package/dist/src/business-components/BusinessReselectPlaceMap/BusinessReselectPlaceMap.d.ts +2 -2
- package/dist/src/business-components/FitView/FitView.d.ts +9 -2
- package/dist/src/business-components/PassengerCircle/PassengerCircle.d.ts +825 -825
- package/dist/src/business-components/StartEndPoint/StartEndPoint.d.ts +825 -825
- package/dist/src/business-components/TaxiCar/TaxiCar.d.ts +825 -825
- package/dist/src/components/Amap/Amap.d.ts +8 -7
- package/dist/src/components/Amap/SafeAmap.d.ts +103 -0
- package/dist/src/components/MapProvider/MapProvider.d.ts +2 -1
- package/dist/src/hooks/useHeycarMap.d.ts +5 -1585
- package/dist/src/hooks/useMap.d.ts +4 -794
- package/dist/src/hooks/useMapAngle.d.ts +3 -3
- package/dist/src/hooks/useMapDrag.d.ts +3 -3
- package/dist/src/hooks/useMapFitView.d.ts +108 -108
- package/dist/src/hooks/useMapLngLatToVw.d.ts +3 -3
- package/dist/src/hooks/useMapRecomendPlace.d.ts +1 -0
- package/dist/src/hooks/useMapWheelZoomCenter.d.ts +3 -2
- package/dist/src/hooks/useMapZoom.d.ts +3 -2
- package/dist/src/hooks-business/useBusinessQuotingMap.d.ts +806 -561
- package/dist/src/hooks-business/useBusinessRecomendPlaceMap.d.ts +4 -3
- package/dist/src/hooks-business/useBusinessReselectPlaceMap.d.ts +1 -1
- package/dist/src/hooks-business/useBusinessTaxiServiceMap.d.ts +806 -561
- package/dist/src/index.d.ts +1 -0
- package/dist/src/types/interface.d.ts +4 -2
- package/dist/src/types/my.d.ts +21 -0
- package/dist/src/types/wx.d.ts +1 -0
- package/dist/src/utils/alipayPolyfill.d.ts +1 -0
- package/dist/src/utils/helper.d.ts +0 -1
- package/dist/src/utils/referenceCount.d.ts +8 -0
- package/package.json +1 -1
- package/todo.md +15 -0
|
@@ -24,7 +24,6 @@ export interface BusinessRecomendPlaceMapProps extends Omit<HeycarMapProps, "cen
|
|
|
24
24
|
unavailableTitle: string;
|
|
25
25
|
recomendDescription: string;
|
|
26
26
|
geoDefaultPosition?: Point;
|
|
27
|
-
disableLocator?: boolean;
|
|
28
27
|
mapContext: BusinessRecomendPlaceContext;
|
|
29
28
|
getDefaultCenterPlace: () => Promise<Place | undefined>;
|
|
30
29
|
onLoadGeoLocation?: UseGeoLocationProps["onLoad"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Place } from "../../types/interface";
|
|
2
2
|
import { type BusinessRecomendPlaceMapProps } from "../BusinessRecomendPlaceMap";
|
|
3
|
-
export interface BusinessReselectPlaceMapProps extends Pick<BusinessRecomendPlaceMapProps, "loading" | "fallback" | "log" | "getRecomendPlace" | "unavailableTitle" | "recomendDescription" | "
|
|
3
|
+
export interface BusinessReselectPlaceMapProps extends Pick<BusinessRecomendPlaceMapProps, "loading" | "fallback" | "log" | "getRecomendPlace" | "unavailableTitle" | "recomendDescription" | "mapContext" | "onChangePlace" | "onChangeRecomandPlace" | "onGeoError"> {
|
|
4
4
|
defaultPlace?: Place;
|
|
5
5
|
}
|
|
6
|
-
export declare const BusinessReselectPlaceMap: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<BusinessReselectPlaceMapProps>, 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<BusinessReselectPlaceMapProps, Required<BusinessReselectPlaceMapProps>>, "changePlace" | "changeRecomandPlace" | "geoError"
|
|
6
|
+
export declare const BusinessReselectPlaceMap: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<BusinessReselectPlaceMapProps>, 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<BusinessReselectPlaceMapProps, Required<BusinessReselectPlaceMapProps>>, "changePlace" | "changeRecomandPlace" | "geoError", BusinessReselectPlaceMapProps, {}>;
|
|
@@ -7,16 +7,23 @@ export interface FitViewProps extends Omit<UseMapFitViewProps, "mapRef"> {
|
|
|
7
7
|
render?: (props: FitViewRenderProps) => VNodeChild;
|
|
8
8
|
}
|
|
9
9
|
export declare const FitView: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<FitViewProps>, 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<FitViewProps, Required<FitViewProps>>, never, FitViewProps, {}>;
|
|
10
|
-
export type FitViewOnceProps = Required<MROP
|
|
10
|
+
export type FitViewOnceProps = Required<MROP> & {
|
|
11
|
+
immediate?: boolean;
|
|
12
|
+
};
|
|
11
13
|
export declare const FitViewOnce: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<FitViewOnceProps>, 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<FitViewOnceProps, Required<FitViewOnceProps>>, never, FitViewOnceProps, {} | {}>;
|
|
12
14
|
type R = RegisterOverlay<AmapOverlay> | RegisterOverlay<GmapOverlay>;
|
|
13
|
-
|
|
15
|
+
interface CreateFittableRegisterOverlayProps {
|
|
16
|
+
registerOverlay: R;
|
|
17
|
+
immediate?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function createFittableRegisterOverlay(props: CreateFittableRegisterOverlayProps): R;
|
|
14
20
|
export type KeyedFitViewProps = Required<MROP> & {
|
|
15
21
|
fitViewKey: string;
|
|
16
22
|
};
|
|
17
23
|
export declare const KeyedFitView: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<KeyedFitViewProps>, 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<KeyedFitViewProps, Required<KeyedFitViewProps>>, never, KeyedFitViewProps, {} | {}>;
|
|
18
24
|
export type InterruptableIntervalFitViewProps = Required<MROP> & {
|
|
19
25
|
interval: number;
|
|
26
|
+
immediate?: boolean;
|
|
20
27
|
};
|
|
21
28
|
export declare const InterruptableIntervalFitView: import("vue").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<InterruptableIntervalFitViewProps>, 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<InterruptableIntervalFitViewProps, Required<InterruptableIntervalFitViewProps>>, never, InterruptableIntervalFitViewProps, {} | {}>;
|
|
22
29
|
export {};
|