vxe-table 3.15.52 → 3.16.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 +853 -691
- package/es/index.esm.js +2 -1
- package/es/locale/lang/ar-EG.js +1 -3
- package/es/locale/lang/de-DE.js +1 -3
- package/es/locale/lang/en-US.js +1 -3
- package/es/locale/lang/es-ES.js +1 -3
- package/es/locale/lang/fr-FR.js +1 -3
- package/es/locale/lang/hu-HU.js +1 -3
- package/es/locale/lang/hy-AM.js +1 -3
- package/es/locale/lang/id-ID.js +1 -3
- package/es/locale/lang/it-IT.js +1 -3
- package/es/locale/lang/ja-JP.js +1 -3
- package/es/locale/lang/ko-KR.js +1 -3
- package/es/locale/lang/ms-MY.js +1 -3
- package/es/locale/lang/nb-NO.js +1 -3
- package/es/locale/lang/pt-BR.js +1 -3
- package/es/locale/lang/ru-RU.js +1 -3
- package/es/locale/lang/th-TH.js +1 -3
- package/es/locale/lang/ug-CN.js +1 -3
- package/es/locale/lang/uk-UA.js +1 -3
- package/es/locale/lang/uz-UZ.js +1 -3
- package/es/locale/lang/vi-VN.js +1 -3
- package/es/locale/lang/zh-CHT.js +1 -3
- package/es/locale/lang/zh-CN.js +1 -3
- package/es/style.css +1 -1
- package/es/table/module/edit/mixin.js +1 -31
- package/es/table/module/keyboard/mixin.js +2 -2
- package/es/table/src/columnInfo.js +1 -6
- package/es/table/src/methods.js +10 -28
- package/es/table/src/table.js +3 -22
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +952 -806
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.common.js +2 -1
- package/lib/index.umd.js +1950 -3209
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +1 -3
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +1 -3
- package/lib/locale/lang/de-DE.js +1 -3
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +1 -3
- package/lib/locale/lang/en-US.js +1 -3
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -3
- package/lib/locale/lang/es-ES.js +1 -3
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +1 -3
- package/lib/locale/lang/fr-FR.js +1 -3
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +1 -3
- package/lib/locale/lang/hu-HU.js +1 -3
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +1 -3
- package/lib/locale/lang/hy-AM.js +1 -3
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +1 -3
- package/lib/locale/lang/id-ID.js +1 -3
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +1 -3
- package/lib/locale/lang/it-IT.js +1 -3
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +1 -3
- package/lib/locale/lang/ja-JP.js +1 -3
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -3
- package/lib/locale/lang/ko-KR.js +1 -3
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +1 -3
- package/lib/locale/lang/ms-MY.js +1 -3
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +1 -3
- package/lib/locale/lang/nb-NO.js +1 -3
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +1 -3
- package/lib/locale/lang/pt-BR.js +1 -3
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +1 -3
- package/lib/locale/lang/ru-RU.js +1 -3
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +1 -3
- package/lib/locale/lang/th-TH.js +1 -3
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +1 -3
- package/lib/locale/lang/ug-CN.js +1 -3
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +1 -3
- package/lib/locale/lang/uk-UA.js +1 -3
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +1 -3
- package/lib/locale/lang/uz-UZ.js +1 -3
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +1 -3
- package/lib/locale/lang/vi-VN.js +1 -3
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +1 -3
- package/lib/locale/lang/zh-CHT.js +1 -3
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +1 -3
- package/lib/locale/lang/zh-CN.js +1 -3
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -3
- package/lib/style.css +1 -1
- package/lib/table/module/edit/mixin.js +1 -30
- package/lib/table/module/edit/mixin.min.js +1 -1
- package/lib/table/module/keyboard/mixin.js +2 -2
- package/lib/table/module/keyboard/mixin.min.js +1 -1
- package/lib/table/src/columnInfo.js +1 -6
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/methods.js +13 -25
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +2 -22
- 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/v-x-e-table/index.js +2 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +2 -1
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +2 -1
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +2 -1
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-table/index.js +2 -1
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-toolbar/index.js +2 -1
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-ui/index.js +2 -1
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +2 -1
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +993 -778
- package/packages/locale/lang/ar-EG.ts +1 -3
- package/packages/locale/lang/de-DE.ts +1 -3
- package/packages/locale/lang/en-US.ts +1 -3
- package/packages/locale/lang/es-ES.ts +1 -3
- package/packages/locale/lang/fr-FR.ts +1 -3
- package/packages/locale/lang/hu-HU.ts +1 -3
- package/packages/locale/lang/hy-AM.ts +1 -3
- package/packages/locale/lang/id-ID.ts +1 -3
- package/packages/locale/lang/it-IT.ts +1 -3
- package/packages/locale/lang/ja-JP.ts +1 -3
- package/packages/locale/lang/ko-KR.ts +1 -3
- package/packages/locale/lang/ms-MY.ts +1 -3
- package/packages/locale/lang/nb-NO.ts +1 -3
- package/packages/locale/lang/pt-BR.ts +1 -3
- package/packages/locale/lang/ru-RU.ts +1 -3
- package/packages/locale/lang/th-TH.ts +1 -3
- package/packages/locale/lang/ug-CN.ts +1 -3
- package/packages/locale/lang/uk-UA.ts +1 -3
- package/packages/locale/lang/uz-UZ.ts +1 -3
- package/packages/locale/lang/vi-VN.ts +1 -3
- package/packages/locale/lang/zh-CHT.ts +1 -3
- package/packages/locale/lang/zh-CN.ts +1 -3
- package/packages/table/module/edit/mixin.ts +2 -30
- package/packages/table/module/keyboard/mixin.ts +2 -2
- package/packages/table/src/columnInfo.ts +1 -6
- package/packages/table/src/methods.ts +10 -25
- package/packages/table/src/props.ts +4 -4
- package/packages/table/src/table.ts +3 -22
- package/packages/ui/index.ts +1 -1
- /package/es/{iconfont.1751505157215.ttf → iconfont.1750910486943.ttf} +0 -0
- /package/es/{iconfont.1751505157215.woff → iconfont.1750910486943.woff} +0 -0
- /package/es/{iconfont.1751505157215.woff2 → iconfont.1750910486943.woff2} +0 -0
- /package/lib/{iconfont.1751505157215.ttf → iconfont.1750910486943.ttf} +0 -0
- /package/lib/{iconfont.1751505157215.woff → iconfont.1750910486943.woff} +0 -0
- /package/lib/{iconfont.1751505157215.woff2 → iconfont.1750910486943.woff2} +0 -0
|
@@ -86,14 +86,11 @@ function insertTreeRow($xeTable, newRecords, isAppend) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
// function insertGroupRow ($xeTable: VxeTableConstructor & VxeTablePrivateMethods, newRecords: any[], isAppend: boolean) {
|
|
90
|
-
// }
|
|
91
89
|
function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
|
|
92
90
|
const props = $xeTable;
|
|
93
91
|
const reactData = $xeTable;
|
|
94
92
|
const internalData = $xeTable;
|
|
95
93
|
const { treeConfig } = props;
|
|
96
|
-
const { isRowGroupStatus } = reactData;
|
|
97
94
|
const { tableFullTreeData, afterFullData, mergeBodyList, tableFullData, fullDataRowIdData, fullAllDataRowIdData, insertRowMaps } = internalData;
|
|
98
95
|
const treeOpts = $xeTable.computeTreeOpts;
|
|
99
96
|
const { transform, rowField, mapChildrenField } = treeOpts;
|
|
@@ -107,14 +104,6 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
|
|
|
107
104
|
if (treeConfig && transform) {
|
|
108
105
|
insertTreeRow($xeTable, newRecords, false);
|
|
109
106
|
}
|
|
110
|
-
else if (isRowGroupStatus) {
|
|
111
|
-
// 如果分组
|
|
112
|
-
if (treeConfig) {
|
|
113
|
-
throw new Error(getI18n('vxe.error.noTree', ['insert']));
|
|
114
|
-
}
|
|
115
|
-
warnLog(getI18n('vxe.error.noGroup', ['remove']));
|
|
116
|
-
// insertGroupRow($xeTable, newRecords, false)
|
|
117
|
-
}
|
|
118
107
|
else {
|
|
119
108
|
newRecords.forEach(item => {
|
|
120
109
|
const rowid = getRowid($xeTable, item);
|
|
@@ -139,14 +128,6 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
|
|
|
139
128
|
if (treeConfig && transform) {
|
|
140
129
|
insertTreeRow($xeTable, newRecords, true);
|
|
141
130
|
}
|
|
142
|
-
else if (isRowGroupStatus) {
|
|
143
|
-
// 如果分组
|
|
144
|
-
if (treeConfig) {
|
|
145
|
-
throw new Error(getI18n('vxe.error.noTree', ['insert']));
|
|
146
|
-
}
|
|
147
|
-
warnLog(getI18n('vxe.error.noGroup', ['remove']));
|
|
148
|
-
// insertGroupRow($xeTable, newRecords, false)
|
|
149
|
-
}
|
|
150
131
|
else {
|
|
151
132
|
newRecords.forEach(item => {
|
|
152
133
|
const rowid = getRowid($xeTable, item);
|
|
@@ -211,13 +192,6 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
|
|
|
211
192
|
insertTreeRow($xeTable, newRecords, true);
|
|
212
193
|
}
|
|
213
194
|
}
|
|
214
|
-
else if (isRowGroupStatus) {
|
|
215
|
-
// 如果分组
|
|
216
|
-
if (treeConfig) {
|
|
217
|
-
throw new Error(getI18n('vxe.error.noTree', ['insert']));
|
|
218
|
-
}
|
|
219
|
-
warnLog(getI18n('vxe.error.noGroup', ['remove']));
|
|
220
|
-
}
|
|
221
195
|
else {
|
|
222
196
|
if (treeConfig) {
|
|
223
197
|
throw new Error(getI18n('vxe.error.noTree', ['insert']));
|
|
@@ -515,7 +489,7 @@ export default {
|
|
|
515
489
|
const reactData = $xeTable;
|
|
516
490
|
const internalData = $xeTable;
|
|
517
491
|
const { treeConfig } = props;
|
|
518
|
-
const { editStore
|
|
492
|
+
const { editStore } = reactData;
|
|
519
493
|
const { tableFullTreeData, selectCheckboxMaps, afterFullData, mergeBodyList, tableFullData, pendingRowMaps, insertRowMaps, removeRowMaps } = internalData;
|
|
520
494
|
const checkboxOpts = $xeTable.computeCheckboxOpts;
|
|
521
495
|
const treeOpts = $xeTable.computeTreeOpts;
|
|
@@ -574,10 +548,6 @@ export default {
|
|
|
574
548
|
}
|
|
575
549
|
});
|
|
576
550
|
}
|
|
577
|
-
else if (isRowGroupStatus) {
|
|
578
|
-
// 如果分组
|
|
579
|
-
warnLog(getI18n('vxe.error.noGroup', ['remove']));
|
|
580
|
-
}
|
|
581
551
|
else {
|
|
582
552
|
rows.forEach((row) => {
|
|
583
553
|
const tfIndex = this.findRowIndexOf(tableFullData, row);
|
|
@@ -352,8 +352,8 @@ export default {
|
|
|
352
352
|
handleCellMousedownEvent(evnt, params) {
|
|
353
353
|
const $xeTable = this;
|
|
354
354
|
const { editConfig, editOpts, handleSelected, checkboxConfig, checkboxOpts, mouseConfig, mouseOpts } = this;
|
|
355
|
-
if (mouseConfig && mouseOpts.area && $xeTable.
|
|
356
|
-
return $xeTable.
|
|
355
|
+
if (mouseConfig && mouseOpts.area && $xeTable.triggerCellAreaMousednEvent) {
|
|
356
|
+
return $xeTable.triggerCellAreaMousednEvent(evnt, params);
|
|
357
357
|
}
|
|
358
358
|
else {
|
|
359
359
|
if (checkboxConfig && checkboxOpts.range) {
|
|
@@ -9,7 +9,7 @@ export class ColumnInfo {
|
|
|
9
9
|
constructor($xeTable, _vm, { renderHeader, renderCell, renderFooter, renderData } = {}) {
|
|
10
10
|
const tableProps = $xeTable;
|
|
11
11
|
const $xeGrid = $xeTable.$xeGrid;
|
|
12
|
-
const proxyOpts = $xeGrid ? $xeGrid.
|
|
12
|
+
const proxyOpts = $xeGrid ? $xeGrid.computeProxyOpts : null;
|
|
13
13
|
const formatter = _vm.formatter;
|
|
14
14
|
const visible = XEUtils.isBoolean(_vm.visible) ? _vm.visible : true;
|
|
15
15
|
const types = ['seq', 'checkbox', 'radio', 'expand', 'html'];
|
|
@@ -48,11 +48,6 @@ export class ColumnInfo {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
if (_vm.aggFunc) {
|
|
52
|
-
if (!$xeTable.handlePivotTableAggregateData && _vm.aggFunc !== true) {
|
|
53
|
-
errLog('vxe.error.errProp', [`column.agg-func=${_vm.aggFunc}`, 'column.agg-func=true']);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
51
|
Object.assign(this, {
|
|
57
52
|
// 基本属性
|
|
58
53
|
type: _vm.type,
|
package/es/table/src/methods.js
CHANGED
|
@@ -6844,8 +6844,7 @@ const Methods = {
|
|
|
6844
6844
|
const childList = vals[2];
|
|
6845
6845
|
let sLen = 0; // 已选
|
|
6846
6846
|
let hLen = 0; // 半选
|
|
6847
|
-
let vLen = 0; //
|
|
6848
|
-
const cLen = childList.length; // 有效子行
|
|
6847
|
+
let vLen = 0; // 有效行
|
|
6849
6848
|
childList.forEach(checkMethod
|
|
6850
6849
|
? (item) => {
|
|
6851
6850
|
const childRowid = handleGetRowId(item);
|
|
@@ -6879,29 +6878,16 @@ const Methods = {
|
|
|
6879
6878
|
}
|
|
6880
6879
|
vLen++;
|
|
6881
6880
|
});
|
|
6882
|
-
let isSelected =
|
|
6883
|
-
if (
|
|
6884
|
-
if (
|
|
6885
|
-
isSelected =
|
|
6881
|
+
let isSelected = (sLen >= vLen && (vLen >= 1 || hLen >= 1));
|
|
6882
|
+
if (checkMethod) {
|
|
6883
|
+
if (checkMethod({ $table: $xeTable, row })) {
|
|
6884
|
+
isSelected = sLen >= vLen;
|
|
6886
6885
|
}
|
|
6887
6886
|
else {
|
|
6888
|
-
|
|
6889
|
-
if ((sLen > 0 && sLen >= vLen)) {
|
|
6890
|
-
isSelected = true;
|
|
6891
|
-
}
|
|
6892
|
-
else if (selectCheckboxMaps[rowid]) {
|
|
6893
|
-
isSelected = true;
|
|
6894
|
-
}
|
|
6895
|
-
else {
|
|
6896
|
-
isSelected = false;
|
|
6897
|
-
}
|
|
6887
|
+
isSelected = selectCheckboxMaps[rowid];
|
|
6898
6888
|
}
|
|
6899
6889
|
}
|
|
6900
|
-
|
|
6901
|
-
// 如果无子项
|
|
6902
|
-
isSelected = selectCheckboxMaps[rowid];
|
|
6903
|
-
}
|
|
6904
|
-
const halfSelect = !isSelected && (sLen > 0 || hLen > 0);
|
|
6890
|
+
const halfSelect = !isSelected && (sLen >= 1 || hLen >= 1);
|
|
6905
6891
|
if (checkField) {
|
|
6906
6892
|
XEUtils.set(row, checkField, isSelected);
|
|
6907
6893
|
}
|
|
@@ -6944,9 +6930,7 @@ const Methods = {
|
|
|
6944
6930
|
const { checkField, checkMethod, showReserveStatus } = checkboxOpts;
|
|
6945
6931
|
const { handleGetRowId } = createHandleGetRowId($xeTable);
|
|
6946
6932
|
let sLen = 0; // 已选
|
|
6947
|
-
let dsLen = 0; // 禁用的已选
|
|
6948
6933
|
let hLen = 0; // 半选
|
|
6949
|
-
let dhLen = 0; // 禁用的半选
|
|
6950
6934
|
let vLen = 0; // 有效行
|
|
6951
6935
|
const rootList = (treeConfig ? afterTreeFullData : (isRowGroupStatus ? afterGroupFullData : afterFullData));
|
|
6952
6936
|
rootList.forEach(checkMethod
|
|
@@ -6964,10 +6948,10 @@ const Methods = {
|
|
|
6964
6948
|
}
|
|
6965
6949
|
else {
|
|
6966
6950
|
if (selected) {
|
|
6967
|
-
|
|
6951
|
+
sLen++;
|
|
6968
6952
|
}
|
|
6969
6953
|
else if (treeIndeterminateRowMaps[childRowid]) {
|
|
6970
|
-
|
|
6954
|
+
hLen++;
|
|
6971
6955
|
}
|
|
6972
6956
|
}
|
|
6973
6957
|
}
|
|
@@ -6983,7 +6967,7 @@ const Methods = {
|
|
|
6983
6967
|
vLen++;
|
|
6984
6968
|
});
|
|
6985
6969
|
const isSelected = rootList.length > 0 ? (vLen > 0 ? (sLen >= vLen) : (sLen >= rootList.length)) : false;
|
|
6986
|
-
let halfSelect = !isSelected && (sLen
|
|
6970
|
+
let halfSelect = !isSelected && (sLen >= 1 || hLen >= 1);
|
|
6987
6971
|
// 如果复选框启用保留记录,当保留数据存在时显示半选
|
|
6988
6972
|
if (!isSelected && !halfSelect && showReserveStatus) {
|
|
6989
6973
|
halfSelect = !XEUtils.isEmpty(checkboxReserveRowMap);
|
|
@@ -7900,8 +7884,6 @@ const Methods = {
|
|
|
7900
7884
|
}, evnt);
|
|
7901
7885
|
}
|
|
7902
7886
|
return $xeTable.$nextTick().then(() => {
|
|
7903
|
-
updateRowOffsetTop($xeTable);
|
|
7904
|
-
updateRowExpandStyle($xeTable);
|
|
7905
7887
|
$xeTable.updateCellAreas();
|
|
7906
7888
|
$xeTable.recalculate();
|
|
7907
7889
|
}).then(() => {
|
package/es/table/src/table.js
CHANGED
|
@@ -1111,10 +1111,10 @@ export default {
|
|
|
1111
1111
|
const $xeTable = this;
|
|
1112
1112
|
const reactData = $xeTable;
|
|
1113
1113
|
const internalData = $xeTable;
|
|
1114
|
-
const {
|
|
1114
|
+
const { rowExpandedFlag, expandColumn, rowGroupExpandedFlag, treeExpandedFlag } = reactData;
|
|
1115
1115
|
const { visibleDataRowIdData, rowExpandedMaps } = internalData;
|
|
1116
1116
|
const expandList = [];
|
|
1117
|
-
if (
|
|
1117
|
+
if (expandColumn && rowExpandedFlag && rowGroupExpandedFlag && treeExpandedFlag) {
|
|
1118
1118
|
XEUtils.each(rowExpandedMaps, (row, rowid) => {
|
|
1119
1119
|
if (visibleDataRowIdData[rowid]) {
|
|
1120
1120
|
expandList.push(row);
|
|
@@ -1557,7 +1557,7 @@ export default {
|
|
|
1557
1557
|
if (rowOpts.height && !this.showOverflow) {
|
|
1558
1558
|
warnLog('vxe.error.notProp', ['table.show-overflow']);
|
|
1559
1559
|
}
|
|
1560
|
-
if (!$xeTable.
|
|
1560
|
+
if (!$xeTable.triggerCellAreaMousednEvent) {
|
|
1561
1561
|
if (props.areaConfig) {
|
|
1562
1562
|
warnLog('vxe.error.notProp', ['area-config']);
|
|
1563
1563
|
}
|
|
@@ -1742,7 +1742,6 @@ export default {
|
|
|
1742
1742
|
$xeTable.$nextTick(() => {
|
|
1743
1743
|
if (props.loading) {
|
|
1744
1744
|
if (!VxeUILoadingComponent && !this.$scopedSlots.loading) {
|
|
1745
|
-
errLog('vxe.error.errProp', ['loading=true', 'loading=false | <template #loading>...</template>']);
|
|
1746
1745
|
errLog('vxe.error.reqComp', ['vxe-loading']);
|
|
1747
1746
|
}
|
|
1748
1747
|
}
|
|
@@ -1751,24 +1750,6 @@ export default {
|
|
|
1751
1750
|
(props.showFooterOverflow === true || props.showFooterOverflow === 'tooltip') ||
|
|
1752
1751
|
props.tooltipConfig || props.editRules) {
|
|
1753
1752
|
if (!VxeUITooltipComponent) {
|
|
1754
|
-
if (props.showOverflow === true) {
|
|
1755
|
-
errLog('vxe.error.errProp', ['show-overflow=true', 'show-overflow=title']);
|
|
1756
|
-
}
|
|
1757
|
-
if (props.showOverflow === 'tooltip') {
|
|
1758
|
-
errLog('vxe.error.errProp', ['show-overflow=tooltip', 'show-overflow=title']);
|
|
1759
|
-
}
|
|
1760
|
-
if (props.showHeaderOverflow === true) {
|
|
1761
|
-
errLog('vxe.error.errProp', ['show-header-overflow=true', 'show-header-overflow=title']);
|
|
1762
|
-
}
|
|
1763
|
-
if (props.showHeaderOverflow === 'tooltip') {
|
|
1764
|
-
errLog('vxe.error.errProp', ['show-header-overflow=tooltip', 'show-header-overflow=title']);
|
|
1765
|
-
}
|
|
1766
|
-
if (props.showFooterOverflow === true) {
|
|
1767
|
-
errLog('vxe.error.errProp', ['show-footer-overflow=true', 'show-footer-overflow=title']);
|
|
1768
|
-
}
|
|
1769
|
-
if (props.showFooterOverflow === 'tooltip') {
|
|
1770
|
-
errLog('vxe.error.errProp', ['show-footer-overflow=tooltip', 'show-footer-overflow=title']);
|
|
1771
|
-
}
|
|
1772
1753
|
errLog('vxe.error.reqComp', ['vxe-tooltip']);
|
|
1773
1754
|
}
|
|
1774
1755
|
}
|
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.
|
|
3
|
+
export const version = "3.16.0-beta.1";
|
|
4
4
|
VxeUI.version = version;
|
|
5
5
|
VxeUI.tableVersion = version;
|
|
6
6
|
VxeUI.setConfig({
|
|
@@ -253,7 +253,7 @@ VxeUI.setConfig({
|
|
|
253
253
|
autoLoad: true,
|
|
254
254
|
showResponseMsg: true,
|
|
255
255
|
showActiveMsg: true,
|
|
256
|
-
|
|
256
|
+
response: {
|
|
257
257
|
list: null,
|
|
258
258
|
result: 'result',
|
|
259
259
|
total: 'page.total',
|
package/es/ui/src/log.js
CHANGED