vxe-table 3.15.58 → 3.15.59

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 (139) hide show
  1. package/es/locale/lang/ar-EG.js +33 -1
  2. package/es/locale/lang/de-DE.js +33 -1
  3. package/es/locale/lang/en-US.js +45 -13
  4. package/es/locale/lang/es-ES.js +33 -1
  5. package/es/locale/lang/fr-FR.js +33 -1
  6. package/es/locale/lang/hu-HU.js +33 -1
  7. package/es/locale/lang/hy-AM.js +33 -1
  8. package/es/locale/lang/id-ID.js +33 -1
  9. package/es/locale/lang/it-IT.js +33 -1
  10. package/es/locale/lang/ja-JP.js +33 -1
  11. package/es/locale/lang/ko-KR.js +33 -1
  12. package/es/locale/lang/ms-MY.js +33 -1
  13. package/es/locale/lang/nb-NO.js +33 -1
  14. package/es/locale/lang/pt-BR.js +33 -1
  15. package/es/locale/lang/ru-RU.js +33 -1
  16. package/es/locale/lang/th-TH.js +33 -1
  17. package/es/locale/lang/ug-CN.js +33 -1
  18. package/es/locale/lang/uk-UA.js +33 -1
  19. package/es/locale/lang/uz-UZ.js +33 -1
  20. package/es/locale/lang/vi-VN.js +33 -1
  21. package/es/locale/lang/zh-CHT.js +33 -1
  22. package/es/locale/lang/zh-CN.js +35 -1
  23. package/es/style.css +1 -1
  24. package/es/table/src/body.js +4 -1
  25. package/es/table/src/header.js +4 -1
  26. package/es/table/src/table.js +4 -1
  27. package/es/ui/index.js +1 -1
  28. package/es/ui/src/log.js +1 -1
  29. package/lib/index.umd.js +49 -6
  30. package/lib/index.umd.min.js +1 -1
  31. package/lib/locale/lang/ar-EG.js +33 -1
  32. package/lib/locale/lang/ar-EG.min.js +1 -1
  33. package/lib/locale/lang/ar-EG.umd.js +33 -1
  34. package/lib/locale/lang/de-DE.js +33 -1
  35. package/lib/locale/lang/de-DE.min.js +1 -1
  36. package/lib/locale/lang/de-DE.umd.js +33 -1
  37. package/lib/locale/lang/en-US.js +45 -13
  38. package/lib/locale/lang/en-US.min.js +1 -1
  39. package/lib/locale/lang/en-US.umd.js +45 -13
  40. package/lib/locale/lang/es-ES.js +33 -1
  41. package/lib/locale/lang/es-ES.min.js +1 -1
  42. package/lib/locale/lang/es-ES.umd.js +33 -1
  43. package/lib/locale/lang/fr-FR.js +33 -1
  44. package/lib/locale/lang/fr-FR.min.js +1 -1
  45. package/lib/locale/lang/fr-FR.umd.js +33 -1
  46. package/lib/locale/lang/hu-HU.js +33 -1
  47. package/lib/locale/lang/hu-HU.min.js +1 -1
  48. package/lib/locale/lang/hu-HU.umd.js +33 -1
  49. package/lib/locale/lang/hy-AM.js +33 -1
  50. package/lib/locale/lang/hy-AM.min.js +1 -1
  51. package/lib/locale/lang/hy-AM.umd.js +33 -1
  52. package/lib/locale/lang/id-ID.js +33 -1
  53. package/lib/locale/lang/id-ID.min.js +1 -1
  54. package/lib/locale/lang/id-ID.umd.js +33 -1
  55. package/lib/locale/lang/it-IT.js +33 -1
  56. package/lib/locale/lang/it-IT.min.js +1 -1
  57. package/lib/locale/lang/it-IT.umd.js +33 -1
  58. package/lib/locale/lang/ja-JP.js +33 -1
  59. package/lib/locale/lang/ja-JP.min.js +1 -1
  60. package/lib/locale/lang/ja-JP.umd.js +33 -1
  61. package/lib/locale/lang/ko-KR.js +33 -1
  62. package/lib/locale/lang/ko-KR.min.js +1 -1
  63. package/lib/locale/lang/ko-KR.umd.js +33 -1
  64. package/lib/locale/lang/ms-MY.js +33 -1
  65. package/lib/locale/lang/ms-MY.min.js +1 -1
  66. package/lib/locale/lang/ms-MY.umd.js +33 -1
  67. package/lib/locale/lang/nb-NO.js +33 -1
  68. package/lib/locale/lang/nb-NO.min.js +1 -1
  69. package/lib/locale/lang/nb-NO.umd.js +33 -1
  70. package/lib/locale/lang/pt-BR.js +33 -1
  71. package/lib/locale/lang/pt-BR.min.js +1 -1
  72. package/lib/locale/lang/pt-BR.umd.js +33 -1
  73. package/lib/locale/lang/ru-RU.js +33 -1
  74. package/lib/locale/lang/ru-RU.min.js +1 -1
  75. package/lib/locale/lang/ru-RU.umd.js +33 -1
  76. package/lib/locale/lang/th-TH.js +33 -1
  77. package/lib/locale/lang/th-TH.min.js +1 -1
  78. package/lib/locale/lang/th-TH.umd.js +33 -1
  79. package/lib/locale/lang/ug-CN.js +33 -1
  80. package/lib/locale/lang/ug-CN.min.js +1 -1
  81. package/lib/locale/lang/ug-CN.umd.js +33 -1
  82. package/lib/locale/lang/uk-UA.js +33 -1
  83. package/lib/locale/lang/uk-UA.min.js +1 -1
  84. package/lib/locale/lang/uk-UA.umd.js +33 -1
  85. package/lib/locale/lang/uz-UZ.js +33 -1
  86. package/lib/locale/lang/uz-UZ.min.js +1 -1
  87. package/lib/locale/lang/uz-UZ.umd.js +33 -1
  88. package/lib/locale/lang/vi-VN.js +33 -1
  89. package/lib/locale/lang/vi-VN.min.js +1 -1
  90. package/lib/locale/lang/vi-VN.umd.js +33 -1
  91. package/lib/locale/lang/zh-CHT.js +33 -1
  92. package/lib/locale/lang/zh-CHT.min.js +1 -1
  93. package/lib/locale/lang/zh-CHT.umd.js +33 -1
  94. package/lib/locale/lang/zh-CN.js +35 -1
  95. package/lib/locale/lang/zh-CN.min.js +1 -1
  96. package/lib/locale/lang/zh-CN.umd.js +35 -1
  97. package/lib/style.css +1 -1
  98. package/lib/table/src/body.js +4 -1
  99. package/lib/table/src/body.min.js +1 -1
  100. package/lib/table/src/header.js +4 -1
  101. package/lib/table/src/header.min.js +1 -1
  102. package/lib/table/src/table.js +4 -1
  103. package/lib/table/src/table.min.js +1 -1
  104. package/lib/ui/index.js +1 -1
  105. package/lib/ui/index.min.js +1 -1
  106. package/lib/ui/src/log.js +1 -1
  107. package/lib/ui/src/log.min.js +1 -1
  108. package/package.json +1 -1
  109. package/packages/locale/lang/ar-EG.ts +33 -1
  110. package/packages/locale/lang/de-DE.ts +33 -1
  111. package/packages/locale/lang/en-US.ts +45 -13
  112. package/packages/locale/lang/es-ES.ts +33 -1
  113. package/packages/locale/lang/fr-FR.ts +33 -1
  114. package/packages/locale/lang/hu-HU.ts +33 -1
  115. package/packages/locale/lang/hy-AM.ts +33 -1
  116. package/packages/locale/lang/id-ID.ts +33 -1
  117. package/packages/locale/lang/it-IT.ts +33 -1
  118. package/packages/locale/lang/ja-JP.ts +33 -1
  119. package/packages/locale/lang/ko-KR.ts +33 -1
  120. package/packages/locale/lang/ms-MY.ts +33 -1
  121. package/packages/locale/lang/nb-NO.ts +33 -1
  122. package/packages/locale/lang/pt-BR.ts +33 -1
  123. package/packages/locale/lang/ru-RU.ts +33 -1
  124. package/packages/locale/lang/th-TH.ts +33 -1
  125. package/packages/locale/lang/ug-CN.ts +33 -1
  126. package/packages/locale/lang/uk-UA.ts +33 -1
  127. package/packages/locale/lang/uz-UZ.ts +33 -1
  128. package/packages/locale/lang/vi-VN.ts +33 -1
  129. package/packages/locale/lang/zh-CHT.ts +33 -1
  130. package/packages/locale/lang/zh-CN.ts +35 -1
  131. package/packages/table/src/body.ts +4 -1
  132. package/packages/table/src/header.ts +4 -1
  133. package/packages/table/src/table.ts +4 -1
  134. /package/es/{iconfont.1754455794027.ttf → iconfont.1757908582075.ttf} +0 -0
  135. /package/es/{iconfont.1754455794027.woff → iconfont.1757908582075.woff} +0 -0
  136. /package/es/{iconfont.1754455794027.woff2 → iconfont.1757908582075.woff2} +0 -0
  137. /package/lib/{iconfont.1754455794027.ttf → iconfont.1757908582075.ttf} +0 -0
  138. /package/lib/{iconfont.1754455794027.woff → iconfont.1757908582075.woff} +0 -0
  139. /package/lib/{iconfont.1754455794027.woff2 → iconfont.1757908582075.woff2} +0 -0
