vxe-table 3.17.10 → 3.18.0-beta.1
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/es/grid/src/grid.js +4 -3
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +3 -1
- package/es/locale/lang/de-DE.js +3 -1
- package/es/locale/lang/en-US.js +3 -1
- package/es/locale/lang/es-ES.js +3 -1
- package/es/locale/lang/fr-FR.js +3 -1
- package/es/locale/lang/hu-HU.js +3 -1
- package/es/locale/lang/hy-AM.js +3 -1
- package/es/locale/lang/id-ID.js +3 -1
- package/es/locale/lang/it-IT.js +3 -1
- package/es/locale/lang/ja-JP.js +3 -1
- package/es/locale/lang/ko-KR.js +3 -1
- package/es/locale/lang/ms-MY.js +3 -1
- package/es/locale/lang/nb-NO.js +3 -1
- package/es/locale/lang/pt-BR.js +3 -1
- package/es/locale/lang/ru-RU.js +3 -1
- package/es/locale/lang/th-TH.js +3 -1
- package/es/locale/lang/ug-CN.js +3 -1
- package/es/locale/lang/uk-UA.js +3 -1
- package/es/locale/lang/uz-UZ.js +3 -1
- package/es/locale/lang/vi-VN.js +3 -1
- package/es/locale/lang/zh-CHT.js +3 -1
- package/es/locale/lang/zh-CN.js +3 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/mixin.js +4 -2
- package/es/table/module/custom/panel.js +4 -0
- package/es/table/module/export/export-panel.js +3 -0
- package/es/table/module/export/import-panel.js +3 -0
- package/es/table/module/export/mixin.js +41 -22
- package/es/table/module/menu/mixin.js +5 -3
- package/es/table/src/body.js +6 -1
- package/es/table/src/column.js +2 -1
- package/es/table/src/columnInfo.js +6 -2
- package/es/table/src/footer.js +2 -0
- package/es/table/src/group.js +2 -1
- package/es/table/src/header.js +2 -0
- package/es/table/src/methods.js +84 -37
- package/es/table/src/table.js +10 -5
- package/es/table/style.css +3 -3
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +3 -3
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +4 -3
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +213 -93
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +3 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +3 -1
- package/lib/locale/lang/de-DE.js +3 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +3 -1
- package/lib/locale/lang/en-US.js +3 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +3 -1
- package/lib/locale/lang/es-ES.js +3 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +3 -1
- package/lib/locale/lang/fr-FR.js +3 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +3 -1
- package/lib/locale/lang/hu-HU.js +3 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +3 -1
- package/lib/locale/lang/hy-AM.js +3 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +3 -1
- package/lib/locale/lang/id-ID.js +3 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +3 -1
- package/lib/locale/lang/it-IT.js +3 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +3 -1
- package/lib/locale/lang/ja-JP.js +3 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +3 -1
- package/lib/locale/lang/ko-KR.js +3 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +3 -1
- package/lib/locale/lang/ms-MY.js +3 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +3 -1
- package/lib/locale/lang/nb-NO.js +3 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +3 -1
- package/lib/locale/lang/pt-BR.js +3 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +3 -1
- package/lib/locale/lang/ru-RU.js +3 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +3 -1
- package/lib/locale/lang/th-TH.js +3 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +3 -1
- package/lib/locale/lang/ug-CN.js +3 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +3 -1
- package/lib/locale/lang/uk-UA.js +3 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +3 -1
- package/lib/locale/lang/uz-UZ.js +3 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +3 -1
- package/lib/locale/lang/vi-VN.js +3 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +3 -1
- package/lib/locale/lang/zh-CHT.js +3 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +3 -1
- package/lib/locale/lang/zh-CN.js +3 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +3 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/mixin.js +4 -2
- package/lib/table/module/custom/mixin.min.js +1 -1
- package/lib/table/module/custom/panel.js +4 -0
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/export/export-panel.js +3 -0
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/import-panel.js +3 -0
- package/lib/table/module/export/import-panel.min.js +1 -1
- package/lib/table/module/export/mixin.js +49 -18
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/module/menu/mixin.js +8 -3
- package/lib/table/module/menu/mixin.min.js +1 -1
- package/lib/table/src/body.js +7 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/column.js +2 -1
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +11 -5
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/footer.js +2 -0
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/group.js +2 -1
- package/lib/table/src/group.min.js +1 -1
- package/lib/table/src/header.js +2 -0
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +89 -47
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +12 -3
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +3 -3
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- 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/vxe-table/style/style.css +3 -3
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +4 -3
- package/packages/locale/lang/ar-EG.ts +3 -1
- package/packages/locale/lang/de-DE.ts +3 -1
- package/packages/locale/lang/en-US.ts +3 -1
- package/packages/locale/lang/es-ES.ts +3 -1
- package/packages/locale/lang/fr-FR.ts +3 -1
- package/packages/locale/lang/hu-HU.ts +3 -1
- package/packages/locale/lang/hy-AM.ts +3 -1
- package/packages/locale/lang/id-ID.ts +3 -1
- package/packages/locale/lang/it-IT.ts +3 -1
- package/packages/locale/lang/ja-JP.ts +3 -1
- package/packages/locale/lang/ko-KR.ts +3 -1
- package/packages/locale/lang/ms-MY.ts +3 -1
- package/packages/locale/lang/nb-NO.ts +3 -1
- package/packages/locale/lang/pt-BR.ts +3 -1
- package/packages/locale/lang/ru-RU.ts +3 -1
- package/packages/locale/lang/th-TH.ts +3 -1
- package/packages/locale/lang/ug-CN.ts +3 -1
- package/packages/locale/lang/uk-UA.ts +3 -1
- package/packages/locale/lang/uz-UZ.ts +3 -1
- package/packages/locale/lang/vi-VN.ts +3 -1
- package/packages/locale/lang/zh-CHT.ts +3 -1
- package/packages/locale/lang/zh-CN.ts +3 -1
- package/packages/table/module/custom/mixin.ts +7 -5
- package/packages/table/module/custom/panel.ts +4 -0
- package/packages/table/module/export/export-panel.ts +3 -0
- package/packages/table/module/export/import-panel.ts +3 -0
- package/packages/table/module/export/mixin.ts +43 -22
- package/packages/table/module/menu/mixin.ts +8 -6
- package/packages/table/src/body.ts +6 -1
- package/packages/table/src/column.ts +2 -1
- package/packages/table/src/columnInfo.ts +8 -4
- package/packages/table/src/footer.ts +2 -0
- package/packages/table/src/group.ts +2 -1
- package/packages/table/src/header.ts +5 -1
- package/packages/table/src/methods.ts +99 -48
- package/packages/table/src/table.ts +10 -5
- package/styles/components/table.scss +7 -3
- /package/es/{iconfont.1755133667514.ttf → iconfont.1755232583063.ttf} +0 -0
- /package/es/{iconfont.1755133667514.woff → iconfont.1755232583063.woff} +0 -0
- /package/es/{iconfont.1755133667514.woff2 → iconfont.1755232583063.woff2} +0 -0
- /package/lib/{iconfont.1755133667514.ttf → iconfont.1755232583063.ttf} +0 -0
- /package/lib/{iconfont.1755133667514.woff → iconfont.1755232583063.woff} +0 -0
- /package/lib/{iconfont.1755133667514.woff2 → iconfont.1755232583063.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
|
|
|
2002
2002
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2003
2003
|
|
|
2004
2004
|
|
|
2005
|
-
const version = "3.
|
|
2005
|
+
const version = "3.18.0-beta.1";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2678,7 +2678,7 @@ function isNodeElement(elem) {
|
|
|
2678
2678
|
const {
|
|
2679
2679
|
log: log_log
|
|
2680
2680
|
} = core_.VxeUI;
|
|
2681
|
-
const log_version = `table v${"3.
|
|
2681
|
+
const log_version = `table v${"3.18.0-beta.1"}`;
|
|
2682
2682
|
const warnLog = log_log.create('warn', log_version);
|
|
2683
2683
|
const errLog = log_log.create('error', log_version);
|
|
2684
2684
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -2701,6 +2701,8 @@ class ColumnInfo {
|
|
|
2701
2701
|
} = {}) {
|
|
2702
2702
|
const tableProps = $xeTable;
|
|
2703
2703
|
const $xeGrid = $xeTable.$xeGrid;
|
|
2704
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
2705
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
2704
2706
|
const {
|
|
2705
2707
|
field,
|
|
2706
2708
|
editRender
|
|
@@ -2854,11 +2856,15 @@ class ColumnInfo {
|
|
|
2854
2856
|
// 单元格插槽,只对 grid 有效
|
|
2855
2857
|
slots: _vm.slots
|
|
2856
2858
|
});
|
|
2857
|
-
if (
|
|
2858
|
-
proxyOpts.beforeColumn
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2859
|
+
if ($xeGGWrapper) {
|
|
2860
|
+
if (proxyOpts && proxyOpts.beforeColumn) {
|
|
2861
|
+
proxyOpts.beforeColumn({
|
|
2862
|
+
$table: $xeTable,
|
|
2863
|
+
$grid: $xeGrid,
|
|
2864
|
+
$gantt: $xeGantt,
|
|
2865
|
+
column: this
|
|
2866
|
+
});
|
|
2867
|
+
}
|
|
2862
2868
|
}
|
|
2863
2869
|
}
|
|
2864
2870
|
getTitle() {
|
|
@@ -5215,7 +5221,8 @@ Object.keys(columnProps).forEach(name => {
|
|
|
5215
5221
|
provide() {
|
|
5216
5222
|
return {
|
|
5217
5223
|
$xeColumn: this,
|
|
5218
|
-
$xeGrid: null
|
|
5224
|
+
$xeGrid: null,
|
|
5225
|
+
$xeGantt: null
|
|
5219
5226
|
};
|
|
5220
5227
|
},
|
|
5221
5228
|
inject: {
|
|
@@ -5272,7 +5279,8 @@ const Column = VxeColumn;
|
|
|
5272
5279
|
provide() {
|
|
5273
5280
|
return {
|
|
5274
5281
|
$xeColumn: this,
|
|
5275
|
-
$xeGrid: null
|
|
5282
|
+
$xeGrid: null,
|
|
5283
|
+
$xeGantt: null
|
|
5276
5284
|
};
|
|
5277
5285
|
},
|
|
5278
5286
|
inject: {
|
|
@@ -6053,8 +6061,11 @@ function cacheColumnMap($xeTable) {
|
|
|
6053
6061
|
}
|
|
6054
6062
|
fullColFieldData[field] = rest;
|
|
6055
6063
|
} else {
|
|
6056
|
-
if (storage && !type
|
|
6057
|
-
errLog('vxe.error.
|
|
6064
|
+
if (storage && !type) {
|
|
6065
|
+
errLog('vxe.error.reqSupportProp', ['storage', `${column.getTitle() || type || ''} -> field=?`]);
|
|
6066
|
+
}
|
|
6067
|
+
if (columnOpts.drag && (isCrossDrag || isSelfToChildDrag)) {
|
|
6068
|
+
errLog('vxe.error.reqSupportProp', ['column-drag-config.isCrossDrag | column-drag-config.isSelfToChildDrag', `${column.getTitle() || type || ''} -> field=?`]);
|
|
6058
6069
|
}
|
|
6059
6070
|
}
|
|
6060
6071
|
if (!hasFixed && fixed) {
|
|
@@ -10121,9 +10132,11 @@ const Methods = {
|
|
|
10121
10132
|
const $xeTable = this;
|
|
10122
10133
|
// const slots = $xeTable.$scopedSlots
|
|
10123
10134
|
const $xeGrid = $xeTable.$xeGrid;
|
|
10135
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
10136
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
10124
10137
|
if (slotFunc) {
|
|
10125
|
-
if ($
|
|
10126
|
-
return $
|
|
10138
|
+
if ($xeGGWrapper) {
|
|
10139
|
+
return $xeGGWrapper.callSlot(slotFunc, params, h, vNodes);
|
|
10127
10140
|
}
|
|
10128
10141
|
// if (XEUtils.isString(slotFunc)) {
|
|
10129
10142
|
// slotFunc = slots[slotFunc] || null
|
|
@@ -10144,10 +10157,12 @@ const Methods = {
|
|
|
10144
10157
|
getParentElem() {
|
|
10145
10158
|
const $xeTable = this;
|
|
10146
10159
|
const $xeGrid = $xeTable.$xeGrid;
|
|
10160
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
10161
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
10147
10162
|
const {
|
|
10148
10163
|
$el
|
|
10149
10164
|
} = this;
|
|
10150
|
-
return $
|
|
10165
|
+
return $xeGGWrapper ? $xeGGWrapper.$el.parentNode : $el.parentNode;
|
|
10151
10166
|
},
|
|
10152
10167
|
/**
|
|
10153
10168
|
* 获取父容器的高度
|
|
@@ -10155,6 +10170,8 @@ const Methods = {
|
|
|
10155
10170
|
getParentHeight() {
|
|
10156
10171
|
const $xeTable = this;
|
|
10157
10172
|
const $xeGrid = $xeTable.$xeGrid;
|
|
10173
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
10174
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
10158
10175
|
const props = $xeTable;
|
|
10159
10176
|
const {
|
|
10160
10177
|
height
|
|
@@ -10165,8 +10182,8 @@ const Methods = {
|
|
|
10165
10182
|
const parentPaddingSize = height === '100%' || height === 'auto' ? getPaddingTopBottomSize(parentElem) : 0;
|
|
10166
10183
|
let parentWrapperHeight = 0;
|
|
10167
10184
|
if (parentElem) {
|
|
10168
|
-
if ($
|
|
10169
|
-
parentWrapperHeight = $
|
|
10185
|
+
if ($xeGGWrapper && hasClass(parentElem, 'vxe-grid--table-wrapper')) {
|
|
10186
|
+
parentWrapperHeight = $xeGGWrapper.getParentHeight();
|
|
10170
10187
|
} else {
|
|
10171
10188
|
parentWrapperHeight = parentElem.clientHeight;
|
|
10172
10189
|
}
|
|
@@ -10183,7 +10200,9 @@ const Methods = {
|
|
|
10183
10200
|
getExcludeHeight() {
|
|
10184
10201
|
const $xeTable = this;
|
|
10185
10202
|
const $xeGrid = $xeTable.$xeGrid;
|
|
10186
|
-
|
|
10203
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
10204
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
10205
|
+
return $xeGGWrapper ? $xeGGWrapper.getExcludeHeight() : 0;
|
|
10187
10206
|
},
|
|
10188
10207
|
/**
|
|
10189
10208
|
* 重置表格的一切数据状态
|
|
@@ -12695,6 +12714,7 @@ const Methods = {
|
|
|
12695
12714
|
preventEvent(evnt, type, args, next, end) {
|
|
12696
12715
|
const $xeTable = this;
|
|
12697
12716
|
const $xeGrid = $xeTable.$xeGrid;
|
|
12717
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
12698
12718
|
let evntList = methods_interceptor.get(type);
|
|
12699
12719
|
// 兼容老版本
|
|
12700
12720
|
if (!evntList.length && type === 'event.clearEdit') {
|
|
@@ -12709,8 +12729,9 @@ const Methods = {
|
|
|
12709
12729
|
for (let i = 0; i < evntList.length; i++) {
|
|
12710
12730
|
const func = evntList[i];
|
|
12711
12731
|
const fnRest = func(Object.assign({
|
|
12712
|
-
$grid: $xeGrid,
|
|
12713
12732
|
$table: $xeTable,
|
|
12733
|
+
$grid: $xeGrid,
|
|
12734
|
+
$gantt: $xeGantt,
|
|
12714
12735
|
$event: evnt
|
|
12715
12736
|
}, args));
|
|
12716
12737
|
if (fnRest === false) {
|
|
@@ -12738,6 +12759,8 @@ const Methods = {
|
|
|
12738
12759
|
handleGlobalMousedownEvent(evnt) {
|
|
12739
12760
|
const $xeTable = this;
|
|
12740
12761
|
const $xeGrid = $xeTable.$xeGrid;
|
|
12762
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
12763
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
12741
12764
|
const {
|
|
12742
12765
|
$el,
|
|
12743
12766
|
$refs,
|
|
@@ -12838,7 +12861,7 @@ const Methods = {
|
|
|
12838
12861
|
}
|
|
12839
12862
|
}
|
|
12840
12863
|
} else if (mouseConfig) {
|
|
12841
|
-
if (!getEventTargetNode(evnt, $el).flag && !($
|
|
12864
|
+
if (!getEventTargetNode(evnt, $el).flag && !($xeGGWrapper && getEventTargetNode(evnt, $xeGGWrapper.$el).flag) && !(tableMenu && getEventTargetNode(evnt, tableMenu.$el).flag) && !($toolbar && getEventTargetNode(evnt, $toolbar.$el).flag)) {
|
|
12842
12865
|
if (this.clearSelected) {
|
|
12843
12866
|
this.clearSelected();
|
|
12844
12867
|
}
|
|
@@ -12862,7 +12885,7 @@ const Methods = {
|
|
|
12862
12885
|
if (ctxMenuStore.visible && tableMenu && !getEventTargetNode(evnt, tableMenu.$el).flag) {
|
|
12863
12886
|
this.closeMenu();
|
|
12864
12887
|
}
|
|
12865
|
-
const isActivated = getEventTargetNode(evnt, ($
|
|
12888
|
+
const isActivated = getEventTargetNode(evnt, ($xeGGWrapper || $xeTable).$el).flag;
|
|
12866
12889
|
// 如果存在校验,点击了表格之外则清除
|
|
12867
12890
|
if (!isActivated && editRules && validOpts.autoClear) {
|
|
12868
12891
|
this.validErrorMaps = {};
|
|
@@ -12940,6 +12963,7 @@ const Methods = {
|
|
|
12940
12963
|
const internalData = $xeTable;
|
|
12941
12964
|
const reactData = $xeTable;
|
|
12942
12965
|
const $xeGrid = $xeTable.$xeGrid;
|
|
12966
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
12943
12967
|
// 该行为只对当前激活的表格有效
|
|
12944
12968
|
if (internalData.isActivated) {
|
|
12945
12969
|
$xeTable.preventEvent(evnt, 'event.keydown', null, () => {
|
|
@@ -13166,7 +13190,8 @@ const Methods = {
|
|
|
13166
13190
|
column: selected.column,
|
|
13167
13191
|
columnIndex: $xeTable.getColumnIndex(selected.column),
|
|
13168
13192
|
$table: $xeTable,
|
|
13169
|
-
$grid: $xeGrid
|
|
13193
|
+
$grid: $xeGrid,
|
|
13194
|
+
$gantt: $xeGantt
|
|
13170
13195
|
};
|
|
13171
13196
|
// 是否被禁用
|
|
13172
13197
|
if (!beforeEditMethod || beforeEditMethod(params)) {
|
|
@@ -13194,7 +13219,8 @@ const Methods = {
|
|
|
13194
13219
|
column: selected.column,
|
|
13195
13220
|
columnIndex: $xeTable.getColumnIndex(selected.column),
|
|
13196
13221
|
$table: $xeTable,
|
|
13197
|
-
$grid: $xeGrid
|
|
13222
|
+
$grid: $xeGrid,
|
|
13223
|
+
$gantt: $xeGantt
|
|
13198
13224
|
};
|
|
13199
13225
|
// 是否被禁用
|
|
13200
13226
|
if (!beforeEditMethod || beforeEditMethod(params)) {
|
|
@@ -13225,7 +13251,8 @@ const Methods = {
|
|
|
13225
13251
|
rowIndex: $xeTable.getRowIndex(parentRow),
|
|
13226
13252
|
$rowIndex: $xeTable.getVMRowIndex(parentRow),
|
|
13227
13253
|
$table: $xeTable,
|
|
13228
|
-
$grid: $xeGrid
|
|
13254
|
+
$grid: $xeGrid,
|
|
13255
|
+
$gantt: $xeGantt
|
|
13229
13256
|
};
|
|
13230
13257
|
$xeTable.setTreeExpand(parentRow, false).then(() => $xeTable.scrollToRow(parentRow)).then(() => $xeTable.triggerCurrentRowEvent(evnt, params));
|
|
13231
13258
|
}
|
|
@@ -13246,7 +13273,8 @@ const Methods = {
|
|
|
13246
13273
|
column: selected.column,
|
|
13247
13274
|
columnIndex: $xeTable.getColumnIndex(selected.column),
|
|
13248
13275
|
$table: $xeTable,
|
|
13249
|
-
$grid: $xeGrid
|
|
13276
|
+
$grid: $xeGrid,
|
|
13277
|
+
$gantt: $xeGantt
|
|
13250
13278
|
};
|
|
13251
13279
|
if (!beforeEditMethod || beforeEditMethod(params)) {
|
|
13252
13280
|
if (editMethod) {
|
|
@@ -14521,18 +14549,22 @@ const Methods = {
|
|
|
14521
14549
|
* @param {Row} row 行对象
|
|
14522
14550
|
*/
|
|
14523
14551
|
setCurrentRow(row) {
|
|
14524
|
-
const
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
|
|
14552
|
+
const $xeTable = this;
|
|
14553
|
+
const internalData = $xeTable;
|
|
14554
|
+
const $xeGanttView = internalData.xeGanttView;
|
|
14555
|
+
const el = $xeTable.$refs.refElem;
|
|
14556
|
+
const rowOpts = $xeTable.computeRowOpts;
|
|
14528
14557
|
this.clearCurrentRow();
|
|
14529
14558
|
// this.clearCurrentColumn()
|
|
14530
14559
|
this.currentRow = row;
|
|
14531
14560
|
if (rowOpts.isCurrent || this.highlightCurrentRow) {
|
|
14532
|
-
if (
|
|
14533
|
-
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(
|
|
14561
|
+
if (el) {
|
|
14562
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(el.querySelectorAll(`[rowid="${getRowid($xeTable, row)}"]`), elem => addClass(elem, 'row--current'));
|
|
14534
14563
|
}
|
|
14535
14564
|
}
|
|
14565
|
+
if ($xeGanttView) {
|
|
14566
|
+
$xeGanttView.handleUpdateCurrentRow(row);
|
|
14567
|
+
}
|
|
14536
14568
|
return this.$nextTick();
|
|
14537
14569
|
},
|
|
14538
14570
|
isCheckedByRadioRow(row) {
|
|
@@ -14585,15 +14617,20 @@ const Methods = {
|
|
|
14585
14617
|
* 用于当前行,手动清空当前高亮的状态
|
|
14586
14618
|
*/
|
|
14587
14619
|
clearCurrentRow() {
|
|
14588
|
-
const
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14620
|
+
const $xeTable = this;
|
|
14621
|
+
const reactData = $xeTable;
|
|
14622
|
+
const internalData = $xeTable;
|
|
14623
|
+
const $xeGanttView = internalData.xeGanttView;
|
|
14624
|
+
const el = $xeTable.$refs.refElem;
|
|
14625
|
+
reactData.currentRow = null;
|
|
14626
|
+
internalData.hoverRow = null;
|
|
14627
|
+
if (el) {
|
|
14628
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(el.querySelectorAll('.row--current'), elem => removeClass(elem, 'row--current'));
|
|
14595
14629
|
}
|
|
14596
|
-
|
|
14630
|
+
if ($xeGanttView) {
|
|
14631
|
+
$xeGanttView.handleUpdateCurrentRow();
|
|
14632
|
+
}
|
|
14633
|
+
return $xeTable.$nextTick();
|
|
14597
14634
|
},
|
|
14598
14635
|
/**
|
|
14599
14636
|
* 用于单选行,手动清空用户的选择
|
|
@@ -14664,24 +14701,31 @@ const Methods = {
|
|
|
14664
14701
|
this.setHoverRow(row);
|
|
14665
14702
|
},
|
|
14666
14703
|
setHoverRow(row) {
|
|
14667
|
-
const
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
const
|
|
14671
|
-
|
|
14672
|
-
if (
|
|
14673
|
-
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(
|
|
14704
|
+
const $xeTable = this;
|
|
14705
|
+
const internalData = $xeTable;
|
|
14706
|
+
const $xeGanttView = internalData.xeGanttView;
|
|
14707
|
+
const el = $xeTable.$refs.refElem;
|
|
14708
|
+
$xeTable.clearHoverRow();
|
|
14709
|
+
if (el) {
|
|
14710
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(el.querySelectorAll(`.vxe-body--row[rowid="${getRowid($xeTable, row)}"]`), elem => addClass(elem, 'row--hover'));
|
|
14711
|
+
}
|
|
14712
|
+
internalData.hoverRow = row;
|
|
14713
|
+
if ($xeGanttView) {
|
|
14714
|
+
$xeGanttView.handleUpdateHoverRow(row);
|
|
14674
14715
|
}
|
|
14675
|
-
this.hoverRow = row;
|
|
14676
14716
|
},
|
|
14677
14717
|
clearHoverRow() {
|
|
14678
|
-
const
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
14682
|
-
|
|
14718
|
+
const $xeTable = this;
|
|
14719
|
+
const internalData = $xeTable;
|
|
14720
|
+
const $xeGanttView = internalData.xeGanttView;
|
|
14721
|
+
const el = $xeTable.$refs.refElem;
|
|
14722
|
+
if (el) {
|
|
14723
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(el.querySelectorAll('.vxe-body--row.row--hover'), elem => removeClass(elem, 'row--hover'));
|
|
14724
|
+
}
|
|
14725
|
+
internalData.hoverRow = null;
|
|
14726
|
+
if ($xeGanttView) {
|
|
14727
|
+
$xeGanttView.handleUpdateHoverRow();
|
|
14683
14728
|
}
|
|
14684
|
-
this.hoverRow = null;
|
|
14685
14729
|
},
|
|
14686
14730
|
triggerHeaderCellClickEvent(evnt, params) {
|
|
14687
14731
|
const $xeTable = this;
|
|
@@ -18206,6 +18250,7 @@ const Methods = {
|
|
|
18206
18250
|
const reactData = $xeTable;
|
|
18207
18251
|
const internalData = $xeTable;
|
|
18208
18252
|
const $xeGrid = $xeTable.$xeGrid;
|
|
18253
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
18209
18254
|
const {
|
|
18210
18255
|
showFooter,
|
|
18211
18256
|
footerData,
|
|
@@ -18223,7 +18268,8 @@ const Methods = {
|
|
|
18223
18268
|
columns: visibleColumn,
|
|
18224
18269
|
data: afterFullData,
|
|
18225
18270
|
$table: $xeTable,
|
|
18226
|
-
$grid: $xeGrid
|
|
18271
|
+
$grid: $xeGrid,
|
|
18272
|
+
$gantt: $xeGantt
|
|
18227
18273
|
}) : [];
|
|
18228
18274
|
}
|
|
18229
18275
|
reactData.footerTableData = footData;
|
|
@@ -18391,20 +18437,24 @@ const Methods = {
|
|
|
18391
18437
|
dispatchEvent(type, params, evnt) {
|
|
18392
18438
|
const $xeTable = this;
|
|
18393
18439
|
const $xeGrid = $xeTable.$xeGrid;
|
|
18440
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
18394
18441
|
$xeTable.$emit(type, createEvent(evnt, {
|
|
18395
18442
|
$table: $xeTable,
|
|
18396
|
-
$grid: $xeGrid
|
|
18443
|
+
$grid: $xeGrid,
|
|
18444
|
+
$gantt: $xeGantt
|
|
18397
18445
|
}, params));
|
|
18398
18446
|
},
|
|
18399
18447
|
// 已废弃,使用 dispatchEvent
|
|
18400
18448
|
emitEvent(type, params, evnt) {
|
|
18401
18449
|
const $xeTable = this;
|
|
18402
18450
|
const $xeGrid = $xeTable.$xeGrid;
|
|
18403
|
-
|
|
18451
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
18452
|
+
$xeTable.$emit(type, createEvent(evnt, {
|
|
18404
18453
|
$table: $xeTable,
|
|
18405
18454
|
$grid: $xeGrid,
|
|
18455
|
+
$gantt: $xeGantt,
|
|
18406
18456
|
$event: evnt
|
|
18407
|
-
}
|
|
18457
|
+
}));
|
|
18408
18458
|
},
|
|
18409
18459
|
focus() {
|
|
18410
18460
|
this.isActivated = true;
|
|
@@ -18579,6 +18629,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
|
|
|
18579
18629
|
const tableReactData = $xeTable;
|
|
18580
18630
|
const tableInternalData = $xeTable;
|
|
18581
18631
|
const $xeGrid = $xeTable.$xeGrid;
|
|
18632
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
18582
18633
|
const {
|
|
18583
18634
|
columnKey,
|
|
18584
18635
|
resizable: allResizable,
|
|
@@ -18703,6 +18754,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
|
|
|
18703
18754
|
const cellParams = {
|
|
18704
18755
|
$table: $xeTable,
|
|
18705
18756
|
$grid: $xeGrid,
|
|
18757
|
+
$gantt: $xeGantt,
|
|
18706
18758
|
isEdit: false,
|
|
18707
18759
|
seq,
|
|
18708
18760
|
rowid,
|
|
@@ -18989,6 +19041,7 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
18989
19041
|
const tableReactData = $xeTable;
|
|
18990
19042
|
const tableInternalData = $xeTable;
|
|
18991
19043
|
const $xeGrid = $xeTable.$xeGrid;
|
|
19044
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
18992
19045
|
const {
|
|
18993
19046
|
stripe,
|
|
18994
19047
|
rowKey,
|
|
@@ -19176,6 +19229,7 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
19176
19229
|
const expandParams = {
|
|
19177
19230
|
$grid: $xeGrid,
|
|
19178
19231
|
$table: $xeTable,
|
|
19232
|
+
$gantt: $xeGantt,
|
|
19179
19233
|
seq,
|
|
19180
19234
|
column: expandColumn,
|
|
19181
19235
|
columnIndex,
|
|
@@ -19282,6 +19336,7 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
19282
19336
|
const tableReactData = $xeTable;
|
|
19283
19337
|
const tableInternalData = $xeTable;
|
|
19284
19338
|
const $xeGrid = $xeTable.$xeGrid;
|
|
19339
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
19285
19340
|
const slots = $xeTable.$scopedSlots;
|
|
19286
19341
|
const {
|
|
19287
19342
|
xID
|
|
@@ -19385,7 +19440,8 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
19385
19440
|
const emptySlot = slots ? slots.empty : null;
|
|
19386
19441
|
const emptyParams = {
|
|
19387
19442
|
$table: $xeTable,
|
|
19388
|
-
$grid: $xeGrid
|
|
19443
|
+
$grid: $xeGrid,
|
|
19444
|
+
$gantt: $xeGantt
|
|
19389
19445
|
};
|
|
19390
19446
|
if (emptySlot) {
|
|
19391
19447
|
emptyContent = emptySlot.call($xeTable, emptyParams);
|
|
@@ -19502,6 +19558,7 @@ const header_renderRows = (h, _vm, isGroup, isOptimizeMode, cols, $rowIndex) =>
|
|
|
19502
19558
|
const props = _vm;
|
|
19503
19559
|
const $xeTable = _vm.$parent;
|
|
19504
19560
|
const $xeGrid = $xeTable.$xeGrid;
|
|
19561
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
19505
19562
|
const tableProps = $xeTable;
|
|
19506
19563
|
const tableReactData = $xeTable;
|
|
19507
19564
|
const tableInternalData = $xeTable;
|
|
@@ -19578,6 +19635,7 @@ const header_renderRows = (h, _vm, isGroup, isOptimizeMode, cols, $rowIndex) =>
|
|
|
19578
19635
|
const cellParams = {
|
|
19579
19636
|
$table: $xeTable,
|
|
19580
19637
|
$grid: $xeGrid,
|
|
19638
|
+
$gantt: $xeGantt,
|
|
19581
19639
|
$rowIndex,
|
|
19582
19640
|
column,
|
|
19583
19641
|
columnIndex,
|
|
@@ -19949,6 +20007,7 @@ function footer_renderRows(h, _vm, isOptimizeMode, tableColumn, footerTableData,
|
|
|
19949
20007
|
const tableReactData = $xeTable;
|
|
19950
20008
|
const tableInternalData = $xeTable;
|
|
19951
20009
|
const $xeGrid = $xeTable.$xeGrid;
|
|
20010
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
19952
20011
|
const {
|
|
19953
20012
|
fixedType
|
|
19954
20013
|
} = props;
|
|
@@ -20021,6 +20080,7 @@ function footer_renderRows(h, _vm, isOptimizeMode, tableColumn, footerTableData,
|
|
|
20021
20080
|
const cellParams = {
|
|
20022
20081
|
$table: $xeTable,
|
|
20023
20082
|
$grid: $xeGrid,
|
|
20083
|
+
$gantt: $xeGantt,
|
|
20024
20084
|
row,
|
|
20025
20085
|
rowIndex: _rowIndex,
|
|
20026
20086
|
_rowIndex,
|
|
@@ -20470,6 +20530,7 @@ const renderSimplePanel = (h, _vm) => {
|
|
|
20470
20530
|
const tableProps = $xeTable;
|
|
20471
20531
|
const tableReactData = $xeTable;
|
|
20472
20532
|
const $xeGrid = $xeTable.$xeGrid;
|
|
20533
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
20473
20534
|
const {
|
|
20474
20535
|
customStore
|
|
20475
20536
|
} = props;
|
|
@@ -20521,6 +20582,7 @@ const renderSimplePanel = (h, _vm) => {
|
|
|
20521
20582
|
const params = {
|
|
20522
20583
|
$table: $xeTable,
|
|
20523
20584
|
$grid: $xeGrid,
|
|
20585
|
+
$gantt: $xeGantt,
|
|
20524
20586
|
columns: customColumnList,
|
|
20525
20587
|
isAllChecked,
|
|
20526
20588
|
isAllIndeterminate,
|
|
@@ -20744,6 +20806,7 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
20744
20806
|
const tableProps = $xeTable;
|
|
20745
20807
|
const tableReactData = $xeTable;
|
|
20746
20808
|
const $xeGrid = $xeTable.$xeGrid;
|
|
20809
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
20747
20810
|
const {
|
|
20748
20811
|
customStore
|
|
20749
20812
|
} = props;
|
|
@@ -20800,6 +20863,7 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
20800
20863
|
const params = {
|
|
20801
20864
|
$table: $xeTable,
|
|
20802
20865
|
$grid: $xeGrid,
|
|
20866
|
+
$gantt: $xeGantt,
|
|
20803
20867
|
columns: customColumnList,
|
|
20804
20868
|
isAllChecked,
|
|
20805
20869
|
isAllIndeterminate,
|
|
@@ -22028,6 +22092,7 @@ const {
|
|
|
22028
22092
|
render(h) {
|
|
22029
22093
|
const $xeTable = this.$parent;
|
|
22030
22094
|
const $xeGrid = $xeTable.$xeGrid;
|
|
22095
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
22031
22096
|
const {
|
|
22032
22097
|
hasFile,
|
|
22033
22098
|
loading,
|
|
@@ -22070,6 +22135,7 @@ const {
|
|
|
22070
22135
|
const params = {
|
|
22071
22136
|
$table: $xeTable,
|
|
22072
22137
|
$grid: $xeGrid,
|
|
22138
|
+
$gantt: $xeGantt,
|
|
22073
22139
|
options: defaultOptions,
|
|
22074
22140
|
params: defaultOptions.params
|
|
22075
22141
|
};
|
|
@@ -22123,6 +22189,7 @@ const {
|
|
|
22123
22189
|
const params = {
|
|
22124
22190
|
$table: $xeTable,
|
|
22125
22191
|
$grid: $xeGrid,
|
|
22192
|
+
$gantt: $xeGantt,
|
|
22126
22193
|
options: defaultOptions,
|
|
22127
22194
|
params: defaultOptions.params
|
|
22128
22195
|
};
|
|
@@ -22283,6 +22350,7 @@ const {
|
|
|
22283
22350
|
render(h) {
|
|
22284
22351
|
const $xeTable = this.$xeTable;
|
|
22285
22352
|
const $xeGrid = $xeTable.$xeGrid;
|
|
22353
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
22286
22354
|
const {
|
|
22287
22355
|
_e,
|
|
22288
22356
|
checkedAll,
|
|
@@ -22377,6 +22445,7 @@ const {
|
|
|
22377
22445
|
const params = {
|
|
22378
22446
|
$table: $xeTable,
|
|
22379
22447
|
$grid: $xeGrid,
|
|
22448
|
+
$gantt: $xeGantt,
|
|
22380
22449
|
options: defaultOptions,
|
|
22381
22450
|
columns,
|
|
22382
22451
|
params: defaultOptions.params
|
|
@@ -22574,6 +22643,7 @@ const {
|
|
|
22574
22643
|
const params = {
|
|
22575
22644
|
$table: $xeTable,
|
|
22576
22645
|
$grid: $xeGrid,
|
|
22646
|
+
$gantt: $xeGantt,
|
|
22577
22647
|
options: defaultOptions,
|
|
22578
22648
|
columns,
|
|
22579
22649
|
params: defaultOptions.params
|
|
@@ -23294,6 +23364,7 @@ const {
|
|
|
23294
23364
|
handleGlobalContextmenuEvent(evnt) {
|
|
23295
23365
|
const $xeTable = this;
|
|
23296
23366
|
const $xeGrid = $xeTable.$xeGrid;
|
|
23367
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
23297
23368
|
const internalData = $xeTable;
|
|
23298
23369
|
const {
|
|
23299
23370
|
$refs,
|
|
@@ -23320,8 +23391,9 @@ const {
|
|
|
23320
23391
|
const type = 'body';
|
|
23321
23392
|
const params = {
|
|
23322
23393
|
type,
|
|
23394
|
+
$table: $xeTable,
|
|
23323
23395
|
$grid: $xeGrid,
|
|
23324
|
-
$
|
|
23396
|
+
$gantt: $xeGantt,
|
|
23325
23397
|
keyboard: true,
|
|
23326
23398
|
columns: this.visibleColumn.slice(0),
|
|
23327
23399
|
$event: evnt
|
|
@@ -23354,8 +23426,9 @@ const {
|
|
|
23354
23426
|
});
|
|
23355
23427
|
const params = {
|
|
23356
23428
|
type: layout,
|
|
23429
|
+
$table: $xeTable,
|
|
23357
23430
|
$grid: $xeGrid,
|
|
23358
|
-
$
|
|
23431
|
+
$gantt: $xeGantt,
|
|
23359
23432
|
columns: this.visibleColumn.slice(0),
|
|
23360
23433
|
$event: evnt
|
|
23361
23434
|
};
|
|
@@ -23546,13 +23619,15 @@ const {
|
|
|
23546
23619
|
ctxMenuLinkEvent(evnt, menu) {
|
|
23547
23620
|
const $xeTable = this;
|
|
23548
23621
|
const $xeGrid = $xeTable.$xeGrid;
|
|
23622
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
23549
23623
|
// 如果一级菜单有配置 code 则允许点击,否则不能点击
|
|
23550
23624
|
if (!menu.disabled && (menu.code || !menu.children || !menu.children.length)) {
|
|
23551
23625
|
const gMenuOpts = mixin_menus.get(menu.code);
|
|
23552
23626
|
const params = Object.assign({
|
|
23553
23627
|
menu,
|
|
23628
|
+
$table: $xeTable,
|
|
23554
23629
|
$grid: $xeGrid,
|
|
23555
|
-
$
|
|
23630
|
+
$gantt: $xeGantt,
|
|
23556
23631
|
$event: evnt
|
|
23557
23632
|
}, this.ctxMenuStore.args);
|
|
23558
23633
|
if (gMenuOpts && gMenuOpts.menuMethod) {
|
|
@@ -25123,6 +25198,8 @@ function getBodyLabelData($xeTable, opts, columns, datas) {
|
|
|
25123
25198
|
});
|
|
25124
25199
|
}
|
|
25125
25200
|
function getExportData($xeTable, opts) {
|
|
25201
|
+
const $xeGrid = $xeTable.$xeGrid;
|
|
25202
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
25126
25203
|
const {
|
|
25127
25204
|
columns,
|
|
25128
25205
|
dataFilterMethod
|
|
@@ -25131,6 +25208,8 @@ function getExportData($xeTable, opts) {
|
|
|
25131
25208
|
if (dataFilterMethod) {
|
|
25132
25209
|
datas = datas.filter((row, index) => dataFilterMethod({
|
|
25133
25210
|
$table: $xeTable,
|
|
25211
|
+
$grid: $xeGrid,
|
|
25212
|
+
$gantt: $xeGantt,
|
|
25134
25213
|
row,
|
|
25135
25214
|
$rowIndex: index
|
|
25136
25215
|
}));
|
|
@@ -25181,11 +25260,15 @@ function getFooterCellValue($xeTable, opts, row, column) {
|
|
|
25181
25260
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
|
|
25182
25261
|
}
|
|
25183
25262
|
function getFooterData($xeTable, opts, footerTableData) {
|
|
25263
|
+
const $xeGrid = $xeTable.$xeGrid;
|
|
25264
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
25184
25265
|
const {
|
|
25185
25266
|
footerFilterMethod
|
|
25186
25267
|
} = opts;
|
|
25187
25268
|
return footerFilterMethod ? footerTableData.filter((items, index) => footerFilterMethod({
|
|
25188
25269
|
$table: $xeTable,
|
|
25270
|
+
$grid: $xeGrid,
|
|
25271
|
+
$gantt: $xeGantt,
|
|
25189
25272
|
items,
|
|
25190
25273
|
$rowIndex: index
|
|
25191
25274
|
})) : footerTableData;
|
|
@@ -25534,6 +25617,7 @@ function clearColumnConvert(columns) {
|
|
|
25534
25617
|
}
|
|
25535
25618
|
function handleExport($xeTable, opts) {
|
|
25536
25619
|
const $xeGrid = $xeTable.$xeGrid;
|
|
25620
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
25537
25621
|
const {
|
|
25538
25622
|
remote,
|
|
25539
25623
|
columns,
|
|
@@ -25546,7 +25630,8 @@ function handleExport($xeTable, opts) {
|
|
|
25546
25630
|
const params = {
|
|
25547
25631
|
options: opts,
|
|
25548
25632
|
$table: $xeTable,
|
|
25549
|
-
$grid: $xeGrid
|
|
25633
|
+
$grid: $xeGrid,
|
|
25634
|
+
$gantt: $xeGantt
|
|
25550
25635
|
};
|
|
25551
25636
|
resolve(exportMethod ? exportMethod(params) : params);
|
|
25552
25637
|
} else {
|
|
@@ -25568,7 +25653,8 @@ function handleExport($xeTable, opts) {
|
|
|
25568
25653
|
status: true,
|
|
25569
25654
|
options: opts,
|
|
25570
25655
|
$table: $xeTable,
|
|
25571
|
-
$grid: $xeGrid
|
|
25656
|
+
$grid: $xeGrid,
|
|
25657
|
+
$gantt: $xeGantt
|
|
25572
25658
|
});
|
|
25573
25659
|
}
|
|
25574
25660
|
}
|
|
@@ -25583,7 +25669,8 @@ function handleExport($xeTable, opts) {
|
|
|
25583
25669
|
status: false,
|
|
25584
25670
|
options: opts,
|
|
25585
25671
|
$table: $xeTable,
|
|
25586
|
-
$grid: $xeGrid
|
|
25672
|
+
$grid: $xeGrid,
|
|
25673
|
+
$gantt: $xeGantt
|
|
25587
25674
|
});
|
|
25588
25675
|
}
|
|
25589
25676
|
}
|
|
@@ -25990,6 +26077,8 @@ function handleExportAndPrint($xeTable, options, isPrint) {
|
|
|
25990
26077
|
const reactData = $xeTable;
|
|
25991
26078
|
const internalData = $xeTable;
|
|
25992
26079
|
const $xeGrid = $xeTable.$xeGrid;
|
|
26080
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
26081
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
25993
26082
|
const {
|
|
25994
26083
|
treeConfig,
|
|
25995
26084
|
showHeader,
|
|
@@ -26011,7 +26100,7 @@ function handleExportAndPrint($xeTable, options, isPrint) {
|
|
|
26011
26100
|
const hasTree = treeConfig;
|
|
26012
26101
|
const customOpts = $xeTable.computeCustomOpts;
|
|
26013
26102
|
const selectRecords = $xeTable.getCheckboxRecords();
|
|
26014
|
-
const proxyOpts = $
|
|
26103
|
+
const proxyOpts = $xeGGWrapper ? $xeGGWrapper.computeProxyOpts : {};
|
|
26015
26104
|
const hasFooter = !!footerTableData.length;
|
|
26016
26105
|
const hasMerge = !!(mergeBodyList.length || mergeFooterList.length);
|
|
26017
26106
|
const defOpts = Object.assign({
|
|
@@ -26098,7 +26187,8 @@ function handleExportAndPrint($xeTable, options, isPrint) {
|
|
|
26098
26187
|
exportParams.filename = filename({
|
|
26099
26188
|
options: defOpts,
|
|
26100
26189
|
$table: $xeTable,
|
|
26101
|
-
$grid: $xeGrid
|
|
26190
|
+
$grid: $xeGrid,
|
|
26191
|
+
$gantt: $xeGantt
|
|
26102
26192
|
});
|
|
26103
26193
|
} else {
|
|
26104
26194
|
exportParams.filename = `${filename}`;
|
|
@@ -26109,7 +26199,8 @@ function handleExportAndPrint($xeTable, options, isPrint) {
|
|
|
26109
26199
|
exportParams.sheetName = sheetName({
|
|
26110
26200
|
options: defOpts,
|
|
26111
26201
|
$table: $xeTable,
|
|
26112
|
-
$grid: $xeGrid
|
|
26202
|
+
$grid: $xeGrid,
|
|
26203
|
+
$gantt: $xeGantt
|
|
26113
26204
|
});
|
|
26114
26205
|
} else {
|
|
26115
26206
|
exportParams.sheetName = `${sheetName}`;
|
|
@@ -26190,6 +26281,7 @@ const convertToRows = originColumns => {
|
|
|
26190
26281
|
const internalData = $xeTable;
|
|
26191
26282
|
const $xeGrid = $xeTable.$xeGrid;
|
|
26192
26283
|
const $xeGantt = $xeTable.$xeGantt;
|
|
26284
|
+
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
26193
26285
|
const {
|
|
26194
26286
|
treeConfig,
|
|
26195
26287
|
showHeader,
|
|
@@ -26208,7 +26300,7 @@ const convertToRows = originColumns => {
|
|
|
26208
26300
|
} = internalData;
|
|
26209
26301
|
const exportOpts = $xeTable.computeExportOpts;
|
|
26210
26302
|
const treeOpts = $xeTable.computeTreeOpts;
|
|
26211
|
-
const proxyOpts = $
|
|
26303
|
+
const proxyOpts = $xeGGWrapper ? $xeGGWrapper.computeProxyOpts : {};
|
|
26212
26304
|
const hasMerge = !!(mergeBodyList.length || mergeFooterList.length);
|
|
26213
26305
|
const opts = Object.assign({
|
|
26214
26306
|
message: true,
|
|
@@ -26329,6 +26421,8 @@ const convertToRows = originColumns => {
|
|
|
26329
26421
|
mapChildren: '_children'
|
|
26330
26422
|
}), (column, index) => isColumnInfo(column) && (!columnFilterMethod || columnFilterMethod({
|
|
26331
26423
|
$table: $xeTable,
|
|
26424
|
+
$grid: $xeGrid,
|
|
26425
|
+
$gantt: $xeGantt,
|
|
26332
26426
|
column: column,
|
|
26333
26427
|
$columnIndex: index
|
|
26334
26428
|
})), {
|
|
@@ -26339,6 +26433,8 @@ const convertToRows = originColumns => {
|
|
|
26339
26433
|
} else {
|
|
26340
26434
|
groups = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().searchTree(isGroup ? collectColumn : tableFullColumn, (column, index) => column.visible && (!columnFilterMethod || columnFilterMethod({
|
|
26341
26435
|
$table: $xeTable,
|
|
26436
|
+
$grid: $xeGrid,
|
|
26437
|
+
$gantt: $xeGantt,
|
|
26342
26438
|
column,
|
|
26343
26439
|
$columnIndex: index
|
|
26344
26440
|
})), {
|
|
@@ -26365,7 +26461,8 @@ const convertToRows = originColumns => {
|
|
|
26365
26461
|
handleOptions.filename = filename({
|
|
26366
26462
|
options: opts,
|
|
26367
26463
|
$table: $xeTable,
|
|
26368
|
-
$grid: $xeGrid
|
|
26464
|
+
$grid: $xeGrid,
|
|
26465
|
+
$gantt: $xeGantt
|
|
26369
26466
|
});
|
|
26370
26467
|
} else {
|
|
26371
26468
|
handleOptions.filename = `${filename}`;
|
|
@@ -26379,7 +26476,8 @@ const convertToRows = originColumns => {
|
|
|
26379
26476
|
handleOptions.sheetName = sheetName({
|
|
26380
26477
|
options: opts,
|
|
26381
26478
|
$table: $xeTable,
|
|
26382
|
-
$grid: $xeGrid
|
|
26479
|
+
$grid: $xeGrid,
|
|
26480
|
+
$gantt: $xeGantt
|
|
26383
26481
|
});
|
|
26384
26482
|
} else {
|
|
26385
26483
|
handleOptions.sheetName = `${sheetName}`;
|
|
@@ -26404,7 +26502,8 @@ const convertToRows = originColumns => {
|
|
|
26404
26502
|
beforeExportMethod({
|
|
26405
26503
|
options: handleOptions,
|
|
26406
26504
|
$table: $xeTable,
|
|
26407
|
-
$grid: $xeGrid
|
|
26505
|
+
$grid: $xeGrid,
|
|
26506
|
+
$gantt: $xeGantt
|
|
26408
26507
|
});
|
|
26409
26508
|
}
|
|
26410
26509
|
}
|
|
@@ -26419,12 +26518,12 @@ const convertToRows = originColumns => {
|
|
|
26419
26518
|
handleOptions.data = selectRecords;
|
|
26420
26519
|
}
|
|
26421
26520
|
} else if (mode === 'all') {
|
|
26422
|
-
if (!$
|
|
26521
|
+
if (!$xeGGWrapper) {
|
|
26423
26522
|
errLog('vxe.error.errProp', ['all', 'mode=current,selected']);
|
|
26424
26523
|
}
|
|
26425
|
-
if ($
|
|
26426
|
-
const gridReactData = $
|
|
26427
|
-
const proxyOpts = $
|
|
26524
|
+
if ($xeGGWrapper && !handleOptions.remote) {
|
|
26525
|
+
const gridReactData = $xeGGWrapper;
|
|
26526
|
+
const proxyOpts = $xeGGWrapper.computeProxyOpts;
|
|
26428
26527
|
const {
|
|
26429
26528
|
sortData
|
|
26430
26529
|
} = gridReactData;
|
|
@@ -26546,10 +26645,12 @@ const convertToRows = originColumns => {
|
|
|
26546
26645
|
_print(options) {
|
|
26547
26646
|
const $xeTable = this;
|
|
26548
26647
|
const $xeGrid = $xeTable.$xeGrid;
|
|
26648
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
26649
|
+
const printOpts = $xeTable.computePrintOpts;
|
|
26549
26650
|
const opts = Object.assign({
|
|
26550
26651
|
original: false
|
|
26551
26652
|
// beforePrintMethod
|
|
26552
|
-
},
|
|
26653
|
+
}, printOpts, options, {
|
|
26553
26654
|
type: 'html',
|
|
26554
26655
|
download: false,
|
|
26555
26656
|
remote: false,
|
|
@@ -26564,7 +26665,8 @@ const convertToRows = originColumns => {
|
|
|
26564
26665
|
printTitle = sheetName({
|
|
26565
26666
|
options: opts,
|
|
26566
26667
|
$table: $xeTable,
|
|
26567
|
-
$grid: $xeGrid
|
|
26668
|
+
$grid: $xeGrid,
|
|
26669
|
+
$gantt: $xeGantt
|
|
26568
26670
|
});
|
|
26569
26671
|
} else {
|
|
26570
26672
|
printTitle = `${sheetName}`;
|
|
@@ -26589,7 +26691,9 @@ const convertToRows = originColumns => {
|
|
|
26589
26691
|
html,
|
|
26590
26692
|
content: html,
|
|
26591
26693
|
options: opts,
|
|
26592
|
-
$table: $xeTable
|
|
26694
|
+
$table: $xeTable,
|
|
26695
|
+
$grid: $xeGrid,
|
|
26696
|
+
$gantt: $xeGantt
|
|
26593
26697
|
});
|
|
26594
26698
|
} : undefined
|
|
26595
26699
|
}));
|
|
@@ -26608,7 +26712,9 @@ const convertToRows = originColumns => {
|
|
|
26608
26712
|
html,
|
|
26609
26713
|
content: html,
|
|
26610
26714
|
options: opts,
|
|
26611
|
-
$table: $xeTable
|
|
26715
|
+
$table: $xeTable,
|
|
26716
|
+
$grid: $xeGrid,
|
|
26717
|
+
$gantt: $xeGantt
|
|
26612
26718
|
});
|
|
26613
26719
|
} : undefined
|
|
26614
26720
|
});
|
|
@@ -28032,7 +28138,8 @@ function calcMaxHeight($xeTable) {
|
|
|
28032
28138
|
}
|
|
28033
28139
|
function emitCustomEvent($xeTable, type, evnt) {
|
|
28034
28140
|
const $xeGrid = $xeTable.$xeGrid;
|
|
28035
|
-
const
|
|
28141
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
28142
|
+
const comp = $xeGrid || $xeGantt || $xeTable;
|
|
28036
28143
|
comp.dispatchEvent('custom', {
|
|
28037
28144
|
type
|
|
28038
28145
|
}, evnt);
|
|
@@ -28357,7 +28464,8 @@ function emitCustomEvent($xeTable, type, evnt) {
|
|
|
28357
28464
|
emitCustomEvent(type, evnt) {
|
|
28358
28465
|
const $xeTable = this;
|
|
28359
28466
|
const $xeGrid = $xeTable.$xeGrid;
|
|
28360
|
-
const
|
|
28467
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
28468
|
+
const comp = $xeGrid || $xeGantt || $xeTable;
|
|
28361
28469
|
comp.dispatchEvent('custom', {
|
|
28362
28470
|
type
|
|
28363
28471
|
}, evnt);
|
|
@@ -28543,12 +28651,14 @@ function renderFixed(h, $xeTable, fixedType) {
|
|
|
28543
28651
|
function renderEmptyBody(h, $xeTable) {
|
|
28544
28652
|
const slots = $xeTable.$scopedSlots;
|
|
28545
28653
|
const $xeGrid = $xeTable.$xeGrid;
|
|
28654
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
28546
28655
|
const emptyOpts = $xeTable.computeEmptyOpts;
|
|
28547
28656
|
const emptySlot = slots.empty;
|
|
28548
28657
|
let emptyContent = '';
|
|
28549
28658
|
const emptyParams = {
|
|
28550
28659
|
$table: $xeTable,
|
|
28551
|
-
$grid: $xeGrid
|
|
28660
|
+
$grid: $xeGrid,
|
|
28661
|
+
$gantt: $xeGantt
|
|
28552
28662
|
};
|
|
28553
28663
|
if (emptySlot) {
|
|
28554
28664
|
emptyContent = emptySlot.call($xeTable, emptyParams);
|
|
@@ -28645,6 +28755,7 @@ function renderRowExpandedVNs(h, $xeTable) {
|
|
|
28645
28755
|
const reactData = $xeTable;
|
|
28646
28756
|
const internalData = $xeTable;
|
|
28647
28757
|
const $xeGrid = $xeTable.$xeGrid;
|
|
28758
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
28648
28759
|
const {
|
|
28649
28760
|
treeConfig
|
|
28650
28761
|
} = props;
|
|
@@ -28721,8 +28832,9 @@ function renderRowExpandedVNs(h, $xeTable) {
|
|
|
28721
28832
|
_columnIndex = colRest._index;
|
|
28722
28833
|
}
|
|
28723
28834
|
const expandParams = {
|
|
28724
|
-
$grid: $xeGrid,
|
|
28725
28835
|
$table: $xeTable,
|
|
28836
|
+
$grid: $xeGrid,
|
|
28837
|
+
$gantt: $xeGantt,
|
|
28726
28838
|
seq,
|
|
28727
28839
|
column: expandColumn,
|
|
28728
28840
|
columnIndex,
|
|
@@ -29145,6 +29257,7 @@ function renderBody(h, $xeTable) {
|
|
|
29145
29257
|
const $xeTable = this;
|
|
29146
29258
|
const props = $xeTable;
|
|
29147
29259
|
const $xeGrid = $xeTable.$xeGrid;
|
|
29260
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
29148
29261
|
const {
|
|
29149
29262
|
id
|
|
29150
29263
|
} = props;
|
|
@@ -29152,7 +29265,8 @@ function renderBody(h, $xeTable) {
|
|
|
29152
29265
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(id)) {
|
|
29153
29266
|
return `${id({
|
|
29154
29267
|
$table: $xeTable,
|
|
29155
|
-
$grid: $xeGrid
|
|
29268
|
+
$grid: $xeGrid,
|
|
29269
|
+
$gantt: $xeGantt
|
|
29156
29270
|
}) || ''}`;
|
|
29157
29271
|
}
|
|
29158
29272
|
return `${id}`;
|
|
@@ -30296,6 +30410,7 @@ function renderBody(h, $xeTable) {
|
|
|
30296
30410
|
const VxeUITooltipComponent = core_.VxeUI.getComponent('VxeTooltip');
|
|
30297
30411
|
const $xeTable = this;
|
|
30298
30412
|
const $xeGrid = $xeTable.$xeGrid;
|
|
30413
|
+
const $xeGantt = $xeTable.$xeGantt;
|
|
30299
30414
|
const props = $xeTable;
|
|
30300
30415
|
const slots = $xeTable.$scopedSlots;
|
|
30301
30416
|
const reactData = $xeTable;
|
|
@@ -30467,6 +30582,7 @@ function renderBody(h, $xeTable) {
|
|
|
30467
30582
|
default: () => $xeTable.callSlot(loadingSlot, {
|
|
30468
30583
|
$table: $xeTable,
|
|
30469
30584
|
$grid: $xeGrid,
|
|
30585
|
+
$gantt: $xeGantt,
|
|
30470
30586
|
loading: currLoading
|
|
30471
30587
|
}, h)
|
|
30472
30588
|
} : {}
|
|
@@ -30477,6 +30593,7 @@ function renderBody(h, $xeTable) {
|
|
|
30477
30593
|
}, $xeTable.callSlot(loadingSlot, {
|
|
30478
30594
|
$table: $xeTable,
|
|
30479
30595
|
$grid: $xeGrid,
|
|
30596
|
+
$gantt: $xeGantt,
|
|
30480
30597
|
loading: currLoading
|
|
30481
30598
|
}, h)) : table_renderEmptyElement($xeTable),
|
|
30482
30599
|
/**
|
|
@@ -30600,7 +30717,7 @@ function toolbar_createInternalData() {
|
|
|
30600
30717
|
connectTable: null
|
|
30601
30718
|
};
|
|
30602
30719
|
}
|
|
30603
|
-
/* harmony default export */ var
|
|
30720
|
+
/* harmony default export */ var toolbar = (/* define-vxe-component start */defineVxeComponent({
|
|
30604
30721
|
name: 'VxeToolbar',
|
|
30605
30722
|
mixins: [toolbar_globalMixins.sizeMixin],
|
|
30606
30723
|
props: {
|
|
@@ -31557,8 +31674,10 @@ function grid_createInternalData() {
|
|
|
31557
31674
|
},
|
|
31558
31675
|
provide() {
|
|
31559
31676
|
const $xeGrid = this;
|
|
31677
|
+
const $xeGantt = null;
|
|
31560
31678
|
return {
|
|
31561
|
-
$xeGrid
|
|
31679
|
+
$xeGrid,
|
|
31680
|
+
$xeGantt
|
|
31562
31681
|
};
|
|
31563
31682
|
},
|
|
31564
31683
|
data() {
|
|
@@ -33123,9 +33242,8 @@ function grid_createInternalData() {
|
|
|
33123
33242
|
toolbarConfig
|
|
33124
33243
|
} = props;
|
|
33125
33244
|
const toolbarSlot = slots.toolbar;
|
|
33126
|
-
const hasToolbar = !!(toolbarSlot || isEnableConf(toolbarConfig) || toolbar);
|
|
33127
33245
|
const toolbarOpts = $xeGrid.computeToolbarOpts;
|
|
33128
|
-
if (
|
|
33246
|
+
if (toolbarConfig && isEnableConf(toolbarOpts) || toolbarSlot) {
|
|
33129
33247
|
return h('div', {
|
|
33130
33248
|
key: 'toolbar',
|
|
33131
33249
|
ref: 'refToolbarWrapper',
|
|
@@ -33133,7 +33251,7 @@ function grid_createInternalData() {
|
|
|
33133
33251
|
}, toolbarSlot ? toolbarSlot.call($xeGrid, {
|
|
33134
33252
|
$grid: $xeGrid,
|
|
33135
33253
|
$gantt: null
|
|
33136
|
-
}) : [h(
|
|
33254
|
+
}) : [h(toolbar, {
|
|
33137
33255
|
props: Object.assign({}, toolbarOpts, {
|
|
33138
33256
|
slots: undefined
|
|
33139
33257
|
}),
|
|
@@ -34810,15 +34928,15 @@ const Table = VxeTable;
|
|
|
34810
34928
|
;// CONCATENATED MODULE: ./packages/toolbar/index.ts
|
|
34811
34929
|
|
|
34812
34930
|
|
|
34813
|
-
const VxeToolbar = Object.assign({},
|
|
34931
|
+
const VxeToolbar = Object.assign({}, toolbar, {
|
|
34814
34932
|
install(app) {
|
|
34815
|
-
app.component(
|
|
34933
|
+
app.component(toolbar.name, toolbar);
|
|
34816
34934
|
}
|
|
34817
34935
|
});
|
|
34818
34936
|
if (core_.VxeUI.dynamicApp) {
|
|
34819
|
-
core_.VxeUI.dynamicApp.component(
|
|
34937
|
+
core_.VxeUI.dynamicApp.component(toolbar.name, toolbar);
|
|
34820
34938
|
}
|
|
34821
|
-
core_.VxeUI.component(
|
|
34939
|
+
core_.VxeUI.component(toolbar);
|
|
34822
34940
|
const Toolbar = VxeToolbar;
|
|
34823
34941
|
/* harmony default export */ var packages_toolbar = ((/* unused pure expression or super */ null && (VxeToolbar)));
|
|
34824
34942
|
;// CONCATENATED MODULE: ./packages/locale/lang/zh-CN.ts
|
|
@@ -34843,6 +34961,7 @@ const Toolbar = VxeToolbar;
|
|
|
34843
34961
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
34844
34962
|
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
34845
34963
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
34964
|
+
reqSupportProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会出现错误',
|
|
34846
34965
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
34847
34966
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
34848
34967
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
@@ -34880,7 +34999,8 @@ const Toolbar = VxeToolbar;
|
|
|
34880
34999
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
34881
35000
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
34882
35001
|
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
34883
|
-
useNew: '不建议使用 {0},请使用 {1}'
|
|
35002
|
+
useNew: '不建议使用 {0},请使用 {1}',
|
|
35003
|
+
errorVersion: '版本不匹配,当前版本 {0},最低支持版本为 {1}'
|
|
34884
35004
|
},
|
|
34885
35005
|
table: {
|
|
34886
35006
|
emptyText: '暂无数据',
|