Skip to content

Commit

Permalink
[update] version 7.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKlimenkov committed Apr 26, 2021
1 parent 3076bc2 commit 35c51ee
Show file tree
Hide file tree
Showing 16 changed files with 56 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# dhtmlxGantt #

[![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/)
[![npm: v.7.1.1](https://img.shields.io/badge/npm-v.7.1.1-blue.svg)](https://www.npmjs.com/package/dhtmlx-gantt)
[![npm: v.7.1.2](https://img.shields.io/badge/npm-v.7.1.2-blue.svg)](https://www.npmjs.com/package/dhtmlx-gantt)
[![License: GPL v2](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)

[Getting started](#getting-started) | [Features](#features) | [Follow us](#followus) | [License](#license) | [Useful links](#links)
Expand Down Expand Up @@ -128,7 +128,7 @@ Like our page on [Facebook](https://www.facebook.com/dhtmlx/) :thumbsup:
<a name="license"></a>
## License ##

dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard

This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gantt",
"version": "7.1.1",
"version": "7.1.2",
"homepage": "https://dhtmlx.com/docs/products/dhtmlxGantt/",
"description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.",
"main": [
Expand Down
2 changes: 1 addition & 1 deletion codebase/dhtmlxgantt.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for dhtmlxGantt 7.1.1
// Type definitions for dhtmlxGantt 7.1.2
// Project: https://dhtmlx.com/docs/products/dhtmlxGantt

type GanttCallback = (...args: any[]) => any;
Expand Down
6 changes: 3 additions & 3 deletions codebase/dhtmlxgantt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codebase/dhtmlxgantt.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codebase/sources/dhtmlxgantt.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
47 changes: 31 additions & 16 deletions codebase/sources/dhtmlxgantt.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license

dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard

This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.

Expand Down Expand Up @@ -11117,6 +11117,14 @@ function initDataStores(gantt) {
});
tasksStore.attachEvent("onIdChange", function (oldId, newId) {
gantt._update_flags(oldId, newId);

var changedTask = gantt.getTask(newId);

if (changedTask.$split_subtask || changedTask.rollup) {
gantt.eachParent(function (parent) {
gantt.refreshTask(parent.id);
}, newId);
}
});
tasksStore.attachEvent("onAfterUpdate", function (id) {
gantt._update_parents(id);
Expand Down Expand Up @@ -13999,6 +14007,10 @@ module.exports = function (gantt) {
return;
}

if (gantt.$destroyed) {
return;
}

this.callEvent("onBeforeParse", []);
if (!type) type = "json";
this.assert(this[type], "Invalid data type:'" + type + "'");
Expand Down Expand Up @@ -20693,7 +20705,11 @@ var ScrollbarCell = function (_super) {

ScrollbarCell.prototype._initMouseWheel = function () {
var ff = env.isFF;
if (ff) this.$domEvents.attach(this._getRootParent().$view, "wheel", this._mouseWheelHandler);else this.$domEvents.attach(this._getRootParent().$view, "mousewheel", this._mouseWheelHandler);
if (ff) this.$domEvents.attach(this._getRootParent().$view, "wheel", this._mouseWheelHandler, {
passive: false
});else this.$domEvents.attach(this._getRootParent().$view, "mousewheel", this._mouseWheelHandler, {
passive: false
});
};

ScrollbarCell.prototype.scrollHorizontally = function (left) {
Expand Down Expand Up @@ -24928,7 +24944,7 @@ var TimelineZoom = /** @class */ (function () {
this._handler.apply(this, [e]);
return true;
}
}, _this));
}, _this), { passive: false });
};
this._defaultHandler = function (e) {
var timelineOffset = _this.$gantt.$task.getBoundingClientRect().x;
Expand Down Expand Up @@ -39351,7 +39367,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi

function DHXGantt() {
this.constants = __webpack_require__(/*! ../constants */ "./sources/constants/index.js");
this.version = "7.1.1";
this.version = "7.1.2";
this.license = "gpl";
this.templates = {};
this.ext = {};
Expand Down Expand Up @@ -42782,9 +42798,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi

var helpers = __webpack_require__(/*! ./helpers */ "./sources/utils/helpers.js");

var plainObjectConstructor = {}.constructor.toString();

function isCustomType(object) {
var constructorString = object.constructor.toString();
var plainObjectConstructor = {}.constructor.toString();
return constructorString !== plainObjectConstructor;
}

Expand All @@ -42806,17 +42823,15 @@ function copy(object) {

break;

case helpers.isStringObject(object):
result = new String(object);
break;

case helpers.isNumberObject(object):
result = new Number(object);
break;

case helpers.isBooleanObject(object):
result = new Boolean(object);
break;
/* case (helpers.isStringObject(object)):
result = new String(object);
break;
case (helpers.isNumberObject(object)):
result = new Number(object);
break;
case (helpers.isBooleanObject(object)):
result = new Boolean(object);
break;*/

default:
if (isCustomType(object)) {
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_broadway.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_contrast_black.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_contrast_white.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_material.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_meadow.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_skyblue.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion codebase/sources/skins/dhtmlxgantt_terrace.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
@license
dhtmlxGantt v.7.1.1 Standard
dhtmlxGantt v.7.1.2 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dhtmlx-gantt",
"version": "7.1.1",
"version": "7.1.2",
"description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.",
"main": "codebase/dhtmlxgantt.js",
"types": "codebase/dhtmlxgantt.d.ts",
Expand Down
9 changes: 8 additions & 1 deletion whatsnew.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
7.1.1
### 7.1.2

Major performance improvement of the resource panel
Fix the script error thrown when gantt.destructor is called while gantt.load is in progress
Fix the incorrect behavior of split tasks on change of the task id
Fix the incorrect work of scroll on mouse wheel in Angular

### 7.1.1

Fix the regression in the click_drag plugin
Fix the Security Violation error thrown from the gantt when setting the gantt.config.csp config to the "auto" mode
Expand Down

0 comments on commit 35c51ee

Please sign in to comment.