vue-yandex-maps
Version:
Yandex Maps component for Vue 3
113 lines (112 loc) • 2.93 kB
TypeScript
/// <reference types="yandex-maps" />
import { PropType } from 'vue';
import { MapSettings, DetailedControls } from './types';
declare const _default: import("vue").DefineComponent<{
coordinates: {
type: PropType<number[]>;
required: true;
};
zoom: {
type: NumberConstructor;
default: number;
};
bounds: {
type: PropType<number[][]>;
default: null;
};
behaviors: {
type: PropType<string[]>;
default: null;
};
controls: {
type: PropType<string[]>;
default: null;
};
detailedControls: {
type: PropType<DetailedControls>;
default: null;
};
events: {
type: PropType<string[]>;
default: () => string[];
validator: (val: string[]) => boolean;
};
mapType: {
type: StringConstructor;
default: string;
};
settings: {
type: PropType<MapSettings>;
default: () => {};
};
panOptions: {
type: PropType<ymaps.IMapPositionOptions>;
default: undefined;
};
options: {
type: PropType<ymaps.IMapOptions>;
default: () => {};
};
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
coordinates: {
type: PropType<number[]>;
required: true;
};
zoom: {
type: NumberConstructor;
default: number;
};
bounds: {
type: PropType<number[][]>;
default: null;
};
behaviors: {
type: PropType<string[]>;
default: null;
};
controls: {
type: PropType<string[]>;
default: null;
};
detailedControls: {
type: PropType<DetailedControls>;
default: null;
};
events: {
type: PropType<string[]>;
default: () => string[];
validator: (val: string[]) => boolean;
};
mapType: {
type: StringConstructor;
default: string;
};
settings: {
type: PropType<MapSettings>;
default: () => {};
};
panOptions: {
type: PropType<ymaps.IMapPositionOptions>;
default: undefined;
};
options: {
type: PropType<ymaps.IMapOptions>;
default: () => {};
};
}>> & {
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
}, {
options: ymaps.IMapOptions;
zoom: number;
bounds: number[][];
behaviors: string[];
controls: string[];
detailedControls: DetailedControls;
events: string[];
mapType: string;
settings: MapSettings;
panOptions: ymaps.IMapPositionOptions;
}>;
export default _default;