@pusdn/pgz-comp-elep
Version:
PGZ组件库,Vue3 中基于Element-plus二次封装基础组件文档
402 lines (401 loc) • 14.6 kB
TypeScript
import PgzTdtPloygon from './src/index.vue';
export type PgzTdtPloygonInstance = InstanceType<typeof PgzTdtPloygon>;
declare const TPgzTdtPloygon: ({
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
closable: {
type: BooleanConstructor;
default: boolean;
};
mapType: {
type: NumberConstructor;
default: number;
};
zoom: {
type: NumberConstructor;
default: number;
};
size: {
type: StringConstructor;
default: undefined;
};
placeholder: {
type: StringConstructor;
default: string;
};
detail: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: import("vue").PropType<Record<string, any>>;
default: () => {};
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
props: any;
emit: (event: "update:modelValue", ...args: any[]) => void;
state: import("vue").Ref<{
address: string;
keyWord: string;
promptsVisible: boolean;
statisticsVisible: boolean;
suggestsVisible: boolean;
lineDataVisible: boolean;
resultVisible: boolean;
promptHtml: string;
statisticsHtml: string;
suggestsHtml: string;
lineDataHtml: string;
searchResultHtml: string;
pageId: number;
poi: Record<string, any>;
itemPolygon: any;
marker: any;
map: any;
localsearch: any;
box: boolean;
oldPoi: Record<string, any>;
loading: boolean;
allData: Record<string, any>;
oldAllData: Record<string, any>;
polyEditor: any;
currentPolygon: any;
}, import("./src/types").PolygonEditorState | {
address: string;
keyWord: string;
promptsVisible: boolean;
statisticsVisible: boolean;
suggestsVisible: boolean;
lineDataVisible: boolean;
resultVisible: boolean;
promptHtml: string;
statisticsHtml: string;
suggestsHtml: string;
lineDataHtml: string;
searchResultHtml: string;
pageId: number;
poi: Record<string, any>;
itemPolygon: any;
marker: any;
map: any;
localsearch: any;
box: boolean;
oldPoi: Record<string, any>;
loading: boolean;
allData: Record<string, any>;
oldAllData: Record<string, any>;
polyEditor: any;
currentPolygon: any;
}>;
text: import("vue").ComputedRef<string>;
title: import("vue").ComputedRef<"查看" | "绘制多边形">;
textTitle: import("vue").ComputedRef<"查看" | "绘制多边形" | "重新绘制">;
placeholder: import("vue").ComputedRef<"请在地图上绘制" | "已经绘制">;
initMap: () => void;
search: () => void;
clearAll: () => void;
clearAllNoOverlay: () => void;
localSearchResult: (result: any) => void;
handlePois: (pois: any[]) => void;
handleStatistics: (statistics: any) => void;
handleArea: (obj: any) => void;
handleSuggests: (suggests: any[]) => void;
handleLineData: (lineData: any) => void;
gotoPage: () => void;
onSearch: () => void;
getAllData2: () => Record<string, any>;
getAllData: () => void;
showDetail: (value: any) => void;
handleCancel: () => void;
handleOk: () => void;
createPolygon: () => void;
openPolyEditor: () => void;
closePolyEditor: () => void;
clearPolygon: () => void;
clearAllOverlay: () => void;
dblclickPolygon: (e: any) => void;
readonly QuestionFilled: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], import("vue").PublicProps, {
modelValue: Record<string, any>;
size: string;
disabled: boolean;
placeholder: string;
detail: boolean;
closable: boolean;
mapType: number;
zoom: number;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
closable: {
type: BooleanConstructor;
default: boolean;
};
mapType: {
type: NumberConstructor;
default: number;
};
zoom: {
type: NumberConstructor;
default: number;
};
size: {
type: StringConstructor;
default: undefined;
};
placeholder: {
type: StringConstructor;
default: string;
};
detail: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: import("vue").PropType<Record<string, any>>;
default: () => {};
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
props: any;
emit: (event: "update:modelValue", ...args: any[]) => void;
state: import("vue").Ref<{
address: string;
keyWord: string;
promptsVisible: boolean;
statisticsVisible: boolean;
suggestsVisible: boolean;
lineDataVisible: boolean;
resultVisible: boolean;
promptHtml: string;
statisticsHtml: string;
suggestsHtml: string;
lineDataHtml: string;
searchResultHtml: string;
pageId: number;
poi: Record<string, any>;
itemPolygon: any;
marker: any;
map: any;
localsearch: any;
box: boolean;
oldPoi: Record<string, any>;
loading: boolean;
allData: Record<string, any>;
oldAllData: Record<string, any>;
polyEditor: any;
currentPolygon: any;
}, import("./src/types").PolygonEditorState | {
address: string;
keyWord: string;
promptsVisible: boolean;
statisticsVisible: boolean;
suggestsVisible: boolean;
lineDataVisible: boolean;
resultVisible: boolean;
promptHtml: string;
statisticsHtml: string;
suggestsHtml: string;
lineDataHtml: string;
searchResultHtml: string;
pageId: number;
poi: Record<string, any>;
itemPolygon: any;
marker: any;
map: any;
localsearch: any;
box: boolean;
oldPoi: Record<string, any>;
loading: boolean;
allData: Record<string, any>;
oldAllData: Record<string, any>;
polyEditor: any;
currentPolygon: any;
}>;
text: import("vue").ComputedRef<string>;
title: import("vue").ComputedRef<"查看" | "绘制多边形">;
textTitle: import("vue").ComputedRef<"查看" | "绘制多边形" | "重新绘制">;
placeholder: import("vue").ComputedRef<"请在地图上绘制" | "已经绘制">;
initMap: () => void;
search: () => void;
clearAll: () => void;
clearAllNoOverlay: () => void;
localSearchResult: (result: any) => void;
handlePois: (pois: any[]) => void;
handleStatistics: (statistics: any) => void;
handleArea: (obj: any) => void;
handleSuggests: (suggests: any[]) => void;
handleLineData: (lineData: any) => void;
gotoPage: () => void;
onSearch: () => void;
getAllData2: () => Record<string, any>;
getAllData: () => void;
showDetail: (value: any) => void;
handleCancel: () => void;
handleOk: () => void;
createPolygon: () => void;
openPolyEditor: () => void;
closePolyEditor: () => void;
clearPolygon: () => void;
clearAllOverlay: () => void;
dblclickPolygon: (e: any) => void;
readonly QuestionFilled: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, {
modelValue: Record<string, any>;
size: string;
disabled: boolean;
placeholder: string;
detail: boolean;
closable: boolean;
mapType: number;
zoom: number;
}>;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
closable: {
type: BooleanConstructor;
default: boolean;
};
mapType: {
type: NumberConstructor;
default: number;
};
zoom: {
type: NumberConstructor;
default: number;
};
size: {
type: StringConstructor;
default: undefined;
};
placeholder: {
type: StringConstructor;
default: string;
};
detail: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: import("vue").PropType<Record<string, any>>;
default: () => {};
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
props: any;
emit: (event: "update:modelValue", ...args: any[]) => void;
state: import("vue").Ref<{
address: string;
keyWord: string;
promptsVisible: boolean;
statisticsVisible: boolean;
suggestsVisible: boolean;
lineDataVisible: boolean;
resultVisible: boolean;
promptHtml: string;
statisticsHtml: string;
suggestsHtml: string;
lineDataHtml: string;
searchResultHtml: string;
pageId: number;
poi: Record<string, any>;
itemPolygon: any;
marker: any;
map: any;
localsearch: any;
box: boolean;
oldPoi: Record<string, any>;
loading: boolean;
allData: Record<string, any>;
oldAllData: Record<string, any>;
polyEditor: any;
currentPolygon: any;
}, import("./src/types").PolygonEditorState | {
address: string;
keyWord: string;
promptsVisible: boolean;
statisticsVisible: boolean;
suggestsVisible: boolean;
lineDataVisible: boolean;
resultVisible: boolean;
promptHtml: string;
statisticsHtml: string;
suggestsHtml: string;
lineDataHtml: string;
searchResultHtml: string;
pageId: number;
poi: Record<string, any>;
itemPolygon: any;
marker: any;
map: any;
localsearch: any;
box: boolean;
oldPoi: Record<string, any>;
loading: boolean;
allData: Record<string, any>;
oldAllData: Record<string, any>;
polyEditor: any;
currentPolygon: any;
}>;
text: import("vue").ComputedRef<string>;
title: import("vue").ComputedRef<"查看" | "绘制多边形">;
textTitle: import("vue").ComputedRef<"查看" | "绘制多边形" | "重新绘制">;
placeholder: import("vue").ComputedRef<"请在地图上绘制" | "已经绘制">;
initMap: () => void;
search: () => void;
clearAll: () => void;
clearAllNoOverlay: () => void;
localSearchResult: (result: any) => void;
handlePois: (pois: any[]) => void;
handleStatistics: (statistics: any) => void;
handleArea: (obj: any) => void;
handleSuggests: (suggests: any[]) => void;
handleLineData: (lineData: any) => void;
gotoPage: () => void;
onSearch: () => void;
getAllData2: () => Record<string, any>;
getAllData: () => void;
showDetail: (value: any) => void;
handleCancel: () => void;
handleOk: () => void;
createPolygon: () => void;
openPolyEditor: () => void;
closePolyEditor: () => void;
clearPolygon: () => void;
clearAllOverlay: () => void;
dblclickPolygon: (e: any) => void;
readonly QuestionFilled: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
modelValue: Record<string, any>;
size: string;
disabled: boolean;
placeholder: string;
detail: boolean;
closable: boolean;
mapType: number;
zoom: number;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
export default TPgzTdtPloygon;
export * from './src/types';