@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 CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  [简体中文](README.md) | [繁體中文](README.zh-TW.md) | English
4
4
 
5
+ [![gitee star](https://gitee.com/x-extends/vxe-core/badge/star.svg)](https://gitee.com/x-extends/vxe-core/stargazers)
6
+ [![gitcode star](https://gitcode.com/x-extends/vxe-core/star/badge.svg)](https://gitcode.com/x-extends/vxe-core/stargazers)
7
+ [![npm version](https://img.shields.io/npm/v/@vxe-ui/core.svg?style=flat-square)](https://www.npmjs.com/package/@vxe-ui/core)
8
+ [![NodeJS with Webpack](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml/badge.svg)](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml)
9
+ [![gzip size: JS](http://img.badgesize.io/https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js?compression=gzip&label=gzip%20size:%20JS)](https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js)
10
+ [![npm downloads](https://img.shields.io/npm/dt/@vxe-ui/core.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@vxe-ui/core)
11
+ [![issues](https://img.shields.io/github/issues/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/issues)
12
+ [![issues closed](https://img.shields.io/github/issues-closed/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/issues?q=is%3Aissue+is%3Aclosed)
13
+ [![pull requests](https://img.shields.io/github/issues-pr/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/pulls)
14
+ [![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/pulls?q=is%3Apr+is%3Aclosed)
15
+ [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](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
- [![star](https://gitee.com/x-extends/vxe-core/badge/star.svg?theme=gvp)](https://gitee.com/x-extends/vxe-core/stargazers)
5
+ [![gitee star](https://gitee.com/x-extends/vxe-core/badge/star.svg)](https://gitee.com/x-extends/vxe-core/stargazers)
6
+ [![gitcode star](https://gitcode.com/x-extends/vxe-core/star/badge.svg)](https://gitcode.com/x-extends/vxe-core/stargazers)
6
7
  [![npm version](https://img.shields.io/npm/v/@vxe-ui/core.svg?style=flat-square)](https://www.npmjs.com/package/@vxe-ui/core)
7
8
  [![NodeJS with Webpack](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml/badge.svg)](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml)
8
9
  [![gzip size: JS](http://img.badgesize.io/https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js?compression=gzip&label=gzip%20size:%20JS)](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
+ [![gitee star](https://gitee.com/x-extends/vxe-core/badge/star.svg)](https://gitee.com/x-extends/vxe-core/stargazers)
6
+ [![gitcode star](https://gitcode.com/x-extends/vxe-core/star/badge.svg)](https://gitcode.com/x-extends/vxe-core/stargazers)
7
+ [![npm version](https://img.shields.io/npm/v/@vxe-ui/core.svg?style=flat-square)](https://www.npmjs.com/package/@vxe-ui/core)
8
+ [![NodeJS with Webpack](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml/badge.svg)](https://github.com/x-extends/vxe-core/actions/workflows/webpack.yml)
9
+ [![gzip size: JS](http://img.badgesize.io/https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js?compression=gzip&label=gzip%20size:%20JS)](https://unpkg.com/@vxe-ui/core/lib/index.umd.min.js)
10
+ [![npm downloads](https://img.shields.io/npm/dt/@vxe-ui/core.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@vxe-ui/core)
11
+ [![issues](https://img.shields.io/github/issues/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/issues)
12
+ [![issues closed](https://img.shields.io/github/issues-closed/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/issues?q=is%3Aissue+is%3Aclosed)
13
+ [![pull requests](https://img.shields.io/github/issues-pr/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/pulls)
14
+ [![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-core.svg)](https://github.com/x-extends/vxe-core/pulls?q=is%3Apr+is%3Aclosed)
15
+ [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
16
+
5
17
  Vxe UI v4.x core library.
6
18
 
7
19
  ## 使用
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxe-ui/core",
3
- "version": "4.2.12",
3
+ "version": "4.2.13",
4
4
  "description": "Vxe UI core library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -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