coord-picker
Version:
Coordinates picker for AMap & TMap.
158 lines (157 loc) • 5.96 kB
TypeScript
export default _sfc_main;
declare namespace _sfc_main {
export { name };
export namespace components {
export { KiFormDialog };
export { KiSelect };
export { Toolbar };
export { PicViewer };
}
export const mixins: any[];
export namespace props {
namespace show {
const type: BooleanConstructor;
const required: boolean;
}
namespace mapType {
const type_1: StringConstructor;
export { type_1 as type };
const _default: string;
export { _default as default };
}
namespace lat {
function validator(value: any): boolean;
}
namespace lng {
export function validator_1(value: any): boolean;
export { validator_1 as validator };
}
namespace address {
export function validator_2(value: any): boolean;
export { validator_2 as validator };
}
const city: {};
const precision: {};
const mapOptions: {};
const loadOptions: {};
const addressComponent: {};
const marker: {};
const markerCount: {};
namespace isAMapUI {
const type_2: BooleanConstructor;
export { type_2 as type };
const _default_1: boolean;
export { _default_1 as default };
}
namespace rangeLimit {
const type_3: (FunctionConstructor | ObjectConstructor)[];
export { type_3 as type };
const _default_2: undefined;
export { _default_2 as default };
}
}
export function data(): any;
export function data(): any;
export namespace computed {
function MarkerStatus(): "editable" | "readonly" | undefined;
function MarkerStatus(): "editable" | "readonly" | undefined;
function Marker(): any;
function Marker(): any;
function MarkerCount(): any;
function MarkerCount(): any;
function MarkerMaxCount(): any;
function MarkerMaxCount(): any;
function MarkerMinCount(): any;
function MarkerMinCount(): any;
function CurrentMarkerCount(): any;
function CurrentMarkerCount(): any;
function Precision(): any;
function Precision(): any;
function AddressComponent(): any;
function AddressComponent(): any;
function Loading(): any;
function Loading(): any;
function LoadOptions(): any;
function LoadOptions(): any;
}
export namespace watch {
export namespace show_1 {
const immediate: boolean;
function handler(n: any, o: any): void;
function handler(n: any, o: any): void;
}
export { show_1 as show };
export function keyword(): void;
export function keyword(): void;
export function active(newVal: any): void;
export function active(newVal: any): void;
export function baseCity(n: any): void;
export function baseCity(n: any): void;
}
export function created(): void;
export function created(): void;
export namespace methods {
function drawRangeLimit(points: any): Promise<any>;
function drawRangeLimit(points: any): Promise<any>;
function cancel(): void;
function cancel(): void;
function changeCurImage(src: any): void;
function changeCurImage(src: any): void;
function setCurImage(): void;
function setCurImage(): void;
function help(): void;
function help(): void;
function setCenter(args: any): void;
function setCenter(args: any): void;
function debounce(fnName: any, fn: any, param: any, delay: any): void;
function debounce(fnName: any, fn: any, param: any, delay: any): void;
function initPlugins(): void;
function initPlugins(): void;
function getInitData(arr: any): {
overlay: {};
};
function getInitData(arr: any): {
overlay: {};
};
function reset(arr: any): void;
function reset(arr: any): void;
function isClearable(overlays?: string[]): boolean;
function isClearable(overlays?: string[]): boolean;
function clear(arr: any): void;
function clear(arr: any): void;
function getAddress([lng, lat]: [any, any]): Promise<any>;
function getAddress([lng, lat]: [any, any]): Promise<any>;
function onMapClick(e: any): void;
function onMapClick(e: any): void;
function roundOff(value: any): any;
function roundOff(value: any): any;
function confirm(): void;
function confirm(): void;
function drawMarker(markerOptions: any, isInit?: boolean): void;
function drawMarker(markerOptions: any, isInit?: boolean): void;
function drawMarkerList(marker: any): void;
function drawMarkerList(marker: any): void;
function initOverlays(arr: any): Promise<{
centerDesignated: boolean;
hasOverlay: boolean;
}>;
function initOverlays(arr: any): Promise<{
centerDesignated: boolean;
hasOverlay: boolean;
}>;
function watchZoom(): void;
function watchZoom(): void;
function locate(selectedLocation: any): Promise<void>;
function locate(selectedLocation: any): Promise<void>;
function getBaseCity(): Promise<any>;
function getBaseCity(): Promise<any>;
function search(): void;
function search(): void;
function useAMapAPI(...args: any[]): Promise<any>;
function useAMapAPI(...args: any[]): Promise<any>;
}
}
import { PascalCasedName as name } from "../package.json";
import { KiFormDialog } from "kikimore";
import { KiSelect } from "kikimore";
import PicViewer from "pic-viewer";