Skip to content

Commit 1c4f96d

Browse files
committed
[update] version 7.1.12
1 parent a187bfd commit 1c4f96d

24 files changed

+227
-107
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# dhtmlxGantt #
22

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

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

131-
dhtmlxGantt v.7.1.12 Standard
131+
dhtmlxGantt v.7.1.13 Standard
132132

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

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gantt",
3-
"version": "7.1.12",
3+
"version": "7.1.13",
44
"homepage": "https://dhtmlx.com/docs/products/dhtmlxGantt/",
55
"description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.",
66
"main": [

codebase/dhtmlxgantt.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxgantt.d.ts

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for dhtmlxGantt 7.1.12
1+
// Type definitions for dhtmlxGantt 7.1.13
22
// Project: https://dhtmlx.com/docs/products/dhtmlxGantt
33

44
type GanttCallback = (...args: any[]) => any;
@@ -451,6 +451,11 @@ export interface GanttConfigOptions {
451451
*/
452452
constraint_types: any;
453453

454+
/**
455+
* defines whether the gantt should track resizing of the container at time intervals
456+
*/
457+
container_resize_method: string;
458+
454459
/**
455460
* specifies the delay (in milliseconds) before redrawing the gantt when resizing the container
456461
*/
@@ -1017,9 +1022,9 @@ export interface GanttConfigOptions {
10171022
task_date: string;
10181023

10191024
/**
1020-
*
1025+
* sets the name of the attribute of the resizer's DOM element of the grid row. The attribute presents the row's index
10211026
*/
1022-
task_grid_row_resizer_attribute: any;
1027+
task_grid_row_resizer_attribute: string;
10231028

10241029
/**
10251030
* sets the height of task bars in the timeline area
@@ -1471,8 +1476,9 @@ export interface GanttStatic {
14711476
/**
14721477
* updates multiple tasks/links at once
14731478
* @param callback the callback function
1479+
* @param noRedraw optional, specifies if Gantt should repaint the chart after the callback function; <i>true</i> - not to repaint and <i>false</i> (by default) - to repaint
14741480
*/
1475-
batchUpdate(callback: GanttCallback): void;
1481+
batchUpdate(callback: GanttCallback, noRedraw: boolean): void;
14761482

14771483
/**
14781484
* creates a new function that, when called, has its <i>this</i> keyword set to the provided value
@@ -1803,7 +1809,7 @@ export interface GanttStatic {
18031809
* returns the earliest and latest dates allowed by the constraint applied to a task
18041810
* @param task a task object
18051811
*/
1806-
getConstraintLimitations(task: any): void;
1812+
getConstraintLimitations(task: any): any;
18071813

18081814
/**
18091815
* returns the constraint type applied to the task
@@ -2138,10 +2144,10 @@ export interface GanttStatic {
21382144
groupBy(config: any): void;
21392145

21402146
/**
2141-
* checks whether the specified item has child tasks
2147+
* returns the number of child task(s)
21422148
* @param id the task id
21432149
*/
2144-
hasChild(id: string|number): boolean;
2150+
hasChild(id: string|number): number|undefined;
21452151

21462152
/**
21472153
* hides the lightbox modal overlay that blocks interactions with the remaining screen
@@ -2423,9 +2429,9 @@ export interface GanttStatic {
24232429

24242430
/**
24252431
* rounds the specified date to the nearest date in the time scale
2426-
* @param date the Date object to round
2432+
* @param date the Date object to round or an object with settings
24272433
*/
2428-
roundDate(date: Date): Date;
2434+
roundDate(date: any): Date;
24292435

24302436
/**
24312437
* rounds the start and end task's dates to the nearest dates in the time scale
@@ -2461,10 +2467,10 @@ export interface GanttStatic {
24612467

24622468
/**
24632469
* set the parent for a task
2464-
* @param task the task id
2470+
* @param task the task object
24652471
* @param pid the parent task id
24662472
*/
2467-
setParent(task: number|string, pid: number|string): void;
2473+
setParent(task: any, pid: number|string): void;
24682474

24692475
/**
24702476
* resizes the Gantt chart
@@ -2572,7 +2578,7 @@ export interface GanttStatic {
25722578
/**
25732579
* updates the specified task
25742580
* @param id the task id
2575-
* @param newState the new values of the task
2581+
* @param newState optional, the new values of the task
25762582
*/
25772583
updateTask(id: string, newState: any): void;
25782584

codebase/dhtmlxgantt.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxgantt.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/skins/dhtmlxgantt_broadway.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/skins/dhtmlxgantt_contrast_black.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/skins/dhtmlxgantt_contrast_white.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/skins/dhtmlxgantt_material.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)