@technology-all/technonlogy-scene
Version:
场景管理
112 lines (111 loc) • 3.42 kB
TypeScript
import Vue from 'vue';
import { IScenc } from '@technology-all/technonlogy-scene-api/src/db/DbSchema';
import { IVenue } from '@technology-all/conference-venue-manager-api/src/db/DbSchema';
import { IDevices, ICommond } from '@technology-all//device-management-api/src/db/DbSchema';
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, never, never, any>>, {
header: ({
title: string;
slot: string;
align: string;
width: number;
key?: undefined;
} | {
title: string;
key: string;
align: string;
slot?: undefined;
width?: undefined;
} | {
title: string;
key: string;
align: string;
slot: string;
width?: undefined;
} | {
title: string;
key: string;
align: string;
slot: string;
width: number;
})[];
commondHeader: ({
title: string;
key: string;
align: string;
slot?: undefined;
} | {
title: string;
key: string;
align: string;
slot: string;
})[];
operations: string[];
scencArr: IScenc[];
showModal: boolean;
scenc: IScenc;
deviceArr: IDevices[];
sceneCount: number;
pageSize: number;
pageNum: number;
venueArr: IVenue[];
commondArr: ICommond[];
selectDevice: IDevices[];
allDevices: IDevices[];
isSelectVenue: boolean;
showBeforeMeetingModal: boolean;
showAfterMeetingModal: boolean;
showDeviceScencModal: boolean;
selectCommondArr: {
deviceId: string;
deviceName: string;
commondName: string;
commond: string;
index: number;
nextExecTime?: number | undefined;
}[];
selectDeviceCommondArr: ICommond[];
showCommond: boolean;
showExecute: boolean;
editCommondSelectDevice: string;
editCommondSelectCommond: string;
editCommondSelectIndex: number;
editCommondSelectTime: number;
deviceScence: {
operation: string;
deviceName: string;
};
}, {
addCommond(): void;
editSelectDevice(row: any): Promise<void>;
delCommond(index: number): void;
showCommondName(commond: {
deviceId: string;
commondName: string;
commond: string;
index: number;
}[]): {
device: string;
commond: string;
}[];
showVenueName(id: string): string | undefined;
confirmExecute(): void;
executeCommond(row: IScenc): Promise<void>;
sortExecCommond(venueName: string, sortCommond: any[]): void;
editCommond(row: IScenc): Promise<void>;
confirmCommond(): Promise<void>;
cancelCommond(): void;
showDeviceCommond(device: IDevices): ICommond[];
selectVenue(row: string): Promise<void>;
changePage(num: number): void;
confiremDelScenc(row: IScenc): void;
delScenc(id: string, name: string): Promise<void>;
showDevicesName(devices: string[]): string;
updateScenc(index: number): Promise<void>;
cancelModal(): void;
confirmModal(): Promise<void>;
initValue(): void;
addScenc(): void;
initData(): Promise<void>;
selectDvc(dvc: IDevices): void;
}, unknown, Record<never, any>, {}>;
export default _default;