vxe-table 4.17.47 → 4.17.49
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/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/table.js +1 -0
- package/es/table/style.css +3 -13
- 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 -13
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +3 -13
- 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 -13
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/src/table.ts +1 -0
- package/styles/components/table-module/menu.scss +3 -8
- /package/es/{iconfont.1769767610354.ttf → iconfont.1772182532931.ttf} +0 -0
- /package/es/{iconfont.1769767610354.woff → iconfont.1772182532931.woff} +0 -0
- /package/es/{iconfont.1769767610354.woff2 → iconfont.1772182532931.woff2} +0 -0
- /package/lib/{iconfont.1769767610354.ttf → iconfont.1772182532931.ttf} +0 -0
- /package/lib/{iconfont.1769767610354.woff → iconfont.1772182532931.woff} +0 -0
- /package/lib/{iconfont.1769767610354.woff2 → iconfont.1772182532931.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3236,7 +3236,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3236
3236
|
;// ./packages/ui/index.ts
|
|
3237
3237
|
|
|
3238
3238
|
|
|
3239
|
-
const version = "4.17.
|
|
3239
|
+
const version = "4.17.49";
|
|
3240
3240
|
core_.VxeUI.version = version;
|
|
3241
3241
|
core_.VxeUI.tableVersion = version;
|
|
3242
3242
|
core_.VxeUI.setConfig({
|
|
@@ -3758,7 +3758,7 @@ var es_iterator_some = __webpack_require__(3579);
|
|
|
3758
3758
|
const {
|
|
3759
3759
|
log: log_log
|
|
3760
3760
|
} = core_.VxeUI;
|
|
3761
|
-
const log_version = `table v${"4.17.
|
|
3761
|
+
const log_version = `table v${"4.17.49"}`;
|
|
3762
3762
|
const warnLog = log_log.create('warn', log_version);
|
|
3763
3763
|
const errLog = log_log.create('error', log_version);
|
|
3764
3764
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -20022,7 +20022,7 @@ if(!isCrossDrag){handleRowDragEndClearStatus();return Promise.resolve(errRest);}
|
|
|
20022
20022
|
if(!isCrossDrag){handleRowDragEndClearStatus();return Promise.resolve(errRest);}if(oldAllMaps[newRowid]){isSelfToChildStatus=true;if(!(isCrossDrag&&isSelfToChildDrag)){if(core_.VxeUI.modal){core_.VxeUI.modal.message({status:'error',content:table_getI18n('vxe.error.treeDragChild')});}handleRowDragEndClearStatus();return Promise.resolve(errRest);}}}else{// 根到根
|
|
20023
20023
|
}}}}const isDragToChildFlag=isSelfToChildDrag&&dragToChildMethod?dragToChildMethod(dragParams):prevDragToChild;return Promise.resolve(dEndMethod?dEndMethod(dragParams):true).then(status=>{if(!status){return errRest;}// 如果为树结构
|
|
20024
20024
|
if(treeConfig){if(transform){// 移出源位置
|
|
20025
|
-
if(oldRest&&newRest){const fullList=external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toTreeArray(internalData.afterTreeFullData,{key:rowField,parentKey:parentField,children:mapChildrenField});// 移出
|
|
20025
|
+
if(oldRest&&newRest){const fullList=external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toTreeArray(internalData.afterTreeFullData,{updated:false,key:rowField,parentKey:parentField,children:mapChildrenField});// 移出
|
|
20026
20026
|
const otfIndex=$xeTable.findRowIndexOf(fullList,dragRow);fullList.splice(otfIndex,1);// 插入
|
|
20027
20027
|
const ptfIndex=$xeTable.findRowIndexOf(fullList,prevDragRow);const ntfIndex=ptfIndex+dragOffsetIndex;fullList.splice(ntfIndex,0,dragRow);// 改变层级
|
|
20028
20028
|
if(isSelfToChildStatus&&isCrossDrag&&isSelfToChildDrag){external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(dragRow[childrenField],childRow=>{childRow[parentField]=dragRow[parentField];});}dragRow[parentField]=isDragToChildFlag?prevDragRow[rowField]:prevDragRow[parentField];internalData.tableFullTreeData=external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toArrayTree(fullList,{key:rowField,parentKey:parentField,children:childrenField,mapChildren:mapChildrenField});}}}else{// 移出
|