@vxe-ui/core 3.4.11 → 3.4.13

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.
Files changed (59) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +29 -29
  3. package/es/src/core.js +1 -1
  4. package/es/src/log.js +1 -1
  5. package/lib/index.umd.js +173 -73
  6. package/lib/index.umd.min.js +1 -1
  7. package/lib/src/core.js +1 -1
  8. package/lib/src/core.min.js +1 -1
  9. package/lib/src/log.js +1 -1
  10. package/lib/src/log.min.js +1 -1
  11. package/package.json +80 -80
  12. package/packages/index.ts +147 -147
  13. package/packages/src/clipboard.ts +56 -56
  14. package/packages/src/commands.ts +56 -56
  15. package/packages/src/config.ts +30 -30
  16. package/packages/src/configStore.ts +8 -8
  17. package/packages/src/core.ts +11 -11
  18. package/packages/src/dataStore.ts +4 -4
  19. package/packages/src/event.ts +160 -160
  20. package/packages/src/formats.ts +56 -56
  21. package/packages/src/i18n.ts +66 -66
  22. package/packages/src/i18nStore.ts +16 -16
  23. package/packages/src/icon.ts +32 -32
  24. package/packages/src/iconStore.ts +3 -3
  25. package/packages/src/interceptor.ts +64 -64
  26. package/packages/src/log.ts +19 -19
  27. package/packages/src/menus.ts +56 -56
  28. package/packages/src/mixins.ts +39 -39
  29. package/packages/src/permission.ts +61 -61
  30. package/packages/src/renderer.ts +48 -48
  31. package/packages/src/resize.ts +89 -89
  32. package/packages/src/store.ts +47 -47
  33. package/packages/src/theme.ts +20 -20
  34. package/packages/src/themeStore.ts +7 -7
  35. package/packages/src/validators.ts +7 -7
  36. package/packages/src/vm.ts +10 -10
  37. package/types/core/clipboard.d.ts +22 -22
  38. package/types/core/commands.d.ts +19 -19
  39. package/types/core/components.d.ts +7 -7
  40. package/types/core/formats.d.ts +19 -19
  41. package/types/core/global-config.d.ts +70 -70
  42. package/types/core/global-data.d.ts +7 -7
  43. package/types/core/global-event.d.ts +47 -47
  44. package/types/core/global-icon.d.ts +10 -10
  45. package/types/core/global-lang.d.ts +27 -27
  46. package/types/core/global-resize.d.ts +3 -3
  47. package/types/core/global-theme.d.ts +1 -1
  48. package/types/core/index.d.ts +286 -286
  49. package/types/core/interceptor.d.ts +22 -22
  50. package/types/core/log.d.ts +8 -8
  51. package/types/core/menus.d.ts +19 -19
  52. package/types/core/mixins.d.ts +16 -16
  53. package/types/core/permission.d.ts +10 -10
  54. package/types/core/renderer.d.ts +14 -14
  55. package/types/core/validators.d.ts +19 -19
  56. package/types/index.d.ts +13 -13
  57. package/types/tool/common.d.ts +143 -143
  58. package/types/tool/index.d.ts +2 -2
  59. package/types/tool/util.d.ts +4 -4
