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.0.10 to 2.1.0

59

dist/src/draw.js

@@ -345,2 +345,9 @@ "use strict";

var vLeftHeader = document.createDocumentFragment();
/**
* LIST HEAD
*
*
*
* HEADINGS
*/
var vTmpDiv = this.newNode(vLeftHeader, 'div', this.vDivId + 'glisthead', 'glistlbl gcontainercol');

@@ -403,7 +410,13 @@ var vTmpTab = this.newNode(vTmpDiv, 'table', null, 'gtasktableh');

}
var vLeftTable = document.createDocumentFragment();
var vTmpDiv2 = this.newNode(vLeftTable, 'div', this.vDivId + 'glistbody', 'glistgrid gcontainercol');
this.setListBody(vTmpDiv2);
vTmpTab = this.newNode(vTmpDiv2, 'table', null, 'gtasktable');
vTmpTBody = this.newNode(vTmpTab, 'tbody');
/**
* LIST BODY
*
*
*/
// let vLeftTable = document.createDocumentFragment();
// let vTmpDiv2 = this.newNode(vLeftTable, 'div', this.vDivId + 'glistbody', 'glistgrid gcontainercol');
// this.setListBody(vTmpDiv2);
// vTmpTab = this.newNode(vTmpDiv2, 'table', null, 'gtasktable');
// vTmpTBody = this.newNode(vTmpTab, 'tbody');
var vTmpDiv2 = void 0;
var _loop_1 = function (i_1) {

@@ -573,5 +586,10 @@ var vBGColor = void 0;

// than for the right pane (keep to a minimum as it is seen in unconstrained height designs)
this.newNode(vTmpDiv2, 'br');
this.newNode(vTmpDiv2, 'br');
// Draw the Chart Rows
// this.newNode(vTmpDiv2, 'br');
// this.newNode(vTmpDiv2, 'br');
/**
* CHART HEAD
*
*
* HEADINGS
*/
var vRightHeader = document.createDocumentFragment();

@@ -708,2 +726,8 @@ vTmpDiv = this.newNode(vRightHeader, 'div', this.vDivId + 'gcharthead', 'gchartlbl gcontainercol');

vTmpDiv = this.newNode(vRightHeader, 'div', null, 'glabelfooter');
/**
* CHART GRID
*
*
*
*/
var vRightTable = document.createDocumentFragment();

@@ -889,9 +913,18 @@ vTmpDiv = this.newNode(vRightTable, 'div', this.vDivId + 'gchartbody', 'gchartgrid gcontainercol');

vTmpTBody.appendChild(vDateRow.cloneNode(true));
// MAIN VIEW: Appending all generated components to main view
while (this.vDiv.hasChildNodes())
this.vDiv.removeChild(this.vDiv.firstChild);
vTmpDiv = this.newNode(this.vDiv, 'div', null, 'gchartcontainer');
vTmpDiv.appendChild(vLeftHeader);
vTmpDiv.appendChild(vRightHeader);
vTmpDiv.appendChild(vLeftTable);
vTmpDiv.appendChild(vRightTable);
var leftvTmpDiv = this.newNode(vTmpDiv, 'div', null, 'gmain gmainleft');
leftvTmpDiv.appendChild(vLeftHeader);
// leftvTmpDiv.appendChild(vLeftTable);
var rightvTmpDiv = this.newNode(vTmpDiv, 'div', null, 'gmain gmainright');
rightvTmpDiv.appendChild(vRightHeader);
rightvTmpDiv.appendChild(vRightTable);
vTmpDiv.appendChild(leftvTmpDiv);
vTmpDiv.appendChild(rightvTmpDiv);
//vTmpDiv.appendChild(vLeftHeader);
// vTmpDiv.appendChild(vRightHeader);
// vTmpDiv.appendChild(vLeftTable);
// vTmpDiv.appendChild(vRightTable);
this.newNode(vTmpDiv, 'div', null, 'ggridfooter');

@@ -906,3 +939,3 @@ vTmpDiv2 = this.newNode(this.getChartBody(), 'div', this.vDivId + 'Lines', 'glinediv');

//*/
// Now all the content exists, register scroll listeners
// LISTENERS: Now all the content exists, register scroll listeners
events_1.addScrollListeners(this);

@@ -909,0 +942,0 @@ // now check if we are actually scrolling the pane

{
"name": "jsgantt-improved",
"version": "2.0.10",
"version": "2.1.0",
"description": "jsgantt-improved",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -357,2 +357,10 @@ import * as lang from './lang';

/**
* LIST HEAD
*
*
*
* HEADINGS
*/
let vTmpDiv = this.newNode(vLeftHeader, 'div', this.vDivId + 'glisthead', 'glistlbl gcontainercol');

@@ -401,8 +409,15 @@ let vTmpTab = this.newNode(vTmpDiv, 'table', null, 'gtasktableh');

let vLeftTable = document.createDocumentFragment();
let vTmpDiv2 = this.newNode(vLeftTable, 'div', this.vDivId + 'glistbody', 'glistgrid gcontainercol');
this.setListBody(vTmpDiv2);
vTmpTab = this.newNode(vTmpDiv2, 'table', null, 'gtasktable');
vTmpTBody = this.newNode(vTmpTab, 'tbody');
/**
* LIST BODY
*
*
*/
// let vLeftTable = document.createDocumentFragment();
// let vTmpDiv2 = this.newNode(vLeftTable, 'div', this.vDivId + 'glistbody', 'glistgrid gcontainercol');
// this.setListBody(vTmpDiv2);
// vTmpTab = this.newNode(vTmpDiv2, 'table', null, 'gtasktable');
// vTmpTBody = this.newNode(vTmpTab, 'tbody');
let vTmpDiv2;
for (let i = 0; i < this.vTaskList.length; i++) {

@@ -565,6 +580,15 @@ let vBGColor;

// than for the right pane (keep to a minimum as it is seen in unconstrained height designs)
this.newNode(vTmpDiv2, 'br');
this.newNode(vTmpDiv2, 'br');
// this.newNode(vTmpDiv2, 'br');
// this.newNode(vTmpDiv2, 'br');
// Draw the Chart Rows
/**
* CHART HEAD
*
*
* HEADINGS
*/
let vRightHeader = document.createDocumentFragment();

@@ -713,2 +737,10 @@ vTmpDiv = this.newNode(vRightHeader, 'div', this.vDivId + 'gcharthead', 'gchartlbl gcontainercol');

/**
* CHART GRID
*
*
*
*/
let vRightTable = document.createDocumentFragment();

@@ -903,8 +935,22 @@ vTmpDiv = this.newNode(vRightTable, 'div', this.vDivId + 'gchartbody', 'gchartgrid gcontainercol');

// MAIN VIEW: Appending all generated components to main view
while (this.vDiv.hasChildNodes()) this.vDiv.removeChild(this.vDiv.firstChild);
vTmpDiv = this.newNode(this.vDiv, 'div', null, 'gchartcontainer');
vTmpDiv.appendChild(vLeftHeader);
vTmpDiv.appendChild(vRightHeader);
vTmpDiv.appendChild(vLeftTable);
vTmpDiv.appendChild(vRightTable);
let leftvTmpDiv = this.newNode(vTmpDiv, 'div', null, 'gmain gmainleft');
leftvTmpDiv.appendChild(vLeftHeader);
// leftvTmpDiv.appendChild(vLeftTable);
let rightvTmpDiv = this.newNode(vTmpDiv, 'div', null, 'gmain gmainright');
rightvTmpDiv.appendChild(vRightHeader);
rightvTmpDiv.appendChild(vRightTable);
vTmpDiv.appendChild(leftvTmpDiv);
vTmpDiv.appendChild(rightvTmpDiv);
//vTmpDiv.appendChild(vLeftHeader);
// vTmpDiv.appendChild(vRightHeader);
// vTmpDiv.appendChild(vLeftTable);
// vTmpDiv.appendChild(vRightTable);
this.newNode(vTmpDiv, 'div', null, 'ggridfooter');

@@ -920,3 +966,5 @@ vTmpDiv2 = this.newNode(this.getChartBody(), 'div', this.vDivId + 'Lines', 'glinediv');

//*/
// Now all the content exists, register scroll listeners
// LISTENERS: Now all the content exists, register scroll listeners
addScrollListeners(this);

@@ -923,0 +971,0 @@

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 too big to display

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