vxe-table-plugin-export-xlsx-xhx 1.0.1 → 1.0.2
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/dist/index.common.js +243 -259
- package/dist/index.js +255 -269
- package/dist/index.min.js +1 -1
- package/package.json +36 -36
- package/dist/index.umd.js +0 -546
- package/dist/index.umd.min.js +0 -1
package/dist/index.js
CHANGED
@@ -1,270 +1,256 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
if (typeof define === "function" && define.amd) {
|
3
|
-
define("vxe-table-plugin-export-xlsx", ["exports", "xe-utils", "xlsx"], factory);
|
4
|
-
} else if (typeof exports !== "undefined") {
|
5
|
-
factory(exports, require("xe-utils"), require("xlsx"));
|
6
|
-
} else {
|
7
|
-
var mod = {
|
8
|
-
exports: {}
|
9
|
-
};
|
10
|
-
factory(mod.exports, global.XEUtils, global.XLSX);
|
11
|
-
global.VXETablePluginExportXLSX = mod.exports.default;
|
12
|
-
}
|
13
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _xeUtils, _xlsx) {
|
14
|
-
"use strict";
|
15
|
-
|
16
|
-
Object.defineProperty(_exports, "__esModule", {
|
17
|
-
value: true
|
18
|
-
});
|
19
|
-
_exports["default"] = _exports.VXETablePluginExportXLSX = void 0;
|
20
|
-
_xeUtils = _interopRequireDefault(_xeUtils);
|
21
|
-
_xlsx = _interopRequireDefault(_xlsx);
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
/* eslint-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
return
|
45
|
-
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
var
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
var
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
}
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
var
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
}
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
}
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
}
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
var
|
184
|
-
var
|
185
|
-
|
186
|
-
fileReader.onload = function (e) {
|
187
|
-
var workbook = _xlsx["default"].read(e.target.result, {
|
188
|
-
type: 'binary'
|
189
|
-
});
|
190
|
-
|
191
|
-
var
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
}
|
214
|
-
}
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
}
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
interceptor.mixin({
|
257
|
-
'event.import': handleImportEvent,
|
258
|
-
'event.export': handleExportEvent
|
259
|
-
});
|
260
|
-
}
|
261
|
-
};
|
262
|
-
_exports.VXETablePluginExportXLSX = VXETablePluginExportXLSX;
|
263
|
-
|
264
|
-
if (typeof window !== 'undefined' && window.VXETable) {
|
265
|
-
window.VXETable.use(VXETablePluginExportXLSX);
|
266
|
-
}
|
267
|
-
|
268
|
-
var _default = VXETablePluginExportXLSX;
|
269
|
-
_exports["default"] = _default;
|
1
|
+
(function (global, factory) {
|
2
|
+
if (typeof define === "function" && define.amd) {
|
3
|
+
define("vxe-table-plugin-export-xlsx-xhx", ["exports", "xe-utils", "xlsx"], factory);
|
4
|
+
} else if (typeof exports !== "undefined") {
|
5
|
+
factory(exports, require("xe-utils"), require("xlsx"));
|
6
|
+
} else {
|
7
|
+
var mod = {
|
8
|
+
exports: {}
|
9
|
+
};
|
10
|
+
factory(mod.exports, global.XEUtils, global.XLSX);
|
11
|
+
global.VXETablePluginExportXLSX = mod.exports.default;
|
12
|
+
}
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _xeUtils, _xlsx) {
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
Object.defineProperty(_exports, "__esModule", {
|
17
|
+
value: true
|
18
|
+
});
|
19
|
+
_exports["default"] = _exports.VXETablePluginExportXLSX = void 0;
|
20
|
+
_xeUtils = _interopRequireDefault(_xeUtils);
|
21
|
+
_xlsx = _interopRequireDefault(_xlsx);
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
23
|
+
/* eslint-disable no-unused-vars */
|
24
|
+
|
25
|
+
/* eslint-enable no-unused-vars */
|
26
|
+
var _vxetable;
|
27
|
+
function getCellLabel(column, cellValue) {
|
28
|
+
if (cellValue) {
|
29
|
+
switch (column.cellType) {
|
30
|
+
case 'string':
|
31
|
+
return _xeUtils["default"].toValueString(cellValue);
|
32
|
+
case 'number':
|
33
|
+
if (!isNaN(cellValue)) {
|
34
|
+
return Number(cellValue);
|
35
|
+
}
|
36
|
+
break;
|
37
|
+
default:
|
38
|
+
if (cellValue.length < 12 && !isNaN(cellValue)) {
|
39
|
+
return Number(cellValue);
|
40
|
+
}
|
41
|
+
break;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
return cellValue;
|
45
|
+
}
|
46
|
+
function getFooterCellValue($table, opts, rows, column) {
|
47
|
+
var cellValue = _xeUtils["default"].toString(rows[$table.$getColumnIndex(column)]);
|
48
|
+
return cellValue;
|
49
|
+
}
|
50
|
+
function toBuffer(wbout) {
|
51
|
+
var buf = new ArrayBuffer(wbout.length);
|
52
|
+
var view = new Uint8Array(buf);
|
53
|
+
for (var index = 0; index !== wbout.length; ++index) {
|
54
|
+
view[index] = wbout.charCodeAt(index) & 0xFF;
|
55
|
+
}
|
56
|
+
return buf;
|
57
|
+
}
|
58
|
+
function exportXLSX(params) {
|
59
|
+
var $table = params.$table,
|
60
|
+
options = params.options,
|
61
|
+
columns = params.columns,
|
62
|
+
datas = params.datas;
|
63
|
+
var sheetName = options.sheetName,
|
64
|
+
type = options.type,
|
65
|
+
isHeader = options.isHeader,
|
66
|
+
isFooter = options.isFooter,
|
67
|
+
original = options.original,
|
68
|
+
message = options.message,
|
69
|
+
footerFilterMethod = options.footerFilterMethod;
|
70
|
+
var colHead = {};
|
71
|
+
var footList = [];
|
72
|
+
// const rowList = datas
|
73
|
+
if (isHeader) {
|
74
|
+
columns.forEach(function (column) {
|
75
|
+
colHead[column.id] = _xeUtils["default"].toString(original ? column.property : column.getTitle());
|
76
|
+
});
|
77
|
+
}
|
78
|
+
// 新增部分
|
79
|
+
var rowList = datas.map(function (item) {
|
80
|
+
var rest = {};
|
81
|
+
columns.forEach(function (column) {
|
82
|
+
rest[column.id] = getCellLabel(column, item[column.id]);
|
83
|
+
});
|
84
|
+
return rest;
|
85
|
+
});
|
86
|
+
if (isFooter) {
|
87
|
+
var _$table$getTableData = $table.getTableData(),
|
88
|
+
footerData = _$table$getTableData.footerData;
|
89
|
+
var footers = footerFilterMethod ? footerData.filter(footerFilterMethod) : footerData;
|
90
|
+
footers.forEach(function (rows) {
|
91
|
+
var item = {};
|
92
|
+
columns.forEach(function (column) {
|
93
|
+
item[column.id] = getFooterCellValue($table, options, rows, column);
|
94
|
+
});
|
95
|
+
footList.push(item);
|
96
|
+
});
|
97
|
+
}
|
98
|
+
var book = _xlsx["default"].utils.book_new();
|
99
|
+
var sheet = _xlsx["default"].utils.json_to_sheet((isHeader ? [colHead] : []).concat(rowList).concat(footList), {
|
100
|
+
skipHeader: true
|
101
|
+
});
|
102
|
+
// 转换数据
|
103
|
+
_xlsx["default"].utils.book_append_sheet(book, sheet, sheetName);
|
104
|
+
var wbout = _xlsx["default"].write(book, {
|
105
|
+
bookType: type,
|
106
|
+
bookSST: false,
|
107
|
+
type: 'binary'
|
108
|
+
});
|
109
|
+
var blob = new Blob([toBuffer(wbout)], {
|
110
|
+
type: 'application/octet-stream'
|
111
|
+
});
|
112
|
+
// 保存导出
|
113
|
+
downloadFile(blob, options);
|
114
|
+
if (message !== false) {
|
115
|
+
_vxetable.modal.message({
|
116
|
+
message: _vxetable.t('vxe.table.expSuccess'),
|
117
|
+
status: 'success'
|
118
|
+
});
|
119
|
+
}
|
120
|
+
}
|
121
|
+
function downloadFile(blob, options) {
|
122
|
+
if (window.Blob) {
|
123
|
+
var filename = options.filename,
|
124
|
+
type = options.type;
|
125
|
+
if (navigator.msSaveBlob) {
|
126
|
+
navigator.msSaveBlob(blob, "".concat(filename, ".").concat(type));
|
127
|
+
} else {
|
128
|
+
var linkElem = document.createElement('a');
|
129
|
+
linkElem.target = '_blank';
|
130
|
+
linkElem.download = "".concat(filename, ".").concat(type);
|
131
|
+
linkElem.href = URL.createObjectURL(blob);
|
132
|
+
document.body.appendChild(linkElem);
|
133
|
+
linkElem.click();
|
134
|
+
document.body.removeChild(linkElem);
|
135
|
+
}
|
136
|
+
} else {
|
137
|
+
console.error(_vxetable.t('vxe.error.notExp'));
|
138
|
+
}
|
139
|
+
}
|
140
|
+
function replaceDoubleQuotation(val) {
|
141
|
+
return val.replace(/^"/, '').replace(/"$/, '');
|
142
|
+
}
|
143
|
+
function parseCsv(columns, content) {
|
144
|
+
var list = content.split('\n');
|
145
|
+
var fields = [];
|
146
|
+
var rows = [];
|
147
|
+
if (list.length) {
|
148
|
+
var rList = list.slice(1);
|
149
|
+
list[0].split(',').map(replaceDoubleQuotation);
|
150
|
+
rList.forEach(function (r) {
|
151
|
+
if (r) {
|
152
|
+
var item = {};
|
153
|
+
r.split(',').forEach(function (val, colIndex) {
|
154
|
+
if (fields[colIndex]) {
|
155
|
+
item[fields[colIndex]] = replaceDoubleQuotation(val);
|
156
|
+
}
|
157
|
+
});
|
158
|
+
rows.push(item);
|
159
|
+
}
|
160
|
+
});
|
161
|
+
}
|
162
|
+
return {
|
163
|
+
fields: fields,
|
164
|
+
rows: rows
|
165
|
+
};
|
166
|
+
}
|
167
|
+
function checkImportData(columns, fields, rows) {
|
168
|
+
var tableFields = [];
|
169
|
+
columns.forEach(function (column) {
|
170
|
+
var field = column.property;
|
171
|
+
if (field) {
|
172
|
+
tableFields.push(field);
|
173
|
+
}
|
174
|
+
});
|
175
|
+
return tableFields.every(function (field) {
|
176
|
+
return fields.includes(field);
|
177
|
+
});
|
178
|
+
}
|
179
|
+
function importXLSX(params) {
|
180
|
+
var columns = params.columns,
|
181
|
+
options = params.options,
|
182
|
+
file = params.file;
|
183
|
+
var $table = params.$table;
|
184
|
+
var _importResolve = $table._importResolve;
|
185
|
+
var fileReader = new FileReader();
|
186
|
+
fileReader.onload = function (e) {
|
187
|
+
var workbook = _xlsx["default"].read(e.target.result, {
|
188
|
+
type: 'binary'
|
189
|
+
});
|
190
|
+
var csvData = _xlsx["default"].utils.sheet_to_csv(workbook.Sheets.Sheet1);
|
191
|
+
var _parseCsv = parseCsv(columns, csvData),
|
192
|
+
fields = _parseCsv.fields,
|
193
|
+
rows = _parseCsv.rows;
|
194
|
+
var status = checkImportData(columns, fields, rows);
|
195
|
+
if (status) {
|
196
|
+
$table.createData(rows).then(function (data) {
|
197
|
+
if (options.mode === 'append') {
|
198
|
+
$table.insertAt(data, -1);
|
199
|
+
} else {
|
200
|
+
$table.reloadData(data);
|
201
|
+
}
|
202
|
+
});
|
203
|
+
if (options.message !== false) {
|
204
|
+
_vxetable.modal.message({
|
205
|
+
message: _xeUtils["default"].template(_vxetable.t('vxe.table.impSuccess'), [rows.length]),
|
206
|
+
status: 'success'
|
207
|
+
});
|
208
|
+
}
|
209
|
+
} else if (options.message !== false) {
|
210
|
+
_vxetable.modal.message({
|
211
|
+
message: _vxetable.t('vxe.error.impFields'),
|
212
|
+
status: 'error'
|
213
|
+
});
|
214
|
+
}
|
215
|
+
if (_importResolve) {
|
216
|
+
_importResolve(status);
|
217
|
+
$table._importResolve = null;
|
218
|
+
}
|
219
|
+
};
|
220
|
+
fileReader.readAsBinaryString(file);
|
221
|
+
}
|
222
|
+
function handleImportEvent(params) {
|
223
|
+
if (params.options.type === 'xlsx') {
|
224
|
+
importXLSX(params);
|
225
|
+
return false;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
function handleExportEvent(params) {
|
229
|
+
if (params.options.type === 'xlsx') {
|
230
|
+
exportXLSX(params);
|
231
|
+
return false;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
/**
|
235
|
+
* 基于 vxe-table 表格的增强插件,支持导出 xlsx 格式
|
236
|
+
*/
|
237
|
+
var VXETablePluginExportXLSX = {
|
238
|
+
install: function install(xtable) {
|
239
|
+
var interceptor = xtable.interceptor;
|
240
|
+
_vxetable = xtable;
|
241
|
+
Object.assign(xtable.types, {
|
242
|
+
xlsx: 1
|
243
|
+
});
|
244
|
+
interceptor.mixin({
|
245
|
+
'event.import': handleImportEvent,
|
246
|
+
'event.export': handleExportEvent
|
247
|
+
});
|
248
|
+
}
|
249
|
+
};
|
250
|
+
_exports.VXETablePluginExportXLSX = VXETablePluginExportXLSX;
|
251
|
+
if (typeof window !== 'undefined' && window.VXETable) {
|
252
|
+
window.VXETable.use(VXETablePluginExportXLSX);
|
253
|
+
}
|
254
|
+
var _default = VXETablePluginExportXLSX;
|
255
|
+
_exports["default"] = _default;
|
270
256
|
});
|
package/dist/index.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){
|
1
|
+
!function(e,t){"function"==typeof define&&define.amd?define("vxe-table-plugin-export-xlsx-xhx",["exports","xe-utils","xlsx"],t):"undefined"!=typeof exports?t(exports,require("xe-utils"),require("xlsx")):(t((t={exports:{}}).exports,e.XEUtils,e.XLSX),e.VXETablePluginExportXLSX=t.exports.default)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e,p,m){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var x;function n(e){var o=e.$table,t=e.options,a=e.columns,e=e.datas,n=t.sheetName,r=t.type,i=t.isHeader,s=t.isFooter,l=t.original,u=t.message,c=t.footerFilterMethod,f={},d=[],e=(i&&a.forEach(function(e){f[e.id]=p.default.toString(l?e.property:e.getTitle())}),e.map(function(t){var n={};return a.forEach(function(e){n[e.id]=function(e,t){if(t)switch(e.cellType){case"string":return p.default.toValueString(t);case"number":if(isNaN(t))break;return Number(t);default:if(t.length<12&&!isNaN(t))return Number(t)}return t}(e,t[e.id])}),n})),c=(s&&(s=o.getTableData().footerData,(c?s.filter(c):s).forEach(function(t){var n={};a.forEach(function(e){n[e.id]=p.default.toString(t[o.$getColumnIndex(e)])}),d.push(n)})),m.default.utils.book_new()),s=m.default.utils.json_to_sheet((i?[f]:[]).concat(e).concat(d),{skipHeader:!0}),i=(m.default.utils.book_append_sheet(c,s,n),m.default.write(c,{bookType:r,bookSST:!1,type:"binary"})),e=new Blob([function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),o=0;o!==e.length;++o)n[o]=255&e.charCodeAt(o);return t}(i)],{type:"application/octet-stream"}),s=t;window.Blob?(n=s.filename,s=s.type,navigator.msSaveBlob?navigator.msSaveBlob(e,"".concat(n,".").concat(s)):((c=document.createElement("a")).target="_blank",c.download="".concat(n,".").concat(s),c.href=URL.createObjectURL(e),document.body.appendChild(c),c.click(),document.body.removeChild(c))):console.error(x.t("vxe.error.notExp")),!1!==u&&x.modal.message({message:x.t("vxe.table.expSuccess"),status:"success"})}function c(e){return e.replace(/^"/,"").replace(/"$/,"")}function o(e){var i=e.columns,s=e.options,t=e.file,l=e.$table,u=l._importResolve,e=new FileReader;e.onload=function(e){var o,t,n,a,e=m.default.read(e.target.result,{type:"binary"}),e=m.default.utils.sheet_to_csv(e.Sheets.Sheet1),e=(e=(e=e).split("\n"),o=[],t=[],e.length&&(r=e.slice(1),e[0].split(",").map(c),r.forEach(function(e){var n;e&&(n={},e.split(",").forEach(function(e,t){o[t]&&(n[o[t]]=c(e))}),t.push(n))})),{fields:o,rows:t}),r=e.rows,e=(n=e.fields,a=[],i.forEach(function(e){e=e.property;e&&a.push(e)}),a.every(function(e){return n.includes(e)}));e?(l.createData(r).then(function(e){"append"===s.mode?l.insertAt(e,-1):l.reloadData(e)}),!1!==s.message&&x.modal.message({message:p.default.template(x.t("vxe.table.impSuccess"),[r.length]),status:"success"})):!1!==s.message&&x.modal.message({message:x.t("vxe.error.impFields"),status:"error"}),u&&(u(e),l._importResolve=null)},e.readAsBinaryString(t)}function a(e){if("xlsx"===e.options.type)return o(e),!1}function r(e){if("xlsx"===e.options.type)return n(e),!1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.VXETablePluginExportXLSX=void 0,p=t(p),m=t(m);var i={install:function(e){var t=e.interceptor;x=e,Object.assign(e.types,{xlsx:1}),t.mixin({"event.import":a,"event.export":r})}};e.VXETablePluginExportXLSX=i,"undefined"!=typeof window&&window.VXETable&&window.VXETable.use(i);e.default=i});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vxe-table-plugin-export-xlsx-xhx",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"description": "基于 vxe-table 表格的增强插件,支持导出 xlsx 格式",
|
5
5
|
"scripts": {
|
6
6
|
"lib": "gulp build"
|
@@ -16,41 +16,41 @@
|
|
16
16
|
"jsdelivr": "dist/index.min.js",
|
17
17
|
"typings": "index.ts",
|
18
18
|
"devDependencies": {
|
19
|
-
"@babel/core": "
|
20
|
-
"@babel/plugin-transform-runtime": "
|
21
|
-
"@babel/preset-env": "
|
22
|
-
"@babel/runtime": "
|
23
|
-
"@typescript-eslint/eslint-plugin": "
|
24
|
-
"@typescript-eslint/parser": "
|
25
|
-
"del": "
|
26
|
-
"eslint": "
|
27
|
-
"eslint-config-prettier": "
|
28
|
-
"eslint-config-standard": "
|
29
|
-
"eslint-friendly-formatter": "
|
30
|
-
"eslint-plugin-import": "
|
31
|
-
"eslint-plugin-node": "
|
32
|
-
"eslint-plugin-prettier": "
|
33
|
-
"eslint-plugin-promise": "
|
34
|
-
"eslint-plugin-standard": "
|
35
|
-
"eslint-plugin-typescript": "
|
36
|
-
"gulp": "
|
37
|
-
"gulp-autoprefixer": "
|
38
|
-
"gulp-babel": "
|
39
|
-
"gulp-clean-css": "
|
40
|
-
"gulp-concat": "
|
41
|
-
"gulp-rename": "
|
42
|
-
"gulp-replace": "
|
43
|
-
"gulp-sass": "
|
44
|
-
"gulp-sourcemaps": "
|
45
|
-
"gulp-typescript": "
|
46
|
-
"gulp-uglify": "
|
47
|
-
"markdown-doctest": "
|
48
|
-
"prettier": "
|
49
|
-
"typescript": "
|
50
|
-
"vue": "
|
51
|
-
"vxe-table": "
|
52
|
-
"xe-utils": "
|
53
|
-
"xlsx": "
|
19
|
+
"@babel/core": "7.4.4",
|
20
|
+
"@babel/plugin-transform-runtime": "7.4.4",
|
21
|
+
"@babel/preset-env": "7.4.4",
|
22
|
+
"@babel/runtime": "7.4.4",
|
23
|
+
"@typescript-eslint/eslint-plugin": "2.3.1",
|
24
|
+
"@typescript-eslint/parser": "2.3.1",
|
25
|
+
"del": "5.1.0",
|
26
|
+
"eslint": "5.15.1",
|
27
|
+
"eslint-config-prettier": "6.3.0",
|
28
|
+
"eslint-config-standard": "12.0.0",
|
29
|
+
"eslint-friendly-formatter": "4.0.1",
|
30
|
+
"eslint-plugin-import": "2.16.0",
|
31
|
+
"eslint-plugin-node": "8.0.1",
|
32
|
+
"eslint-plugin-prettier": "3.1.1",
|
33
|
+
"eslint-plugin-promise": "4.0.1",
|
34
|
+
"eslint-plugin-standard": "4.0.0",
|
35
|
+
"eslint-plugin-typescript": "0.14.0",
|
36
|
+
"gulp": "4.0.2",
|
37
|
+
"gulp-autoprefixer": "6.1.0",
|
38
|
+
"gulp-babel": "8.0.0",
|
39
|
+
"gulp-clean-css": "4.2.0",
|
40
|
+
"gulp-concat": "2.6.1",
|
41
|
+
"gulp-rename": "1.4.0",
|
42
|
+
"gulp-replace": "1.0.0",
|
43
|
+
"gulp-sass": "4.0.2",
|
44
|
+
"gulp-sourcemaps": "2.6.5",
|
45
|
+
"gulp-typescript": "5.0.1",
|
46
|
+
"gulp-uglify": "3.0.2",
|
47
|
+
"markdown-doctest": "0.9.1",
|
48
|
+
"prettier": "1.18.2",
|
49
|
+
"typescript": "3.8.3",
|
50
|
+
"vue": "2.6.11",
|
51
|
+
"vxe-table": "2.9.9",
|
52
|
+
"xe-utils": "2.4.5",
|
53
|
+
"xlsx": "0.15.6"
|
54
54
|
},
|
55
55
|
"peerDependencies": {
|
56
56
|
"vxe-table": ">=2.8.0",
|