feat: 大屏

This commit is contained in:
ygx
2025-12-20 17:39:32 +08:00
commit 593e7d90e5
1005 changed files with 93645 additions and 0 deletions

16
types/global.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
interface Window {
$loading: any
$message: any
$dialog: any
// 语言
$t: any
$vue: any
// 键盘按键记录
$KeyboardActive?: { [T: string]: boolean }
onKeySpacePressHold?: Function
// 编辑 JSON 的存储对象
opener: any
}
declare type Recordable<T = any> = Record<string, T>

9
types/shims-vue.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
declare module '*.vue' {
import { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
declare module 'lodash/*'
declare module 'dom-helpers'
declare module 'vue3-sketch-ruler';

10
types/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
// 端口
VITE_DEV_PORT: string;
// 开发地址
VITE_DEV_PATH: string
// 生产地址
VITE_PRO_PATH: string
}