Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsgantt-improved

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsgantt-improved - npm Package Compare versions

Comparing version 2.8.4 to 2.8.5

docs/demo-plan-color.html

453

dist/src/draw.js

@@ -56,3 +56,3 @@ "use strict";

5: true,
6: true
6: true,
};

@@ -76,3 +76,3 @@ this.vEventClickCollapse = null;

onLineDraw: null,
onLineContainerHover: null
onLineContainerHover: null,
};

@@ -89,3 +89,3 @@ this.vEventsChange = {

cost: null,
line: null
line: null,
};

@@ -97,25 +97,25 @@ this.vResources = null;

this.vDebug = false;
this.vShowSelector = new Array('top');
this.vDateInputFormat = 'yyyy-mm-dd';
this.vDateTaskTableDisplayFormat = date_utils_1.parseDateFormatStr('dd/mm/yyyy');
this.vDateTaskDisplayFormat = date_utils_1.parseDateFormatStr('dd month yyyy');
this.vHourMajorDateDisplayFormat = date_utils_1.parseDateFormatStr('day dd month yyyy');
this.vHourMinorDateDisplayFormat = date_utils_1.parseDateFormatStr('HH');
this.vDayMajorDateDisplayFormat = date_utils_1.parseDateFormatStr('dd/mm/yyyy');
this.vDayMinorDateDisplayFormat = date_utils_1.parseDateFormatStr('dd');
this.vWeekMajorDateDisplayFormat = date_utils_1.parseDateFormatStr('yyyy');
this.vWeekMinorDateDisplayFormat = date_utils_1.parseDateFormatStr('dd/mm');
this.vMonthMajorDateDisplayFormat = date_utils_1.parseDateFormatStr('yyyy');
this.vMonthMinorDateDisplayFormat = date_utils_1.parseDateFormatStr('mon');
this.vQuarterMajorDateDisplayFormat = date_utils_1.parseDateFormatStr('yyyy');
this.vQuarterMinorDateDisplayFormat = date_utils_1.parseDateFormatStr('qq');
this.vUseFullYear = date_utils_1.parseDateFormatStr('dd/mm/yyyy');
this.vShowSelector = new Array("top");
this.vDateInputFormat = "yyyy-mm-dd";
this.vDateTaskTableDisplayFormat = date_utils_1.parseDateFormatStr("dd/mm/yyyy");
this.vDateTaskDisplayFormat = date_utils_1.parseDateFormatStr("dd month yyyy");
this.vHourMajorDateDisplayFormat = date_utils_1.parseDateFormatStr("day dd month yyyy");
this.vHourMinorDateDisplayFormat = date_utils_1.parseDateFormatStr("HH");
this.vDayMajorDateDisplayFormat = date_utils_1.parseDateFormatStr("dd/mm/yyyy");
this.vDayMinorDateDisplayFormat = date_utils_1.parseDateFormatStr("dd");
this.vWeekMajorDateDisplayFormat = date_utils_1.parseDateFormatStr("yyyy");
this.vWeekMinorDateDisplayFormat = date_utils_1.parseDateFormatStr("dd/mm");
this.vMonthMajorDateDisplayFormat = date_utils_1.parseDateFormatStr("yyyy");
this.vMonthMinorDateDisplayFormat = date_utils_1.parseDateFormatStr("mon");
this.vQuarterMajorDateDisplayFormat = date_utils_1.parseDateFormatStr("yyyy");
this.vQuarterMinorDateDisplayFormat = date_utils_1.parseDateFormatStr("qq");
this.vUseFullYear = date_utils_1.parseDateFormatStr("dd/mm/yyyy");
this.vCaptionType;
this.vDepId = 1;
this.vTaskList = new Array();
this.vFormatArr = new Array('hour', 'day', 'week', 'month', 'quarter');
this.vFormatArr = new Array("hour", "day", "week", "month", "quarter");
this.vMonthDaysArr = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
this.vProcessNeeded = true;
this.vMinGpLen = 8;
this.vScrollTo = '';
this.vScrollTo = "";
this.vHourColWidth = 18;

@@ -129,3 +129,3 @@ this.vDayColWidth = 18;

this.vLangs = lang;
this.vLang = navigator.language && navigator.language in lang ? navigator.language : 'en';
this.vLang = navigator.language && navigator.language in lang ? navigator.language : "en";
this.vChartBody = null;

@@ -164,6 +164,5 @@ this.vChartHead = null;