@@ -377,7 +377,10 @@ export default {
377
377
  }, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList)),
378
378
  mouseConfig && mouseOpts.area
379
379
  ? h('div', {
380
- class: 'vxe-table--cell-area'
380
+ class: 'vxe-table--cell-area',
381
+ attrs: {
382
+ xid: xID
383
+ }
381
384
  }, [
382
385
  h('span', {
383
386
  class: 'vxe-table--cell-main-area'
@@ -1028,9 +1028,12 @@ export default {
1028
1028
  return footerOpts && footerOpts.options ? footerOpts.options : [];
1029
1029
  },
1030
1030
  isCtxMenu() {
1031
- return this.computeIsMenu;
1031
+ return this.computeIsContentMenu;
1032
1032
  },
1033
1033
  computeIsMenu() {
1034
+ return this.computeIsContentMenu;
1035
+ },
1036
+ computeIsContentMenu() {
1034
1037
  const $xeTable = this;
1035
1038
  const props = $xeTable;
1036
1039
  const menuOpts = $xeTable.computeMenuOpts;
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "3.15.58";
3
+ export const version = "3.15.59";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"3.15.58"}`;
3
+ const version = `table v${"3.15.59"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -3234,7 +3234,7 @@ function getClass(property, params) {
3234
3234
  ;// ./packages/ui/index.ts
3235
3235
 
3236
3236
 
3237
- const version = "3.15.58";
3237
+ const version = "3.15.59";
3238
3238
  core_.VxeUI.version = version;
3239
3239
  core_.VxeUI.tableVersion = version;
3240
3240
  core_.VxeUI.setConfig({
@@ -3907,7 +3907,7 @@ var es_iterator_map = __webpack_require__(1701);
3907
3907
  const {
3908
3908
  log: log_log
3909
3909
  } = core_.VxeUI;
3910
- const log_version = `table v${"3.15.58"}`;
3910
+ const log_version = `table v${"3.15.59"}`;
3911
3911
  const warnLog = log_log.create('warn', log_version);
3912
3912
  const errLog = log_log.create('error', log_version);
3913
3913
  ;// ./packages/table/src/columnInfo.ts
@@ -19746,7 +19746,10 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
19746
19746
  }, renderRows(h, this, fixedType, isOptimizeMode, renderDataList, renderColumnList))]), h('div', {
19747
19747
  class: 'vxe-table--checkbox-range'
19748
19748
  }), mouseConfig && mouseOpts.area ? h('div', {
19749
- class: 'vxe-table--cell-area'
19749
+ class: 'vxe-table--cell-area',
19750
+ attrs: {
19751
+ xid: xID
19752
+ }
19750
19753
  }, [h('span', {
19751
19754
  class: 'vxe-table--cell-main-area'
19752
19755
  }, mouseOpts.extension ? [h('span', {
@@ -20217,7 +20220,10 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
20217
20220
  h('thead', {
20218
20221
  ref: 'refHeaderTHead'
20219
20222
  }, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList)), mouseConfig && mouseOpts.area ? h('div', {
20220
- class: 'vxe-table--cell-area'
20223
+ class: 'vxe-table--cell-area',
20224
+ attrs: {
20225
+ xid: xID
20226
+ }
20221
20227
  }, [h('span', {
20222
20228
  class: 'vxe-table--cell-main-area'
20223
20229
  }), h('span', {
@@ -30172,9 +30178,12 @@ function renderBody(h, $xeTable) {
30172
30178
  return footerOpts && footerOpts.options ? footerOpts.options : [];
30173
30179
  },
30174
30180
  isCtxMenu() {
30175
- return this.computeIsMenu;
30181
+ return this.computeIsContentMenu;
30176
30182
  },
30177
30183
  computeIsMenu() {
30184
+ return this.computeIsContentMenu;
30185
+ },
30186
+ computeIsContentMenu() {
30178
30187
  const $xeTable = this;
30179
30188
  const props = $xeTable;
30180
30189
  const menuOpts = $xeTable.computeMenuOpts;
@@ -35264,6 +35273,7 @@ const Toolbar = VxeToolbar;
35264
35273
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
35265
35274
  modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
35266
35275
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
35276
+ reqSupportProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会出现错误',
35267
35277
  notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
35268
35278
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
35269
35279
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
@@ -35288,6 +35298,7 @@ const Toolbar = VxeToolbar;
35288
35298
  coverProp: '"{0}" 的参数 "{1}" 重复定义,这可能会出现错误',
35289
35299
  uniField: '字段名 "{0}" 重复定义,这可能会出现错误',
35290
35300
  repeatKey: '主键重复 {0}="{1}",这可能会出现错误',
35301
+ repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
35291
35302
  delFunc: '方法 "{0}" 已废弃,请使用 "{1}"',
35292
35303
  delProp: '参数 "{0}" 已废弃,请使用 "{1}"',
35293
35304
  delEvent: '事件 "{0}" 已废弃,请使用 "{1}"',
@@ -35301,7 +35312,8 @@ const Toolbar = VxeToolbar;
35301
35312
  treeDragChild: '父级不能拖拽到自己的子级中',
35302
35313
  reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
35303
35314
  errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
35304
- useNew: '不建议使用 {0},请使用 {1}'
35315
+ useNew: '不建议使用 {0},请使用 {1}',
35316
+ errorVersion: '版本不匹配,当前版本 {0},最低支持版本为 {1}'
35305
35317
  },
35306
35318
  table: {
35307
35319
  emptyText: '暂无数据',
@@ -35779,6 +35791,37 @@ const Toolbar = VxeToolbar;
35779
35791
  ss: '秒'
35780
35792
  }
35781
35793
  },
35794
+ gantt: {
35795
+ tFullFormat: {
35796
+ year: '{yy}年',
35797
+ quarter: '{yy}年第{q}季度',
35798
+ month: '{yy}年{M}月',
35799
+ week: '{yy}年第{W}周',
35800
+ day: '{yy}年{M}月{E}日',
35801
+ date: '{yy}年{M}月{d}日',
35802
+ hour: '{yy}年 {M}月{d}日{H}时',
35803
+ minute: '{yy}年{M}月{d}日{H}时{m}分'
35804
+ },
35805
+ tSimpleFormat: {
35806
+ year: '{yy}年',
35807
+ quarter: '{q}季度',
35808
+ month: '{M}月',
35809
+ week: '{W}周',
35810
+ day: '{d}',
35811
+ date: '{d}',
35812
+ hour: '{H}时',
35813
+ minute: '{m}分'
35814
+ },
35815
+ dayss: {
35816
+ w0: '日',
35817
+ w1: '一',
35818
+ w2: '二',
35819
+ w3: '三',
35820
+ w4: '四',
35821
+ w5: '五',
35822
+ w6: '六'
35823
+ }
35824
+ },
35782
35825
  plugins: {
35783
35826
  extendCellArea: {
35784
35827
  area: {