@vxe-ui/core 4.2.12 → 4.2.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.
- package/README.en.md +12 -0
- package/README.md +2 -1
- package/README.zh-TW.md +12 -0
- package/package.json +1 -1
- package/types/core/global-config.d.ts +10 -2
package/README.en.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English
|
|
4
4
|
|
|
5
|
+
[](https://gitee.com/x-extends/vxe-core/stargazers)
|
|
6
|
+
[](https://gitcode.com/x-extends/vxe-core/stargazers)
|
|
7
|
+
[](https://www.npmjs.com/package/@vxe-ui/core)
|
|
8
|
+
[](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml)
|
|
9
|
+
[](https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js)
|
|
10
|
+
[](https://npm-stat.com/charts.html?package=@vxe-ui/core)
|
|
11
|
+
[](https://github.com/x-extends/vxe-core/issues)
|
|
12
|
+
[](https://github.com/x-extends/vxe-core/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
+
[](https://github.com/x-extends/vxe-core/pulls)
|
|
14
|
+
[](https://github.com/x-extends/vxe-core/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
+
[](LICENSE)
|
|
16
|
+
|
|
5
17
|
Vxe UI v4.x core library.
|
|
6
18
|
|
|
7
19
|
## Install
|
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
简体中文 | [繁體中文](README.zh-TW.md) | [English](README.en.md)
|
|
4
4
|
|
|
5
|
-
[](https://gitee.com/x-extends/vxe-core/stargazers)
|
|
6
|
+
[](https://gitcode.com/x-extends/vxe-core/stargazers)
|
|
6
7
|
[](https://www.npmjs.com/package/@vxe-ui/core)
|
|
7
8
|
[](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml)
|
|
8
9
|
[](https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js)
|
package/README.zh-TW.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | 繁體中文 | [English](README.en.md)
|
|
4
4
|
|
|
5
|
+
[](https://gitee.com/x-extends/vxe-core/stargazers)
|
|
6
|
+
[](https://gitcode.com/x-extends/vxe-core/stargazers)
|
|
7
|
+
[](https://www.npmjs.com/package/@vxe-ui/core)
|
|
8
|
+
[](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml)
|
|
9
|
+
[](https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js)
|
|
10
|
+
[](https://npm-stat.com/charts.html?package=@vxe-ui/core)
|
|
11
|
+
[](https://github.com/x-extends/vxe-core/issues)
|
|
12
|
+
[](https://github.com/x-extends/vxe-core/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
+
[](https://github.com/x-extends/vxe-core/pulls)
|
|
14
|
+
[](https://github.com/x-extends/vxe-core/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
+
[](LICENSE)
|
|
16
|
+
|
|
5
17
|
Vxe UI v4.x core library.
|
|
6
18
|
|
|
7
19
|
## 使用
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ export interface VxeGlobalConfig {
|
|
|
24
24
|
}): void
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* 权限码全局判断方法,返回 { visible, disabled }
|
|
28
28
|
*/
|
|
29
29
|
permissionMethod?:(params: {
|
|
30
30
|
code: VxeComponentPermissionCodeType
|
|
@@ -37,7 +37,15 @@ export interface VxeGlobalConfig {
|
|
|
37
37
|
* 全局组件尺寸
|
|
38
38
|
*/
|
|
39
39
|
size?: VxeComponentSizeType
|
|
40
|
+
/**
|
|
41
|
+
* 已废弃,请使用 VxeUI.tableVersion
|
|
42
|
+
* @deprecated
|
|
43
|
+
*/
|
|
40
44
|
version?: string | number
|
|
45
|
+
/**
|
|
46
|
+
* 已废弃,请使用 VxeUI.setConfig({ table: { resizeInterval: 300 } })
|
|
47
|
+
* @deprecated
|
|
48
|
+
*/
|
|
41
49
|
resizeInterval?: number
|
|
42
50
|
/**
|
|
43
51
|
* 支持对组件中特定的字段进行翻译
|
|
@@ -55,7 +63,7 @@ export interface VxeGlobalConfig {
|
|
|
55
63
|
i18n?:(key: string, args?: any) => string | number
|
|
56
64
|
|
|
57
65
|
/**
|
|
58
|
-
* 已废弃,请使用 setTheme('dark')
|
|
66
|
+
* 已废弃,请使用 VxeUI.setTheme('dark')
|
|
59
67
|
* @deprecated
|
|
60
68
|
*/
|
|
61
69
|
theme?: VxeGlobalThemeName
|