Skip to content

Commit

Permalink
update version number to 5.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Apr 2, 2022
1 parent 326db8c commit 67696c5
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 18 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": "5.1.7",
"version": "5.1.8",
"description": "Interactive table generation JavaScript library",
"keywords": [
"table",
Expand Down
12 changes: 8 additions & 4 deletions dist/js/tabulator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabulator v5.1.7 (c) Oliver Folkerd 2022 */
/* Tabulator v5.1.8 (c) Oliver Folkerd 2022 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -6675,15 +6675,15 @@
}

if (this.bindings[type][funcName]) {
console.warn("Unable to bind component handler, a matching function name is already bound", type, funcName, hanlder);
console.warn("Unable to bind component handler, a matching function name is already bound", type, funcName, handler);
} else {
this.bindings[type][funcName] = handler;
}
}
}, {
key: "handle",
value: function handle(type, component, name) {
if (this.bindings[type] && this.bindings[type][name]) {
if (this.bindings[type] && this.bindings[type][name] && typeof this.bindings[type][name].bind === 'function') {
return this.bindings[type][name].bind(null, component);
} else {
if (name !== "then" && typeof name === "string" && !name.startsWith("_")) {
Expand Down Expand Up @@ -14115,6 +14115,7 @@
cell.column.definition.cellEditing.call(this.table, component);
}

this.dispatch("cell-editing", cell);
this.dispatchExternal("cellEditing", component);
params = typeof cell.column.modules.edit.params === "function" ? cell.column.modules.edit.params(component) : cell.column.modules.edit.params;
cellEditor = cell.column.modules.edit.editor.call(self, component, onRendered, success, cancel, params); //if editor returned, add to DOM, if false, abort edit
Expand Down Expand Up @@ -16073,7 +16074,7 @@

if (newDatetime.isValid) {
if (formatterParams.timezone) {
newDatetime = newDatetime.shiftTimezone(formatterParams.timezone);
newDatetime = newDatetime.setZone(formatterParams.timezone);
}

return newDatetime.toFormat(outputFormat);
Expand Down Expand Up @@ -20164,6 +20165,8 @@
setTimeout(function () {
_this4.table.rowManager.element.addEventListener("scroll", _this4.blurEvent);

_this4.subscribe("cell-editing", _this4.blurEvent);

document.body.addEventListener("click", _this4.blurEvent);
document.body.addEventListener("contextmenu", _this4.blurEvent);
window.addEventListener("resize", _this4.blurEvent);
Expand Down Expand Up @@ -20217,6 +20220,7 @@
document.body.removeEventListener("contextmenu", this.blurEvent);
window.removeEventListener("resize", this.blurEvent);
this.table.rowManager.element.removeEventListener("scroll", this.blurEvent);
this.unsubscribe("cell-editing", this.blurEvent);

if (this.currentComponent) {
this.dispatchExternal("menuClosed", this.currentComponent.getComponent());
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.

6 changes: 3 additions & 3 deletions dist/js/tabulator_esm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabulator v5.1.7 (c) Oliver Folkerd 2022 */
/* Tabulator v5.1.8 (c) Oliver Folkerd 2022 */
class CoreFeature{

constructor(table){
Expand Down Expand Up @@ -22191,14 +22191,14 @@ class ComponentFunctionBinder{
}

if(this.bindings[type][funcName]){
console.warn("Unable to bind component handler, a matching function name is already bound", type, funcName, hanlder);
console.warn("Unable to bind component handler, a matching function name is already bound", type, funcName, handler);
}else {
this.bindings[type][funcName] = handler;
}
}

handle(type, component, name){
if(this.bindings[type] && this.bindings[type][name]){
if(this.bindings[type] && this.bindings[type][name] && typeof this.bindings[type][name].bind === 'function'){
return this.bindings[type][name].bind(null, component);
}else {
if(name !== "then" && typeof name === "string" && !name.startsWith("_")){
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tabulator_esm.js.map

Large diffs are not rendered by default.

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.

2 changes: 1 addition & 1 deletion 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": "5.1.7",
"version": "5.1.8",
"description": "Interactive table generation JavaScript library",
"style": "dist/css/tabulator.css",
"main": "dist/js/tabulator.js",
Expand Down

0 comments on commit 67696c5

Please sign in to comment.