ps-toolkit-ui 1.18.11 → 1.18.12
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/bundles/ps-toolkit-ui.umd.js +3 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/excel.class.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/excel.class.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9857,8 +9857,9 @@
|
|
|
9857
9857
|
var ExcelClass = /** @class */ (function () {
|
|
9858
9858
|
function ExcelClass() {
|
|
9859
9859
|
}
|
|
9860
|
-
ExcelClass.prototype.exportAsExcelFile = function (json, excelFileName) {
|
|
9861
|
-
|
|
9860
|
+
ExcelClass.prototype.exportAsExcelFile = function (json, excelFileName, opts) {
|
|
9861
|
+
if (opts === void 0) { opts = null; }
|
|
9862
|
+
var worksheet = XLSX.utils.json_to_sheet(json, opts);
|
|
9862
9863
|
var workbook = {
|
|
9863
9864
|
Sheets: { data: worksheet },
|
|
9864
9865
|
SheetNames: ['data']
|