var parent = this.getLines();
if (this.vEventsChange.line &&
typeof this.vEventsChange.line === 'function') {
this.removeListener('click', this.vEventsChange.line, parent);
this.addListener('click', this.vEventsChange.line, parent);
if (this.vEventsChange.line && typeof this.vEventsChange.line === "function") {
this.removeListener("click", this.vEventsChange.line, parent);
this.addListener("click", this.vEventsChange.line, parent);
}

@@ -176,16 +175,16 @@ while (parent.hasChildNodes())

var _this = this;
var vTmpDiv = draw_utils_1.newNode(vLeftHeader, 'div', this.vDivId + 'glisthead', 'glistlbl gcontainercol');
var vTmpDiv = draw_utils_1.newNode(vLeftHeader, "div", this.vDivId + "glisthead", "glistlbl gcontainercol");
var gListLbl = vTmpDiv;
this.setListBody(vTmpDiv);
var vTmpTab = draw_utils_1.newNode(vTmpDiv, 'table', null, 'gtasktableh');
var vTmpTBody = draw_utils_1.newNode(vTmpTab, 'tbody');
var vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr');
draw_utils_1.newNode(vTmpRow, 'td', null, 'gtasklist', '\u00A0');
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gspanning gtaskname', null, null, null, null, this.getColumnOrder().length + 1);
vTmpCell.appendChild(this.drawSelector('top'));
vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr');
draw_utils_1.newNode(vTmpRow, 'td', null, 'gtasklist', '\u00A0');
draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskname', '\u00A0');
var vTmpTab = draw_utils_1.newNode(vTmpDiv, "table", null, "gtasktableh");
var vTmpTBody = draw_utils_1.newNode(vTmpTab, "tbody");
var vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr");
draw_utils_1.newNode(vTmpRow, "td", null, "gtasklist", "\u00A0");
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, "gspanning gtaskname", null, null, null, null, this.getColumnOrder().length + 1);
vTmpCell.appendChild(this.drawSelector("top"));
vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr");
draw_utils_1.newNode(vTmpRow, "td", null, "gtasklist", "\u00A0");
draw_utils_1.newNode(vTmpRow, "td", null, "gtaskname", "\u00A0");
this.getColumnOrder().forEach(function (column) {
if (_this[column] == 1 || column === 'vAdditionalHeaders') {
if (_this[column] == 1 || column === "vAdditionalHeaders") {
draw_columns_1.draw_task_headings(column, vTmpRow, _this.vLangs, _this.vLang, _this.vAdditionalHeaders, _this.vEvents);

@@ -198,7 +197,7 @@ }

var _this = this;
var vTmpContentTabOuterWrapper = draw_utils_1.newNode(vLeftHeader, 'div', null, 'gtasktableouterwrapper');
var vTmpContentTabWrapper = draw_utils_1.newNode(vTmpContentTabOuterWrapper, 'div', null, 'gtasktablewrapper');
var vTmpContentTabOuterWrapper = draw_utils_1.newNode(vLeftHeader, "div", null, "gtasktableouterwrapper");
var vTmpContentTabWrapper = draw_utils_1.newNode(vTmpContentTabOuterWrapper, "div", null, "gtasktablewrapper");
vTmpContentTabWrapper.style.width = "calc(100% + " + general_utils_1.getScrollbarWidth() + "px)";
var vTmpContentTab = draw_utils_1.newNode(vTmpContentTabWrapper, 'table', null, 'gtasktable');
var vTmpContentTBody = draw_utils_1.newNode(vTmpContentTab, 'tbody');
var vTmpContentTab = draw_utils_1.newNode(vTmpContentTabWrapper, "table", null, "gtasktable");
var vTmpContentTBody = draw_utils_1.newNode(vTmpContentTab, "tbody");
var vNumRows = 0;

@@ -208,19 +207,19 @@ var _loop_1 = function (i) {

if (this_1.vTaskList[i].getGroup() == 1)
vBGColor = 'ggroupitem';
vBGColor = "ggroupitem";
else
vBGColor = 'glineitem';
vBGColor = "glineitem a";
var vID = this_1.vTaskList[i].getID();
var vTmpRow_1, vTmpCell_1 = void 0;
if ((!(this_1.vTaskList[i].getParItem() && this_1.vTaskList[i].getParItem().getGroup() == 2)) || this_1.vTaskList[i].getGroup() == 2) {
if (!(this_1.vTaskList[i].getParItem() && this_1.vTaskList[i].getParItem().getGroup() == 2) || this_1.vTaskList[i].getGroup() == 2) {
if (this_1.vTaskList[i].getVisible() == 0)
vTmpRow_1 = draw_utils_1.newNode(vTmpContentTBody, 'tr', this_1.vDivId + 'child_' + vID, 'gname ' + vBGColor, null, null, null, 'none');
vTmpRow_1 = draw_utils_1.newNode(vTmpContentTBody, "tr", this_1.vDivId + "child_" + vID, "gname " + vBGColor, null, null, null, "none");
else
vTmpRow_1 = draw_utils_1.newNode(vTmpContentTBody, 'tr', this_1.vDivId + 'child_' + vID, 'gname ' + vBGColor);
vTmpRow_1 = draw_utils_1.newNode(vTmpContentTBody, "tr", this_1.vDivId + "child_" + vID, "gname " + vBGColor);
this_1.vTaskList[i].setListChildRow(vTmpRow_1);
draw_utils_1.newNode(vTmpRow_1, 'td', null, 'gtasklist', '\u00A0');
var editableClass = this_1.vEditable ? 'gtaskname gtaskeditable' : 'gtaskname';
vTmpCell_1 = draw_utils_1.newNode(vTmpRow_1, 'td', null, editableClass);
var vCellContents = '';
draw_utils_1.newNode(vTmpRow_1, "td", null, "gtasklist", "\u00A0");
var editableClass = this_1.vEditable ? "gtaskname gtaskeditable" : "gtaskname";
vTmpCell_1 = draw_utils_1.newNode(vTmpRow_1, "td", null, editableClass);
var vCellContents = "";
for (var j = 1; j < this_1.vTaskList[i].getLevel(); j++) {
vCellContents += '\u00A0\u00A0\u00A0\u00A0';
vCellContents += "\u00A0\u00A0\u00A0\u00A0";
}

@@ -230,4 +229,4 @@ var task_2 = this_1.vTaskList[i];

var vEventClickCollapse_1 = this_1.vEventClickCollapse;
events_1.addListener('click', function (e) {
if (e.target.classList.contains('gfoldercollapse') === false) {
events_1.addListener("click", function (e) {
if (e.target.classList.contains("gfoldercollapse") === false) {
if (vEventClickRow_1 && typeof vEventClickRow_1 === "function") {

@@ -244,8 +243,8 @@ vEventClickRow_1(task_2);

if (this_1.vTaskList[i].getGroup() == 1) {
var vTmpDiv = draw_utils_1.newNode(vTmpCell_1, 'div', null, null, vCellContents);
var vTmpSpan = draw_utils_1.newNode(vTmpDiv, 'span', this_1.vDivId + 'group_' + vID, 'gfoldercollapse', (this_1.vTaskList[i].getOpen() == 1) ? '-' : '+');
var vTmpDiv = draw_utils_1.newNode(vTmpCell_1, "div", null, null, vCellContents);
var vTmpSpan = draw_utils_1.newNode(vTmpDiv, "span", this_1.vDivId + "group_" + vID, "gfoldercollapse", this_1.vTaskList[i].getOpen() == 1 ? "-" : "+");
this_1.vTaskList[i].setGroupSpan(vTmpSpan);
events_1.addFolderListeners(this_1, vTmpSpan, vID);
var divTask = document.createElement('span');
divTask.innerHTML = '\u00A0' + this_1.vTaskList[i].getName();
var divTask = document.createElement("span");
divTask.innerHTML = "\u00A0" + this_1.vTaskList[i].getName();
vTmpDiv.appendChild(divTask);

@@ -255,15 +254,15 @@ // const text = makeInput(this.vTaskList[i].getName(), this.vEditable, 'text');

var callback = function (task, e) { return task.setName(e.target.value); };
events_1.addListenerInputCell(vTmpCell_1, this_1.vEventsChange, callback, this_1.vTaskList, i, 'taskname', this_1.Draw.bind(this_1));
events_1.addListenerClickCell(vTmpDiv, this_1.vEvents, this_1.vTaskList[i], 'taskname');
events_1.addListenerInputCell(vTmpCell_1, this_1.vEventsChange, callback, this_1.vTaskList, i, "taskname", this_1.Draw.bind(this_1));
events_1.addListenerClickCell(vTmpDiv, this_1.vEvents, this_1.vTaskList[i], "taskname");
}
else {
vCellContents += '\u00A0\u00A0\u00A0\u00A0';
var text = draw_utils_1.makeInput(this_1.vTaskList[i].getName(), this_1.vEditable, 'text');
var vTmpDiv = draw_utils_1.newNode(vTmpCell_1, 'div', null, null, vCellContents + text);
vCellContents += "\u00A0\u00A0\u00A0\u00A0";
var text = draw_utils_1.makeInput(this_1.vTaskList[i].getName(), this_1.vEditable, "text");
var vTmpDiv = draw_utils_1.newNode(vTmpCell_1, "div", null, null, vCellContents + text);
var callback = function (task, e) { return task.setName(e.target.value); };
events_1.addListenerInputCell(vTmpCell_1, this_1.vEventsChange, callback, this_1.vTaskList, i, 'taskname', this_1.Draw.bind(this_1));
events_1.addListenerClickCell(vTmpCell_1, this_1.vEvents, this_1.vTaskList[i], 'taskname');
events_1.addListenerInputCell(vTmpCell_1, this_1.vEventsChange, callback, this_1.vTaskList, i, "taskname", this_1.Draw.bind(this_1));
events_1.addListenerClickCell(vTmpCell_1, this_1.vEvents, this_1.vTaskList[i], "taskname");
}
this_1.getColumnOrder().forEach(function (column) {
if (_this[column] == 1 || column === 'vAdditionalHeaders') {
if (_this[column] == 1 || column === "vAdditionalHeaders") {
draw_columns_1.draw_header(column, i, vTmpRow_1, _this.vTaskList, _this.vEditable, _this.vEventsChange, _this.vEvents, _this.vDateTaskTableDisplayFormat, _this.vAdditionalHeaders, _this.vFormat, _this.vLangs, _this.vLang, _this.vResources, _this.Draw.bind(_this));

@@ -281,19 +280,17 @@ }

if (this.vTaskList.length == 0) {
var totalColumns = this.getColumnOrder()
.filter(function (column) { return _this[column] == 1 || column === 'vAdditionalHeaders'; })
.length;
var vTmpRow_2 = draw_utils_1.newNode(vTmpContentTBody, 'tr', this.vDivId + 'child_', 'gname ');
var totalColumns = this.getColumnOrder().filter(function (column) { return _this[column] == 1 || column === "vAdditionalHeaders"; }).length;
var vTmpRow_2 = draw_utils_1.newNode(vTmpContentTBody, "tr", this.vDivId + "child_", "gname ");
// this.vTaskList[i].setListChildRow(vTmpRow);
var vTmpCell_2 = draw_utils_1.newNode(vTmpRow_2, 'td', null, 'gtasknolist', '', null, null, null, totalColumns);
var vTmpCell_2 = draw_utils_1.newNode(vTmpRow_2, "td", null, "gtasknolist", "", null, null, null, totalColumns);
var vOutput = document.createDocumentFragment();
draw_utils_1.newNode(vOutput, 'div', null, 'gtasknolist-label', this.vLangs[this.vLang]['nodata'] + '.');
draw_utils_1.newNode(vOutput, "div", null, "gtasknolist-label", this.vLangs[this.vLang]["nodata"] + ".");
vTmpCell_2.appendChild(vOutput);
}
// DRAW the date format selector at bottom left.
var vTmpRow = draw_utils_1.newNode(vTmpContentTBody, 'tr');
draw_utils_1.newNode(vTmpRow, 'td', null, 'gtasklist', '\u00A0');
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gspanning gtaskname');
vTmpCell.appendChild(this.drawSelector('bottom'));
var vTmpRow = draw_utils_1.newNode(vTmpContentTBody, "tr");
draw_utils_1.newNode(vTmpRow, "td", null, "gtasklist", "\u00A0");
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, "gspanning gtaskname");
vTmpCell.appendChild(this.drawSelector("bottom"));
this.getColumnOrder().forEach(function (column) {
if (_this[column] == 1 || column === 'vAdditionalHeaders') {
if (_this[column] == 1 || column === "vAdditionalHeaders") {
draw_columns_1.draw_bottom(column, vTmpRow, _this.vAdditionalHeaders);

@@ -308,3 +305,3 @@ }

vNumRows: vNumRows,
vTmpContentTabWrapper: vTmpContentTabWrapper
vTmpContentTabWrapper: vTmpContentTabWrapper,
};

@@ -319,11 +316,11 @@ };

var vRightHeader = document.createDocumentFragment();
var vTmpDiv = draw_utils_1.newNode(vRightHeader, 'div', this.vDivId + 'gcharthead', 'gchartlbl gcontainercol');
var vTmpDiv = draw_utils_1.newNode(vRightHeader, "div", this.vDivId + "gcharthead", "gchartlbl gcontainercol");
var gChartLbl = vTmpDiv;
this.setChartHead(vTmpDiv);
var vTmpTab = draw_utils_1.newNode(vTmpDiv, 'table', this.vDivId + 'chartTableh', 'gcharttableh');
var vTmpTBody = draw_utils_1.newNode(vTmpTab, 'tbody');
var vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr');
var vTmpTab = draw_utils_1.newNode(vTmpDiv, "table", this.vDivId + "chartTableh", "gcharttableh");
var vTmpTBody = draw_utils_1.newNode(vTmpTab, "tbody");
var vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr");
var vTmpDate = new Date();
vTmpDate.setFullYear(vMinDate.getFullYear(), vMinDate.getMonth(), vMinDate.getDate());
if (this.vFormat == 'hour')
if (this.vFormat == "hour")
vTmpDate.setHours(vMinDate.getHours());

@@ -338,47 +335,45 @@ else

while (vTmpDate.getTime() <= vMaxDate.getTime()) {
var vHeaderCellClass = 'gmajorheading';
var vCellContents = '';
if (this.vFormat == 'day') {
var vHeaderCellClass = "gmajorheading";
var vCellContents = "";
if (this.vFormat == "day") {
var colspan = 7;
if (!this.vShowWeekends) {
vHeaderCellClass += ' headweekends';
vHeaderCellClass += " headweekends";
colspan = 5;
}
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vHeaderCellClass, null, null, null, null, colspan);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vHeaderCellClass, null, null, null, null, colspan);
vCellContents += date_utils_1.formatDateStr(vTmpDate, this.vDayMajorDateDisplayFormat, this.vLangs[this.vLang]);
vTmpDate.setDate(vTmpDate.getDate() + 6);
if (this.vShowEndWeekDate == 1)
vCellContents += ' - ' + date_utils_1.formatDateStr(vTmpDate, this.vDayMajorDateDisplayFormat, this.vLangs[this.vLang]);
draw_utils_1.newNode(vTmpCell, 'div', null, null, vCellContents, vColWidth * colspan);
vCellContents += " - " + date_utils_1.formatDateStr(vTmpDate, this.vDayMajorDateDisplayFormat, this.vLangs[this.vLang]);
draw_utils_1.newNode(vTmpCell, "div", null, null, vCellContents, vColWidth * colspan);
vTmpDate.setDate(vTmpDate.getDate() + 1);
}
else if (this.vFormat == 'week') {
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vHeaderCellClass, null, vColWidth);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vWeekMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
else if (this.vFormat == "week") {
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vHeaderCellClass, null, vColWidth);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vWeekMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
vTmpDate.setDate(vTmpDate.getDate() + 7);
}
else if (this.vFormat == 'month') {
vColSpan = (12 - vTmpDate.getMonth());
else if (this.vFormat == "month") {
vColSpan = 12 - vTmpDate.getMonth();
if (vTmpDate.getFullYear() == vMaxDate.getFullYear())
vColSpan -= (11 - vMaxDate.getMonth());
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vHeaderCellClass, null, null, null, null, vColSpan);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vMonthMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth * vColSpan);
vColSpan -= 11 - vMaxDate.getMonth();
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vHeaderCellClass, null, null, null, null, vColSpan);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vMonthMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth * vColSpan);
vTmpDate.setFullYear(vTmpDate.getFullYear() + 1, 0, 1);
}
else if (this.vFormat == 'quarter') {
vColSpan = (4 - Math.floor(vTmpDate.getMonth() / 3));
else if (this.vFormat == "quarter") {
vColSpan = 4 - Math.floor(vTmpDate.getMonth() / 3);
if (vTmpDate.getFullYear() == vMaxDate.getFullYear())
vColSpan -= (3 - Math.floor(vMaxDate.getMonth() / 3));
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vHeaderCellClass, null, null, null, null, vColSpan);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vQuarterMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth * vColSpan);
vColSpan -= 3 - Math.floor(vMaxDate.getMonth() / 3);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vHeaderCellClass, null, null, null, null, vColSpan);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vQuarterMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth * vColSpan);
vTmpDate.setFullYear(vTmpDate.getFullYear() + 1, 0, 1);
}
else if (this.vFormat == 'hour') {
vColSpan = (24 - vTmpDate.getHours());
if (vTmpDate.getFullYear() == vMaxDate.getFullYear() &&
vTmpDate.getMonth() == vMaxDate.getMonth() &&
vTmpDate.getDate() == vMaxDate.getDate())
vColSpan -= (23 - vMaxDate.getHours());
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vHeaderCellClass, null, null, null, null, vColSpan);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vHourMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth * vColSpan);
else if (this.vFormat == "hour") {
vColSpan = 24 - vTmpDate.getHours();
if (vTmpDate.getFullYear() == vMaxDate.getFullYear() && vTmpDate.getMonth() == vMaxDate.getMonth() && vTmpDate.getDate() == vMaxDate.getDate())
vColSpan -= 23 - vMaxDate.getHours();
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vHeaderCellClass, null, null, null, null, vColSpan);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vHourMajorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth * vColSpan);
vTmpDate.setHours(0);

@@ -388,11 +383,11 @@ vTmpDate.setDate(vTmpDate.getDate() + 1);

}
vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr', null, 'footerdays');
vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr", null, "footerdays");
// Minor Date header and Cell Rows
vTmpDate.setFullYear(vMinDate.getFullYear(), vMinDate.getMonth(), vMinDate.getDate()); // , vMinDate.getHours()
if (this.vFormat == 'hour')
if (this.vFormat == "hour")
vTmpDate.setHours(vMinDate.getHours());
var vNumCols = 0;
while (vTmpDate.getTime() <= vMaxDate.getTime()) {
var vMinorHeaderCellClass = 'gminorheading';
if (this.vFormat == 'day') {
var vMinorHeaderCellClass = "gminorheading";
if (this.vFormat == "day") {
if (vTmpDate.getDay() % 6 == 0) {

@@ -403,7 +398,7 @@ if (!this.vShowWeekends) {

}
vMinorHeaderCellClass += 'wkend';
vMinorHeaderCellClass += "wkend";
}
if (vTmpDate <= vMaxDate) {
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vDayMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vDayMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
vNumCols++;

@@ -413,6 +408,6 @@ }

}
else if (this.vFormat == 'week') {
else if (this.vFormat == "week") {
if (vTmpDate <= vMaxDate) {
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vWeekMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vWeekMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
vNumCols++;

@@ -422,6 +417,6 @@ }

}
else if (this.vFormat == 'month') {
else if (this.vFormat == "month") {
if (vTmpDate <= vMaxDate) {
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vMonthMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vMonthMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
vNumCols++;

@@ -434,6 +429,6 @@ }

}
else if (this.vFormat == 'quarter') {
else if (this.vFormat == "quarter") {
if (vTmpDate <= vMaxDate) {
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vQuarterMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vQuarterMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
vNumCols++;

@@ -445,8 +440,8 @@ }

}
else if (this.vFormat == 'hour') {
else if (this.vFormat == "hour") {
for (var i = vTmpDate.getHours(); i < 24; i++) {
vTmpDate.setHours(i); //works around daylight savings but may look a little odd on days where the clock goes forward
if (vTmpDate <= vMaxDate) {
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, 'div', null, null, date_utils_1.formatDateStr(vTmpDate, this.vHourMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, vMinorHeaderCellClass);
draw_utils_1.newNode(vTmpCell, "div", null, null, date_utils_1.formatDateStr(vTmpDate, this.vHourMinorDateDisplayFormat, this.vLangs[this.vLang]), vColWidth);
vNumCols++;

@@ -461,14 +456,14 @@ }

// Calculate size of grids : Plus 3 because 1 border left + 2 of paddings
var vTaskLeftPx = (vNumCols * (vColWidth + 3)) + 1;
var vTaskLeftPx = vNumCols * (vColWidth + 3) + 1;
// Fix a small space at the end for day
if (this.vFormat === 'day') {
if (this.vFormat === "day") {
vTaskLeftPx += 2;
}
vTmpTab.style.width = vTaskLeftPx + 'px'; // Ensure that the headings has exactly the same width as the chart grid
vTmpTab.style.width = vTaskLeftPx + "px"; // Ensure that the headings has exactly the same width as the chart grid
// const vTaskPlanLeftPx = (vNumCols * (vColWidth + 3)) + 1;
var vSingleCell = false;
if (this.vUseSingleCell !== 0 && this.vUseSingleCell < (vNumCols * vNumRows))
if (this.vUseSingleCell !== 0 && this.vUseSingleCell < vNumCols * vNumRows)
vSingleCell = true;
draw_utils_1.newNode(vTmpDiv, 'div', null, 'rhscrpad', null, null, vTaskLeftPx + 1);
vTmpDiv = draw_utils_1.newNode(vRightHeader, 'div', null, 'glabelfooter');
draw_utils_1.newNode(vTmpDiv, "div", null, "rhscrpad", null, null, vTaskLeftPx + 1);
vTmpDiv = draw_utils_1.newNode(vRightHeader, "div", null, "glabelfooter");
return { gChartLbl: gChartLbl, vTaskLeftPx: vTaskLeftPx, vSingleCell: vSingleCell, vDateRow: vDateRow, vRightHeader: vRightHeader, vNumCols: vNumCols };

@@ -483,12 +478,12 @@ };

var vRightTable = document.createDocumentFragment();
var vTmpDiv = draw_utils_1.newNode(vRightTable, 'div', this.vDivId + 'gchartbody', 'gchartgrid gcontainercol');
var vTmpDiv = draw_utils_1.newNode(vRightTable, "div", this.vDivId + "gchartbody", "gchartgrid gcontainercol");
this.setChartBody(vTmpDiv);
var vTmpTab = draw_utils_1.newNode(vTmpDiv, 'table', this.vDivId + 'chartTable', 'gcharttable', null, vTaskLeftPx);
var vTmpTab = draw_utils_1.newNode(vTmpDiv, "table", this.vDivId + "chartTable", "gcharttable", null, vTaskLeftPx);
this.setChartTable(vTmpTab);
draw_utils_1.newNode(vTmpDiv, 'div', null, 'rhscrpad', null, null, vTaskLeftPx + 1);
var vTmpTBody = draw_utils_1.newNode(vTmpTab, 'tbody');
var vTmpTFoot = draw_utils_1.newNode(vTmpTab, 'tfoot');
events_1.syncScroll([vTmpContentTabWrapper, vTmpDiv], 'scrollTop');
events_1.syncScroll([gChartLbl, vTmpDiv], 'scrollLeft');
events_1.syncScroll([vTmpContentTabWrapper, gListLbl], 'scrollLeft');
draw_utils_1.newNode(vTmpDiv, "div", null, "rhscrpad", null, null, vTaskLeftPx + 1);
var vTmpTBody = draw_utils_1.newNode(vTmpTab, "tbody");
var vTmpTFoot = draw_utils_1.newNode(vTmpTab, "tfoot");
events_1.syncScroll([vTmpContentTabWrapper, vTmpDiv], "scrollTop");
events_1.syncScroll([gChartLbl, vTmpDiv], "scrollLeft");
events_1.syncScroll([vTmpContentTabWrapper, gListLbl], "scrollLeft");
// Draw each row

@@ -500,3 +495,3 @@ var i = 0;

bd = new Date();
console.info('before tasks loop', bd);
console.info("before tasks loop", bd);
}

@@ -518,4 +513,4 @@ for (i = 0; i < this.vTaskList.length; i++) {

var vID = this.vTaskList[i].getID();
var vComb = (this.vTaskList[i].getParItem() && this.vTaskList[i].getParItem().getGroup() == 2);
var vCellFormat = '';
var vComb = this.vTaskList[i].getParItem() && this.vTaskList[i].getParItem().getGroup() == 2;
var vCellFormat = "";
var vTmpDiv_1 = null;

@@ -527,19 +522,19 @@ var vTmpItem = this.vTaskList[i];

if (this.vTaskList[i].getMile() && !vComb) {
var vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr', this.vDivId + 'childrow_' + vID, 'gmileitem gmile' + this.vFormat, null, null, null, ((this.vTaskList[i].getVisible() == 0) ? 'none' : null));
var vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr", this.vDivId + "childrow_" + vID, "gmileitem gmile" + this.vFormat, null, null, null, this.vTaskList[i].getVisible() == 0 ? "none" : null);
this.vTaskList[i].setChildRow(vTmpRow);
events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow);
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellmile', null, vColWidth, null, null, null);
vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0');
vTmpDiv_1 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'bardiv_' + vID, 'gtaskbarcontainer', null, 12, vTaskLeftPx_1 + vTaskRightPx - 6);
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, "gtaskcell gtaskcellmile", null, vColWidth, null, null, null);
vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, "div", null, "gtaskcelldiv", "\u00A0\u00A0");
vTmpDiv_1 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "bardiv_" + vID, "gtaskbarcontainer", null, 12, vTaskLeftPx_1 + vTaskRightPx - 6);
this.vTaskList[i].setBarDiv(vTmpDiv_1);
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'taskbar_' + vID, this.vTaskList[i].getClass(), null, 12);
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "taskbar_" + vID, this.vTaskList[i].getClass(), null, 12);
this.vTaskList[i].setTaskDiv(vTmpDiv2);
if (this.vTaskList[i].getCompVal() < 100)
vTmpDiv2.appendChild(document.createTextNode('\u25CA'));
vTmpDiv2.appendChild(document.createTextNode("\u25CA"));
else {
vTmpDiv2 = draw_utils_1.newNode(vTmpDiv2, 'div', null, 'gmilediamond');
draw_utils_1.newNode(vTmpDiv2, 'div', null, 'gmdtop');
draw_utils_1.newNode(vTmpDiv2, 'div', null, 'gmdbottom');
vTmpDiv2 = draw_utils_1.newNode(vTmpDiv2, "div", null, "gmilediamond");
draw_utils_1.newNode(vTmpDiv2, "div", null, "gmdtop");
draw_utils_1.newNode(vTmpDiv2, "div", null, "gmdbottom");
}
vCaptClass = 'gmilecaption';
vCaptClass = "gmilecaption";
if (!vSingleCell && !vComb) {

@@ -554,20 +549,20 @@ this.drawColsChart(vNumCols, vTmpRow, taskCellWidth, vMinDate, vMaxDate);

if (this.vTaskList[i].getGroup()) {
vTaskWidth = (vTaskWidth > this.vMinGpLen && vTaskWidth < this.vMinGpLen * 2) ? this.vMinGpLen * 2 : vTaskWidth; // Expand to show two end points
vTaskWidth = (vTaskWidth < this.vMinGpLen) ? this.vMinGpLen : vTaskWidth; // expand to show one end point
var vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr', this.vDivId + 'childrow_' + vID, ((this.vTaskList[i].getGroup() == 2) ? 'glineitem gitem' : 'ggroupitem ggroup') + this.vFormat, null, null, null, ((this.vTaskList[i].getVisible() == 0) ? 'none' : null));
vTaskWidth = vTaskWidth > this.vMinGpLen && vTaskWidth < this.vMinGpLen * 2 ? this.vMinGpLen * 2 : vTaskWidth; // Expand to show two end points
vTaskWidth = vTaskWidth < this.vMinGpLen ? this.vMinGpLen : vTaskWidth; // expand to show one end point
var vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr", this.vDivId + "childrow_" + vID, (this.vTaskList[i].getGroup() == 2 ? "glineitem gitem" : "ggroupitem ggroup") + this.vFormat, null, null, null, this.vTaskList[i].getVisible() == 0 ? "none" : null);
this.vTaskList[i].setChildRow(vTmpRow);
events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow);
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellbar', null, vColWidth, null, null);
vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0');
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, "gtaskcell gtaskcellbar", null, vColWidth, null, null);
vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, "div", null, "gtaskcelldiv", "\u00A0\u00A0");
this.vTaskList[i].setCellDiv(vTmpDiv_1);
if (this.vTaskList[i].getGroup() == 1) {
vTmpDiv_1 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'bardiv_' + vID, 'gtaskbarcontainer', null, vTaskWidth, vTaskLeftPx_1);
vTmpDiv_1 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "bardiv_" + vID, "gtaskbarcontainer", null, vTaskWidth, vTaskLeftPx_1);
this.vTaskList[i].setBarDiv(vTmpDiv_1);
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'taskbar_' + vID, this.vTaskList[i].getClass(), null, vTaskWidth);
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "taskbar_" + vID, this.vTaskList[i].getClass(), null, vTaskWidth);
this.vTaskList[i].setTaskDiv(vTmpDiv2);
draw_utils_1.newNode(vTmpDiv2, 'div', this.vDivId + 'complete_' + vID, this.vTaskList[i].getClass() + 'complete', null, this.vTaskList[i].getCompStr());
draw_utils_1.newNode(vTmpDiv_1, 'div', null, this.vTaskList[i].getClass() + 'endpointleft');
draw_utils_1.newNode(vTmpDiv2, "div", this.vDivId + "complete_" + vID, this.vTaskList[i].getClass() + "complete", null, this.vTaskList[i].getCompStr());
draw_utils_1.newNode(vTmpDiv_1, "div", null, this.vTaskList[i].getClass() + "endpointleft");
if (vTaskWidth >= this.vMinGpLen * 2)
draw_utils_1.newNode(vTmpDiv_1, 'div', null, this.vTaskList[i].getClass() + 'endpointright');
vCaptClass = 'ggroupcaption';
draw_utils_1.newNode(vTmpDiv_1, "div", null, this.vTaskList[i].getClass() + "endpointright");
vCaptClass = "ggroupcaption";
}

@@ -579,3 +574,3 @@ if (!vSingleCell && !vComb) {

else {
vTaskWidth = (vTaskWidth <= 0) ? 1 : vTaskWidth;
vTaskWidth = vTaskWidth <= 0 ? 1 : vTaskWidth;
/**

@@ -590,10 +585,14 @@ * DRAW THE BOXES FOR GANTT

// Draw Task Bar which has colored bar div
vTmpRow = draw_utils_1.newNode(vTmpTBody, 'tr', this.vDivId + 'childrow_' + vID, 'glineitem gitem' + this.vFormat, null, null, null, ((this.vTaskList[i].getVisible() == 0) ? 'none' : null));
var differentDatesHighlight = "";
if (this.vTaskList[i].getEnd() && this.vTaskList[i].getPlanEnd() && this.vTaskList[i].getStart() && this.vTaskList[i].getPlanStart())
if (Date.parse(this.vTaskList[i].getEnd()) !== Date.parse(this.vTaskList[i].getPlanEnd()) || Date.parse(this.vTaskList[i].getStart()) !== Date.parse(this.vTaskList[i].getPlanStart()))
differentDatesHighlight = "gitemdifferent ";
vTmpRow = draw_utils_1.newNode(vTmpTBody, "tr", this.vDivId + "childrow_" + vID, "glineitem " + differentDatesHighlight + "gitem" + this.vFormat, null, null, null, this.vTaskList[i].getVisible() == 0 ? "none" : null);
this.vTaskList[i].setChildRow(vTmpRow);
events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow);
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellcolorbar', null, taskCellWidth, null, null);
vTmpDivCell = vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0');
var vTmpCell = draw_utils_1.newNode(vTmpRow, "td", null, "gtaskcell gtaskcellcolorbar", null, taskCellWidth, null, null);
vTmpDivCell = vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, "div", null, "gtaskcelldiv", "\u00A0\u00A0");
}
// DRAW TASK BAR
vTmpDiv_1 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'bardiv_' + vID, 'gtaskbarcontainer', null, vTaskWidth, vTaskLeftPx_1);
vTmpDiv_1 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "bardiv_" + vID, "gtaskbarcontainer", null, vTaskWidth, vTaskLeftPx_1);
this.vTaskList[i].setBarDiv(vTmpDiv_1);

@@ -603,5 +602,5 @@ var vTmpDiv2 = void 0;

// textbar
vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'taskbar_' + vID, this.vTaskList[i].getClass(), null, vTaskWidth);
vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "taskbar_" + vID, this.vTaskList[i].getClass(), null, vTaskWidth);
if (this.vTaskList[i].getBarText()) {
draw_utils_1.newNode(vTmpDiv2, 'span', this.vDivId + 'tasktextbar_' + vID, 'textbar', this.vTaskList[i].getBarText(), this.vTaskList[i].getCompRestStr());
draw_utils_1.newNode(vTmpDiv2, "span", this.vDivId + "tasktextbar_" + vID, "textbar", this.vTaskList[i].getBarText(), this.vTaskList[i].getCompRestStr());
}

@@ -612,5 +611,5 @@ this.vTaskList[i].setTaskDiv(vTmpDiv2);

// If exist and one of them are different, show plan bar... show if there is no real vStart as well (just plan dates)
if (vTaskPlanLeftPx && ((vTaskPlanLeftPx != vTaskLeftPx_1 || vTaskPlanRightPx != vTaskRightPx) || !this.vTaskList[i].getStartVar())) {
var vTmpPlanDiv = draw_utils_1.newNode(vTmpDivCell, 'div', this.vDivId + 'bardiv_' + vID, 'gtaskbarcontainer gplan', null, vTaskPlanRightPx, vTaskPlanLeftPx);
var vTmpPlanDiv2 = draw_utils_1.newNode(vTmpPlanDiv, 'div', this.vDivId + 'taskbar_' + vID, this.vTaskList[i].getClass() + ' gplan', null, vTaskPlanRightPx);
if (vTaskPlanLeftPx && (vTaskPlanLeftPx != vTaskLeftPx_1 || vTaskPlanRightPx != vTaskRightPx || !this.vTaskList[i].getStartVar())) {
var vTmpPlanDiv = draw_utils_1.newNode(vTmpDivCell, "div", this.vDivId + "bardiv_" + vID, "gtaskbarcontainer gplan", null, vTaskPlanRightPx, vTaskPlanLeftPx);
var vTmpPlanDiv2 = draw_utils_1.newNode(vTmpPlanDiv, "div", this.vDivId + "taskbar_" + vID, this.vTaskList[i].getPlanClass() + " gplan", null, vTaskPlanRightPx);
this.vTaskList[i].setPlanTaskDiv(vTmpPlanDiv2);

@@ -620,3 +619,3 @@ }

if (vTmpDiv2) {
draw_utils_1.newNode(vTmpDiv2, 'div', this.vDivId + 'complete_' + vID, this.vTaskList[i].getClass() + 'complete', null, this.vTaskList[i].getCompStr());
draw_utils_1.newNode(vTmpDiv2, "div", this.vDivId + "complete_" + vID, this.vTaskList[i].getClass() + "complete", null, this.vTaskList[i].getCompStr());
}

@@ -627,3 +626,3 @@ // caption

if (!vComb || (vComb && this.vTaskList[i].getParItem().getEnd() == this.vTaskList[i].getEnd()))
vCaptClass = 'gcaption';
vCaptClass = "gcaption";
// Background cells

@@ -638,20 +637,20 @@ if (!vSingleCell && !vComb && vTmpRow) {

switch (this.getCaptionType()) {
case 'Caption':
case "Caption":
vCaptionStr = vTmpItem.getCaption();
break;
case 'Resource':
case "Resource":
vCaptionStr = vTmpItem.getResource();
break;
case 'Duration':
case "Duration":
vCaptionStr = vTmpItem.getDuration(this.vFormat, this.vLangs[this.vLang]);
break;
case 'Complete':
case "Complete":
vCaptionStr = vTmpItem.getCompStr();
break;
}
draw_utils_1.newNode(vTmpDiv_1, 'div', null, vCaptClass, vCaptionStr, 120, (vCaptClass == 'gmilecaption') ? 12 : 0);
draw_utils_1.newNode(vTmpDiv_1, "div", null, vCaptClass, vCaptionStr, 120, vCaptClass == "gmilecaption" ? 12 : 0);
}
// Add Task Info div for tooltip
if (this.vTaskList[i].getTaskDiv() && vTmpDiv_1) {
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'tt' + vID, null, null, null, null, 'none');
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "tt" + vID, null, null, null, null, "none");
var _a = this.createTaskInfo(this.vTaskList[i], this.vTooltipTemplate), component = _a.component, callback = _a.callback;

@@ -663,3 +662,3 @@ vTmpDiv2.appendChild(component);

if (this.vTaskList[i].getPlanTaskDiv() && vTmpDiv_1) {
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, 'div', this.vDivId + 'tt' + vID, null, null, null, null, 'none');
var vTmpDiv2 = draw_utils_1.newNode(vTmpDiv_1, "div", this.vDivId + "tt" + vID, null, null, null, null, "none");
var _b = this.createTaskInfo(this.vTaskList[i], this.vTooltipTemplate), component = _b.component, callback = _b.callback;

@@ -672,6 +671,6 @@ vTmpDiv2.appendChild(component);

if (vSingleCell) {
var vTmpTFootTRow = draw_utils_1.newNode(vTmpTFoot, 'tr');
var vTmpTFootTCell = draw_utils_1.newNode(vTmpTFootTRow, 'td', null, null, null, '100%');
var vTmpTFootTCellTable = draw_utils_1.newNode(vTmpTFootTCell, 'table', null, 'gcharttableh', null, '100%');
var vTmpTFootTCellTableTBody = draw_utils_1.newNode(vTmpTFootTCellTable, 'tbody');
var vTmpTFootTRow = draw_utils_1.newNode(vTmpTFoot, "tr");
var vTmpTFootTCell = draw_utils_1.newNode(vTmpTFootTRow, "td", null, null, null, "100%");
var vTmpTFootTCellTable = draw_utils_1.newNode(vTmpTFootTCell, "table", null, "gcharttableh", null, "100%");
var vTmpTFootTCellTableTBody = draw_utils_1.newNode(vTmpTFootTCellTable, "tbody");
vTmpTFootTCellTableTBody.appendChild(vDateRow.cloneNode(true));

@@ -689,10 +688,10 @@ }

// Find the Current day cell to put a different class
if (this.vShowWeekends !== false && pStartDate && pEndDate && (this.vFormat == 'day' || this.vFormat == 'week')) {
if (this.vShowWeekends !== false && pStartDate && pEndDate && (this.vFormat == "day" || this.vFormat == "week")) {
var curTaskStart = new Date(pStartDate.getTime());
var curTaskEnd = new Date();
var onePeriod = 3600000;
if (this.vFormat == 'day') {
if (this.vFormat == "day") {
onePeriod *= 24;
}
else if (this.vFormat == 'week') {
else if (this.vFormat == "week") {
onePeriod *= 24 * 7;

@@ -703,11 +702,11 @@ }

for (var j = 0; j < vNumCols - 1; j++) {
var vCellFormat = 'gtaskcell gtaskcellcols';
if (this.vShowWeekends !== false && this.vFormat == 'day' && ((j % 7 == 4) || (j % 7 == 5))) {
vCellFormat = 'gtaskcellwkend';
var vCellFormat = "gtaskcell gtaskcellcols";
if (this.vShowWeekends !== false && this.vFormat == "day" && (j % 7 == 4 || j % 7 == 5)) {
vCellFormat = "gtaskcellwkend";
}
//When is the column is the current day/week,give a different class
else if ((this.vFormat == 'week' || this.vFormat == 'day') && j === columnCurrentDay) {
vCellFormat = 'gtaskcellcurrent';
else if ((this.vFormat == "week" || this.vFormat == "day") && j === columnCurrentDay) {
vCellFormat = "gtaskcellcurrent";
}
draw_utils_1.newNode(vTmpRow, 'td', null, vCellFormat, '\u00A0\u00A0', taskCellWidth);
draw_utils_1.newNode(vTmpRow, "td", null, vCellFormat, "\u00A0\u00A0", taskCellWidth);
}

@@ -732,3 +731,3 @@ };

bd = new Date();
console.info('before draw', bd);
console.info("before draw", bd);
}

@@ -743,11 +742,11 @@ // Process all tasks, reset parent date and completion % if task list has altered

// Calculate chart width variables.
if (this.vFormat == 'day')
if (this.vFormat == "day")
vColWidth = this.vDayColWidth;
else if (this.vFormat == 'week')
else if (this.vFormat == "week")
vColWidth = this.vWeekColWidth;
else if (this.vFormat == 'month')
else if (this.vFormat == "month")
vColWidth = this.vMonthColWidth;
else if (this.vFormat == 'quarter')
else if (this.vFormat == "quarter")
vColWidth = this.vQuarterColWidth;
else if (this.vFormat == 'hour')
else if (this.vFormat == "hour")
vColWidth = this.vHourColWidth;

@@ -758,7 +757,7 @@ // DRAW the Left-side of the chart (names, resources, comp%)

* LIST HEAD
*/
*/
var gListLbl = this.drawListHead(vLeftHeader);
/**
* LIST BODY
*/
*/
var _a = this.drawListBody(vLeftHeader), vNumRows = _a.vNumRows, vTmpContentTabWrapper = _a.vTmpContentTabWrapper;

@@ -775,3 +774,3 @@ /**

var ad = new Date();
console.info('after tasks loop', ad, (ad.getTime() - bd.getTime()));
console.info("after tasks loop", ad, ad.getTime() - bd.getTime());
}

@@ -781,8 +780,8 @@ // MAIN VIEW: Appending all generated components to main view

this.vDiv.removeChild(this.vDiv.firstChild);
var vTmpDiv = draw_utils_1.newNode(this.vDiv, 'div', null, 'gchartcontainer');
var vTmpDiv = draw_utils_1.newNode(this.vDiv, "div", null, "gchartcontainer");
vTmpDiv.style.height = this.vTotalHeight;
var leftvTmpDiv = draw_utils_1.newNode(vTmpDiv, 'div', null, 'gmain gmainleft');
var leftvTmpDiv = draw_utils_1.newNode(vTmpDiv, "div", null, "gmain gmainleft");
leftvTmpDiv.appendChild(vLeftHeader);
// leftvTmpDiv.appendChild(vLeftTable);
var rightvTmpDiv = draw_utils_1.newNode(vTmpDiv, 'div', null, 'gmain gmainright');
var rightvTmpDiv = draw_utils_1.newNode(vTmpDiv, "div", null, "gmain gmainright");
rightvTmpDiv.appendChild(vRightHeader);

@@ -792,9 +791,9 @@ rightvTmpDiv.appendChild(vRightTable);

vTmpDiv.appendChild(rightvTmpDiv);
draw_utils_1.newNode(vTmpDiv, 'div', null, 'ggridfooter');
var vTmpDiv2 = draw_utils_1.newNode(this.getChartBody(), 'div', this.vDivId + 'Lines', 'glinediv');
if (this.vEvents.onLineContainerHover && typeof this.vEvents.onLineContainerHover === 'function') {
events_1.addListener('mouseover', this.vEvents.onLineContainerHover, vTmpDiv2);
events_1.addListener('mouseout', this.vEvents.onLineContainerHover, vTmpDiv2);
draw_utils_1.newNode(vTmpDiv, "div", null, "ggridfooter");
var vTmpDiv2 = draw_utils_1.newNode(this.getChartBody(), "div", this.vDivId + "Lines", "glinediv");
if (this.vEvents.onLineContainerHover && typeof this.vEvents.onLineContainerHover === "function") {
events_1.addListener("mouseover", this.vEvents.onLineContainerHover, vTmpDiv2);
events_1.addListener("mouseout", this.vEvents.onLineContainerHover, vTmpDiv2);
}
vTmpDiv2.style.visibility = 'hidden';
vTmpDiv2.style.visibility = "hidden";
this.setLines(vTmpDiv2);

@@ -809,10 +808,10 @@ /* Quick hack to show the generated HTML on older browsers

// SCROLL: now check if we are actually scrolling the pane
if (this.vScrollTo != '') {
if (this.vScrollTo != "") {
var vScrollDate = new Date(vMinDate.getTime());
var vScrollPx = 0;
if (this.vScrollTo.substr && this.vScrollTo.substr(0, 2) == 'px') {
if (this.vScrollTo.substr && this.vScrollTo.substr(0, 2) == "px") {
vScrollPx = parseInt(this.vScrollTo.substr(2));
}
else {
if (this.vScrollTo === 'today') {
if (this.vScrollTo === "today") {
vScrollDate = new Date();

@@ -826,3 +825,3 @@ }

}
if (this.vFormat == 'hour')
if (this.vFormat == "hour")
vScrollDate.setMinutes(0, 0, 0);

@@ -835,3 +834,3 @@ else

}
if (vMinDate.getTime() <= (new Date()).getTime() && vMaxDate.getTime() >= (new Date()).getTime()) {
if (vMinDate.getTime() <= new Date().getTime() && vMaxDate.getTime() >= new Date().getTime()) {
this.vTodayPx = general_utils_1.getOffset(vMinDate, new Date(), vColWidth, this.vFormat, this.vShowWeekends);

@@ -845,5 +844,5 @@ }

bdd = new Date();
console.info('before DrawDependencies', bdd);
console.info("before DrawDependencies", bdd);
}
if (this.vEvents && typeof this.vEvents.beforeLineDraw === 'function') {
if (this.vEvents && typeof this.vEvents.beforeLineDraw === "function") {
this.vEvents.beforeLineDraw();

@@ -854,3 +853,3 @@ }

// EVENTS
if (this.vEvents && typeof this.vEvents.afterLineDraw === 'function') {
if (this.vEvents && typeof this.vEvents.afterLineDraw === "function") {
this.vEvents.afterLineDraw();

@@ -860,3 +859,3 @@ }

var ad = new Date();
console.info('after DrawDependencies', ad, (ad.getTime() - bdd.getTime()));
console.info("after DrawDependencies", ad, ad.getTime() - bdd.getTime());
}

@@ -871,3 +870,3 @@ this.drawComplete(vMinDate, vColWidth, bd);

var ad = new Date();
console.info('after draw', ad, (ad.getTime() - bd.getTime()));
console.info("after draw", ad, ad.getTime() - bd.getTime());
}

@@ -882,5 +881,5 @@ events_1.updateGridHeaderWidth(this);

};
if (this.vDiv && this.vDiv.nodeName && this.vDiv.nodeName.toLowerCase() == 'div')
if (this.vDiv && this.vDiv.nodeName && this.vDiv.nodeName.toLowerCase() == "div")
this.vDivId = this.vDiv.id;
}; //GanttChart
//# sourceMappingURL=draw.js.map

@@ -86,2 +86,3 @@ "use strict";

var itemClass = void 0;
var planClass = void 0;
var link = '';

@@ -133,2 +134,6 @@ var milestone = 0;

break;
case 'pplanclass':
case 'planclass':
planClass = value;
break;
case 'plink':

@@ -191,3 +196,3 @@ case 'link':

//if (id != undefined && !isNaN(parseInt(id)) && isFinite(id) && name && start && end && itemClass && completion != undefined && !isNaN(parseFloat(completion)) && isFinite(completion) && !isNaN(parseInt(parent)) && isFinite(parent)) {
pGanttVar.AddTaskItem(new task_1.TaskItem(id, name_1, start, end, itemClass, link, milestone, resourceName, completion, group, parent_1, open_1, dependsOn, caption, notes, pGanttVar, cost, planstart, planend, duration, bartext, additionalObject));
pGanttVar.AddTaskItem(new task_1.TaskItem(id, name_1, start, end, itemClass, link, milestone, resourceName, completion, group, parent_1, open_1, dependsOn, caption, notes, pGanttVar, cost, planstart, planend, duration, bartext, additionalObject, planClass));
//}

@@ -194,0 +199,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fi = exports.pl = exports.ko = exports.hu = exports.cs = exports.ja = exports.tr = exports.id = exports.nl = exports.sv = exports.cn = exports.ru = exports.fr = exports.pt = exports.de = exports.es = exports.en = void 0;
exports.tr = exports.sv = exports.ru = exports.pt = exports.pl = exports.nl = exports.ko = exports.ja = exports.id = exports.hu = exports.it = exports.fr = exports.fi = exports.de = exports.es = exports.en = exports.cs = exports.cn = void 0;
var cn = {
'january': '一月',
'february': '二月',
'march': '三月',
'april': '四月',
'maylong': '五月',
'june': '六月',
'july': '七月',
'august': '八月',
'september': '九月',
'october': '十月',
'november': '十一月',
'december': '十二月',
'jan': '一月',
'feb': '二月',
'mar': '三月',
'apr': '四月',
'may': '五月',
'jun': '六月',
'jul': '七月',
'aug': '八月',
'sep': '九月',
'oct': '十月',
'nov': '十一月',
'dec': '十二月',
'sunday': '星期日',
'monday': '星期一',
'tuesday': '星期二',
'wednesday': '星期三',
'thursday': '星期四',
'friday': '星期五',
'saturday': '星期六',
'sun': '星期日',
'mon': '星期一',
'tue': '星期二',
'wed': '星期三',
'thu': '星期四',
'fri': '星期五',
'sat': '星期六',
'res': '資源',
'dur': '時程',
'comp': '達成率',
'completion': '達成',
'startdate': '起始日期',
'planstartdate': '計劃起始日期',
'enddate': '截止日期',
'planenddate': '計劃截止日期',
'cost': '成本',
'moreinfo': "更多資訊",
'nodata': 'No tasks found',
'notes': '備註',
'format': '格式',
'hour': '時',
'day': '日',
'week': '星期',
'month': '月',
'quarter': '季',
'hours': '小時',
'days': '天',
'weeks': '週',
'months': '月',
'quarters': '季',
'hr': '小時',
'dy': '天',
'wk': '週',
'mth': '月',
'qtr': '季',
'hrs': '小時',
'dys': '天',
'wks': '週',
'mths': '月',
'qtrs': '季'
};
exports.cn = cn;
var cs = {
'format': 'Zobrazení',
'hour': 'Hodina',
'day': 'Den',
'week': 'Týden',
'month': 'Měsíc',
'quarter': 'Kvartál',
'hours': 'Hodiny',
'days': 'Dni',
'weeks': 'Týdny',
'months': 'Měsíce',
'quarters': 'Kvartály',
'hr': 'Ho',
'dy': 'Den',
'wk': 'Tyd',
'mth': 'Měs',
'qtr': 'Kvar',
'hrs': 'Ho',
'dys': 'Dni',
'wks': 'Tyd',
'mths': 'Měs',
'qtrs': 'Kvar',
'res': 'Přiřazeno',
'dur': 'Trvání',
'comp': '% Hotovo',
'completion': 'Hotovo',
'startdate': 'Start',
'planstartdate': 'Plánovaný start',
'enddate': 'Konec',
'planenddate': 'Plánovaný konec',
'cost': 'Náklady',
'moreinfo': 'Více informací',
'nodata': 'No tasks found',
'notes': 'Poznámky',
'january': 'Leden',
'february': 'Únor',
'march': 'Březen',
'april': 'Duben',
'maylong': 'Květen',
'june': 'Červen',
'july': 'Červenec',
'august': 'Srpen',
'september': 'Září',
'october': 'Říjen',
'november': 'Listopad',
'december': 'Prosinec',
'jan': 'Led',
'feb': 'Úno',
'mar': 'Bře',
'apr': 'Dub',
'may': 'Kvě',
'jun': 'Čer',
'jul': 'Čvc',
'aug': 'Srp',
'sep': 'Zář',
'oct': 'Říj',
'nov': 'Lis',
'dec': 'Pro',
'sunday': 'Neděle',
'monday': 'Pondělí',
'tuesday': 'Úterý',
'wednesday': 'Středa',
'thursday': 'Čtvrtek',
'friday': 'Pátek',
'saturday': 'Sobota',
'sun': 'Ne',
'mon': 'Po',
'tue': 'Út',
'wed': 'St',
'thu': 'Čt',
'fri': 'Pa',
'sat': 'So',
'tooltipLoading': 'Nahrávám...'
};
exports.cs = cs;
var de = {
'format': 'Ansicht',
'hour': 'Stunde',
'day': 'Tag',
'week': 'Woche',
'month': 'Monat',
'quarter': 'Quartal',
'hours': 'Stunden',
'days': 'Tage',
'weeks': 'Wochen',
'months': 'Monate',
'quarters': 'Quartale',
'hr': 'h',
'dy': 'T',
'wk': 'W',
'mth': 'M',
'qtr': 'Q',
'hrs': 'Std',
'dys': 'Tage',
'wks': 'Wochen',
'mths': 'Monate',
'qtrs': 'Quartal',
'res': 'Resource',
'dur': 'Dauer',
'comp': '%Fertig',
'completion': 'Fertigstellung',
'startdate': 'Erste Buchu',
'planstartdate': 'Erste Buchu Plan',
'enddate': 'Letzte Buchung',
'planenddate': 'Plan Letzte Buchung',
'cost': 'Cost',
'moreinfo': 'Weitere Infos',
'nodata': 'No tasks found',
'notes': 'Anmerkung',
'january': 'Jänner',
'february': 'Februar',
'march': 'März',
'april': 'April',
'maylong': 'Mai',
'june': 'Juni',
'july': 'Juli',
'august': 'August',
'september': 'September',
'october': 'Oktober',
'november': 'November',
'december': 'Dezember',
'jan': 'Jan',
'feb': 'Feb',
'mar': 'Mar',
'apr': 'Apr',
'may': 'Mai',
'jun': 'Jun',
'jul': 'Jul',
'aug': 'Aug',
'sep': 'Sep',
'oct': 'Okt',
'nov': 'Nov',
'dec': 'Dez',
'sunday': 'Sonntag',
'monday': 'Montag',
'tuesday': 'Dienstag',
'wednesday': 'Mittwoch',
'thursday': 'Donnerstag',
'friday': 'Freitag',
'saturday': 'Samstag',
'sun': 'So',
'mon': 'Mo', 'tue': 'Di', 'wed': 'Mi', 'thu': 'Do', 'fri': 'Fr', 'sat': 'Sa'
};
exports.de = de;
var es = {

@@ -154,212 +372,77 @@ 'january': 'Enero',

exports.en = en;
var de = {
'format': 'Ansicht',
'hour': 'Stunde',
'day': 'Tag',
'week': 'Woche',
'month': 'Monat',
'quarter': 'Quartal',
'hours': 'Stunden',
'days': 'Tage',
'weeks': 'Wochen',
'months': 'Monate',
'quarters': 'Quartale',
'hr': 'h',
'dy': 'T',
'wk': 'W',
'mth': 'M',
var fi = {
'format': 'Näkymä',
'hour': 'Tunti',
'day': 'Päivä',
'week': 'Viikko',
'month': 'Kuukausi',
'quarter': 'Kvartaali',
'hours': 'Tunnit',
'days': 'Päivät',
'weeks': 'Viikot',
'months': 'Kuukaudet',
'quarters': 'Kvartaalit',
'hr': 't',
'dy': 'pv',
'wk': 'vk',
'mth': 'kk',
'qtr': 'Q',
'hrs': 'Std',
'dys': 'Tage',
'wks': 'Wochen',
'mths': 'Monate',
'qtrs': 'Quartal',
'res': 'Resource',
'dur': 'Dauer',
'comp': '%Fertig',
'completion': 'Fertigstellung',
'startdate': 'Erste Buchu',
'planstartdate': 'Erste Buchu Plan',
'enddate': 'Letzte Buchung',
'planenddate': 'Plan Letzte Buchung',
'cost': 'Cost',
'moreinfo': 'Weitere Infos',
'nodata': 'No tasks found',
'notes': 'Anmerkung',
'january': 'Jänner',
'february': 'Februar',
'march': 'März',
'april': 'April',
'maylong': 'Mai',
'june': 'Juni',
'july': 'Juli',
'august': 'August',
'september': 'September',
'october': 'Oktober',
'november': 'November',
'december': 'Dezember',
'jan': 'Jan',
'feb': 'Feb',
'mar': 'Mar',
'apr': 'Apr',
'may': 'Mai',
'jun': 'Jun',
'jul': 'Jul',
'aug': 'Aug',
'sep': 'Sep',
'oct': 'Okt',
'nov': 'Nov',
'dec': 'Dez',
'sunday': 'Sonntag',
'monday': 'Montag',
'tuesday': 'Dienstag',
'wednesday': 'Mittwoch',
'thursday': 'Donnerstag',
'friday': 'Freitag',
'saturday': 'Samstag',
'sun': 'So',
'mon': 'Mo', 'tue': 'Di', 'wed': 'Mi', 'thu': 'Do', 'fri': 'Fr', 'sat': 'Sa'
'hrs': 't:t',
'dys': 'pv:t',
'wks': 'vk:t',
'mths': 'kk:t',
'qtrs': 'Kvartaalit',
'res': 'Henkilö',
'dur': 'Kesto',
'comp': '% Valm.',
'completion': 'Valmius',
'startdate': 'Alkupäivä',
'planstartdate': 'Suunniteltu alkupäivä',
'enddate': 'Päättymispäivä',
'planenddate': 'Suunniteltu päättymispäivä',
'cost': 'Kustannus',
'moreinfo': 'Lisätieto',
'nodata': 'Tehtäviä ei löydy',
'notes': 'Muistiinpanot',
'january': 'Tammikuu',
'february': 'Helmikuu',
'march': 'Maaliskuu',
'april': 'Huhtikuu',
'maylong': 'Toukokuu',
'june': 'Kesäkuu',
'july': 'Heinäkuu',
'august': 'Elokuu',
'september': 'Syyskuu',
'october': 'Lokakuu',
'november': 'Marraskuu',
'december': 'Joulukuu',
'jan': 'Tammi',
'feb': 'Helmi',
'mar': 'Maalis',
'apr': 'Huhti',
'may': 'Touko',
'jun': 'Kesä',
'jul': 'Heinä',
'aug': 'Elo',
'sep': 'Syys',
'oct': 'Loka',
'nov': 'Marras',
'dec': 'Joulu',
'sunday': 'Sunnuntai',
'monday': 'Maanantai',
'tuesday': 'Tiista',
'wednesday': 'Keskiviikko',
'thursday': 'Torstai',
'friday': 'Perjantai',
'saturday': 'Lauantai',
'sun': 'Su',
'mon': 'Ma',
'tue': 'Ti',
'wed': 'Ke',
'thu': 'To',
'fri': 'Pe',
'sat': 'La',
'tooltipLoading': 'Ladataan...'
};
exports.de = de;
var pt = {
'hours': 'Horas',
'days': 'Dias',
'weeks': 'Weeks',
'months': 'Months',
'quarters': 'Quarters',
'format': 'Formato',
'hour': 'Hora',
'day': 'Dia',
'week': 'Semana',
'month': 'Mês',
'quarter': 'Trimestre',
'hr': 'hr',
'dy': 'dia',
'wk': 'sem.',
'mth': 'mês',
'qtr': 'qtr',
'hrs': 'hrs',
'dys': 'dias',
'wks': 'sem.',
'mths': 'meses',
'qtrs': 'qtrs',
'completion': 'Terminado',
'comp': '% Completado',
'moreinfo': 'Mais informações',
'nodata': 'Sem atividades',
'notes': 'Notas',
'res': 'Responsável',
'dur': 'Duração',
'startdate': 'Data inicial',
'planstartdate': 'Plan Data inicial',
'enddate': 'Data final',
'planenddate': 'Plan Data final',
'cost': 'Custo',
'jan': 'Jan',
'feb': 'Fev',
'mar': 'Mar',
'apr': 'Abr',
'may': 'Mai',
'jun': 'Jun',
'jul': 'Jul',
'aug': 'Ago',
'sep': 'Set',
'oct': 'Out',
'nov': 'Nov',
'dec': 'Dez',
'january': 'Janeiro',
'february': 'Fevereiro',
'march': 'Março',
'april': 'Abril',
'maylong': 'Maio',
'june': 'Junho',
'july': 'Julho',
'august': 'Agosto',
'september': 'Setembro',
'october': 'Outubro',
'november': 'Novembro',
'december': 'Dezembro',
'sun': 'Dom',
'mon': 'Seg',
'tue': 'Ter',
'wed': 'Qua',
'thu': 'Qui',
'fri': 'Sex',
'sat': 'Sab'
};
exports.pt = pt;
var ru = {
'january': 'Январь',
'february': 'Февраль',
'march': 'Март',
'april': 'Апрель',
'maylong': 'Май',
'june': 'Июнь',
'july': 'Июль',
'august': 'Август', 'september': 'Сентябрь',
'october': 'Октябрь',
'november': 'Ноябрь',
'december': 'Декабрь',
'jan': 'Янв',
'feb': 'Фев',
'mar': 'Мар',
'apr': 'Апр',
'may': 'Май',
'jun': 'Июн',
'jul': 'Июл',
'aug': 'Авг',
'sep': 'Сен',
'oct': 'Окт',
'nov': 'Ноя',
'dec': 'Дек',
'sunday': 'Воскресенье',
'monday': 'Понедельник',
'tuesday': 'Вторник',
'wednesday': 'Среда',
'thursday': 'Четверг',
'friday': 'Пятница',
'saturday': 'Суббота',
'sun': ' Вс',
'mon': ' Пн',
'tue': ' Вт',
'wed': ' Ср',
'thu': ' Чт',
'fri': ' Пт',
'sat': ' Сб',
'res': 'Ресурс',
'dur': 'Длительность',
'comp': '% выполнения',
'completion': 'Выполнено',
'startdate': 'Нач. дата',
'planstartdate': 'Plan Нач. дата',
'enddate': 'Кон. дата',
'planenddate': 'Plan Кон. дата',
'cost': 'Cost',
'moreinfo': 'Детали',
'nodata': 'No tasks found',
'notes': 'Заметки',
'format': 'Формат',
'hour': 'Час',
'day': 'День',
'week': 'Неделя',
'month': 'Месяц',
'quarter': 'Кварт',
'hours': 'Часов',
'days': 'Дней',
'weeks': 'Недель',
'months': 'Месяцев',
'quarters': 'Кварталов',
'hr': 'ч.',
'dy': 'дн.',
'wk': 'нед.',
'mth': 'мес.',
'qtr': 'кв.',
'hrs': 'ч.',
'dys': 'дн.',
'wks': 'нед.',
'mths': 'мес.',
'qtrs': 'кв.',
'tooltipLoading': 'Загрузка...'
};
exports.ru = ru;
exports.fi = fi;
/**

@@ -443,224 +526,152 @@ * Mois : http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=3619

exports.fr = fr;
var cn = {
'january': '一月',
'february': '二月',
'march': '三月',
'april': '四月',
'maylong': '五月',
'june': '六月',
'july': '七月',
'august': '八月',
'september': '九月',
'october': '十月',
'november': '十一月',
'december': '十二月',
'jan': '一月',
'feb': '二月',
'mar': '三月',
'apr': '四月',
'may': '五月',
'jun': '六月',
'jul': '七月',
'aug': '八月',
'sep': '九月',
'oct': '十月',
'nov': '十一月',
'dec': '十二月',
'sunday': '星期日',
'monday': '星期一',
'tuesday': '星期二',
'wednesday': '星期三',
'thursday': '星期四',
'friday': '星期五',
'saturday': '星期六',
'sun': '星期日',
'mon': '星期一',
'tue': '星期二',
'wed': '星期三',
'thu': '星期四',
'fri': '星期五',
'sat': '星期六',
'res': '資源',
'dur': '時程',
'comp': '達成率',
'completion': '達成',
'startdate': '起始日期',
'planstartdate': '計劃起始日期',
'enddate': '截止日期',
'planenddate': '計劃截止日期',
'cost': '成本',
'moreinfo': "更多資訊",
'nodata': 'No tasks found',
'notes': '備註',
'format': '格式',
'hour': '時',
'day': '日',
'week': '星期',
'month': '月',
'quarter': '季',
'hours': '小時',
'days': '天',
'weeks': '週',
'months': '月',
'quarters': '季',
'hr': '小時',
'dy': '天',
'wk': '週',
'mth': '月',
'qtr': '季',
'hrs': '小時',
'dys': '天',
'wks': '週',
'mths': '月',
'qtrs': '季'
var it = {
'format': 'Formato',
'hour': 'Ora',
'day': 'Giorno',
'week': 'Settimana',
'month': 'Mese',
'quarter': 'Trimestre',
'hours': 'Ore',
'days': 'Giorni',
'weeks': 'Mesi',
'months': 'Settimane',
'quarters': 'Trimestri',
'hr': 'Ora',
'dy': 'G',
'wk': 'Sett.',
'mth': 'Mese',
'qtr': 'Trim.',
'hrs': 'Ora',
'dys': 'GG',
'wks': 'Sett.',
'mths': 'Mesi',
'qtrs': 'Trim.',
'res': 'Risorsa',
'dur': 'Durata',
'comp': '% Compl.',
'completion': 'Completamento',
'startdate': 'Data inizio',
'planstartdate': 'Piano data inizio',
'enddate': 'Data fine',
'planenddate': 'Piano data fine',
'cost': 'Costo',
'moreinfo': 'Più informazioni',
'nodata': 'Nessun task trovato',
'notes': 'Note',
'january': 'Gennaio',
'february': 'Febbraio',
'march': 'Marzo',
'april': 'Aprile',
'maylong': 'Maggio',
'june': 'Giugno',
'july': 'Luglio',
'august': 'Agosto',
'september': 'Settembre',
'october': 'Ottobre',
'november': 'Novembre',
'december': 'Dicembre',
'jan': 'Gen',
'feb': 'Feb',
'mar': 'Mar',
'apr': 'Apr',
'may': 'Mag',
'jun': 'Giu',
'jul': 'Lug',
'aug': 'Ago',
'sep': 'Set',
'oct': 'Ott',
'nov': 'Nov',
'dec': 'Dic',
'sunday': 'Domenica',
'monday': 'Lunedì',
'tuesday': 'Martedì',
'wednesday': 'Mercoledì',
'thursday': 'Giovedì',
'friday': 'Venerdì',
'saturday': 'Sabato',
'sun': 'Dom',
'mon': 'Lun',
'tue': 'Mar',
'wed': 'Mer',
'thu': 'Gio',
'fri': 'Ven',
'sat': 'Sab',
'tooltipLoading': 'Caricamento...'
};
exports.cn = cn;
var sv = {
'format': 'Filter',
'hour': 'Timme',
'day': 'Dag',
'week': 'Vecka',
'month': 'Månad',
'quarter': 'Kvartal',
'hours': 'Timmar',
'days': 'Dagar',
'weeks': 'Veckor',
'months': 'Månader',
'quarters': 'Kvartal',
'hr': 'Timme',
'dy': 'Dag',
'wk': 'Vecka',
'mth': 'Månad',
'qtr': 'Q',
'hrs': 'Timmar',
'dys': 'Dagar',
'wks': 'Veckor',
'mths': 'Månader',
'qtrs': 'Q',
'res': 'Resurs',
'dur': 'Tidsåtgång',
'comp': '% klart',
'completion': 'Klart',
'startdate': 'Startdatum',
'planstartdate': 'Planerad startdatum',
'enddate': 'Slutdatum',
'planenddate': 'Planerad slutdatum',
'cost': 'Kostnad',
'moreinfo': 'Mer Information',
exports.it = it;
var hu = {
'format': 'Formátum',
'hour': 'Óra',
'day': 'Nap',
'week': 'Hét',
'month': 'Hónap',
'quarter': 'Negyedév ',
'hours': 'Órák',
'days': 'Nap',
'weeks': 'Hét',
'months': 'Hónap',
'quarters': 'Negyedév',
'hr': 'Ó',
'dy': 'Nap',
'wk': 'Hét',
'mth': 'Hó',
'qtr': 'NÉ',
'hrs': 'Óra',
'dys': 'Nap',
'wks': 'Hét',
'mths': 'Hó',
'qtrs': 'NÉ',
'res': 'Erőforrás',
'dur': 'Időtartam',
'comp': '% Kész',
'completion': 'Elkészült',
'startdate': 'Kezdés',
'planstartdate': 'Tervezett kezdés',
'enddate': 'Befejezés',
'planenddate': 'Tervezett befejezés',
'cost': 'Költség',
'moreinfo': 'További információ',
'nodata': 'No tasks found',
'notes': 'Notes',
'january': 'januari',
'february': 'februari',
'march': 'mars',
'april': 'april',
'maylong': 'maj',
'june': 'juni',
'july': 'juli',
'august': 'augusti',
'september': 'september',
'october': 'oktober',
'november': 'november',
'december': 'december',
'jan': 'jan',
'feb': 'feb',
'mar': 'mar',
'apr': 'apr',
'may': 'maj',
'jun': 'jun',
'jul': 'jul',
'aug': 'aug',
'sep': 'sep',
'oct': 'okt',
'nov': 'nov',
'dec': 'dec',
'sunday': 'söndag',
'monday': 'måndag',
'tuesday': 'tisdag',
'wednesday': 'onsdag',
'thursday': 'torsdag',
'friday': 'fredag',
'saturday': 'lördag',
'sun': 'sön',
'mon': 'mån',
'tue': 'tis',
'wed': 'ons',
'thu': 'tor',
'fri': 'fre',
'sat': 'lör'
'notes': 'Jegyzetek',
'january': 'Január',
'february': 'Február',
'march': 'Március',
'april': 'Április',
'maylong': 'Május',
'june': 'Június',
'july': 'Július',
'august': 'Augusztus',
'september': 'Szeptember',
'october': 'Október',
'november': 'November',
'december': 'December',
'jan': 'Jan',
'feb': 'Feb',
'mar': 'Már',
'apr': 'Ápr',
'may': 'Máj',
'jun': 'Jún',
'jul': 'Júl',
'aug': 'Aug',
'sep': 'Szep',
'oct': 'Okt',
'nov': 'Nov',
'dec': 'Dec',
'sunday': 'Vasárnap',
'monday': 'Hétfő',
'tuesday': 'Kedd',
'wednesday': 'Szerda',
'thursday': 'Csütörtök',
'friday': 'Péntek',
'saturday': 'Szombat',
'sun': 'Vas',
'mon': 'Hé',
'tue': 'Ke',
'wed': 'Sze',
'thu': 'Csü',
'fri': 'Pén',
'sat': 'Szo',
'tooltipLoading': 'Belöltés...'
};
exports.sv = sv;
var nl = {
'format': 'Format',
'hour': 'Uur',
'day': 'Dag',
'week': 'Week',
'month': 'Maand',
'quarter': 'Kwartaal',
'hours': 'Uren',
'days': 'Dagen',
'weeks': 'Weken',
'months': 'Maanden',
'quarters': 'Kwartalen',
'hr': 'uur',
'dy': 'dag',
'wk': 'wk',
'mth': 'mnd',
'qtr': 'kw',
'hrs': 'uren',
'dys': 'dagen',
'wks': 'weken',
'mths': 'maanden',
'qtrs': 'kwartalen',
'res': 'Resource',
'dur': 'Doorlooptijd',
'comp': '% gereed',
'completion': 'Gereed',
'startdate': 'Startdatum',
'planstartdate': 'Geplande startdatum',
'enddate': 'Einddatum',
'planenddate': 'Geplande einddatum',
'cost': 'Kosten',
'moreinfo': 'Meer informatie',
'nodata': 'No tasks found',
'notes': 'Notities',
'january': 'januari',
'february': 'februari',
'march': 'maart',
'april': 'april',
'maylong': 'mei',
'june': 'juni',
'july': 'juli',
'august': 'augustus',
'september': 'september',
'october': 'oktober',
'november': 'november',
'december': 'december',
'jan': 'jan',
'feb': 'feb',
'mar': 'mrt',
'apr': 'apr',
'may': 'mei',
'jun': 'jun',
'jul': 'jul',
'aug': 'aug',
'sep': 'sep',
'oct': 'okt',
'nov': 'nov',
'dec': 'dec',
'sunday': 'zondag',
'monday': 'maandag',
'tuesday': 'dinsdag',
'wednesday': 'woensdag',
'thursday': 'donderdag',
'friday': 'vrijdag',
'saturday': 'zaterdag',
'sun': 'zo',
'mon': 'ma',
'tue': 'di',
'wed': 'wo',
'thu': 'do',
'fri': 'vr',
'sat': 'za'
};
exports.nl = nl;
exports.hu = hu;
var id = {

@@ -740,76 +751,2 @@ 'format': 'Format',

exports.id = id;
var tr = {
'format': 'Biçim',
'hour': 'Saat',
'day': 'Gün',
'week': 'Hafta',
'month': 'Ay',
'quarter': 'Çeyrek Yıl',
'hours': 'Saat',
'days': 'Gün',
'weeks': 'Hafta',
'months': 'Ay',
'quarters': 'Çeyrek Yıl',
'hr': 'Saat',
'dy': 'Gün',
'wk': 'Hft',
'mth': 'Ay',
'qtr': 'Çyrk',
'hrs': 'Saat',
'dys': 'Gün',
'wks': 'Hft',
'mths': 'Ay',
'qtrs': 'Çyrk',
'res': 'Kaynak',
'dur': 'Süre',
'comp': '% Tamamlanma.',
'completion': 'Tamamlanma',
'startdate': 'Başlangıç Tarihi',
'planstartdate': 'Plan Başlama Tarihi',
'enddate': 'Bitiş Tarihi',
'planenddate': 'Plan Bitiş Tarihi',
'cost': 'Tutar',
'moreinfo': 'Daha Fazla Bilgi',
'nodata': 'No tasks found',
'notes': 'Notlar',
'january': 'Ocak',
'february': 'Şubat',
'march': 'Mart',
'april': 'Nisan',
'maylong': 'Mayıs',
'june': 'Haziran',
'july': 'Temmuz',
'august': 'Ağustos',
'september': 'Eylül',
'october': 'Ekim',
'november': 'Kasım',
'december': 'Aralık',
'jan': 'Oca',
'feb': 'Şub',
'mar': 'Mar',
'apr': 'Nis',
'may': 'May',
'jun': 'Haz',
'jul': 'Tem',
'aug': 'Ağu',
'sep': 'Eyl',
'oct': 'Eki',
'nov': 'Kas',
'dec': 'Ara',
'sunday': 'Pazar',
'monday': 'Pazartesi',
'tuesday': 'Salı',
'wednesday': 'Çarşamba',
'thursday': 'Perşembe',
'friday': 'Cuma',
'saturday': 'Cumartesi',
'sun': 'Paz',
'mon': 'Pzt',
'tue': 'Sal',
'wed': 'Çrş',
'thu': 'Prş',
'fri': 'Cum',
'sat': 'Cmt'
};
exports.tr = tr;
var ja = {

@@ -890,152 +827,2 @@ 'format': 'タイムライン表示',

exports.ja = ja;
var cs = {
'format': 'Zobrazení',
'hour': 'Hodina',
'day': 'Den',
'week': 'Týden',
'month': 'Měsíc',
'quarter': 'Kvartál',
'hours': 'Hodiny',
'days': 'Dni',
'weeks': 'Týdny',
'months': 'Měsíce',
'quarters': 'Kvartály',
'hr': 'Ho',
'dy': 'Den',
'wk': 'Tyd',
'mth': 'Měs',
'qtr': 'Kvar',
'hrs': 'Ho',
'dys': 'Dni',
'wks': 'Tyd',
'mths': 'Měs',
'qtrs': 'Kvar',
'res': 'Přiřazeno',
'dur': 'Trvání',
'comp': '% Hotovo',
'completion': 'Hotovo',
'startdate': 'Start',
'planstartdate': 'Plánovaný start',
'enddate': 'Konec',
'planenddate': 'Plánovaný konec',
'cost': 'Náklady',
'moreinfo': 'Více informací',
'nodata': 'No tasks found',
'notes': 'Poznámky',
'january': 'Leden',
'february': 'Únor',
'march': 'Březen',
'april': 'Duben',
'maylong': 'Květen',
'june': 'Červen',
'july': 'Červenec',
'august': 'Srpen',
'september': 'Září',
'october': 'Říjen',
'november': 'Listopad',
'december': 'Prosinec',
'jan': 'Led',
'feb': 'Úno',
'mar': 'Bře',
'apr': 'Dub',
'may': 'Kvě',
'jun': 'Čer',
'jul': 'Čvc',
'aug': 'Srp',
'sep': 'Zář',
'oct': 'Říj',
'nov': 'Lis',
'dec': 'Pro',
'sunday': 'Neděle',
'monday': 'Pondělí',
'tuesday': 'Úterý',
'wednesday': 'Středa',
'thursday': 'Čtvrtek',
'friday': 'Pátek',
'saturday': 'Sobota',
'sun': 'Ne',
'mon': 'Po',
'tue': 'Út',
'wed': 'St',
'thu': 'Čt',
'fri': 'Pa',
'sat': 'So',
'tooltipLoading': 'Nahrávám...'
};
exports.cs = cs;
var hu = {
'format': 'Formátum',
'hour': 'Óra',
'day': 'Nap',
'week': 'Hét',
'month': 'Hónap',
'quarter': 'Negyedév ',
'hours': 'Órák',
'days': 'Nap',
'weeks': 'Hét',
'months': 'Hónap',
'quarters': 'Negyedév',
'hr': 'Ó',
'dy': 'Nap',
'wk': 'Hét',
'mth': 'Hó',
'qtr': 'NÉ',
'hrs': 'Óra',
'dys': 'Nap',
'wks': 'Hét',
'mths': 'Hó',
'qtrs': 'NÉ',
'res': 'Erőforrás',
'dur': 'Időtartam',
'comp': '% Kész',
'completion': 'Elkészült',
'startdate': 'Kezdés',
'planstartdate': 'Tervezett kezdés',
'enddate': 'Befejezés',
'planenddate': 'Tervezett befejezés',
'cost': 'Költség',
'moreinfo': 'További információ',
'nodata': 'No tasks found',
'notes': 'Jegyzetek',
'january': 'Január',
'february': 'Február',
'march': 'Március',
'april': 'Április',
'maylong': 'Május',
'june': 'Június',
'july': 'Július',
'august': 'Augusztus',
'september': 'Szeptember',
'october': 'Október',
'november': 'November',
'december': 'December',
'jan': 'Jan',
'feb': 'Feb',
'mar': 'Már',
'apr': 'Ápr',
'may': 'Máj',
'jun': 'Jún',
'jul': 'Júl',
'aug': 'Aug',
'sep': 'Szep',
'oct': 'Okt',
'nov': 'Nov',
'dec': 'Dec',
'sunday': 'Vasárnap',
'monday': 'Hétfő',
'tuesday': 'Kedd',
'wednesday': 'Szerda',
'thursday': 'Csütörtök',
'friday': 'Péntek',
'saturday': 'Szombat',
'sun': 'Vas',
'mon': 'Hé',
'tue': 'Ke',
'wed': 'Sze',
'thu': 'Csü',
'fri': 'Pén',
'sat': 'Szo',
'tooltipLoading': 'Belöltés...'
};
exports.hu = hu;
var ko = {

@@ -1116,2 +903,76 @@ 'format': '구분',

exports.ko = ko;
var nl = {
'format': 'Format',
'hour': 'Uur',
'day': 'Dag',
'week': 'Week',
'month': 'Maand',
'quarter': 'Kwartaal',
'hours': 'Uren',
'days': 'Dagen',
'weeks': 'Weken',
'months': 'Maanden',
'quarters': 'Kwartalen',
'hr': 'uur',
'dy': 'dag',
'wk': 'wk',
'mth': 'mnd',
'qtr': 'kw',
'hrs': 'uren',
'dys': 'dagen',
'wks': 'weken',
'mths': 'maanden',
'qtrs': 'kwartalen',
'res': 'Resource',
'dur': 'Doorlooptijd',
'comp': '% gereed',
'completion': 'Gereed',
'startdate': 'Startdatum',
'planstartdate': 'Geplande startdatum',
'enddate': 'Einddatum',
'planenddate': 'Geplande einddatum',
'cost': 'Kosten',
'moreinfo': 'Meer informatie',
'nodata': 'No tasks found',
'notes': 'Notities',
'january': 'januari',
'february': 'februari',
'march': 'maart',
'april': 'april',
'maylong': 'mei',
'june': 'juni',
'july': 'juli',
'august': 'augustus',
'september': 'september',
'october': 'oktober',
'november': 'november',
'december': 'december',
'jan': 'jan',
'feb': 'feb',
'mar': 'mrt',
'apr': 'apr',
'may': 'mei',
'jun': 'jun',
'jul': 'jul',
'aug': 'aug',
'sep': 'sep',
'oct': 'okt',
'nov': 'nov',
'dec': 'dec',
'sunday': 'zondag',
'monday': 'maandag',
'tuesday': 'dinsdag',
'wednesday': 'woensdag',
'thursday': 'donderdag',
'friday': 'vrijdag',
'saturday': 'zaterdag',
'sun': 'zo',
'mon': 'ma',
'tue': 'di',
'wed': 'wo',
'thu': 'do',
'fri': 'vr',
'sat': 'za'
};
exports.nl = nl;
var pl = {

@@ -1192,77 +1053,291 @@ 'format': 'Format',

exports.pl = pl;
var fi = {
'format': 'Näkymä',
'hour': 'Tunti',
'day': 'Päivä',
'week': 'Viikko',
'month': 'Kuukausi',
'quarter': 'Kvartaali',
'hours': 'Tunnit',
'days': 'Päivät',
'weeks': 'Viikot',
'months': 'Kuukaudet',
'quarters': 'Kvartaalit',
'hr': 't',
'dy': 'pv',
'wk': 'vk',
'mth': 'kk',
var pt = {
'hours': 'Horas',
'days': 'Dias',
'weeks': 'Weeks',
'months': 'Months',
'quarters': 'Quarters',
'format': 'Formato',
'hour': 'Hora',
'day': 'Dia',
'week': 'Semana',
'month': 'Mês',
'quarter': 'Trimestre',
'hr': 'hr',
'dy': 'dia',
'wk': 'sem.',
'mth': 'mês',
'qtr': 'qtr',
'hrs': 'hrs',
'dys': 'dias',
'wks': 'sem.',
'mths': 'meses',
'qtrs': 'qtrs',
'completion': 'Terminado',
'comp': '% Completado',
'moreinfo': 'Mais informações',
'nodata': 'Sem atividades',
'notes': 'Notas',
'res': 'Responsável',
'dur': 'Duração',
'startdate': 'Data inicial',
'planstartdate': 'Plan Data inicial',
'enddate': 'Data final',
'planenddate': 'Plan Data final',
'cost': 'Custo',
'jan': 'Jan',
'feb': 'Fev',
'mar': 'Mar',
'apr': 'Abr',
'may': 'Mai',
'jun': 'Jun',
'jul': 'Jul',
'aug': 'Ago',
'sep': 'Set',
'oct': 'Out',
'nov': 'Nov',
'dec': 'Dez',
'january': 'Janeiro',
'february': 'Fevereiro',
'march': 'Março',
'april': 'Abril',
'maylong': 'Maio',
'june': 'Junho',
'july': 'Julho',
'august': 'Agosto',
'september': 'Setembro',
'october': 'Outubro',
'november': 'Novembro',
'december': 'Dezembro',
'sun': 'Dom',
'mon': 'Seg',
'tue': 'Ter',
'wed': 'Qua',
'thu': 'Qui',
'fri': 'Sex',
'sat': 'Sab'
};
exports.pt = pt;
var ru = {
'january': 'Январь',
'february': 'Февраль',
'march': 'Март',
'april': 'Апрель',
'maylong': 'Май',
'june': 'Июнь',
'july': 'Июль',
'august': 'Август', 'september': 'Сентябрь',
'october': 'Октябрь',
'november': 'Ноябрь',
'december': 'Декабрь',
'jan': 'Янв',
'feb': 'Фев',
'mar': 'Мар',
'apr': 'Апр',
'may': 'Май',
'jun': 'Июн',
'jul': 'Июл',
'aug': 'Авг',
'sep': 'Сен',
'oct': 'Окт',
'nov': 'Ноя',
'dec': 'Дек',
'sunday': 'Воскресенье',
'monday': 'Понедельник',
'tuesday': 'Вторник',
'wednesday': 'Среда',
'thursday': 'Четверг',
'friday': 'Пятница',
'saturday': 'Суббота',
'sun': ' Вс',
'mon': ' Пн',
'tue': ' Вт',
'wed': ' Ср',
'thu': ' Чт',
'fri': ' Пт',
'sat': ' Сб',
'res': 'Ресурс',
'dur': 'Длительность',
'comp': '% выполнения',
'completion': 'Выполнено',
'startdate': 'Нач. дата',
'planstartdate': 'Plan Нач. дата',
'enddate': 'Кон. дата',
'planenddate': 'Plan Кон. дата',
'cost': 'Cost',
'moreinfo': 'Детали',
'nodata': 'No tasks found',
'notes': 'Заметки',
'format': 'Формат',
'hour': 'Час',
'day': 'День',
'week': 'Неделя',
'month': 'Месяц',
'quarter': 'Кварт',
'hours': 'Часов',
'days': 'Дней',
'weeks': 'Недель',
'months': 'Месяцев',
'quarters': 'Кварталов',
'hr': 'ч.',
'dy': 'дн.',
'wk': 'нед.',
'mth': 'мес.',
'qtr': 'кв.',
'hrs': 'ч.',
'dys': 'дн.',
'wks': 'нед.',
'mths': 'мес.',
'qtrs': 'кв.',
'tooltipLoading': 'Загрузка...'
};
exports.ru = ru;
var sv = {
'format': 'Filter',
'hour': 'Timme',
'day': 'Dag',
'week': 'Vecka',
'month': 'Månad',
'quarter': 'Kvartal',
'hours': 'Timmar',
'days': 'Dagar',
'weeks': 'Veckor',
'months': 'Månader',
'quarters': 'Kvartal',
'hr': 'Timme',
'dy': 'Dag',
'wk': 'Vecka',
'mth': 'Månad',
'qtr': 'Q',
'hrs': 't:t',
'dys': 'pv:t',
'wks': 'vk:t',
'mths': 'kk:t',
'qtrs': 'Kvartaalit',
'res': 'Henkilö',
'dur': 'Kesto',
'comp': '% Valm.',
'completion': 'Valmius',
'startdate': 'Alkupäivä',
'planstartdate': 'Suunniteltu alkupäivä',
'enddate': 'Päättymispäivä',
'planenddate': 'Suunniteltu päättymispäivä',
'cost': 'Kustannus',
'moreinfo': 'Lisätieto',
'nodata': 'Tehtäviä ei löydy',
'notes': 'Muistiinpanot',
'january': 'Tammikuu',
'february': 'Helmikuu',
'march': 'Maaliskuu',
'april': 'Huhtikuu',
'maylong': 'Toukokuu',
'june': 'Kesäkuu',
'july': 'Heinäkuu',
'august': 'Elokuu',
'september': 'Syyskuu',
'october': 'Lokakuu',
'november': 'Marraskuu',
'december': 'Joulukuu',
'jan': 'Tammi',
'feb': 'Helmi',
'mar': 'Maalis',
'apr': 'Huhti',
'may': 'Touko',
'jun': 'Kesä',
'jul': 'Heinä',
'aug': 'Elo',
'sep': 'Syys',
'oct': 'Loka',
'nov': 'Marras',
'dec': 'Joulu',
'sunday': 'Sunnuntai',
'monday': 'Maanantai',
'tuesday': 'Tiista',
'wednesday': 'Keskiviikko',
'thursday': 'Torstai',
'friday': 'Perjantai',
'saturday': 'Lauantai',
'sun': 'Su',
'mon': 'Ma',
'tue': 'Ti',
'wed': 'Ke',
'thu': 'To',
'fri': 'Pe',
'sat': 'La',
'tooltipLoading': 'Ladataan...'
'hrs': 'Timmar',
'dys': 'Dagar',
'wks': 'Veckor',
'mths': 'Månader',
'qtrs': 'Q',
'res': 'Resurs',
'dur': 'Tidsåtgång',
'comp': '% klart',
'completion': 'Klart',
'startdate': 'Startdatum',
'planstartdate': 'Planerad startdatum',
'enddate': 'Slutdatum',
'planenddate': 'Planerad slutdatum',
'cost': 'Kostnad',
'moreinfo': 'Mer Information',
'nodata': 'No tasks found',
'notes': 'Notes',
'january': 'januari',
'february': 'februari',
'march': 'mars',
'april': 'april',
'maylong': 'maj',
'june': 'juni',
'july': 'juli',
'august': 'augusti',
'september': 'september',
'october': 'oktober',
'november': 'november',
'december': 'december',
'jan': 'jan',
'feb': 'feb',
'mar': 'mar',
'apr': 'apr',
'may': 'maj',
'jun': 'jun',
'jul': 'jul',
'aug': 'aug',
'sep': 'sep',
'oct': 'okt',
'nov': 'nov',
'dec': 'dec',
'sunday': 'söndag',
'monday': 'måndag',
'tuesday': 'tisdag',
'wednesday': 'onsdag',
'thursday': 'torsdag',
'friday': 'fredag',
'saturday': 'lördag',
'sun': 'sön',
'mon': 'mån',
'tue': 'tis',
'wed': 'ons',
'thu': 'tor',
'fri': 'fre',
'sat': 'lör'
};
exports.fi = fi;
exports.sv = sv;
var tr = {
'format': 'Biçim',
'hour': 'Saat',
'day': 'Gün',
'week': 'Hafta',
'month': 'Ay',
'quarter': 'Çeyrek Yıl',
'hours': 'Saat',
'days': 'Gün',
'weeks': 'Hafta',
'months': 'Ay',
'quarters': 'Çeyrek Yıl',
'hr': 'Saat',
'dy': 'Gün',
'wk': 'Hft',
'mth': 'Ay',
'qtr': 'Çyrk',
'hrs': 'Saat',
'dys': 'Gün',
'wks': 'Hft',
'mths': 'Ay',
'qtrs': 'Çyrk',
'res': 'Kaynak',
'dur': 'Süre',
'comp': '% Tamamlanma.',
'completion': 'Tamamlanma',
'startdate': 'Başlangıç Tarihi',
'planstartdate': 'Plan Başlama Tarihi',
'enddate': 'Bitiş Tarihi',
'planenddate': 'Plan Bitiş Tarihi',
'cost': 'Tutar',
'moreinfo': 'Daha Fazla Bilgi',
'nodata': 'No tasks found',
'notes': 'Notlar',
'january': 'Ocak',
'february': 'Şubat',
'march': 'Mart',
'april': 'Nisan',
'maylong': 'Mayıs',
'june': 'Haziran',
'july': 'Temmuz',
'august': 'Ağustos',
'september': 'Eylül',
'october': 'Ekim',
'november': 'Kasım',
'december': 'Aralık',
'jan': 'Oca',
'feb': 'Şub',
'mar': 'Mar',
'apr': 'Nis',
'may': 'May',
'jun': 'Haz',
'jul': 'Tem',
'aug': 'Ağu',
'sep': 'Eyl',
'oct': 'Eki',
'nov': 'Kas',
'dec': 'Ara',
'sunday': 'Pazar',
'monday': 'Pazartesi',
'tuesday': 'Salı',
'wednesday': 'Çarşamba',
'thursday': 'Perşembe',
'friday': 'Cuma',
'saturday': 'Cumartesi',
'sun': 'Paz',
'mon': 'Pzt',
'tue': 'Sal',
'wed': 'Çrş',
'thu': 'Prş',
'fri': 'Cum',
'sat': 'Cmt'
};
exports.tr = tr;
//# sourceMappingURL=lang.js.map

@@ -67,5 +67,5 @@ "use strict";

});
return new exports.TaskItem(object.pID, object.pName, object.pStart, object.pEnd, object.pClass, object.pLink, object.pMile, object.pRes, object.pComp, object.pGroup, object.pParent, object.pOpen, object.pDepend, object.pCaption, object.pNotes, object.pGantt, object.pCost, object.pPlanStart, object.pPlanEnd, object.pDuration, object.pBarText, object);
return new exports.TaskItem(object.pID, object.pName, object.pStart, object.pEnd, object.pClass, object.pLink, object.pMile, object.pRes, object.pComp, object.pGroup, object.pParent, object.pOpen, object.pDepend, object.pCaption, object.pNotes, object.pGantt, object.pCost, object.pPlanStart, object.pPlanEnd, object.pDuration, object.pBarText, object, object.pPlanClass);
};
exports.TaskItem = function (pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGantt, pCost, pPlanStart, pPlanEnd, pDuration, pBarText, pDataObject) {
exports.TaskItem = function (pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGantt, pCost, pPlanStart, pPlanEnd, pDuration, pBarText, pDataObject, pPlanClass) {
if (pCost === void 0) { pCost = null; }

@@ -77,2 +77,3 @@ if (pPlanStart === void 0) { pPlanStart = null; }

if (pDataObject === void 0) { pDataObject = null; }
if (pPlanClass === void 0) { pPlanClass = null; }
var vGantt = pGantt ? pGantt : this;

@@ -91,2 +92,3 @@ var _id = document.createTextNode(pID).data;

var vClass = document.createTextNode(pClass).data;
var vPlanClass = document.createTextNode(pPlanClass).data;
var vLink = document.createTextNode(pLink).data;

@@ -229,2 +231,3 @@ var vMile = parseInt(document.createTextNode(pMile).data);

this.getPlanStart = function () { return vPlanStart ? vPlanStart : vStart; };
this.getPlanClass = function () { return vPlanClass && vPlanClass !== "null" ? vPlanClass : vClass; };
this.getPlanEnd = function () { return vPlanEnd ? vPlanEnd : vEnd; };

@@ -365,2 +368,3 @@ this.getCost = function () { return vCost; };

this.setClass = function (pClass) { vClass = pClass; };
this.setPlanClass = function (pPlanClass) { vPlanClass = pPlanClass; };
this.setCost = function (pCost) { vCost = pCost; };

@@ -472,3 +476,4 @@ this.setResource = function (pRes) { vRes = pRes; };

pGroup: vGroup,
pDataObjec: vDataObject
pDataObject: vDataObject,
pPlanClass: vPlanClass
};

@@ -475,0 +480,0 @@ };

@@ -5,3 +5,3 @@ "use strict";

exports.internalProperties = ['pID', 'pName', 'pStart', 'pEnd', 'pClass', 'pLink', 'pMile', 'pRes', 'pComp', 'pGroup', 'pParent',
'pOpen', 'pDepend', 'pCaption', 'pNotes', 'pGantt', 'pCost', 'pPlanStart', 'pPlanEnd'];
'pOpen', 'pDepend', 'pCaption', 'pNotes', 'pGantt', 'pCost', 'pPlanStart', 'pPlanEnd', 'pPlanClass'];
exports.internalPropertiesLang = {

@@ -25,3 +25,4 @@ 'pID': 'id',

'pPlanStart': 'planstartdate',
'pPlanEnd': 'planenddate'
'pPlanEnd': 'planenddate',
'pPlanClass': 'planclass'
};

@@ -28,0 +29,0 @@ exports.findObj = function (theObj, theDoc) {

@@ -231,3 +231,3 @@ "use strict";

// Finally add the task
pGanttVar.AddTaskItem(new task_1.TaskItem(pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGanttVar, pCost, pPlanStart, pPlanEnd, pDuration));
pGanttVar.AddTaskItem(new task_1.TaskItem(pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGanttVar, pCost, pPlanStart, pPlanEnd, pDuration, undefined, undefined, pClass));
}

@@ -262,2 +262,3 @@ }

var pClass = exports.getXMLNodeValue(Task[i], 'pClass', 2, '');
var pPlanClass = exports.getXMLNodeValue(Task[i], 'pPlanClass', 2, '');
if (typeof pClass == 'undefined') {

@@ -271,4 +272,6 @@ if (pGroup > 0)

}
if (typeof pPlanClass == 'undefined')
pPlanClass = pClass;
// Finally add the task
pGanttVar.AddTaskItem(new task_1.TaskItem(pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGanttVar, pCost, pPlanStart, pPlanEnd, pDuration));
pGanttVar.AddTaskItem(new task_1.TaskItem(pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGanttVar, pCost, pPlanStart, pPlanEnd, pDuration, undefined, undefined, pPlanClass));
}

@@ -334,2 +337,3 @@ }

vTask += '<pNotes>' + vTmpDiv.innerHTML + '</pNotes>';
vTask += '<pPlanClass>' + this.vTaskList[vIdx].getPlanClass() + '</pPlanClass>';
vTask += '</task>';

@@ -336,0 +340,0 @@ }

@@ -6,59 +6,55 @@ let dataurl;

function start(e) {
g = new JSGantt.GanttChart(document.getElementById('embedded-Gantt'), 'week');
g = new JSGantt.GanttChart(document.getElementById("embedded-Gantt"), "week");
if (g.getDivId() != null) {
const newDataurl = document.getElementById('dataurl').value ? document.getElementById('dataurl').value : './fixes/data.json';
const vDebug = document.querySelector('#debug:checked') ? true : false;
const newDataurl = document.getElementById("dataurl").value ? document.getElementById("dataurl").value : "./fixes/data.json";
const vDebug = document.querySelector("#debug:checked") ? true : false;
//vDebug = true;
const vEditable = document.querySelector('#editable:checked') ? true : false;
const vUseSort = document.querySelector('#sort:checked') ? true : false;
const newtooltiptemplate = document.getElementById('tooltiptemplate').value ? document.getElementById('tooltiptemplate').value : null;
const vEditable = document.querySelector("#editable:checked") ? true : false;
const vUseSort = document.querySelector("#sort:checked") ? true : false;
const newtooltiptemplate = document.getElementById("tooltiptemplate").value ? document.getElementById("tooltiptemplate").value : null;
let vColumnOrder;
if (document.querySelector('#vColumnOrder').value) {
vColumnOrder = document.querySelector('#vColumnOrder').value.split(',')
if (document.querySelector("#vColumnOrder").value) {
vColumnOrder = document.querySelector("#vColumnOrder").value.split(",");
}
const vScrollTo = 'today'; // or new Date() or a Date object with a specific date
const vScrollTo = "today"; // or new Date() or a Date object with a specific date
// SET LANG FROM INPUT
lang = e && e.target ? e.target.value : 'en';
delay = document.getElementById('delay').value;
lang = e && e.target ? e.target.value : "en";
delay = document.getElementById("delay").value;
vUseSingleCell = document.getElementById("useSingleCell").value;
vShowRes = document.querySelector("#vShowRes:checked") ? 1 : 0;
vShowCost = document.querySelector("#vShowCost:checked") ? 1 : 0;
vShowAddEntries = document.querySelector("#vShowAddEntries:checked") ? 1 : 0;
vShowComp = document.querySelector("#vShowComp:checked") ? 1 : 0;
vShowDur = document.querySelector("#vShowDur:checked") ? 1 : 0;
vShowStartDate = document.querySelector("#vShowStartDate:checked") ? 1 : 0;
vShowEndDate = document.querySelector("#vShowEndDate:checked") ? 1 : 0;
vShowPlanStartDate = document.querySelector("#vShowPlanStartDate:checked") ? 1 : 0;
vShowPlanEndDate = document.querySelector("#vShowPlanEndDate:checked") ? 1 : 0;
vShowTaskInfoLink = document.querySelector("#vShowTaskInfoLink:checked") ? 1 : 0;
vShowEndWeekDate = document.querySelector("#vShowEndWeekDate:checked") ? 1 : 0;
vTotalHeight = document.querySelector("#vTotalHeight").value || undefined;
vUseSingleCell = document.getElementById('useSingleCell').value;
vShowRes = document.querySelector('#vShowRes:checked') ? 1 : 0;
vShowCost = document.querySelector('#vShowCost:checked') ? 1 : 0;
vShowAddEntries = document.querySelector('#vShowAddEntries:checked') ? 1 : 0;
vShowComp = document.querySelector('#vShowComp:checked') ? 1 : 0;
vShowDur = document.querySelector('#vShowDur:checked') ? 1 : 0;
vShowStartDate = document.querySelector('#vShowStartDate:checked') ? 1 : 0;
vShowEndDate = document.querySelector('#vShowEndDate:checked') ? 1 : 0;
vShowPlanStartDate = document.querySelector('#vShowPlanStartDate:checked') ? 1 : 0;
vShowPlanEndDate = document.querySelector('#vShowPlanEndDate:checked') ? 1 : 0;
vShowTaskInfoLink = document.querySelector('#vShowTaskInfoLink:checked') ? 1 : 0;
vShowEndWeekDate = document.querySelector('#vShowEndWeekDate:checked') ? 1 : 0;
vTotalHeight = document.querySelector('#vTotalHeight').value || undefined;
vShowWeekends = document.querySelector("#vShowWeekends:checked") ? 1 : 0;
vShowWeekends = document.querySelector('#vShowWeekends:checked') ? 1 : 0;
vMinDate = document.querySelector("#vMinDate").value;
vMaxDate = document.querySelector("#vMaxDate").value;
vMinDate = document.querySelector('#vMinDate').value;
vMaxDate = document.querySelector('#vMaxDate').value;
vAdditionalHeaders = {
category: {
title: 'Category'
title: "Category",
},
sector: {
title: 'Sector'
}
}
title: "Sector",
},
};
g.setOptions({
vCaptionType: 'Complete', // Set to Show Caption : None,Caption,Resource,Duration,Complete,
vCaptionType: "Complete", // Set to Show Caption : None,Caption,Resource,Duration,Complete,
vQuarterColWidth: 36,
vDateTaskDisplayFormat: 'day dd month yyyy', // Shown in tool tip box
vDayMajorDateDisplayFormat: 'mon yyyy - Week ww',// Set format to display dates in the "Major" header of the "Day" view
vWeekMinorDateDisplayFormat: 'dd mon', // Set format to display dates in the "Minor" header of the "Week" view
vDateTaskDisplayFormat: "day dd month yyyy", // Shown in tool tip box
vDayMajorDateDisplayFormat: "mon yyyy - Week ww", // Set format to display dates in the "Major" header of the "Day" view
vWeekMinorDateDisplayFormat: "dd mon", // Set format to display dates in the "Minor" header of the "Week" view
vLang: lang,

@@ -75,3 +71,2 @@ vUseSingleCell, // Set the threshold at which we will only use one cell per table row (0 disables). Helps with rendering performance for large charts.

vShowPlanEndDate,
vAdditionalHeaders,
vTotalHeight,

@@ -92,9 +87,9 @@ vMinDate,

additional_category: console.log,
beforeDraw: () => console.log('before draw listener'),
beforeDraw: () => console.log("before draw listener"),
afterDraw: () => {
console.log('after draw listener');
console.log("after draw listener");
if (document.querySelector("#customElements:checked")) {
drawCustomElements(g);
}
}
},
},

@@ -110,3 +105,3 @@ vEventsChange: {

planend: editValue,
cost: editValue
cost: editValue,
},

@@ -117,16 +112,13 @@ vEventClickRow: console.log,

vResources: [
{ id: 0, name: 'Anybody' },
{ id: 1, name: 'Mario' },
{ id: 2, name: 'Henrique' },
{ id: 3, name: 'Pedro' }
{ id: 0, name: "Anybody" },
{ id: 1, name: "Mario" },
{ id: 2, name: "Henrique" },
{ id: 3, name: "Pedro" },
],
vShowTaskInfoLink, // Show link in tool tip (0/1)
vShowEndWeekDate, // Show/Hide the date for the last day of the week in header for daily view (1/0)
vShowEndWeekDate, // Show/Hide the date for the last day of the week in header for daily view (1/0)
vShowWeekends, // Show weekends days in the vFormat day
vTooltipDelay: delay,
vTooltipTemplate:
document.querySelector("#dynamicTooltip:checked") ?
generateTooltip :
newtooltiptemplate,
vTooltipTemplate: document.querySelector("#dynamicTooltip:checked") ? generateTooltip : newtooltiptemplate,
vDebug,

@@ -137,4 +129,4 @@ vEditable,

vUseSort,
vFormat: 'week',
vFormatArr: ['Day', 'Week', 'Month', 'Quarter'], // Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
vFormat: "week",
vFormatArr: ["Day", "Week", "Month", "Quarter"], // Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
});

@@ -163,6 +155,5 @@ //DELAY FROM INPUT

dataurl = newDataurl;
JSGantt.parseJSON(dataurl, g, vDebug)
.then(j => jsonObj = j);
JSGantt.parseJSON(dataurl, g, vDebug).then((j) => (jsonObj = j));
} else {
JSGantt.addJSONTask(g, jsonObj)
JSGantt.addJSONTask(g, jsonObj);
}

@@ -180,3 +171,3 @@ /*

bd = new Date();
console.log('before reloading', bd);
console.log("before reloading", bd);
}

@@ -187,5 +178,4 @@ g.Draw();

const ad = new Date();
console.log('after reloading: total time', ad, (ad.getTime() - bd.getTime()));
console.log("after reloading: total time", ad, ad.getTime() - bd.getTime());
}
} else {

@@ -195,3 +185,3 @@ alert("Error, unable to create Gantt Chart");

// document.getElementById("idMainLeft").onscroll = () => {
// document.getElementById("idMainLeft").onscroll = () => {
// scrollingTwoMains('idMainLeft', 'idMainRight');

@@ -211,26 +201,24 @@ // };

g.ClearTasks();
g.Draw()
g.Draw();
}
function printTasksInConsole() {
const tasks = g.vTaskList.map(e => ({ ...e.getAllData(), ...e.getDataObject() }));
const tasks = g.vTaskList.map((e) => ({ ...e.getAllData(), ...e.getDataObject() }));
console.log(tasks);
}
function printChart(){
function printChart() {
let width, height;
[ width, height ] = document.querySelector('#print_page_size').value.split(',');
g.printChart( width, height );
[width, height] = document.querySelector("#print_page_size").value.split(",");
g.printChart(width, height);
}
function editValue(list, task, event, cell, column) {
console.log(list, task, event, cell, column)
const found = list.find(item => item.pID == task.getOriginalID());
console.log(list, task, event, cell, column);
const found = list.find((item) => item.pID == task.getOriginalID());
if (!found) {
return;
} else {
found[column] = event ? event.target.value : "";
}
else {
found[column] = event ? event.target.value : '';
}
}

@@ -243,7 +231,7 @@

const x = g.chartRowDateToX(new Date(dataObj.deadline));
const td = item.getChildRow().querySelector('td');
td.style.position = 'relative';
const div = document.createElement('div');
const td = item.getChildRow().querySelector("td");
td.style.position = "relative";
const div = document.createElement("div");
div.style.left = `${x}px`;
div.classList.add('deadline-line');
div.classList.add("deadline-line");
td.appendChild(div);

@@ -274,3 +262,3 @@ }

<dt>Name:</dt><dd>{{pName}}</dd>
<dt>Complete child tasks:</dt><dd style="color:${complete === childCount ? 'green' : 'red'}">${complete}/${childCount}</dd>
<dt>Complete child tasks:</dt><dd style="color:${complete === childCount ? "green" : "red"}">${complete}/${childCount}</dd>
<dt>Tooltip generated at:</dt><dd>${new Date()}</dd>

@@ -291,2 +279,2 @@ </dl>

start('pt')
start("pt");

@@ -76,3 +76,3 @@

Method definition:
**TaskItem(_pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGantt_, pCost = null, pPlanStart = null, pPlanEnd = null, pDuration = null, pBarText = null, pDataObject = null)**
**TaskItem(_pID, pName, pStart, pEnd, pClass, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGantt_, pCost = null, pPlanStart = null, pPlanEnd = null, pDuration = null, pBarText = null, pDataObject = null, pPlanClass = null)**

@@ -102,3 +102,4 @@ This method takes only the variables defined above and explained below. You can **NOT** pass custom variables this way.

|_pCost:_| cost of that task, numeric
|_pBarText:_|(optional) Use to include text inside a task bar|
|_pBarText:_|(optional) Use to include text inside a task bar|
|_pPlanClass:_|(optional) the css class for planned date of this task

@@ -180,2 +181,3 @@ <sup>*</sup> Combined group tasks show all sub-tasks on one row. The information displayed in the task list and row caption are taken from the parent task. Tool tips are generated individually for each sub-task from its own information. Milestones are not valid as sub-tasks of a combined group task and will not be displayed. No bounds checking of start and end dates of sub-tasks is performed therefore it is possible for these task bars to overlap. Dependencies can be set to and from sub-tasks only.

<pNotes>Text - can include limited HTML</pNotes>
<pPlanClass>gtaskblue</pPlanClass>
</task>

@@ -182,0 +184,0 @@ </project>

{
"name": "jsgantt-improved",
"version": "2.8.4",
"version": "2.8.5",
"description": "jsgantt-improved",

@@ -33,3 +33,3 @@ "main": "dist/index.js",

"@types/node": "^12.0.10",
"webdriver-manager": "^12.1.8"
"webdriver-manager": "^13.0.0"
},

@@ -36,0 +36,0 @@ "devDependencies": {

@@ -128,2 +128,17 @@ [![Build Status](https://travis-ci.com/jsGanttImproved/jsgantt-improved.svg?branch=master)](https://travis-ci.com/jsGanttImproved/jsgantt-improved)

* Support for Internationalization
* Chinese (cn)
* Czech (cs)
* Dutch (Standard)
* selected>English (en)
* French (fr)
* German (de)
* Hungarian (hu)
* Indonesian (id)
* Italian (it)
* Japanese (ja)
* Portuguese (pt)
* Russian (ru)
* Spanish (es)
* Swedish (sv)
* Turkish (tr)

@@ -143,4 +158,5 @@ ## Documentation

* Install lib dependencies: `npm i`
* Install global dependencies: `npm i -g browserify nodemon onchange tsc`
* Run the demo, This will start a `localhost:8080` with a live example: `npm start`.
* Install global dependencies: `npm i -g browserify nodemon onchange tsc`
* Compile final js to be used on demo: `npm run dist`
* Run the demo with a live example: `npm start`.
* You can check the demo gantt that we use for testing features at: `http://127.0.0.1:8080/docs/demo.html`

@@ -152,2 +168,8 @@ * Use `npm run watch` or do your change in `src` and restart this command refresh the changes.

* Install selenium webdriver: `npm run webdriver`, it will install something like node_modules/webdriver-manager/selenium/chromedriver_88.0.4324.96.zip
node node_modules/protractor/bin/webdriver-manager update
apt install chromium
apt install chromium-bsu
* Use `npm run test` with e2e tests.

@@ -154,0 +176,0 @@ * Or use `npm run watch:test` to keep watching the tests

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc