vxe-table 3.13.0-beta.5 → 3.13.0-beta.7
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/locale/lang/id-ID.js +695 -0
- package/es/style.css +1 -1
- package/es/table/src/methods.js +10 -11
- package/es/table/src/table.js +7 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +27 -16
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/id-ID.js +701 -0
- package/lib/locale/lang/id-ID.min.js +1 -0
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +14 -11
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +11 -3
- package/lib/table/src/table.min.js +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/package.json +2 -2
- package/packages/locale/lang/id-ID.ts +695 -0
- package/packages/table/src/methods.ts +12 -11
- package/packages/table/src/table.ts +8 -3
- /package/es/{iconfont.1739613256361.ttf → iconfont.1739756501176.ttf} +0 -0
- /package/es/{iconfont.1739613256361.woff → iconfont.1739756501176.woff} +0 -0
- /package/es/{iconfont.1739613256361.woff2 → iconfont.1739756501176.woff2} +0 -0
- /package/lib/{iconfont.1739613256361.ttf → iconfont.1739756501176.ttf} +0 -0
- /package/lib/{iconfont.1739613256361.woff → iconfont.1739756501176.woff} +0 -0
- /package/lib/{iconfont.1739613256361.woff2 → iconfont.1739756501176.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -1114,11 +1114,15 @@ export default {
|
|
|
1114
1114
|
} }),
|
|
1115
1115
|
watch: {
|
|
1116
1116
|
data(value) {
|
|
1117
|
+
const $xeTable = this;
|
|
1118
|
+
const reactData = $xeTable;
|
|
1117
1119
|
const { initStatus } = this;
|
|
1118
1120
|
if (value && value.length >= 50000) {
|
|
1119
1121
|
warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)']);
|
|
1120
1122
|
}
|
|
1121
1123
|
this.loadTableData(value || [], true).then(() => {
|
|
1124
|
+
const { scrollXLoad, scrollYLoad, expandColumn } = reactData;
|
|
1125
|
+
const expandOpts = $xeTable.computeExpandOpts;
|
|
1122
1126
|
this.inited = true;
|
|
1123
1127
|
this.initStatus = true;
|
|
1124
1128
|
if (!initStatus) {
|
|
@@ -1128,9 +1132,9 @@ export default {
|
|
|
1128
1132
|
// if (checkboxColumn && this.tableFullData.length > 300 && !this.checkboxOpts.checkField) {
|
|
1129
1133
|
// warnLog('vxe.error.checkProp', ['checkbox-config.checkField'])
|
|
1130
1134
|
// }
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1135
|
+
if ((scrollXLoad || scrollYLoad) && (expandColumn && expandOpts.mode !== 'fixed')) {
|
|
1136
|
+
warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
|
|
1137
|
+
}
|
|
1134
1138
|
this.recalculate();
|
|
1135
1139
|
});
|
|
1136
1140
|
},
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
|
|
|
2220
2220
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2221
2221
|
|
|
2222
2222
|
|
|
2223
|
-
const version = "3.13.0-beta.
|
|
2223
|
+
const version = "3.13.0-beta.7";
|
|
2224
2224
|
core_.VxeUI.version = version;
|
|
2225
2225
|
core_.VxeUI.tableVersion = version;
|
|
2226
2226
|
core_.VxeUI.setConfig({
|
|
@@ -2843,7 +2843,7 @@ function isNodeElement(elem) {
|
|
|
2843
2843
|
const {
|
|
2844
2844
|
log: log_log
|
|
2845
2845
|
} = core_.VxeUI;
|
|
2846
|
-
const log_version = `table v${"3.13.0-beta.
|
|
2846
|
+
const log_version = `table v${"3.13.0-beta.7"}`;
|
|
2847
2847
|
const warnLog = log_log.create('warn', log_version);
|
|
2848
2848
|
const errLog = log_log.create('error', log_version);
|
|
2849
2849
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -5290,7 +5290,8 @@ function cacheColumnMap($xeTable) {
|
|
|
5290
5290
|
} = internalData;
|
|
5291
5291
|
const fullColumnIdData = internalData.fullColumnIdData = {};
|
|
5292
5292
|
const fullColumnFieldData = internalData.fullColumnFieldData = {};
|
|
5293
|
-
|
|
5293
|
+
const mouseOpts = $xeTable.computeMouseOpts;
|
|
5294
|
+
const expandOpts = $xeTable.computeExpandOpts;
|
|
5294
5295
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
5295
5296
|
const columnDragOpts = $xeTable.computeColumnDragOpts;
|
|
5296
5297
|
const {
|
|
@@ -5396,11 +5397,9 @@ function cacheColumnMap($xeTable) {
|
|
|
5396
5397
|
} else {
|
|
5397
5398
|
tableFullColumn.forEach(handleFunc);
|
|
5398
5399
|
}
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
// }
|
|
5403
|
-
// }
|
|
5400
|
+
if (expandColumn && expandOpts.mode !== 'fixed' && mouseOpts.area) {
|
|
5401
|
+
errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
|
|
5402
|
+
}
|
|
5404
5403
|
if (false) {}
|
|
5405
5404
|
reactData.isGroup = isGroup;
|
|
5406
5405
|
reactData.treeNodeColumn = treeNodeColumn;
|
|
@@ -6971,6 +6970,7 @@ function handleColumn($xeTable, collectColumn) {
|
|
|
6971
6970
|
const $xeToolbar = $xeTable.$refs.$xeToolbar;
|
|
6972
6971
|
const reactData = $xeTable;
|
|
6973
6972
|
const internalData = $xeTable;
|
|
6973
|
+
const expandOpts = $xeTable.computeExpandOpts;
|
|
6974
6974
|
internalData.collectColumn = collectColumn;
|
|
6975
6975
|
const tableFullColumn = getColumnList(collectColumn);
|
|
6976
6976
|
internalData.tableFullColumn = tableFullColumn;
|
|
@@ -6978,6 +6978,11 @@ function handleColumn($xeTable, collectColumn) {
|
|
|
6978
6978
|
reactData.isDragColMove = false;
|
|
6979
6979
|
initColumnSort($xeTable);
|
|
6980
6980
|
return Promise.resolve(restoreCustomStorage($xeTable)).then(() => {
|
|
6981
|
+
const {
|
|
6982
|
+
scrollXLoad,
|
|
6983
|
+
scrollYLoad,
|
|
6984
|
+
expandColumn
|
|
6985
|
+
} = reactData;
|
|
6981
6986
|
cacheColumnMap($xeTable);
|
|
6982
6987
|
parseColumns($xeTable, true).then(() => {
|
|
6983
6988
|
if (reactData.scrollXLoad) {
|
|
@@ -6987,11 +6992,9 @@ function handleColumn($xeTable, collectColumn) {
|
|
|
6987
6992
|
$xeTable.clearMergeCells();
|
|
6988
6993
|
$xeTable.clearMergeFooterItems();
|
|
6989
6994
|
$xeTable.handleTableData(true);
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
// }
|
|
6994
|
-
// }
|
|
6995
|
+
if ((scrollXLoad || scrollYLoad) && expandColumn && expandOpts.mode !== 'fixed') {
|
|
6996
|
+
warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
|
|
6997
|
+
}
|
|
6995
6998
|
return $xeTable.$nextTick().then(() => {
|
|
6996
6999
|
if ($xeToolbar) {
|
|
6997
7000
|
$xeToolbar.syncUpdate({
|
|
@@ -26219,6 +26222,8 @@ function renderBody(h, $xeTable) {
|
|
|
26219
26222
|
},
|
|
26220
26223
|
watch: {
|
|
26221
26224
|
data(value) {
|
|
26225
|
+
const $xeTable = this;
|
|
26226
|
+
const reactData = $xeTable;
|
|
26222
26227
|
const {
|
|
26223
26228
|
initStatus
|
|
26224
26229
|
} = this;
|
|
@@ -26226,6 +26231,12 @@ function renderBody(h, $xeTable) {
|
|
|
26226
26231
|
warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)']);
|
|
26227
26232
|
}
|
|
26228
26233
|
this.loadTableData(value || [], true).then(() => {
|
|
26234
|
+
const {
|
|
26235
|
+
scrollXLoad,
|
|
26236
|
+
scrollYLoad,
|
|
26237
|
+
expandColumn
|
|
26238
|
+
} = reactData;
|
|
26239
|
+
const expandOpts = $xeTable.computeExpandOpts;
|
|
26229
26240
|
this.inited = true;
|
|
26230
26241
|
this.initStatus = true;
|
|
26231
26242
|
if (!initStatus) {
|
|
@@ -26235,9 +26246,9 @@ function renderBody(h, $xeTable) {
|
|
|
26235
26246
|
// if (checkboxColumn && this.tableFullData.length > 300 && !this.checkboxOpts.checkField) {
|
|
26236
26247
|
// warnLog('vxe.error.checkProp', ['checkbox-config.checkField'])
|
|
26237
26248
|
// }
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26249
|
+
if ((scrollXLoad || scrollYLoad) && expandColumn && expandOpts.mode !== 'fixed') {
|
|
26250
|
+
warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
|
|
26251
|
+
}
|
|
26241
26252
|
this.recalculate();
|
|
26242
26253
|
});
|
|
26243
26254
|
},
|