vxe-table 4.7.78 → 4.7.80
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.ja-JP.md +1 -1
- package/README.md +1 -1
- package/es/locale/lang/en-US.js +0 -7
- package/es/locale/lang/hu-HU.d.ts +2 -0
- package/es/locale/lang/hu-HU.js +496 -501
- package/es/locale/lang/ja-JP.js +0 -7
- package/es/locale/lang/ko-KR.d.ts +2 -0
- package/es/locale/lang/ko-KR.js +0 -7
- package/es/locale/lang/pt-BR.js +0 -7
- package/es/locale/lang/ru-RU.d.ts +2 -0
- package/es/locale/lang/ru-RU.js +496 -503
- package/es/locale/lang/uk-UA.d.ts +2 -0
- package/es/locale/lang/uk-UA.js +666 -0
- package/es/locale/lang/vi-VN.js +0 -7
- package/es/locale/lang/zh-CHT.js +666 -0
- package/es/locale/lang/zh-CN.js +0 -7
- package/es/locale/lang/zh-HK.js +2 -2
- package/es/locale/lang/zh-MO.js +2 -2
- package/es/locale/lang/zh-TC.js +2 -673
- package/es/locale/lang/zh-TW.js +2 -2
- package/es/style.css +1 -1
- package/es/table/render/index.js +4 -25
- package/es/table/src/table.js +3 -3
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/ui/src/vn.js +23 -0
- package/lib/index.umd.js +32 -37
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +0 -7
- package/lib/locale/lang/en-US.umd.js +0 -7
- package/lib/locale/lang/hu-HU.d.ts +2 -0
- package/lib/locale/lang/hu-HU.js +496 -501
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +686 -0
- package/lib/locale/lang/ja-JP.js +0 -7
- package/lib/locale/lang/ja-JP.umd.js +0 -7
- package/lib/locale/lang/ko-KR.d.ts +2 -0
- package/lib/locale/lang/ko-KR.js +0 -7
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +686 -0
- package/lib/locale/lang/pt-BR.js +0 -7
- package/lib/locale/lang/pt-BR.umd.js +0 -7
- package/lib/locale/lang/ru-RU.d.ts +2 -0
- package/lib/locale/lang/ru-RU.js +496 -503
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +686 -0
- package/lib/locale/lang/uk-UA.d.ts +2 -0
- package/lib/locale/lang/uk-UA.js +672 -0
- package/lib/locale/lang/uk-UA.min.js +1 -0
- package/lib/locale/lang/uk-UA.umd.js +686 -0
- package/lib/locale/lang/vi-VN.js +0 -7
- package/lib/locale/lang/zh-CHT.js +672 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -0
- package/lib/locale/lang/zh-CN.js +0 -7
- package/lib/locale/lang/zh-CN.umd.js +0 -7
- package/lib/locale/lang/zh-HK.js +2 -2
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +7 -677
- package/lib/locale/lang/zh-MO.js +2 -2
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +7 -677
- package/lib/locale/lang/zh-TC.js +3 -673
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +7 -677
- package/lib/locale/lang/zh-TW.js +2 -2
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +7 -677
- package/lib/style.css +1 -1
- package/lib/table/render/index.js +7 -28
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/table.js +3 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/ui/src/vn.js +25 -0
- package/lib/ui/src/vn.min.js +1 -1
- package/package.json +4 -4
- package/packages/locale/lang/en-US.ts +0 -9
- package/packages/locale/lang/hu-HU.ts +496 -503
- package/packages/locale/lang/ja-JP.ts +0 -9
- package/packages/locale/lang/ko-KR.ts +0 -9
- package/packages/locale/lang/pt-BR.ts +0 -9
- package/packages/locale/lang/ru-RU.ts +496 -505
- package/packages/locale/lang/uk-UA.ts +666 -0
- package/packages/locale/lang/vi-VN.ts +0 -9
- package/packages/locale/lang/zh-CHT.ts +666 -0
- package/packages/locale/lang/zh-CN.ts +0 -9
- package/packages/locale/lang/zh-HK.ts +2 -2
- package/packages/locale/lang/zh-MO.ts +2 -2
- package/packages/locale/lang/zh-TC.ts +2 -674
- package/packages/locale/lang/zh-TW.ts +2 -2
- package/packages/table/render/index.ts +4 -27
- package/packages/table/src/table.ts +3 -3
- package/packages/ui/src/vn.ts +25 -0
- /package/es/{iconfont.1726051234125.ttf → iconfont.1726735367913.ttf} +0 -0
- /package/es/{iconfont.1726051234125.woff → iconfont.1726735367913.woff} +0 -0
- /package/es/{iconfont.1726051234125.woff2 → iconfont.1726735367913.woff2} +0 -0
- /package/lib/{iconfont.1726051234125.ttf → iconfont.1726735367913.ttf} +0 -0
- /package/lib/{iconfont.1726051234125.woff → iconfont.1726735367913.woff} +0 -0
- /package/lib/{iconfont.1726051234125.woff2 → iconfont.1726735367913.woff2} +0 -0
package/lib/ui/src/log.js
CHANGED
|
@@ -8,6 +8,6 @@ var _core = require("@vxe-ui/core");
|
|
|
8
8
|
const {
|
|
9
9
|
log
|
|
10
10
|
} = _core.VxeUI;
|
|
11
|
-
const version = `table v${"4.7.
|
|
11
|
+
const version = `table v${"4.7.80"}`;
|
|
12
12
|
const warnLog = exports.warnLog = log.create('warn', version);
|
|
13
13
|
const errLog = exports.errLog = log.create('error', version);
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const log=_core.VxeUI["log"],version="table v4.7.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const log=_core.VxeUI["log"],version="table v4.7.80",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
|
package/lib/ui/src/vn.js
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.getChangeEvent = getChangeEvent;
|
|
7
|
+
exports.getModelEvent = getModelEvent;
|
|
6
8
|
exports.getOnName = getOnName;
|
|
7
9
|
exports.getSlotVNs = getSlotVNs;
|
|
8
10
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
@@ -10,6 +12,29 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
10
12
|
function getOnName(type) {
|
|
11
13
|
return 'on' + type.substring(0, 1).toLocaleUpperCase() + type.substring(1);
|
|
12
14
|
}
|
|
15
|
+
function getModelEvent(renderOpts) {
|
|
16
|
+
switch (renderOpts.name) {
|
|
17
|
+
case 'input':
|
|
18
|
+
case 'textarea':
|
|
19
|
+
return 'input';
|
|
20
|
+
case 'select':
|
|
21
|
+
return 'change';
|
|
22
|
+
}
|
|
23
|
+
return 'update:modelValue';
|
|
24
|
+
}
|
|
25
|
+
function getChangeEvent(renderOpts) {
|
|
26
|
+
switch (renderOpts.name) {
|
|
27
|
+
case 'input':
|
|
28
|
+
case 'textarea':
|
|
29
|
+
case 'VxeInput':
|
|
30
|
+
case 'VxeNumberInput':
|
|
31
|
+
case 'VxeTextarea':
|
|
32
|
+
case '$input':
|
|
33
|
+
case '$textarea':
|
|
34
|
+
return 'input';
|
|
35
|
+
}
|
|
36
|
+
return 'change';
|
|
37
|
+
}
|
|
13
38
|
function getSlotVNs(vns) {
|
|
14
39
|
if (_xeUtils.default.isArray(vns)) {
|
|
15
40
|
return vns;
|
package/lib/ui/src/vn.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getOnName=getOnName,exports.getSlotVNs=getSlotVNs;var _xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getOnName(e){return"on"+e.substring(0,1).toLocaleUpperCase()+e.substring(1)}function getSlotVNs(e){return _xeUtils.default.isArray(e)?e:[e]}
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getChangeEvent=getChangeEvent,exports.getModelEvent=getModelEvent,exports.getOnName=getOnName,exports.getSlotVNs=getSlotVNs;var _xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getOnName(e){return"on"+e.substring(0,1).toLocaleUpperCase()+e.substring(1)}function getModelEvent(e){switch(e.name){case"input":case"textarea":return"input";case"select":return"change"}return"update:modelValue"}function getChangeEvent(e){switch(e.name){case"input":case"textarea":case"VxeInput":case"VxeNumberInput":case"VxeTextarea":case"$input":case"$textarea":return"input"}return"change"}function getSlotVNs(e){return _xeUtils.default.isArray(e)?e:[e]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.80",
|
|
4
4
|
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"style": "lib/style.css",
|
|
29
29
|
"typings": "types/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"vxe-pc-ui": "^4.1.
|
|
31
|
+
"vxe-pc-ui": "^4.1.29"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/resize-observer-browser": "^0.1.11",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"gulp-typescript": "^5.0.1",
|
|
62
62
|
"gulp-uglify": "^3.0.2",
|
|
63
63
|
"postcss": "^8.4.38",
|
|
64
|
-
"sass": "^1.
|
|
64
|
+
"sass": "^1.77.8",
|
|
65
65
|
"sass-loader": "^14.2.0",
|
|
66
66
|
"typescript": "~4.5.5",
|
|
67
|
-
"vue": "3.
|
|
67
|
+
"vue": "3.5.5",
|
|
68
68
|
"vue-router": "^4.3.2"
|
|
69
69
|
},
|
|
70
70
|
"vetur": {
|
|
@@ -472,10 +472,6 @@ export default {
|
|
|
472
472
|
ss: 'Second'
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* 扩展插件
|
|
478
|
-
*/
|
|
479
475
|
plugins: {
|
|
480
476
|
extendCellArea: {
|
|
481
477
|
area: {
|
|
@@ -580,11 +576,6 @@ export default {
|
|
|
580
576
|
notData: 'No data'
|
|
581
577
|
}
|
|
582
578
|
},
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* 以下废弃
|
|
586
|
-
* @deprecated
|
|
587
|
-
*/
|
|
588
579
|
renderer: {
|
|
589
580
|
search: 'Search',
|
|
590
581
|
cases: {
|