Skip to content

Commit

Permalink
update version to 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Mar 24, 2024
1 parent 890f92e commit a8fbe01
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 19 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tabulator",
"main": "dist/js/tabulator.js",
"version": "6.0.1",
"version": "6.1.0",
"description": "Interactive table generation JavaScript library",
"keywords": [
"table",
Expand Down
2 changes: 2 additions & 0 deletions dist/css/tabulator_site_dark.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/css/tabulator_site_dark.min.css.map

Large diffs are not rendered by default.

22 changes: 15 additions & 7 deletions dist/js/tabulator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabulator v6.0.1 (c) Oliver Folkerd 2024 */
/* Tabulator v6.1.0 (c) Oliver Folkerd 2024 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -11263,7 +11263,7 @@
setFileContents(doc.output("arraybuffer"), "application/pdf");
}

function xlsx(list, options, setFileContents){
function xlsx$1(list, options, setFileContents){
var self = this,
sheetName = options.sheetName || "Sheet1",
workbook = XLSX.utils.book_new(),
Expand Down Expand Up @@ -11408,7 +11408,7 @@
json:json$1,
jsonLines:jsonLines,
pdf:pdf,
xlsx:xlsx,
xlsx:xlsx$1,
html:html$1,
};

Expand Down Expand Up @@ -19443,10 +19443,18 @@
return input;
}

function xlsx(input, floop){
var workbook2 = XLSX.read(input);
var sheet = workbook2.Sheets[workbook2.SheetNames[0]];

return XLSX.utils.sheet_to_json(sheet, {});
}

var defaultImporters = {
csv:csv,
json:json,
array:array$1,
xlsx:xlsx,
};

class Import extends Module{
Expand Down Expand Up @@ -19505,11 +19513,11 @@
return importer;
}

importFromFile(importFormat, extension){
importFromFile(importFormat, extension, importReader){
var importer = this.lookupImporter(importFormat);

if(importer){
return this.pickFile(extension)
return this.pickFile(extension, importReader)
.then(this.importData.bind(this, importer))
.then(this.structureData.bind(this))
.then(this.setData.bind(this))
Expand All @@ -19520,7 +19528,7 @@
}
}

pickFile(extensions){
pickFile(extensions, importReader){
return new Promise((resolve, reject) => {
var input = document.createElement("input");
input.type = "file";
Expand All @@ -19530,7 +19538,7 @@
var file = input.files[0],
reader = new FileReader();

switch(this.table.options.importReader){
switch(importReader || this.table.options.importReader){
case "buffer":
reader.readAsArrayBuffer(file);
break;
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tabulator.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tabulator.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tabulator.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tabulator_esm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabulator v6.0.1 (c) Oliver Folkerd 2024 */
/* Tabulator v6.1.0 (c) Oliver Folkerd 2024 */
class CoreFeature{

constructor(table){
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tabulator_esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tabulator_esm.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabulator-tables",
"version": "6.0.1",
"version": "6.1.0",
"description": "Interactive table generation JavaScript library",
"style": "dist/css/tabulator.css",
"main": "dist/js/tabulator.js",
Expand Down

0 comments on commit a8fbe01

Please sign in to comment.