@@ -1,89 +1,89 @@
1
- import XEUtils from 'xe-utils'
2
- import { globalConfigStore } from './configStore'
3
-
4
- import { VxeGlobalResize } from '../../types'
5
-
6
- /**
7
- * 监听 resize 事件
8
- * 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
9
- */
10
- let resizeTimeout: any
11
- /* eslint-disable no-use-before-define */
12
- const eventStore: XEResizeObserver[] = []
13
- const defaultInterval = 500
14
-
15
- function eventHandle () {
16
- if (eventStore.length) {
17
- eventStore.forEach((item) => {
18
- item.tarList.forEach((observer) => {
19
- const { target, width, heighe } = observer
20
- const clientWidth = target.clientWidth
21
- const clientHeight = target.clientHeight
22
- const rWidth = clientWidth && width !== clientWidth
23
- const rHeight = clientHeight && heighe !== clientHeight
24
- if (rWidth || rHeight) {
25
- observer.width = clientWidth
26
- observer.heighe = clientHeight
27
- setTimeout(item.callback)
28
- }
29
- })
30
- })
31
- /* eslint-disable @typescript-eslint/no-use-before-define */
32
- eventListener()
33
- }
34
- }
35
-
36
- function eventListener () {
37
- clearTimeout(resizeTimeout)
38
- resizeTimeout = setTimeout(eventHandle, globalConfigStore.resizeInterval || defaultInterval)
39
- }
40
-
41
- class XEResizeObserver {
42
- tarList: {
43
- target: Element;
44
- width: number;
45
- heighe: number;
46
- }[] = []
47
-
48
- callback: (...args: any[]) => void
49
-
50
- constructor (callback: (...args: any[]) => void) {
51
- this.callback = callback
52
- }
53
-
54
- observe (target: Element): void {
55
- if (target) {
56
- const { tarList } = this
57
- if (!tarList.some(observer => observer.target === target)) {
58
- tarList.push({
59
- target,
60
- width: target.clientWidth,
61
- heighe: target.clientHeight
62
- })
63
- }
64
- if (!eventStore.length) {
65
- eventListener()
66
- }
67
- if (!eventStore.some((item) => item === this)) {
68
- eventStore.push(this)
69
- }
70
- }
71
- }
72
-
73
- unobserve (target: Element): void {
74
- XEUtils.remove(eventStore, item => item.tarList.some(observer => observer.target === target))
75
- }
76
-
77
- disconnect (): void {
78
- XEUtils.remove(eventStore, item => item === this)
79
- }
80
- }
81
-
82
- export const globalResize: VxeGlobalResize = {
83
- create (callback: (...args: any[]) => void) {
84
- if (window.ResizeObserver) {
85
- return new window.ResizeObserver(callback)
86
- }
87
- return new XEResizeObserver(callback)
88
- }
89
- }
1
+ import XEUtils from 'xe-utils'
2
+ import { globalConfigStore } from './configStore'
3
+
4
+ import { VxeGlobalResize } from '../../types'
5
+
6
+ /**
7
+ * 监听 resize 事件
8
+ * 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
9
+ */
10
+ let resizeTimeout: any
11
+ /* eslint-disable no-use-before-define */
12
+ const eventStore: XEResizeObserver[] = []
13
+ const defaultInterval = 500
14
+
15
+ function eventHandle () {
16
+ if (eventStore.length) {
17
+ eventStore.forEach((item) => {
18
+ item.tarList.forEach((observer) => {
19
+ const { target, width, heighe } = observer
20
+ const clientWidth = target.clientWidth
21
+ const clientHeight = target.clientHeight
22
+ const rWidth = clientWidth && width !== clientWidth
23
+ const rHeight = clientHeight && heighe !== clientHeight
24
+ if (rWidth || rHeight) {
25
+ observer.width = clientWidth
26
+ observer.heighe = clientHeight
27
+ setTimeout(item.callback)
28
+ }
29
+ })
30
+ })
31
+ /* eslint-disable @typescript-eslint/no-use-before-define */
32
+ eventListener()
33
+ }
34
+ }
35
+
36
+ function eventListener () {
37
+ clearTimeout(resizeTimeout)
38
+ resizeTimeout = setTimeout(eventHandle, globalConfigStore.resizeInterval || defaultInterval)
39
+ }
40
+
41
+ class XEResizeObserver {
42
+ tarList: {
43
+ target: Element;
44
+ width: number;
45
+ heighe: number;
46
+ }[] = []
47
+
48
+ callback: (...args: any[]) => void
49
+
50
+ constructor (callback: (...args: any[]) => void) {
51
+ this.callback = callback
52
+ }
53
+
54
+ observe (target: Element): void {
55
+ if (target) {
56
+ const { tarList } = this
57
+ if (!tarList.some(observer => observer.target === target)) {
58
+ tarList.push({
59
+ target,
60
+ width: target.clientWidth,
61
+ heighe: target.clientHeight
62
+ })
63
+ }
64
+ if (!eventStore.length) {
65
+ eventListener()
66
+ }
67
+ if (!eventStore.some((item) => item === this)) {
68
+ eventStore.push(this)
69
+ }
70
+ }
71
+ }
72
+
73
+ unobserve (target: Element): void {
74
+ XEUtils.remove(eventStore, item => item.tarList.some(observer => observer.target === target))
75
+ }
76
+
77
+ disconnect (): void {
78
+ XEUtils.remove(eventStore, item => item === this)
79
+ }
80
+ }
81
+
82
+ export const globalResize: VxeGlobalResize = {
83
+ create (callback: (...args: any[]) => void) {
84
+ if (window.ResizeObserver) {
85
+ return new window.ResizeObserver(callback)
86
+ }
87
+ return new XEResizeObserver(callback)
88
+ }
89
+ }
@@ -1,47 +1,47 @@
1
- import { log } from './log'
2
- import XEUtils from 'xe-utils'
3
-
4
- /**
5
- * 创建数据仓库
6
- */
7
- export class Store {
8
- private store: any = {}
9
-
10
- mixin (options: any): Store {
11
- XEUtils.each(options, (item, key) => {
12
- this.add(key, item)
13
- })
14
- return this
15
- }
16
-
17
- has (name: string): boolean {
18
- return !!this.get(name)
19
- }
20
-
21
- get (name: string): any {
22
- return this.store[name]
23
- }
24
-
25
- add (name: string, options: any): Store {
26
- const conf = this.store[name]
27
- // 检测是否覆盖
28
- const confKeys = XEUtils.keys(conf)
29
- XEUtils.each(options, (item, key) => {
30
- if (confKeys.includes(key)) {
31
- log.warn('vxe.error.coverProp', [name, key])
32
- }
33
- })
34
- this.store[name] = conf ? XEUtils.merge(conf, options) : options
35
- return this
36
- }
37
-
38
- delete (name: string): void {
39
- delete this.store[name]
40
- }
41
-
42
- forEach (callback: any): void {
43
- XEUtils.objectEach(this.store, callback)
44
- }
45
- }
46
-
47
- export default Store
1
+ import { log } from './log'
2
+ import XEUtils from 'xe-utils'
3
+
4
+ /**
5
+ * 创建数据仓库
6
+ */
7
+ export class Store {
8
+ private store: any = {}
9
+
10
+ mixin (options: any): Store {
11
+ XEUtils.each(options, (item, key) => {
12
+ this.add(key, item)
13
+ })
14
+ return this
15
+ }
16
+
17
+ has (name: string): boolean {
18
+ return !!this.get(name)
19
+ }
20
+
21
+ get (name: string): any {
22
+ return this.store[name]
23
+ }
24
+
25
+ add (name: string, options: any): Store {
26
+ const conf = this.store[name]
27
+ // 检测是否覆盖
28
+ const confKeys = XEUtils.keys(conf)
29
+ XEUtils.each(options, (item, key) => {
30
+ if (confKeys.includes(key)) {
31
+ log.warn('vxe.error.coverProp', [name, key])
32
+ }
33
+ })
34
+ this.store[name] = conf ? XEUtils.merge(conf, options) : options
35
+ return this
36
+ }
37
+
38
+ delete (name: string): void {
39
+ delete this.store[name]
40
+ }
41
+
42
+ forEach (callback: any): void {
43
+ XEUtils.objectEach(this.store, callback)
44
+ }
45
+ }
46
+
47
+ export default Store
@@ -1,20 +1,20 @@
1
- import { VxeCore } from './core'
2
- import { themeConfigStore } from './themeStore'
3
-
4
- import { VxeGlobalThemeName } from '../../types'
5
-
6
- export function setTheme (name?: VxeGlobalThemeName) {
7
- const theme = !name || name === 'default' ? 'light' : name
8
- themeConfigStore.theme = theme
9
- if (typeof document !== 'undefined') {
10
- const documentElement = document.documentElement
11
- if (documentElement) {
12
- documentElement.setAttribute('data-vxe-ui-theme', theme)
13
- }
14
- }
15
- return VxeCore
16
- }
17
-
18
- export function getTheme () {
19
- return themeConfigStore.theme
20
- }
1
+ import { VxeCore } from './core'
2
+ import { themeConfigStore } from './themeStore'
3
+
4
+ import { VxeGlobalThemeName } from '../../types'
5
+
6
+ export function setTheme (name?: VxeGlobalThemeName) {
7
+ const theme = !name || name === 'default' ? 'light' : name
8
+ themeConfigStore.theme = theme
9
+ if (typeof document !== 'undefined') {
10
+ const documentElement = document.documentElement
11
+ if (documentElement) {
12
+ documentElement.setAttribute('data-vxe-ui-theme', theme)
13
+ }
14
+ }
15
+ return VxeCore
16
+ }
17
+
18
+ export function getTheme () {
19
+ return themeConfigStore.theme
20
+ }
@@ -1,7 +1,7 @@
1
- import { VxeGlobalThemeName } from '../../types'
2
-
3
- export const themeConfigStore: {
4
- theme: VxeGlobalThemeName
5
- } = {
6
- theme: ''
7
- }
1
+ import { VxeGlobalThemeName } from '../../types'
2
+
3
+ export const themeConfigStore: {
4
+ theme: VxeGlobalThemeName
5
+ } = {
6
+ theme: ''
7
+ }
@@ -1,7 +1,7 @@
1
- import VXEStore from './store'
2
-
3
- import { VxeGlobalValidators } from '../../types'
4
-
5
- export const validators = new VXEStore() as VxeGlobalValidators
6
-
7
- Object.assign(validators, { _name: 'Validators' })
1
+ import VXEStore from './store'
2
+
3
+ import { VxeGlobalValidators } from '../../types'
4
+
5
+ export const validators = new VXEStore() as VxeGlobalValidators
6
+
7
+ Object.assign(validators, { _name: 'Validators' })
@@ -1,10 +1,10 @@
1
- import XEUtils from 'xe-utils'
2
-
3
- import { VxeComponentSlotType } from '../../types'
4
-
5
- export function getSlotVNs (vns: VxeComponentSlotType | VxeComponentSlotType[] | undefined) {
6
- if (XEUtils.isArray(vns)) {
7
- return vns
8
- }
9
- return vns ? [vns] : []
10
- }
1
+ import XEUtils from 'xe-utils'
2
+
3
+ import { VxeComponentSlotType } from '../../types'
4
+
5
+ export function getSlotVNs (vns: VxeComponentSlotType | VxeComponentSlotType[] | undefined) {
6
+ if (XEUtils.isArray(vns)) {
7
+ return vns
8
+ }
9
+ return vns ? [vns] : []
10
+ }
@@ -1,22 +1,22 @@
1
- export interface VxeGlobalClipboardCopyObj {
2
- text: string
3
- html: string
4
- }
5
-
6
- /**
7
- * 全局剪贴板
8
- */
9
- export interface VxeGlobalClipboard {
10
- getStore(): VxeGlobalClipboardCopyObj
11
- setStore(data: VxeGlobalClipboardCopyObj): void
12
- /**
13
- * 将字符串内容复制到剪贴板
14
- * @param content
15
- */
16
- copy(content: string | number | VxeGlobalClipboardCopyObj): boolean
17
- /**
18
- * 获取已已复制到剪贴板的内容
19
- * @param content
20
- */
21
- getText(): string
22
- }
1
+ export interface VxeGlobalClipboardCopyObj {
2
+ text: string
3
+ html: string
4
+ }
5
+
6
+ /**
7
+ * 全局剪贴板
8
+ */
9
+ export interface VxeGlobalClipboard {
10
+ getStore(): VxeGlobalClipboardCopyObj
11
+ setStore(data: VxeGlobalClipboardCopyObj): void
12
+ /**
13
+ * 将字符串内容复制到剪贴板
14
+ * @param content
15
+ */
16
+ copy(content: string | number | VxeGlobalClipboardCopyObj): boolean
17
+ /**
18
+ * 获取已已复制到剪贴板的内容
19
+ * @param content
20
+ */
21
+ getText(): string
22
+ }
@@ -1,19 +1,19 @@
1
- /* eslint-disable no-use-before-define */
2
-
3
- export namespace VxeGlobalCommandsHandles {
4
- export interface CommandsOptions {}
5
- }
6
-
7
- /**
8
- * 全局格式化
9
- */
10
- export interface VxeGlobalCommands {
11
- mixin(opts: {
12
- [name: string]: VxeGlobalCommandsHandles.CommandsOptions | ((params: any, ...args: any[]) => void)
13
- }): VxeGlobalCommands
14
- has(name: string): boolean
15
- get(name: string): VxeGlobalCommandsHandles.CommandsOptions
16
- add(name: string, options: VxeGlobalCommandsHandles.CommandsOptions | ((params: any, ...args: any[]) => void)): VxeGlobalCommands
17
- delete(name: string): void
18
- forEach(callback: (options: VxeGlobalCommandsHandles.CommandsOptions, name: string) => void): void
19
- }
1
+ /* eslint-disable no-use-before-define */
2
+
3
+ export namespace VxeGlobalCommandsHandles {
4
+ export interface CommandsOptions {}
5
+ }
6
+
7
+ /**
8
+ * 全局格式化
9
+ */
10
+ export interface VxeGlobalCommands {
11
+ mixin(opts: {
12
+ [name: string]: VxeGlobalCommandsHandles.CommandsOptions | ((params: any, ...args: any[]) => void)
13
+ }): VxeGlobalCommands
14
+ has(name: string): boolean
15
+ get(name: string): VxeGlobalCommandsHandles.CommandsOptions
16
+ add(name: string, options: VxeGlobalCommandsHandles.CommandsOptions | ((params: any, ...args: any[]) => void)): VxeGlobalCommands
17
+ delete(name: string): void
18
+ forEach(callback: (options: VxeGlobalCommandsHandles.CommandsOptions, name: string) => void): void
19
+ }
@@ -1,7 +1,7 @@
1
- import type { Component } from 'vue'
2
-
3
- export interface VxeGlobalComponents {}
4
-
5
- export type VxeGlobalComponentMethod = (comp: any) => void
6
- export type VxeGlobalGetComponentMethod = <K extends keyof VxeGlobalComponents>(name: K) => Component
7
- export type VxeGlobalHasComponentMethod = (name: keyof VxeGlobalComponents) => boolean
1
+ import type { Component } from 'vue'
2
+
3
+ export interface VxeGlobalComponents {}
4
+
5
+ export type VxeGlobalComponentMethod = (comp: any) => void
6
+ export type VxeGlobalGetComponentMethod = <K extends keyof VxeGlobalComponents>(name: K) => Component
7
+ export type VxeGlobalHasComponentMethod = (name: keyof VxeGlobalComponents) => boolean
@@ -1,19 +1,19 @@
1
- /* eslint-disable no-use-before-define */
2
-
3
- export namespace VxeGlobalFormatsHandles {
4
- export interface FormatsOptions {}
5
- }
6
-
7
- /**
8
- * 全局格式化
9
- */
10
- export interface VxeGlobalFormats {
11
- mixin(opts: {
12
- [name: string]: VxeGlobalFormatsHandles.FormatsOptions | ((params: any, ...args: any[]) => string | number)
13
- }): VxeGlobalFormats
14
- has(name: string | null | undefined): boolean
15
- get(name: string | null | undefined): VxeGlobalFormatsHandles.FormatsOptions
16
- add(name: string, options: VxeGlobalFormatsHandles.FormatsOptions | ((params: any, ...args: any[]) => string | number)): VxeGlobalFormats
17
- delete(name: string | null | undefined): void
18
- forEach(callback: (options: VxeGlobalFormatsHandles.FormatsOptions, name: string) => void): void
19
- }
1
+ /* eslint-disable no-use-before-define */
2
+
3
+ export namespace VxeGlobalFormatsHandles {
4
+ export interface FormatsOptions {}
5
+ }
6
+
7
+ /**
8
+ * 全局格式化
9
+ */
10
+ export interface VxeGlobalFormats {
11
+ mixin(opts: {
12
+ [name: string]: VxeGlobalFormatsHandles.FormatsOptions | ((params: any, ...args: any[]) => string | number)
13
+ }): VxeGlobalFormats
14
+ has(name: string | null | undefined): boolean
15
+ get(name: string | null | undefined): VxeGlobalFormatsHandles.FormatsOptions
16
+ add(name: string, options: VxeGlobalFormatsHandles.FormatsOptions | ((params: any, ...args: any[]) => string | number)): VxeGlobalFormats
17
+ delete(name: string | null | undefined): void
18
+ forEach(callback: (options: VxeGlobalFormatsHandles.FormatsOptions, name: string) => void): void
19
+ }
@@ -1,70 +1,70 @@
1
- import { VxeComponentSizeType } from '../tool'
2
-
3
- import { VxeGlobalThemeName, VxeComponentPermissionCodeType, VxeComponentPermissionResult } from '../../types'
4
-
5
- /**
6
- * 全局参数对象
7
- */
8
- export interface VxeGlobalConfig {
9
- /**
10
- * 企业版 - 设置授权 ID
11
- */
12
- authId?: string
13
- /**
14
- * 企业版 - 是否在控制台打印授权信息
15
- */
16
- showAuthLog?: boolean
17
- /**
18
- * 企业版 - 授权状态监听
19
- */
20
- onAuth?(params: {
21
- status: boolean
22
- code: number
23
- msg: string
24
- }): void
25
-
26
- /**
27
- * 权限码全局判断方法,返回 { visible, disabled }
28
- */
29
- permissionMethod?:(params: {
30
- code: VxeComponentPermissionCodeType
31
- }) => VxeComponentPermissionResult
32
- /**
33
- * 全局默认 z-index
34
- */
35
- zIndex?: number
36
- /**
37
- * 全局组件尺寸
38
- */
39
- size?: VxeComponentSizeType
40
- /**
41
- * 支持对组件中特定的字段进行翻译
42
- * @param key
43
- * @param args
44
- * @returns
45
- */
46
- translate?:(key: string, args?: any) => string
47
- /**
48
- * 自定义方式对组件内置的语言进行翻译
49
- * @param key
50
- * @param args
51
- * @returns string
52
- */
53
- i18n?:(key: string, args?: any) => string | number
54
-
55
- /**
56
- * 已废弃,请使用 VxeUI.tableVersion
57
- * @deprecated
58
- */
59
- version?: string | number
60
- /**
61
- * 已废弃,请使用 VxeUI.setConfig({ table: { resizeInterval: 300 } })
62
- * @deprecated
63
- */
64
- resizeInterval?: number
65
- /**
66
- * 已废弃,请使用 VxeUI.setTheme('dark')
67
- * @deprecated
68
- */
69
- theme?: VxeGlobalThemeName
70
- }
1
+ import { VxeComponentSizeType } from '../tool'
2
+
3
+ import { VxeGlobalThemeName, VxeComponentPermissionCodeType, VxeComponentPermissionResult } from '../../types'
4
+
5
+ /**
6
+ * 全局参数对象
7
+ */
8
+ export interface VxeGlobalConfig {
9
+ /**
10
+ * 企业版 - 设置授权 ID
11
+ */
12
+ authId?: string
13
+ /**
14
+ * 企业版 - 是否在控制台打印授权信息
15
+ */
16
+ showAuthLog?: boolean
17
+ /**
18
+ * 企业版 - 授权状态监听
19
+ */
20
+ onAuth?(params: {
21
+ status: boolean
22
+ code: number
23
+ msg: string
24
+ }): void
25
+
26
+ /**
27
+ * 权限码全局判断方法,返回 { visible, disabled }
28
+ */
29
+ permissionMethod?:(params: {
30
+ code: VxeComponentPermissionCodeType
31
+ }) => VxeComponentPermissionResult
32
+ /**
33
+ * 全局默认 z-index
34
+ */
35
+ zIndex?: number
36
+ /**
37
+ * 全局组件尺寸
38
+ */
39
+ size?: VxeComponentSizeType
40
+ /**
41
+ * 支持对组件中特定的字段进行翻译
42
+ * @param key
43
+ * @param args
44
+ * @returns
45
+ */
46
+ translate?:(key: string, args?: any) => string
47
+ /**
48
+ * 自定义方式对组件内置的语言进行翻译
49
+ * @param key
50
+ * @param args
51
+ * @returns string
52
+ */
53
+ i18n?:(key: string, args?: any) => string | number
54
+
55
+ /**
56
+ * 已废弃,请使用 VxeUI.tableVersion
57
+ * @deprecated
58
+ */
59
+ version?: string | number
60
+ /**
61
+ * 已废弃,请使用 VxeUI.setConfig({ table: { resizeInterval: 300 } })
62
+ * @deprecated
63
+ */
64
+ resizeInterval?: number
65
+ /**
66
+ * 已废弃,请使用 VxeUI.setTheme('dark')
67
+ * @deprecated
68
+ */
69
+ theme?: VxeGlobalThemeName
70
+ }
@@ -1,7 +1,7 @@
1
- export interface VxeGlobalData {
2
- [key: string]: any
3
- clipboard?: {
4
- text: string
5
- html: string
6
- }
7
- }
1
+ export interface VxeGlobalData {
2
+ [key: string]: any
3
+ clipboard?: {
4
+ text: string
5
+ html: string
6
+ }
7
+ }