vxe-table 3.8.8-beta.3 → 3.8.8-beta.5
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/lib/custom/src/mixin.js +2 -2
- package/lib/custom/src/mixin.min.js +1 -1
- package/lib/custom/style/style.css +1 -1
- package/lib/custom/style/style.min.css +1 -1
- package/lib/export/src/mixin.js +18 -0
- package/lib/export/src/mixin.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +26 -10
- 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/methods.js +4 -6
- package/lib/table/src/methods.min.js +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-table-custom-module/style/style.css +1 -1
- package/lib/vxe-table-custom-module/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/custom/src/mixin.js +2 -2
- package/packages/export/src/mixin.js +17 -0
- package/packages/table/src/methods.js +4 -6
- package/styles/custom.scss +1 -1
- package/styles/modules.scss +1 -0
- package/styles/variable.scss +1 -0
- /package/lib/icon/style/{iconfont.1717666158668.ttf → iconfont.1717729278146.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1717666158668.woff → iconfont.1717729278146.woff} +0 -0
- /package/lib/icon/style/{iconfont.1717666158668.woff2 → iconfont.1717729278146.woff2} +0 -0
- /package/lib/{iconfont.1717666158668.ttf → iconfont.1717729278146.ttf} +0 -0
- /package/lib/{iconfont.1717666158668.woff → iconfont.1717729278146.woff} +0 -0
- /package/lib/{iconfont.1717666158668.woff2 → iconfont.1717729278146.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -11481,7 +11481,7 @@ var es_array_concat = __webpack_require__(8706);
|
|
|
11481
11481
|
|
|
11482
11482
|
|
|
11483
11483
|
function getLog(message, params) {
|
|
11484
|
-
return "[vxe-table v".concat("3.8.8-beta.
|
|
11484
|
+
return "[vxe-table v".concat("3.8.8-beta.5", "] ").concat(conf.i18n(message, params));
|
|
11485
11485
|
}
|
|
11486
11486
|
function outLog(type) {
|
|
11487
11487
|
return function (message, params) {
|
|
@@ -13161,7 +13161,7 @@ function setIcon(options) {
|
|
|
13161
13161
|
var globalStore = {};
|
|
13162
13162
|
var VXETable = {
|
|
13163
13163
|
v: v,
|
|
13164
|
-
version: "3.8.8-beta.
|
|
13164
|
+
version: "3.8.8-beta.5",
|
|
13165
13165
|
reg: reg,
|
|
13166
13166
|
use: use,
|
|
13167
13167
|
setConfig: setConfig,
|
|
@@ -18746,11 +18746,9 @@ var Methods = {
|
|
|
18746
18746
|
columnWidthStorage = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isPlainObject(columnSortStorageMap[id]) ? columnSortStorageMap[id] : {};
|
|
18747
18747
|
// 排序只支持一级
|
|
18748
18748
|
collectColumn.forEach(function (column) {
|
|
18749
|
-
|
|
18750
|
-
|
|
18751
|
-
|
|
18752
|
-
columnWidthStorage[colKey] = column.renderSortNumber;
|
|
18753
|
-
}
|
|
18749
|
+
var colKey = column.getKey();
|
|
18750
|
+
if (colKey) {
|
|
18751
|
+
columnWidthStorage[colKey] = column.renderSortNumber;
|
|
18754
18752
|
}
|
|
18755
18753
|
});
|
|
18756
18754
|
}
|
|
@@ -22931,7 +22929,7 @@ var Methods = {
|
|
|
22931
22929
|
};
|
|
22932
22930
|
|
|
22933
22931
|
// Module methods
|
|
22934
|
-
var funcs = 'setFilter,openFilter,clearFilter,getCheckedFilters,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,openExport,openPrint,exportData,openImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom'.split(',');
|
|
22932
|
+
var funcs = 'setFilter,openFilter,clearFilter,getCheckedFilters,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,openExport,openPrint,getPrintHtml,exportData,openImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom'.split(',');
|
|
22935
22933
|
funcs.forEach(function (name) {
|
|
22936
22934
|
Methods[name] = function () {
|
|
22937
22935
|
if (false) {}
|
|
@@ -33542,6 +33540,24 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
33542
33540
|
}
|
|
33543
33541
|
});
|
|
33544
33542
|
},
|
|
33543
|
+
_getPrintHtml: function _getPrintHtml(options) {
|
|
33544
|
+
var printOpts = this.printOpts;
|
|
33545
|
+
var opts = Object.assign({
|
|
33546
|
+
original: false
|
|
33547
|
+
// beforePrintMethod
|
|
33548
|
+
}, printOpts, options, {
|
|
33549
|
+
type: 'html',
|
|
33550
|
+
download: false,
|
|
33551
|
+
remote: false,
|
|
33552
|
+
print: true
|
|
33553
|
+
});
|
|
33554
|
+
return this.exportData(opts).then(function (_ref4) {
|
|
33555
|
+
var content = _ref4.content;
|
|
33556
|
+
return {
|
|
33557
|
+
html: content
|
|
33558
|
+
};
|
|
33559
|
+
});
|
|
33560
|
+
},
|
|
33545
33561
|
_openImport: function _openImport(options) {
|
|
33546
33562
|
var defOpts = Object.assign({
|
|
33547
33563
|
mode: 'insert',
|
|
@@ -34690,12 +34706,12 @@ var Validator = VxeTableValidatorModule;
|
|
|
34690
34706
|
customStore.isAll = collectColumn.every(function (column) {
|
|
34691
34707
|
return (checkMethod ? !checkMethod({
|
|
34692
34708
|
column: column
|
|
34693
|
-
}) : false) || column.
|
|
34709
|
+
}) : false) || column.renderVisible;
|
|
34694
34710
|
});
|
|
34695
34711
|
customStore.isIndeterminate = !customStore.isAll && collectColumn.some(function (column) {
|
|
34696
34712
|
return (!checkMethod || checkMethod({
|
|
34697
34713
|
column: column
|
|
34698
|
-
})) && (column.
|
|
34714
|
+
})) && (column.renderVisible || column.halfVisible);
|
|
34699
34715
|
});
|
|
34700
34716
|
},
|
|
34701
34717
|
emitCustomEvent: function emitCustomEvent(type, evnt) {
|