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.
Files changed (102) hide show
  1. package/README.ja-JP.md +1 -1
  2. package/README.md +1 -1
  3. package/es/locale/lang/en-US.js +0 -7
  4. package/es/locale/lang/hu-HU.d.ts +2 -0
  5. package/es/locale/lang/hu-HU.js +496 -501
  6. package/es/locale/lang/ja-JP.js +0 -7
  7. package/es/locale/lang/ko-KR.d.ts +2 -0
  8. package/es/locale/lang/ko-KR.js +0 -7
  9. package/es/locale/lang/pt-BR.js +0 -7
  10. package/es/locale/lang/ru-RU.d.ts +2 -0
  11. package/es/locale/lang/ru-RU.js +496 -503
  12. package/es/locale/lang/uk-UA.d.ts +2 -0
  13. package/es/locale/lang/uk-UA.js +666 -0
  14. package/es/locale/lang/vi-VN.js +0 -7
  15. package/es/locale/lang/zh-CHT.js +666 -0
  16. package/es/locale/lang/zh-CN.js +0 -7
  17. package/es/locale/lang/zh-HK.js +2 -2
  18. package/es/locale/lang/zh-MO.js +2 -2
  19. package/es/locale/lang/zh-TC.js +2 -673
  20. package/es/locale/lang/zh-TW.js +2 -2
  21. package/es/style.css +1 -1
  22. package/es/table/render/index.js +4 -25
  23. package/es/table/src/table.js +3 -3
  24. package/es/ui/index.js +2 -2
  25. package/es/ui/src/log.js +1 -1
  26. package/es/ui/src/vn.js +23 -0
  27. package/lib/index.umd.js +32 -37
  28. package/lib/index.umd.min.js +1 -1
  29. package/lib/locale/lang/en-US.js +0 -7
  30. package/lib/locale/lang/en-US.umd.js +0 -7
  31. package/lib/locale/lang/hu-HU.d.ts +2 -0
  32. package/lib/locale/lang/hu-HU.js +496 -501
  33. package/lib/locale/lang/hu-HU.min.js +1 -1
  34. package/lib/locale/lang/hu-HU.umd.js +686 -0
  35. package/lib/locale/lang/ja-JP.js +0 -7
  36. package/lib/locale/lang/ja-JP.umd.js +0 -7
  37. package/lib/locale/lang/ko-KR.d.ts +2 -0
  38. package/lib/locale/lang/ko-KR.js +0 -7
  39. package/lib/locale/lang/ko-KR.min.js +1 -1
  40. package/lib/locale/lang/ko-KR.umd.js +686 -0
  41. package/lib/locale/lang/pt-BR.js +0 -7
  42. package/lib/locale/lang/pt-BR.umd.js +0 -7
  43. package/lib/locale/lang/ru-RU.d.ts +2 -0
  44. package/lib/locale/lang/ru-RU.js +496 -503
  45. package/lib/locale/lang/ru-RU.min.js +1 -1
  46. package/lib/locale/lang/ru-RU.umd.js +686 -0
  47. package/lib/locale/lang/uk-UA.d.ts +2 -0
  48. package/lib/locale/lang/uk-UA.js +672 -0
  49. package/lib/locale/lang/uk-UA.min.js +1 -0
  50. package/lib/locale/lang/uk-UA.umd.js +686 -0
  51. package/lib/locale/lang/vi-VN.js +0 -7
  52. package/lib/locale/lang/zh-CHT.js +672 -0
  53. package/lib/locale/lang/zh-CHT.min.js +1 -0
  54. package/lib/locale/lang/zh-CN.js +0 -7
  55. package/lib/locale/lang/zh-CN.umd.js +0 -7
  56. package/lib/locale/lang/zh-HK.js +2 -2
  57. package/lib/locale/lang/zh-HK.min.js +1 -1
  58. package/lib/locale/lang/zh-HK.umd.js +7 -677
  59. package/lib/locale/lang/zh-MO.js +2 -2
  60. package/lib/locale/lang/zh-MO.min.js +1 -1
  61. package/lib/locale/lang/zh-MO.umd.js +7 -677
  62. package/lib/locale/lang/zh-TC.js +3 -673
  63. package/lib/locale/lang/zh-TC.min.js +1 -1
  64. package/lib/locale/lang/zh-TC.umd.js +7 -677
  65. package/lib/locale/lang/zh-TW.js +2 -2
  66. package/lib/locale/lang/zh-TW.min.js +1 -1
  67. package/lib/locale/lang/zh-TW.umd.js +7 -677
  68. package/lib/style.css +1 -1
  69. package/lib/table/render/index.js +7 -28
  70. package/lib/table/render/index.min.js +1 -1
  71. package/lib/table/src/table.js +3 -3
  72. package/lib/table/src/table.min.js +1 -1
  73. package/lib/ui/index.js +2 -2
  74. package/lib/ui/index.min.js +1 -1
  75. package/lib/ui/src/log.js +1 -1
  76. package/lib/ui/src/log.min.js +1 -1
  77. package/lib/ui/src/vn.js +25 -0
  78. package/lib/ui/src/vn.min.js +1 -1
  79. package/package.json +4 -4
  80. package/packages/locale/lang/en-US.ts +0 -9
  81. package/packages/locale/lang/hu-HU.ts +496 -503
  82. package/packages/locale/lang/ja-JP.ts +0 -9
  83. package/packages/locale/lang/ko-KR.ts +0 -9
  84. package/packages/locale/lang/pt-BR.ts +0 -9
  85. package/packages/locale/lang/ru-RU.ts +496 -505
  86. package/packages/locale/lang/uk-UA.ts +666 -0
  87. package/packages/locale/lang/vi-VN.ts +0 -9
  88. package/packages/locale/lang/zh-CHT.ts +666 -0
  89. package/packages/locale/lang/zh-CN.ts +0 -9
  90. package/packages/locale/lang/zh-HK.ts +2 -2
  91. package/packages/locale/lang/zh-MO.ts +2 -2
  92. package/packages/locale/lang/zh-TC.ts +2 -674
  93. package/packages/locale/lang/zh-TW.ts +2 -2
  94. package/packages/table/render/index.ts +4 -27
  95. package/packages/table/src/table.ts +3 -3
  96. package/packages/ui/src/vn.ts +25 -0
  97. /package/es/{iconfont.1726051234125.ttf → iconfont.1726735367913.ttf} +0 -0
  98. /package/es/{iconfont.1726051234125.woff → iconfont.1726735367913.woff} +0 -0
  99. /package/es/{iconfont.1726051234125.woff2 → iconfont.1726735367913.woff2} +0 -0
  100. /package/lib/{iconfont.1726051234125.ttf → iconfont.1726735367913.ttf} +0 -0
  101. /package/lib/{iconfont.1726051234125.woff → iconfont.1726735367913.woff} +0 -0
  102. /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.78"}`;
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);
@@ -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.78",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
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;
@@ -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.78",
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.25"
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.75.0",
64
+ "sass": "^1.77.8",
65
65
  "sass-loader": "^14.2.0",
66
66
  "typescript": "~4.5.5",
67
- "vue": "3.4.27",
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: {