vue-cesium-jyt
Version:
Vue 3.x components for CesiumJS.
261 lines (260 loc) • 12.1 kB
TypeScript
import type { ExtractPropTypes, PropType } from 'vue';
import type { VcComponentInternalInstance } from 'vue-cesium/es/utils/types';
import { VcGraphicsBillboardProps } from '../../graphics';
export declare const entityProps: {
enableMouseEvent: {
type: BooleanConstructor;
default: boolean;
};
point: ObjectConstructor;
polygon: ObjectConstructor;
polyline: ObjectConstructor;
properties: ObjectConstructor;
polylineVolume: ObjectConstructor;
rectangle: ObjectConstructor;
wall: ObjectConstructor;
plane: {
type: PropType<Cesium.Plane>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makePlane;
};
};
parent: ObjectConstructor;
billboard: PropType<VcGraphicsBillboardProps>;
corridor: ObjectConstructor;
cylinder: ObjectConstructor;
ellipse: ObjectConstructor;
ellipsoid: ObjectConstructor;
box: ObjectConstructor;
label: ObjectConstructor;
model: ObjectConstructor;
tileset: ObjectConstructor;
path: ObjectConstructor;
viewFrom: {
type: PropType<import("vue-cesium/es/utils/types").VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
deep: boolean;
};
};
orientation: ObjectConstructor;
position: {
type: PropType<import("vue-cesium/es/utils/types").VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
deep: boolean;
};
};
description: (ObjectConstructor | StringConstructor)[];
show: {
type: PropType<boolean>;
default: boolean;
};
id: StringConstructor;
name: StringConstructor;
availability: PropType<Cesium.TimeIntervalCollection>;
};
declare const emits: {
definitionChanged: (property: Cesium.Property) => boolean;
'update:billboard': (payload: Cesium.BillboardGraphics) => boolean;
'update:box': (payload: Cesium.BoxGraphics) => boolean;
'update:corridor': (payload: Cesium.CorridorGraphics) => boolean;
'update:cylinder': (payload: Cesium.CylinderGraphics) => boolean;
'update:ellipse': (payload: Cesium.EllipseGraphics) => boolean;
'update:ellipsoid': (payload: Cesium.EllipsoidGraphics) => boolean;
'update:label': (payload: Cesium.LabelGraphics) => boolean;
'update:model': (payload: Cesium.ModelGraphics) => boolean;
'update:path': (payload: Cesium.PathGraphics) => boolean;
'update:plane': (payload: Cesium.PlaneGraphics) => boolean;
'update:point': (payload: Cesium.PointGraphics) => boolean;
'update:polygon': (payload: Cesium.PolygonGraphics) => boolean;
'update:polyline': (payload: Cesium.PolylineGraphics) => boolean;
'update:polylineVolume': (payload: Cesium.PolylineVolumeGraphics) => boolean;
'update:rectangle': (payload: Cesium.RectangleGraphics) => boolean;
'update:tileset': (payload: any) => boolean;
'update:wall': (payload: Cesium.WallGraphics) => boolean;
mousedown: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mouseup: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
click: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
clickout: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
dblclick: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mousemove: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mouseover: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mouseout: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
beforeLoad: (instance: VcComponentInternalInstance) => boolean;
ready: (readyObj: import("vue-cesium/es/utils/types").VcReadyObject) => boolean;
destroyed: (instance: VcComponentInternalInstance) => boolean;
};
declare const _default: import("vue").DefineComponent<{
enableMouseEvent: {
type: BooleanConstructor;
default: boolean;
};
point: ObjectConstructor;
polygon: ObjectConstructor;
polyline: ObjectConstructor;
properties: ObjectConstructor;
polylineVolume: ObjectConstructor;
rectangle: ObjectConstructor;
wall: ObjectConstructor;
plane: {
type: PropType<Cesium.Plane>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makePlane;
};
};
parent: ObjectConstructor;
billboard: PropType<VcGraphicsBillboardProps>;
corridor: ObjectConstructor;
cylinder: ObjectConstructor;
ellipse: ObjectConstructor;
ellipsoid: ObjectConstructor;
box: ObjectConstructor;
label: ObjectConstructor;
model: ObjectConstructor;
tileset: ObjectConstructor;
path: ObjectConstructor;
viewFrom: {
type: PropType<import("vue-cesium/es/utils/types").VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
deep: boolean;
};
};
orientation: ObjectConstructor;
position: {
type: PropType<import("vue-cesium/es/utils/types").VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
deep: boolean;
};
};
description: (ObjectConstructor | StringConstructor)[];
show: {
type: PropType<boolean>;
default: boolean;
};
id: StringConstructor;
name: StringConstructor;
availability: PropType<Cesium.TimeIntervalCollection>;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
definitionChanged: (property: Cesium.Property) => boolean;
'update:billboard': (payload: Cesium.BillboardGraphics) => boolean;
'update:box': (payload: Cesium.BoxGraphics) => boolean;
'update:corridor': (payload: Cesium.CorridorGraphics) => boolean;
'update:cylinder': (payload: Cesium.CylinderGraphics) => boolean;
'update:ellipse': (payload: Cesium.EllipseGraphics) => boolean;
'update:ellipsoid': (payload: Cesium.EllipsoidGraphics) => boolean;
'update:label': (payload: Cesium.LabelGraphics) => boolean;
'update:model': (payload: Cesium.ModelGraphics) => boolean;
'update:path': (payload: Cesium.PathGraphics) => boolean;
'update:plane': (payload: Cesium.PlaneGraphics) => boolean;
'update:point': (payload: Cesium.PointGraphics) => boolean;
'update:polygon': (payload: Cesium.PolygonGraphics) => boolean;
'update:polyline': (payload: Cesium.PolylineGraphics) => boolean;
'update:polylineVolume': (payload: Cesium.PolylineVolumeGraphics) => boolean;
'update:rectangle': (payload: Cesium.RectangleGraphics) => boolean;
'update:tileset': (payload: any) => boolean;
'update:wall': (payload: Cesium.WallGraphics) => boolean;
mousedown: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mouseup: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
click: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
clickout: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
dblclick: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mousemove: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mouseover: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
mouseout: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => boolean;
beforeLoad: (instance: VcComponentInternalInstance) => boolean;
ready: (readyObj: import("vue-cesium/es/utils/types").VcReadyObject) => boolean;
destroyed: (instance: VcComponentInternalInstance) => boolean;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
enableMouseEvent: {
type: BooleanConstructor;
default: boolean;
};
point: ObjectConstructor;
polygon: ObjectConstructor;
polyline: ObjectConstructor;
properties: ObjectConstructor;
polylineVolume: ObjectConstructor;
rectangle: ObjectConstructor;
wall: ObjectConstructor;
plane: {
type: PropType<Cesium.Plane>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makePlane;
};
};
parent: ObjectConstructor;
billboard: PropType<VcGraphicsBillboardProps>;
corridor: ObjectConstructor;
cylinder: ObjectConstructor;
ellipse: ObjectConstructor;
ellipsoid: ObjectConstructor;
box: ObjectConstructor;
label: ObjectConstructor;
model: ObjectConstructor;
tileset: ObjectConstructor;
path: ObjectConstructor;
viewFrom: {
type: PropType<import("vue-cesium/es/utils/types").VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
deep: boolean;
};
};
orientation: ObjectConstructor;
position: {
type: PropType<import("vue-cesium/es/utils/types").VcPosition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3;
deep: boolean;
};
};
description: (ObjectConstructor | StringConstructor)[];
show: {
type: PropType<boolean>;
default: boolean;
};
id: StringConstructor;
name: StringConstructor;
availability: PropType<Cesium.TimeIntervalCollection>;
}>> & {
onBeforeLoad?: (instance: VcComponentInternalInstance) => any;
onReady?: (readyObj: import("vue-cesium/es/utils/types").VcReadyObject) => any;
onDestroyed?: (instance: VcComponentInternalInstance) => any;
onMousedown?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onMouseup?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onClick?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onClickout?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onDblclick?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onMousemove?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onMouseover?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onMouseout?: (evt: import("vue-cesium/es/utils/types").VcPickEvent) => any;
onDefinitionChanged?: (property: Cesium.Property) => any;
"onUpdate:billboard"?: (payload: Cesium.BillboardGraphics) => any;
"onUpdate:box"?: (payload: Cesium.BoxGraphics) => any;
"onUpdate:corridor"?: (payload: Cesium.CorridorGraphics) => any;
"onUpdate:cylinder"?: (payload: Cesium.CylinderGraphics) => any;
"onUpdate:ellipse"?: (payload: Cesium.EllipseGraphics) => any;
"onUpdate:ellipsoid"?: (payload: Cesium.EllipsoidGraphics) => any;
"onUpdate:label"?: (payload: Cesium.LabelGraphics) => any;
"onUpdate:model"?: (payload: Cesium.ModelGraphics) => any;
"onUpdate:path"?: (payload: Cesium.PathGraphics) => any;
"onUpdate:plane"?: (payload: Cesium.PlaneGraphics) => any;
"onUpdate:point"?: (payload: Cesium.PointGraphics) => any;
"onUpdate:polygon"?: (payload: Cesium.PolygonGraphics) => any;
"onUpdate:polyline"?: (payload: Cesium.PolylineGraphics) => any;
"onUpdate:polylineVolume"?: (payload: Cesium.PolylineVolumeGraphics) => any;
"onUpdate:rectangle"?: (payload: Cesium.RectangleGraphics) => any;
"onUpdate:tileset"?: (payload: any) => any;
"onUpdate:wall"?: (payload: Cesium.WallGraphics) => any;
}, {
show: boolean;
enableMouseEvent: boolean;
}>;
export default _default;
export declare type VcEntityProps = ExtractPropTypes<typeof entityProps>;
export declare type VcEntityEmits = typeof emits;