@tzhij/iot-map-fusion-360
Version:
所有开源WebGL和WebGIS仓库的整合
162 lines (161 loc) • 7.41 kB
TypeScript
/// <reference types="@ckpack/vue-color" />
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
namespace type {
const type_1: StringConstructor;
export { type_1 as type };
function _default(): string;
export { _default as default };
}
}
const emits: string[];
function setup(__props: any, { expose: __expose, emit }: {
expose: any;
emit: any;
}): {
format: typeof import("ol/format");
Feature: import("ol/Feature").default<import("ol/geom/Geometry").default>;
Geom: typeof import("ol/geom");
props: any;
activatedList: import("vue").Ref<boolean>;
activatedFold: import("vue").Ref<boolean>;
FnUpdateActivatedFold: () => void;
listFloor: import("vue").Ref<never[]>;
listDevice: import("vue").Ref<never[]>;
listAllDevice: import("vue").Ref<never[]>;
list_title: import("vue").Ref<string>;
configIcon: import("vue").Ref<{}>;
configMenuItems: import("vue").Ref<({
text: string;
icon: string;
callback: (val: any) => void;
classname?: undefined;
} | {
text: string;
icon: string;
classname: string;
callback: (val: any) => void;
})[]>;
configTopBar: import("vue").Ref<{
name: string;
icon: string;
value: string;
}[]>;
configBottomBar: import("vue").Ref<{
name: string;
icon: string;
}[]>;
configBottomBar2: import("vue").Ref<{
name: string;
icon: string;
}[]>;
activatedMode: import("vue").ComputedRef<any>;
activatedVisible: import("vue").Ref<boolean>;
activatedBottomBar: import("vue").Ref<string>;
activatedFloor: import("vue").Ref<any>;
refFloor: import("vue").Ref<null>;
_waring: import("vue").Ref<number>;
open: (params?: {
listFloor: never[];
listDevice: never[];
mode: string;
defaultFloor: null;
waring: null;
listTitle: string;
}) => Promise<void>;
zoom: import("vue").Ref<number>;
size: import("vue").Ref<number[]>;
center: import("vue").Ref<number[]>;
extent: import("vue").Ref<number[]>;
projection: {
code: string;
units: string;
extent: number[];
};
imgUrl: import("vue").Ref<string>;
refMap: import("vue").Ref<null>;
refView: import("vue").Ref<null>;
refVectorSource: import("vue").Ref<null>;
activatedPositionOverlay: import("vue").Ref<never[]>;
activatedPropertiesOverlay: import("vue").Ref<{}>;
activatedArrayFeatures: import("vue").Ref<never[]>;
activatedFeature: import("vue").Ref<any>;
initMap: (defaultFloor: any) => Promise<void>;
loadingSource: (data: any) => void;
FnUpdateFloor: (item: any) => void;
FnUpdateDrawFeature: (event: any) => void;
FnOverrideStyle: (feature: any, style: any) => any;
deleteFeature: (feature: any) => void;
updateFeatureStyle: (feature?: any, isSelected?: boolean) => void;
handlerChecked: (key: any) => void;
activatedSketchColor: import("vue").Ref<null>;
configOptionsDeviceType: import("vue").Ref<never[]>;
configOptionsDeviceModel: import("vue").Ref<never[]>;
configOptionsManufacturer: import("vue").Ref<never[]>;
queryDeviceList: import("vue").Ref<{
activatedDeviceType: string;
activatedManufacturer: string;
activatedDeviceModel: string;
}>;
activatedDragItem: import("vue").Ref<any>;
dragStart: (item: any) => void;
dragEnd: (evt: any) => void;
listUnitDevice: import("vue").ComputedRef<any[]>;
emit: any;
FnCloseMain: () => void;
FnSaveMain: () => void;
ref: typeof ref;
reactive: typeof reactive;
inject: typeof inject;
onMounted: (hook: () => any, target?: import("vue").ComponentInternalInstance | null | undefined) => false | Function | undefined;
onUnmounted: (hook: () => any, target?: import("vue").ComponentInternalInstance | null | undefined) => false | Function | undefined;
watch: typeof watch;
nextTick: typeof nextTick;
computed: typeof import("@vue/reactivity").computed;
readonly Icon: typeof Icon;
readonly Style: typeof Style;
readonly Select: typeof Select;
readonly Fill: typeof Fill;
readonly Stroke: typeof Stroke;
readonly Text: typeof Text;
readonly Sketch: import("vue").DefineComponent<import("@ckpack/vue-color").Props & {
presetColors?: import(".pnpm/@ctrl+tinycolor@3.6.1/node_modules/@ctrl/tinycolor").ColorInput[] | undefined;
disableAlpha?: boolean | undefined;
disableFields?: boolean | undefined;
}, import("@ckpack/vue-color").Context, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@ckpack/vue-color").Props & {
presetColors?: import(".pnpm/@ctrl+tinycolor@3.6.1/node_modules/@ctrl/tinycolor").ColorInput[] | undefined;
disableAlpha?: boolean | undefined;
disableFields?: boolean | undefined;
}>, {}, {}>;
readonly useEventListener: typeof useEventListener;
readonly svgOverlay: string;
FloorMark: import("vue").DefineComponent<{}, {
emit: (event: "changeFloor", ...args: any[]) => void;
floorData: import("vue").Ref<never[]>;
clickFloor: (index: any, item: any) => void;
init: (listFloor: any, defaultFloor: any) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeFloor"[], "changeFloor", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
onChangeFloor?: ((...args: any[]) => any) | undefined;
}, {}, {}>;
readonly saveIcon: string;
readonly deleteIcon: string;
readonly editIcon: string;
readonly colorIcon: string;
readonly defaultImage: string;
readonly waringIcon: string;
readonly defaultIcon: string;
};
}
import { ref } from ".pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core";
import { reactive } from ".pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core";
import { inject } from ".pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core";
import { watch } from ".pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core";
import { nextTick } from ".pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core";
import Icon from "ol/style/Icon";
import Style from "ol/style/Style";
import Select from "ol/interaction/Select";
import { Fill } from "ol/style";
import { Stroke } from "ol/style";
import { Text } from "ol/style";
import { useEventListener } from "@vueuse/core";