style-xlsx-m 0.1.5 → 0.1.7
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/package.json +1 -1
- package/types/index.d.ts +1 -1
- package/xlsx.js +3 -3
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -842,7 +842,7 @@ export interface XLSX$Utils {
|
|
|
842
842
|
book_new(): WorkBook;
|
|
843
843
|
|
|
844
844
|
/** Append a worksheet to a workbook */
|
|
845
|
-
book_append_sheet(workbook: WorkBook, worksheet: WorkSheet, name?: string, roll?: boolean, sheetName?:string): void;
|
|
845
|
+
book_append_sheet(workbook: WorkBook, worksheet: WorkSheet, name?: any|string, roll?: boolean, sheetName?:string): void;
|
|
846
846
|
|
|
847
847
|
/** Set sheet visibility (visible/hidden/very hidden) */
|
|
848
848
|
book_set_sheet_visibility(workbook: WorkBook, sheet: number|string, visibility: number): void;
|
package/xlsx.js
CHANGED
|
@@ -23852,7 +23852,7 @@ function readSync(data, opts) {
|
|
|
23852
23852
|
}
|
|
23853
23853
|
|
|
23854
23854
|
function readFileSync(filename, opts) {
|
|
23855
|
-
console.log(filename)
|
|
23855
|
+
// console.log(filename)
|
|
23856
23856
|
var o = opts||{}; o.type = 'file';
|
|
23857
23857
|
return readSync(filename, o);
|
|
23858
23858
|
}
|
|
@@ -24333,7 +24333,7 @@ function book_new() {
|
|
|
24333
24333
|
|
|
24334
24334
|
/* add a worksheet to the end of a given workbook */
|
|
24335
24335
|
function book_append_sheet(wb, ws, name, roll, nameSheet) {
|
|
24336
|
-
console.log('book_append_sheet')
|
|
24336
|
+
// console.log('book_append_sheet')
|
|
24337
24337
|
var i = 1;
|
|
24338
24338
|
if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break;
|
|
24339
24339
|
if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets");
|
|
@@ -24355,7 +24355,7 @@ function book_append_sheet(wb, ws, name, roll, nameSheet) {
|
|
|
24355
24355
|
nws[el].s = wsws[el].s
|
|
24356
24356
|
}
|
|
24357
24357
|
})
|
|
24358
|
-
console.log('nws',nws['A1'],'wsws',wsws['A1'],'wb',wb.Sheets[nameSheet]["A1"],'-----------------------------/////////------------------')
|
|
24358
|
+
// console.log('nws',nws['A1'],'wsws',wsws['A1'],'wb',wb.Sheets[nameSheet]["A1"],'-----------------------------/////////------------------')
|
|
24359
24359
|
wb.Sheets[nameSheet] = nws;
|
|
24360
24360
|
}else{
|
|
24361
24361
|
wb.Sheets[name] = ws;
|