dlzn-ui 1.11.0 → 1.12.0

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.
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  "**/*.css"
54
54
  ],
55
55
  "type": "module",
56
- "version": "1.11.0"
56
+ "version": "1.12.0"
57
57
  }
package/types/env.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ declare const VITE_APP_ID: string
2
+ declare const VITE_APP_NAME: string
3
+ declare const VITE_BASE_URL: string
4
+ declare const VITE_FORCE_PWD_CHANGE: boolean
5
+ declare const VITE_USE_LOGIN_CAPTCHA: boolean
6
+ declare const VITE_API_PREFIX_ARRAY: string[]
@@ -0,0 +1,10 @@
1
+ export {} // 为了让这个声明文件变成模块声明文件,而不是一个全局声明文件
2
+
3
+ declare global {
4
+ type PettyPrimitive = null | number | string | undefined
5
+ interface Window {
6
+ pluginWebUpdateNotice_?: {
7
+ checkUpdate: () => void
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ // https://github.com/vitejs/vite/discussions/9431
2
+ declare module '*.vue' {
3
+ import type { DefineComponent } from 'vue'
4
+
5
+ const component: DefineComponent
6
+
7
+ export default component
8
+ }