Comparing version 0.11.16 to 0.11.17
{ | ||
"name": "xlsx", | ||
"version": "0.11.16", | ||
"version": "0.11.17", | ||
"author": "sheetjs", | ||
@@ -5,0 +5,0 @@ "description": "SheetJS Spreadsheet data parser and writer", |
@@ -599,2 +599,7 @@ /* index.d.ts (C) 2015-present SheetJS and contributors */ | ||
export interface OriginOption { | ||
/** Top-Left cell for operation (CellAddress or A1 string or row) */ | ||
origin?: number | string | CellAddress; | ||
} | ||
export interface Sheet2HTMLOpts { | ||
@@ -636,7 +641,14 @@ /** Add contenteditable to every cell */ | ||
export interface SheetAOAOpts extends AOA2SheetOpts, OriginOption {} | ||
export interface JSON2SheetOpts extends CommonOptions, DateNFOption { | ||
/** Use specified column order */ | ||
header?: string[]; | ||
/** Skip header row in generated sheet */ | ||
skipHeader?: boolean; | ||
} | ||
export interface SheetJSONOpts extends JSON2SheetOpts, OriginOption {} | ||
export interface Table2SheetOpts extends CommonOptions, DateNFOption { | ||
@@ -744,2 +756,11 @@ /* If true, plaintext parsing will not parse values */ | ||
/** Add an array of arrays of JS data to a worksheet */ | ||
sheet_add_aoa<T>(ws: WorkSheet, data: T[][], opts?: SheetAOAOpts): WorkSheet; | ||
sheet_add_aoa(ws: WorkSheet, data: any[][], opts?: SheetAOAOpts): WorkSheet; | ||
/** Add an array of JS objects to a worksheet */ | ||
sheet_add_json(ws: WorkSheet, data: any[], opts?: SheetJSONOpts): WorkSheet; | ||
sheet_add_json<T>(ws: WorkSheet, data: T[], opts?: SheetJSONOpts): WorkSheet; | ||
consts: XLSX$Consts; | ||
@@ -746,0 +767,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6479597
62405
2671