@heycar/heycars-map 0.5.8 → 0.6.0

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,49 +0,0 @@
1
- import type { Region } from "../types/interface";
2
- export interface UseMapAutoCompleteProps {
3
- city: Region;
4
- }
5
- export declare const useAmapAutoComplete: (props: UseMapAutoCompleteProps) => {
6
- setKeyword: (value: string) => void;
7
- setCity: (value: Region) => void;
8
- autoCompletePlaces: import("vue-demi").Ref<{
9
- placeId?: string | undefined;
10
- description: string;
11
- distance?: number | undefined;
12
- lng: number;
13
- lat: number;
14
- name: string;
15
- cityName?: string | undefined;
16
- cityParentName?: string | undefined;
17
- countryName?: string | undefined;
18
- }[]>;
19
- };
20
- export declare const useGmapAutoComplete: (props: UseMapAutoCompleteProps) => {
21
- setKeyword: (value: string) => void;
22
- setCity: (value: Region) => void;
23
- autoCompletePlaces: import("vue-demi").Ref<{
24
- placeId?: string | undefined;
25
- description: string;
26
- distance?: number | undefined;
27
- lng: number;
28
- lat: number;
29
- name: string;
30
- cityName?: string | undefined;
31
- cityParentName?: string | undefined;
32
- countryName?: string | undefined;
33
- }[]>;
34
- };
35
- export declare const useMapAutoComplete: (props: UseMapAutoCompleteProps) => {
36
- setKeyword: (value: string) => void;
37
- setCity: (value: Region) => void;
38
- autoCompletePlaces: import("vue-demi").Ref<{
39
- placeId?: string | undefined;
40
- description: string;
41
- distance?: number | undefined;
42
- lng: number;
43
- lat: number;
44
- name: string;
45
- cityName?: string | undefined;
46
- cityParentName?: string | undefined;
47
- countryName?: string | undefined;
48
- }[]>;
49
- };
@@ -1,9 +0,0 @@
1
- import { Ref } from "vue-demi";
2
- import type { Region } from "../types/interface";
3
- export interface UseMapCityBoundProps {
4
- cityNameRef: Ref<string | undefined>;
5
- onChange?: (value: Region) => any;
6
- }
7
- export declare const useAmapBoundCity: (props: UseMapCityBoundProps) => Region;
8
- export declare const useGmapBoundCity: (props: UseMapCityBoundProps) => Region;
9
- export declare const useMapBoundCity: (props: UseMapCityBoundProps) => Region;
@@ -1,20 +0,0 @@
1
- import type { Ref } from "vue-demi";
2
- export interface UseBusinessMapAutoCompleteProps {
3
- cityNameRef: Ref<string>;
4
- }
5
- export declare const useBusinessMapAutoComplete: (props: UseBusinessMapAutoCompleteProps) => {
6
- autoCompletePlaces: Ref<{
7
- placeId?: string | undefined;
8
- description: string;
9
- distance?: number | undefined;
10
- lng: number;
11
- lat: number;
12
- name: string;
13
- cityName?: string | undefined;
14
- cityParentName?: string | undefined;
15
- countryName?: string | undefined;
16
- }[]>;
17
- setKeyword: (value: string) => void;
18
- setCity: (value: import("..").Region) => void;
19
- handleKeywordInput: (e: Event) => void;
20
- };