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/index.umd.js CHANGED
@@ -1998,9 +1998,9 @@ function eqEmptyValue(cellValue) {
1998
1998
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
1999
1999
 
2000
2000
 
2001
- const version = "4.7.78";
2001
+ const version = "4.7.80";
2002
2002
  core_.VxeUI.version = version;
2003
- core_.VxeUI.tableVersion = "4.7.78";
2003
+ core_.VxeUI.tableVersion = "4.7.80";
2004
2004
  core_.VxeUI.setConfig({
2005
2005
  emptyCell: ' ',
2006
2006
  table: {
@@ -2382,7 +2382,7 @@ var es_array_push = __webpack_require__(4114);
2382
2382
  const {
2383
2383
  log: log_log
2384
2384
  } = core_.VxeUI;
2385
- const log_version = `table v${"4.7.78"}`;
2385
+ const log_version = `table v${"4.7.80"}`;
2386
2386
  const warnLog = log_log.create('warn', log_version);
2387
2387
  const errLog = log_log.create('error', log_version);
2388
2388
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -3219,6 +3219,29 @@ function colToVisible($xeTable, column) {
3219
3219
  function getOnName(type) {
3220
3220
  return 'on' + type.substring(0, 1).toLocaleUpperCase() + type.substring(1);
3221
3221
  }
3222
+ function getModelEvent(renderOpts) {
3223
+ switch (renderOpts.name) {
3224
+ case 'input':
3225
+ case 'textarea':
3226
+ return 'input';
3227
+ case 'select':
3228
+ return 'change';
3229
+ }
3230
+ return 'update:modelValue';
3231
+ }
3232
+ function getChangeEvent(renderOpts) {
3233
+ switch (renderOpts.name) {
3234
+ case 'input':
3235
+ case 'textarea':
3236
+ case 'VxeInput':
3237
+ case 'VxeNumberInput':
3238
+ case 'VxeTextarea':
3239
+ case '$input':
3240
+ case '$textarea':
3241
+ return 'input';
3242
+ }
3243
+ return 'change';
3244
+ }
3222
3245
  function getSlotVNs(vns) {
3223
3246
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(vns)) {
3224
3247
  return vns;
@@ -8783,7 +8806,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8783
8806
  const computeRowOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8784
8807
  return Object.assign({}, table_getConfig().table.rowConfig, props.rowConfig);
8785
8808
  });
8786
- const computeResizeleOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8809
+ const computeResizeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8787
8810
  return Object.assign({}, table_getConfig().table.resizeConfig, props.resizeConfig);
8788
8811
  });
8789
8812
  const computeResizableOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
@@ -9011,7 +9034,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
9011
9034
  computeSYOpts,
9012
9035
  computeColumnOpts,
9013
9036
  computeRowOpts,
9014
- computeResizeleOpts,
9037
+ computeResizeOpts,
9015
9038
  computeResizableOpts,
9016
9039
  computeSeqOpts,
9017
9040
  computeRadioOpts,
@@ -16397,7 +16420,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16397
16420
  updateStyle();
16398
16421
  });
16399
16422
  if (props.autoResize) {
16400
- const resizeOpts = computeResizeleOpts.value;
16423
+ const resizeOpts = computeResizeOpts.value;
16401
16424
  const {
16402
16425
  refreshDelay
16403
16426
  } = resizeOpts;
@@ -21535,27 +21558,6 @@ const componentDefaultModelProp = 'modelValue';
21535
21558
  const defaultCompProps = {
21536
21559
  transfer: true
21537
21560
  };
21538
- function getModelEvent(renderOpts) {
21539
- switch (renderOpts.name) {
21540
- case 'input':
21541
- case 'textarea':
21542
- return 'input';
21543
- }
21544
- return 'update:modelValue';
21545
- }
21546
- function getChangeEvent(renderOpts) {
21547
- switch (renderOpts.name) {
21548
- case 'input':
21549
- case 'textarea':
21550
- case 'VxeInput':
21551
- case 'VxeNumberInput':
21552
- case 'VxeTextarea':
21553
- case '$input':
21554
- case '$textarea':
21555
- return 'input';
21556
- }
21557
- return 'change';
21558
- }
21559
21561
  function parseDate(value, props) {
21560
21562
  return value && props.valueFormat ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toStringDate(value, props.valueFormat) : value;
21561
21563
  }
@@ -21659,7 +21661,7 @@ function getCellLabelVNs(renderOpts, params, cellLabel) {
21659
21661
  * @param modelFunc
21660
21662
  * @param changeFunc
21661
21663
  */
21662
- function getElementOns(renderOpts, params, modelFunc, changeFunc) {
21664
+ function getNativeElementOns(renderOpts, params, modelFunc, changeFunc) {
21663
21665
  const {
21664
21666
  events
21665
21667
  } = renderOpts;
@@ -21786,7 +21788,7 @@ function getNativeEditOns(renderOpts, params) {
21786
21788
  const {
21787
21789
  model
21788
21790
  } = column;
21789
- return getElementOns(renderOpts, params, evnt => {
21791
+ return getNativeElementOns(renderOpts, params, evnt => {
21790
21792
  // 处理 model 值双向绑定
21791
21793
  const cellValue = evnt.target.value;
21792
21794
  if (isImmediateCell(renderOpts, params)) {
@@ -21802,7 +21804,7 @@ function getNativeEditOns(renderOpts, params) {
21802
21804
  });
21803
21805
  }
21804
21806
  function getNativeFilterOns(renderOpts, params, option) {
21805
- return getElementOns(renderOpts, params, evnt => {
21807
+ return getNativeElementOns(renderOpts, params, evnt => {
21806
21808
  // 处理 model 值双向绑定
21807
21809
  option.data = evnt.target.value;
21808
21810
  }, () => {
@@ -25137,9 +25139,6 @@ const Grid = VxeGrid;
25137
25139
  ss: '秒'
25138
25140
  }
25139
25141
  },
25140
- /**
25141
- * 扩展插件
25142
- */
25143
25142
  plugins: {
25144
25143
  extendCellArea: {
25145
25144
  area: {
@@ -25244,10 +25243,6 @@ const Grid = VxeGrid;
25244
25243
  notData: '无匹配项'
25245
25244
  }
25246
25245
  },
25247
- /**
25248
- * 以下废弃
25249
- * @deprecated
25250
- */
25251
25246
  pro: {
25252
25247
  area: {
25253
25248
  mergeErr: '无法对合并单元格进行该操作',