vxe-table 4.13.53 → 4.13.54
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/ar-EG.js +20 -1
- package/es/locale/lang/de-DE.js +20 -1
- package/es/locale/lang/en-US.js +21 -2
- package/es/locale/lang/es-ES.js +20 -1
- package/es/locale/lang/fr-FR.js +20 -1
- package/es/locale/lang/hu-HU.js +20 -1
- package/es/locale/lang/hy-AM.js +19 -0
- package/es/locale/lang/id-ID.js +20 -1
- package/es/locale/lang/it-IT.js +20 -1
- package/es/locale/lang/ja-JP.js +20 -1
- package/es/locale/lang/ko-KR.js +20 -1
- package/es/locale/lang/ms-MY.js +20 -1
- package/es/locale/lang/nb-NO.js +20 -1
- package/es/locale/lang/pt-BR.js +20 -1
- package/es/locale/lang/ru-RU.js +20 -1
- package/es/locale/lang/th-TH.js +20 -1
- package/es/locale/lang/ug-CN.js +20 -1
- package/es/locale/lang/uk-UA.js +20 -1
- package/es/locale/lang/uz-UZ.js +20 -1
- package/es/locale/lang/vi-VN.js +20 -1
- package/es/locale/lang/zh-CHT.js +20 -1
- package/es/locale/lang/zh-CN.js +19 -0
- package/es/style.css +1 -1
- package/es/table/src/columnInfo.js +9 -0
- package/es/table/src/table.js +1 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +34 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +20 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +20 -1
- package/lib/locale/lang/de-DE.js +20 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +20 -1
- package/lib/locale/lang/en-US.js +21 -2
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +21 -2
- package/lib/locale/lang/es-ES.js +20 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +20 -1
- package/lib/locale/lang/fr-FR.js +20 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +20 -1
- package/lib/locale/lang/hu-HU.js +20 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +20 -1
- package/lib/locale/lang/hy-AM.js +19 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +19 -0
- package/lib/locale/lang/id-ID.js +20 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +20 -1
- package/lib/locale/lang/it-IT.js +20 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +20 -1
- package/lib/locale/lang/ja-JP.js +20 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +20 -1
- package/lib/locale/lang/ko-KR.js +20 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +20 -1
- package/lib/locale/lang/ms-MY.js +20 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +20 -1
- package/lib/locale/lang/nb-NO.js +20 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +20 -1
- package/lib/locale/lang/pt-BR.js +20 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +20 -1
- package/lib/locale/lang/ru-RU.js +20 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +20 -1
- package/lib/locale/lang/th-TH.js +20 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +20 -1
- package/lib/locale/lang/ug-CN.js +20 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +20 -1
- package/lib/locale/lang/uk-UA.js +20 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +20 -1
- package/lib/locale/lang/uz-UZ.js +20 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +20 -1
- package/lib/locale/lang/vi-VN.js +20 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +20 -1
- package/lib/locale/lang/zh-CHT.js +20 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +20 -1
- package/lib/locale/lang/zh-CN.js +19 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +19 -0
- package/lib/style.css +1 -1
- package/lib/table/src/columnInfo.js +12 -0
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/table.js +1 -2
- 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 +1 -1
- package/packages/locale/lang/ar-EG.ts +20 -1
- package/packages/locale/lang/de-DE.ts +20 -1
- package/packages/locale/lang/en-US.ts +21 -2
- package/packages/locale/lang/es-ES.ts +20 -1
- package/packages/locale/lang/fr-FR.ts +20 -1
- package/packages/locale/lang/hu-HU.ts +20 -1
- package/packages/locale/lang/hy-AM.ts +19 -0
- package/packages/locale/lang/id-ID.ts +20 -1
- package/packages/locale/lang/it-IT.ts +20 -1
- package/packages/locale/lang/ja-JP.ts +20 -1
- package/packages/locale/lang/ko-KR.ts +20 -1
- package/packages/locale/lang/ms-MY.ts +20 -1
- package/packages/locale/lang/nb-NO.ts +20 -1
- package/packages/locale/lang/pt-BR.ts +20 -1
- package/packages/locale/lang/ru-RU.ts +20 -1
- package/packages/locale/lang/th-TH.ts +20 -1
- package/packages/locale/lang/ug-CN.ts +20 -1
- package/packages/locale/lang/uk-UA.ts +20 -1
- package/packages/locale/lang/uz-UZ.ts +20 -1
- package/packages/locale/lang/vi-VN.ts +20 -1
- package/packages/locale/lang/zh-CHT.ts +20 -1
- package/packages/locale/lang/zh-CN.ts +19 -0
- package/packages/table/src/columnInfo.ts +11 -0
- package/packages/table/src/table.ts +1 -2
- /package/es/{iconfont.1751969999028.ttf → iconfont.1753261011546.ttf} +0 -0
- /package/es/{iconfont.1751969999028.woff → iconfont.1753261011546.woff} +0 -0
- /package/es/{iconfont.1751969999028.woff2 → iconfont.1753261011546.woff2} +0 -0
- /package/lib/{iconfont.1751969999028.ttf → iconfont.1753261011546.ttf} +0 -0
- /package/lib/{iconfont.1751969999028.woff → iconfont.1753261011546.woff} +0 -0
- /package/lib/{iconfont.1751969999028.woff2 → iconfont.1753261011546.woff2} +0 -0
package/es/table/src/table.js
CHANGED
|
@@ -5729,8 +5729,7 @@ export default defineVxeComponent({
|
|
|
5729
5729
|
return nextTick();
|
|
5730
5730
|
},
|
|
5731
5731
|
setSort(sortConfs, isUpdate) {
|
|
5732
|
-
|
|
5733
|
-
return handleSortEvent(new Event('click'), sortConfs, isUpdate);
|
|
5732
|
+
return handleSortEvent(null, sortConfs, isUpdate);
|
|
5734
5733
|
},
|
|
5735
5734
|
setSortByEvent(evnt, sortConfs, isUpdate) {
|
|
5736
5735
|
return handleSortEvent(evnt, sortConfs, isUpdate);
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3233,7 +3233,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3233
3233
|
;// ./packages/ui/index.ts
|
|
3234
3234
|
|
|
3235
3235
|
|
|
3236
|
-
const version = "4.13.
|
|
3236
|
+
const version = "4.13.54";
|
|
3237
3237
|
core_.VxeUI.version = version;
|
|
3238
3238
|
core_.VxeUI.tableVersion = version;
|
|
3239
3239
|
core_.VxeUI.setConfig({
|
|
@@ -3721,7 +3721,7 @@ var es_iterator_some = __webpack_require__(3579);
|
|
|
3721
3721
|
const {
|
|
3722
3722
|
log: log_log
|
|
3723
3723
|
} = core_.VxeUI;
|
|
3724
|
-
const log_version = `table v${"4.13.
|
|
3724
|
+
const log_version = `table v${"4.13.54"}`;
|
|
3725
3725
|
const warnLog = log_log.create('warn', log_version);
|
|
3726
3726
|
const errLog = log_log.create('error', log_version);
|
|
3727
3727
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -3744,6 +3744,10 @@ class ColumnInfo {
|
|
|
3744
3744
|
} = {}) {
|
|
3745
3745
|
const tableProps = $xeTable.props;
|
|
3746
3746
|
const $xeGrid = $xeTable.xeGrid;
|
|
3747
|
+
const {
|
|
3748
|
+
field,
|
|
3749
|
+
editRender
|
|
3750
|
+
} = _vm;
|
|
3747
3751
|
const formatter = _vm.formatter;
|
|
3748
3752
|
const visible = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(_vm.visible) ? _vm.visible : true;
|
|
3749
3753
|
const types = ['seq', 'checkbox', 'radio', 'expand', 'html'];
|
|
@@ -3786,6 +3790,14 @@ class ColumnInfo {
|
|
|
3786
3790
|
errLog('vxe.error.errProp', [`column.agg-func=${_vm.aggFunc}`, 'column.agg-func=true']);
|
|
3787
3791
|
}
|
|
3788
3792
|
}
|
|
3793
|
+
if (field && editRender) {
|
|
3794
|
+
if (editRender.startField && `${editRender.startField}`.indexOf(field) >= 0) {
|
|
3795
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.startField=${editRender.startField}`]);
|
|
3796
|
+
}
|
|
3797
|
+
if (editRender.endField && `${editRender.endField}`.indexOf(field) >= 0) {
|
|
3798
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.endField=${editRender.endField}`]);
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3789
3801
|
Object.assign(this, {
|
|
3790
3802
|
// 基本属性
|
|
3791
3803
|
type: _vm.type,
|
|
@@ -11521,8 +11533,7 @@ reactData.currentRow=row;if(rowOpts.isCurrent||props.highlightCurrentRow){if(el)
|
|
|
11521
11533
|
if(isMouseSelected){$xeTable.addCellSelectedClass();}});},/**
|
|
11522
11534
|
* 用于当前列,手动清空当前高亮的状态
|
|
11523
11535
|
*/clearCurrentColumn(){reactData.currentColumn=null;return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();},setPendingRow(rows,status){const{handleGetRowId}=createHandleGetRowId($xeTable);const{pendingRowMaps}=internalData;if(rows&&!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)){rows=[rows];}if(status){rows.forEach(row=>{const rowid=handleGetRowId(row);if(rowid&&!pendingRowMaps[rowid]){pendingRowMaps[rowid]=row;}});}else{rows.forEach(row=>{const rowid=handleGetRowId(row);if(rowid&&pendingRowMaps[rowid]){delete pendingRowMaps[rowid];}});}reactData.pendingRowFlag++;return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();},togglePendingRow(rows){const{handleGetRowId}=createHandleGetRowId($xeTable);const{pendingRowMaps}=internalData;if(rows&&!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)){rows=[rows];}rows.forEach(row=>{const rowid=handleGetRowId(row);if(rowid){if(pendingRowMaps[rowid]){delete pendingRowMaps[rowid];}else{pendingRowMaps[rowid]=row;}}});reactData.pendingRowFlag++;return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();},hasPendingByRow(row){return tableMethods.isPendingByRow(row);},isPendingByRow(row){const{pendingRowMaps}=internalData;const rowid=getRowid($xeTable,row);return!!pendingRowMaps[rowid];},getPendingRecords(){const{fullAllDataRowIdData,pendingRowMaps}=internalData;const insertRecords=[];external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(pendingRowMaps,(row,rowid)=>{if(fullAllDataRowIdData[rowid]){insertRecords.push(row);}});return insertRecords;},clearPendingRow(){internalData.pendingRowMaps={};reactData.pendingRowFlag++;return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();},sort(sortConfs,sortOrder){const sortOpts=computeSortOpts.value;const{multiple,remote,orders}=sortOpts;if(sortConfs){if(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(sortConfs)){sortConfs=[{field:sortConfs,order:sortOrder}];}}if(!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(sortConfs)){sortConfs=[sortConfs];}if(sortConfs.length){if(!multiple){clearAllSort();}(multiple?sortConfs:[sortConfs[0]]).forEach((confs,index)=>{let{field,order}=confs;let column=field;if(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(field)){column=tableMethods.getColumnByField(field);}if(column&&column.sortable){if(orders&&orders.indexOf(order)===-1){order=getNextSortOrder(column);}if(column.order!==order){column.order=order;}column.sortTime=Date.now()+index;}});// 如果是服务端排序,则跳过本地排序处理
|
|
11524
|
-
if(!remote){tablePrivateMethods.handleTableData(true);}return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(()=>{updateRowOffsetTop();tableMethods.updateCellAreas();return updateStyle();});}return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();},setSort(sortConfs,isUpdate){
|
|
11525
|
-
return handleSortEvent(new Event('click'),sortConfs,isUpdate);},setSortByEvent(evnt,sortConfs,isUpdate){return handleSortEvent(evnt,sortConfs,isUpdate);},/**
|
|
11536
|
+
if(!remote){tablePrivateMethods.handleTableData(true);}return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(()=>{updateRowOffsetTop();tableMethods.updateCellAreas();return updateStyle();});}return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();},setSort(sortConfs,isUpdate){return handleSortEvent(null,sortConfs,isUpdate);},setSortByEvent(evnt,sortConfs,isUpdate){return handleSortEvent(evnt,sortConfs,isUpdate);},/**
|
|
11526
11537
|
* 清空指定列的排序条件
|
|
11527
11538
|
* 如果为空则清空所有列的排序条件
|
|
11528
11539
|
* @param {String} fieldOrColumn 列或字段名
|
|
@@ -21420,6 +21431,7 @@ const Toolbar = VxeToolbar;
|
|
|
21420
21431
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
21421
21432
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
21422
21433
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
21434
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
21423
21435
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21424
21436
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21425
21437
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
@@ -21499,8 +21511,26 @@ const Toolbar = VxeToolbar;
|
|
|
21499
21511
|
operError: '发生错误,操作失败!'
|
|
21500
21512
|
},
|
|
21501
21513
|
select: {
|
|
21514
|
+
clear: '清除',
|
|
21515
|
+
allChecked: '全选',
|
|
21516
|
+
total: '{0} / {1}',
|
|
21502
21517
|
search: '搜索',
|
|
21503
21518
|
loadingText: '加载中',
|
|
21519
|
+
emptyText: '暂无数据',
|
|
21520
|
+
maxSize: '最大可选择的数量不能超过 {0} 个',
|
|
21521
|
+
overSizeErr: '已超出最大可选数量 {0} 个,超出部分将被忽略!',
|
|
21522
|
+
searchEmpty: '未匹配到数据!'
|
|
21523
|
+
},
|
|
21524
|
+
tree: {
|
|
21525
|
+
searchEmpty: '未匹配到数据!'
|
|
21526
|
+
},
|
|
21527
|
+
treeSelect: {
|
|
21528
|
+
clearChecked: '清除',
|
|
21529
|
+
allChecked: '全选',
|
|
21530
|
+
allExpand: '全部展开',
|
|
21531
|
+
clearExpand: '全部收起',
|
|
21532
|
+
total: '已选 {0}',
|
|
21533
|
+
search: '搜索',
|
|
21504
21534
|
emptyText: '暂无数据'
|
|
21505
21535
|
},
|
|
21506
21536
|
pager: {
|