mirror of
https://gitee.com/x-extends/vxe-table-plugin-export-xlsx.git
synced 2026-01-21 05:21:33 +08:00
update
This commit is contained in:
@@ -29,8 +29,6 @@ gulp.task('build_commonjs', function () {
|
||||
gulp.task('build_umd', function () {
|
||||
return gulp.src(['index.ts'])
|
||||
.pipe(ts(tsconfig.compilerOptions))
|
||||
.pipe(replace(`from 'xe-utils/ctor';`, `from 'xe-utils';`))
|
||||
.pipe(replace(`from 'vxe-table/lib/vxe-table';`, `from 'vxe-table';`))
|
||||
.pipe(babel({
|
||||
moduleId: pack.name,
|
||||
presets: [
|
||||
|
||||
10
index.ts
10
index.ts
@@ -1,16 +1,10 @@
|
||||
import XEUtils from 'xe-utils'
|
||||
import {
|
||||
VXETableCore,
|
||||
VxeTableConstructor,
|
||||
VxeTablePropTypes,
|
||||
VxeTableDefines,
|
||||
VxeGlobalInterceptorHandles
|
||||
} from 'vxe-table/lib/vxe-table'
|
||||
import { VXETableCore, VxeTableConstructor, VxeTablePropTypes, VxeTableDefines, VxeGlobalInterceptorHandles } from 'vxe-table'
|
||||
import ExcelJS from 'exceljs'
|
||||
|
||||
let vxetable:VXETableCore
|
||||
|
||||
declare module 'vxe-table/lib/vxe-table' {
|
||||
declare module 'vxe-table' {
|
||||
namespace VxeTableDefines {
|
||||
interface ExtortSheetMethodParams {
|
||||
workbook: ExcelJS.Workbook;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vxe-table-plugin-export-xlsx",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.1",
|
||||
"description": "基于 vxe-table 的表格插件,支持导出 xlsx 格式",
|
||||
"scripts": {
|
||||
"lib": "gulp build"
|
||||
@@ -49,7 +49,7 @@
|
||||
"prettier": "^2.1.2",
|
||||
"typescript": "^4.0.5",
|
||||
"vue": "^3.0.6",
|
||||
"vxe-table": "^4.0.1",
|
||||
"vxe-table": "^4.0.3",
|
||||
"xe-utils": "^3.1.11"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user