web-core-tcm 0.0.40 → 0.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ import { default as FTDI } from 'ftdi-d2xx';
2
+ declare interface Window {
3
+ electronAPI: {
4
+ fullscreen: (isFullscreen: boolean) => void;
5
+ FTDI: FTDI;
6
+ // 可以添加其他 Electron API 方法
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ declare namespace NodeJS {
2
+ interface ProcessEnv {
3
+ QUASAR_PUBLIC_FOLDER: string;
4
+ QUASAR_ELECTRON_PRELOAD_FOLDER: string;
5
+ QUASAR_ELECTRON_PRELOAD_EXTENSION: string;
6
+ APP_URL: string;
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-core-tcm",
3
- "version": "0.0.40",
3
+ "version": "0.0.45",
4
4
  "description": "Core",
5
5
  "productName": "Core",
6
6
  "author": "wywywywywywywywywy <qa123456_0714@qq.com>",
@@ -10,7 +10,7 @@
10
10
  "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
11
11
  "test": "echo \"No test specified\" && exit 0",
12
12
  "dev": "quasar dev",
13
- "build": "quasar build",
13
+ "build": "quasar build -m spa",
14
14
  "postinstall": "quasar prepare",
15
15
  "lint:fix": "eslint --fix"
16
16
  },
@@ -20,6 +20,7 @@
20
20
  "@alova/scene-vue": "^1.6.2",
21
21
  "@bufbuild/protobuf": "^2.9.0",
22
22
  "@bufbuild/protoc-gen-es": "^2.9.0",
23
+ "@electron/remote": "^2.1.3",
23
24
  "@quasar/extras": "^1.16.4",
24
25
  "@vueuse/core": "^11.0.3",
25
26
  "alova": "^3.3.4",
@@ -27,6 +28,8 @@
27
28
  "compressorjs": "^1.2.1",
28
29
  "dotenv-cli": "^7.4.2",
29
30
  "echarts": "^5.5.0",
31
+ "electron": "latest",
32
+ "electron-store": "^11.0.2",
30
33
  "ftdi-d2xx": "^1.3.1",
31
34
  "jwt-decode": "^4.0.0",
32
35
  "papaparse": "^5.5.3",
@@ -72,7 +75,7 @@
72
75
  "./api/authorization": "./dist/src/api/authorization/index.d.ts",
73
76
  "./api/check": "./dist/src/api/check/index.d.ts",
74
77
  "./api/config": "./dist/src/api/config/index.d.ts",
75
- "./api/device": "./dist/src/api/device/index.d.ts",
78
+ "./api/device": "./dist/src/api/device/device.d.ts",
76
79
  "./api/doctor": "./dist/src/api/doctor/index.d.ts",
77
80
  "./api/metric": "./dist/src/api/metric/index.d.ts",
78
81
  "./api/oauth": "./dist/src/api/oauth/index.d.ts",