Releases: clarketm/TableExport
v5.0.0-rc.10
fix: reset hashCode seed for cloned nodes and dynamic tables.
Start using today!
npm install tableexport@5.0.0-rc.10
v5.0.0-rc.9
fix: Excel (xlsx, xlsm, xlsb, xls) cell merge support #69
Start using today!
npm install tableexport@5.0.0-rc.9
v4.0.11
v5.0.0-rc.8
fix: rowspan/colspan bug specific to XLSX format (introduced by the previous code cleanup commit).
Start using today!
npm install tableexport@next
OR
npm install tableexport@5.0.0-rc.8
v5.0.0-rc.7
v5.0.0-rc.7 new features:
ignoreCSSandemptyCSSvalues can now be configured with a custom CSS selector or an array of custom CSS selectors.
// example
TableExport.prototype.ignoreCSS = '.tableexport-ignore' // default
TableExport.prototype.ignoreCSS = '.myIgnoredCells' // custom selector
TableExport.prototype.ignoreCSS = [ '.tableexport-ignore', '[data-hide]' ] // custom selector[]the default selector values (
.tableexport-ignoreand.tableexport-empty) remain unchanged.
- General code cleanup: replace "magic strings" with configurable
TableExport.prototypeproperties.
Start using today!
npm install tableexport@5.0.0-rc.7
v5.0.0-rc.6
fixes Rowspan and Colspan #27 with the exception of a few edge cases.
Updates to the rowspan/colspan algorithm:
- Handle
rowspanandcolspanparsing once in the initialRowColMapbuild rather than at runtime for each DOM node with arowspanorcolspanattribute. - Reengineer the
handleRowSpanfunction to track a pointer reference to the currentrowspanaccumulator value. - Reengineer the
handleColSpanfunction to track a pointer reference to the currentcolspanaccumulator value. - Create
isRowSpanandisColSpanhelper methods on theRowColMapclass.
Start using today!
npm install tableexport@5.0.0-rc.6
v5.0.0-rc.4
v5.0.0-rc.4 new features:
- Added Excel Macro-Enabled Workbook (
xlsm) and Excel Binary Workbook (xlsb) file format support. - Improved
errorhandling and logging. - Added
formatConfig->enforceStrictRFC4180boolean prototype property to thexls,csv, andtxtformats to dictate the use ofjs-xlsxfor parsing. (disabled by default forcsvandtxtdue to Excel's discord with RFC4180). - Significant
exportersprocedure cleanup/overhaul (200+ lines of redundant code removed).
Start using today!
npm install tableexport@5.0.0-rc.4
v5.0.0-rc.3
Updates to the rowspan/colspan algorithm:
- Execution logic reordering inside the
handleColSpanandhandleRowSpanfunctions when handling DOM elements with both arowpanandcolspanvalue. - Terminating condition optimization to eliminate redundant iteration.
- Single instantiation of the
RowColMapbuilder from theTableExportcontext.
Start using today!
npm install tableexport@5.0.0-rc.3
v5.0.0-rc.2
v5.0.0-rc.2 new features:
- Change
Exceldefault format fromxlstoxlsx
v5.0.0-rc.1
v5.0.0-rc.1 new features:
- Add new
RowColMaphelper class: a table preprocessing stage to collect metadata and prevent repetitive iterations for every filetype. - Restructure the
LocalStoragehelper class (removed fromTableExport.prototype). - Add
CONSTANTStoTableExport.prototypefor convenient, centralized access to internal property values (as well as to prune out magic strings). - Rewrite the rowspan/colspan algorithm to be more precise when handling complex assortments of
rowspanandcolspan(fixesRowspan and Colspan#27). - Added
getFileSizeutility method to quickly calculate the filesize of a file export. - Rename
getBinaryDatato the more semantically correctgetRawData - Rename
typestotypeConfig - Move
xlsx,xls,csv, andtxtTableExport.prototypeproperties to be nested under theformatConfignamespace. - Added more
examples.
npm install tableexport@5.0.0-rc.1