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

ng-gantt

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-gantt - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

225

bundles/ng-gantt.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jsgantt-improved'), require('@angular/common')) :
typeof define === 'function' && define.amd ? define('ng-gantt', ['exports', '@angular/core', 'jsgantt-improved', '@angular/common'], factory) :
(factory((global['ng-gantt'] = {}),global.ng.core,null,global.ng.common));
}(this, (function (exports,core,JSGantt,common) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('jsgantt-improved')) :
typeof define === 'function' && define.amd ? define('ng-gantt', ['exports', '@angular/core', '@angular/common', 'jsgantt-improved'], factory) :
(global = global || self, factory(global['ng-gantt'] = {}, global.ng.core, global.ng.common, global.jsganttImproved));
}(this, function (exports, core, common, jsganttImproved) { 'use strict';

@@ -21,9 +21,8 @@ /*! *****************************************************************************

***************************************************************************** */
var __assign = function () {
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}

@@ -35,6 +34,13 @@ return t;

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
}
var GanttEditorComponent = /** @class */ (function () {

@@ -49,6 +55,3 @@ function GanttEditorComponent() {

Object.defineProperty(GanttEditorComponent.prototype, "data", {
set: /**
* @param {?} value
* @return {?}
*/ function (value) {
set: function (value) {
this._data = value;

@@ -63,69 +66,64 @@ if (this.editor) {

});
/**
* @return {?}
*/
GanttEditorComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
var /** @type {?} */ optionsBefore = this.options;
if (!this.optionsChanged && this.editor) {
optionsBefore = this.editor.options;
GanttEditorComponent.prototype.ngOnInit = function () {
var optionsBefore = this.options;
if (!this.optionsChanged && this.editor) {
optionsBefore = this.editor.options;
}
// document.getElementById('embedded-Gantt')
var g = this.editor = new jsganttImproved.GanttChart(this.ganttEditorContainer.nativeElement, this.format);
if (g.getDivId() != null) {
// JSGantt.parseJSON('./fixes/data.json', g);
g.setOptions(__assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000,
// Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
vFormatArr: this.formats.slice(1), vEvents: {
afterDraw: function () { return console.log('angular: before after listener'); }
} }));
if (this._data && this._data.forEach) {
this._data.forEach(function (row) {
row.pGantt = g;
g.AddTaskItemObject(row);
});
}
// document.getElementById('embedded-Gantt')
var /** @type {?} */ g = this.editor = new JSGantt.GanttChart(this.ganttEditorContainer.nativeElement, this.format);
if (g.getDivId() != null) {
// JSGantt.parseJSON('./fixes/data.json', g);
g.setOptions(__assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000, vFormatArr: this.formats.slice(1), vEvents: {
afterDraw: function () { return console.log('angular: before after listener'); }
} }));
if (this._data && this._data.forEach) {
this._data.forEach(function (row) {
row.pGantt = g;
g.AddTaskItemObject(row);
});
}
g.Draw();
}
};
/**
* @param {?} newOptions
* @return {?}
*/
GanttEditorComponent.prototype.setOptions = /**
* @param {?} newOptions
* @return {?}
*/
function (newOptions) {
if (this.editor) {
this.destroy();
}
this.optionsChanged = true;
this.options = newOptions;
this.ngOnInit();
};
/**
* @return {?}
*/
GanttEditorComponent.prototype.destroy = /**
* @return {?}
*/
function () {
// this.editor.destroy();
};
GanttEditorComponent.decorators = [
{ type: core.Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
},] },
];
/** @nocollapse */
GanttEditorComponent.ctorParameters = function () { return []; };
GanttEditorComponent.propDecorators = {
ganttEditorContainer: [{ type: core.ViewChild, args: ['ganttEditorContainer',] }],
options: [{ type: core.Input }],
format: [{ type: core.Input }],
data: [{ type: core.Input, args: ['data',] }]
g.Draw();
}
};
// public get(): JSON {
// return this.editor.get();
// }
GanttEditorComponent.prototype.setOptions = function (newOptions) {
if (this.editor) {
this.destroy();
}
this.optionsChanged = true;
this.options = newOptions;
this.ngOnInit();
};
GanttEditorComponent.prototype.destroy = function () {
// this.editor.destroy();
};
__decorate([
core.ViewChild('ganttEditorContainer', { static: true }),
__metadata("design:type", core.ElementRef)
], GanttEditorComponent.prototype, "ganttEditorContainer", void 0);
__decorate([
core.Input(),
__metadata("design:type", GanttEditorOptions)
], GanttEditorComponent.prototype, "options", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], GanttEditorComponent.prototype, "format", void 0);
__decorate([
core.Input('data'),
__metadata("design:type", Object),
__metadata("design:paramtypes", [Object])
], GanttEditorComponent.prototype, "data", null);
GanttEditorComponent = __decorate([
core.Component({
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
}),
__metadata("design:paramtypes", [])
], GanttEditorComponent);
return GanttEditorComponent;

@@ -146,55 +144,36 @@ }());

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
var NgGanttEditorModule = /** @class */ (function () {
function NgGanttEditorModule() {
}
/**
* @return {?}
*/
NgGanttEditorModule.forRoot = /**
* @return {?}
*/
function () {
return {
ngModule: NgGanttEditorModule,
providers: []
};
NgGanttEditorModule_1 = NgGanttEditorModule;
NgGanttEditorModule.forRoot = function () {
return {
ngModule: NgGanttEditorModule_1,
providers: []
};
NgGanttEditorModule.decorators = [
{ type: core.NgModule, args: [{
imports: [
common.CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
},] },
];
};
var NgGanttEditorModule_1;
NgGanttEditorModule = NgGanttEditorModule_1 = __decorate([
core.NgModule({
imports: [
common.CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
})
], NgGanttEditorModule);
return NgGanttEditorModule;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
exports.NgGanttEditorModule = NgGanttEditorModule;
exports.GanttEditorComponent = GanttEditorComponent;
exports.GanttEditorOptions = GanttEditorOptions;
exports.NgGanttEditorModule = NgGanttEditorModule;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQudW1kLmpzLm1hcCIsInNvdXJjZXMiOltudWxsLCJuZzovL25nLWdhbnR0L2dhbnR0L2dhbnR0LmNvbXBvbmVudC50cyIsIm5nOi8vbmctZ2FudHQ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UFFLEVBQ1Y7aUJBQ0YsQ0FBQzs7O29CQW5CTEMsYUFBUSxTQUFDO3dCQUNSLE9BQU8sRUFBRTs0QkFDUEMsbUJBQVk7eUJBQ2I7d0JBQ0QsWUFBWSxFQUFFOzRCQUNaLG9CQUFvQjt5QkFDckI7d0JBQ0QsT0FBTyxFQUFFOzRCQUNQLG9CQUFvQjt5QkFDckI7cUJBQ0Y7O2tDQWREOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9
}));
//# sourceMappingURL=ng-gantt.umd.js.map

@@ -1,2 +0,2 @@

!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("jsgantt-improved"),require("@angular/common")):"function"==typeof define&&define.amd?define("ng-gantt",["exports","@angular/core","jsgantt-improved","@angular/common"],o):o(t["ng-gantt"]={},t.ng.core,null,t.ng.common)}(this,function(t,o,e,n){"use strict";var r=function(){return(r=Object.assign||function(t){for(var o,e=1,n=arguments.length;e<n;e++)for(var r in o=arguments[e])Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);return t}).apply(this,arguments)},i=(Object.defineProperty(a.prototype,"data",{set:function(t){this._data=t,this.editor&&(this.destroy(),this.ngOnInit())},enumerable:!0,configurable:!0}),a.prototype.ngOnInit=function(){var t=this.options;!this.optionsChanged&&this.editor&&(t=this.editor.options);var o=this.editor=new e.GanttChart(this.ganttEditorContainer.nativeElement,this.format);null!=o.getDivId()&&(o.setOptions(r({},t,{vCaptionType:"Complete",vQuarterColWidth:36,vDateTaskDisplayFormat:"day dd month yyyy",vDayMajorDateDisplayFormat:"mon yyyy - Week ww",vWeekMinorDateDisplayFormat:"dd mon",vShowTaskInfoLink:1,vShowEndWeekDate:0,vUseSingleCell:1e4,vFormatArr:this.formats.slice(1),vEvents:{afterDraw:function(){return console.log("angular: before after listener")}}})),this._data&&this._data.forEach&&this._data.forEach(function(t){(t.pGantt=o).AddTaskItemObject(t)}),o.Draw())},a.prototype.setOptions=function(t){this.editor&&this.destroy(),this.optionsChanged=!0,this.options=t,this.ngOnInit()},a.prototype.destroy=function(){},a.decorators=[{type:o.Component,args:[{selector:"ng-gantt",template:'<div [id]="id" #ganttEditorContainer></div>'}]}],a.ctorParameters=function(){return[]},a.propDecorators={ganttEditorContainer:[{type:o.ViewChild,args:["ganttEditorContainer"]}],options:[{type:o.Input}],format:[{type:o.Input}],data:[{type:o.Input,args:["data"]}]},a);function a(){this.id="anggantteditor"+Math.floor(1e6*Math.random()),this.optionsChanged=!1,this.formats=["Hour","Day","Week","Month","Quarter"],this.options=new s,this.format="week"}var s=function u(){},d=(p.forRoot=function(){return{ngModule:p,providers:[]}},p.decorators=[{type:o.NgModule,args:[{imports:[n.CommonModule],declarations:[i],exports:[i]}]}],p);function p(){}t.NgGanttEditorModule=d,t.GanttEditorComponent=i,t.GanttEditorOptions=s,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("jsgantt-improved")):"function"==typeof define&&define.amd?define("ng-gantt",["exports","@angular/core","@angular/common","jsgantt-improved"],e):e((t=t||self)["ng-gantt"]={},t.ng.core,t.ng.common,t.jsganttImproved)}(this,function(t,e,o,n){"use strict";var r=function(){return(r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function i(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}function a(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var s=function(){function t(){this.id="anggantteditor"+Math.floor(1e6*Math.random()),this.optionsChanged=!1,this.formats=["Hour","Day","Week","Month","Quarter"],this.options=new d,this.format="week"}return Object.defineProperty(t.prototype,"data",{set:function(t){this._data=t,this.editor&&(this.destroy(),this.ngOnInit())},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this.options;!this.optionsChanged&&this.editor&&(t=this.editor.options);var e=this.editor=new n.GanttChart(this.ganttEditorContainer.nativeElement,this.format);null!=e.getDivId()&&(e.setOptions(r({},t,{vCaptionType:"Complete",vQuarterColWidth:36,vDateTaskDisplayFormat:"day dd month yyyy",vDayMajorDateDisplayFormat:"mon yyyy - Week ww",vWeekMinorDateDisplayFormat:"dd mon",vShowTaskInfoLink:1,vShowEndWeekDate:0,vUseSingleCell:1e4,vFormatArr:this.formats.slice(1),vEvents:{afterDraw:function(){return console.log("angular: before after listener")}}})),this._data&&this._data.forEach&&this._data.forEach(function(t){t.pGantt=e,e.AddTaskItemObject(t)}),e.Draw())},t.prototype.setOptions=function(t){this.editor&&this.destroy(),this.optionsChanged=!0,this.options=t,this.ngOnInit()},t.prototype.destroy=function(){},i([e.ViewChild("ganttEditorContainer",{static:!0}),a("design:type",e.ElementRef)],t.prototype,"ganttEditorContainer",void 0),i([e.Input(),a("design:type",d)],t.prototype,"options",void 0),i([e.Input(),a("design:type",Object)],t.prototype,"format",void 0),i([e.Input("data"),a("design:type",Object),a("design:paramtypes",[Object])],t.prototype,"data",null),t=i([e.Component({selector:"ng-gantt",template:'<div [id]="id" #ganttEditorContainer></div>'}),a("design:paramtypes",[])],t)}(),d=function(){},p=function(){function t(){}var n;return n=t,t.forRoot=function(){return{ngModule:n,providers:[]}},t=n=i([e.NgModule({imports:[o.CommonModule],declarations:[s],exports:[s]})],t)}();t.GanttEditorComponent=s,t.GanttEditorOptions=d,t.NgGanttEditorModule=p,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ng-gantt.umd.min.js.map

@@ -1,8 +0,6 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import * as tslib_1 from "tslib";
import { Component, ElementRef, Input, ViewChild } from '@angular/core';
// import { JSGantt } from 'jsgantt-improved';
import * as JSGantt from 'jsgantt-improved';
export class GanttEditorComponent {
let GanttEditorComponent = class GanttEditorComponent {
constructor() {

@@ -15,6 +13,2 @@ this.id = 'anggantteditor' + Math.floor(Math.random() * 1000000);

}
/**
* @param {?} value
* @return {?}
*/
set data(value) {

@@ -27,7 +21,4 @@ this._data = value;

}
/**
* @return {?}
*/
ngOnInit() {
let /** @type {?} */ optionsBefore = this.options;
let optionsBefore = this.options;
if (!this.optionsChanged && this.editor) {

@@ -37,6 +28,8 @@ optionsBefore = this.editor.options;

// document.getElementById('embedded-Gantt')
const /** @type {?} */ g = this.editor = new (/** @type {?} */ (JSGantt)).GanttChart(this.ganttEditorContainer.nativeElement, this.format);
const g = this.editor = new JSGantt.GanttChart(this.ganttEditorContainer.nativeElement, this.format);
if (g.getDivId() != null) {
// JSGantt.parseJSON('./fixes/data.json', g);
g.setOptions(Object.assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000, vFormatArr: this.formats.slice(1), vEvents: {
g.setOptions(Object.assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000,
// Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
vFormatArr: this.formats.slice(1), vEvents: {
afterDraw: () => console.log('angular: before after listener')

@@ -53,6 +46,5 @@ } }));

}
/**
* @param {?} newOptions
* @return {?}
*/
// public get(): JSON {
// return this.editor.get();
// }
setOptions(newOptions) {

@@ -66,43 +58,37 @@ if (this.editor) {

}
/**
* @return {?}
*/
destroy() {
// this.editor.destroy();
}
}
GanttEditorComponent.decorators = [
{ type: Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
},] },
];
/** @nocollapse */
GanttEditorComponent.ctorParameters = () => [];
GanttEditorComponent.propDecorators = {
ganttEditorContainer: [{ type: ViewChild, args: ['ganttEditorContainer',] }],
options: [{ type: Input }],
format: [{ type: Input }],
data: [{ type: Input, args: ['data',] }]
};
function GanttEditorComponent_tsickle_Closure_declarations() {
/** @type {?} */
GanttEditorComponent.prototype.editor;
/** @type {?} */
GanttEditorComponent.prototype.id;
/** @type {?} */
GanttEditorComponent.prototype.optionsChanged;
/** @type {?} */
GanttEditorComponent.prototype.formats;
/** @type {?} */
GanttEditorComponent.prototype.ganttEditorContainer;
/** @type {?} */
GanttEditorComponent.prototype._data;
/** @type {?} */
GanttEditorComponent.prototype.options;
/** @type {?} */
GanttEditorComponent.prototype.format;
}
tslib_1.__decorate([
ViewChild('ganttEditorContainer', { static: true }),
tslib_1.__metadata("design:type", ElementRef)
], GanttEditorComponent.prototype, "ganttEditorContainer", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", GanttEditorOptions)
], GanttEditorComponent.prototype, "options", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], GanttEditorComponent.prototype, "format", void 0);
tslib_1.__decorate([
Input('data'),
tslib_1.__metadata("design:type", Object),
tslib_1.__metadata("design:paramtypes", [Object])
], GanttEditorComponent.prototype, "data", null);
GanttEditorComponent = tslib_1.__decorate([
Component({
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
}),
tslib_1.__metadata("design:paramtypes", [])
], GanttEditorComponent);
export { GanttEditorComponent };
export class GanttEditorOptions {
// public onEditable: (node: GanttEditorTreeNode | {}) => boolean | { field: boolean, value: boolean };
// public theme: Number;
// public language: String;
// public languages: Object;
constructor() {

@@ -114,3 +100,2 @@ // this.escapeUnicode = false;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FudHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctZ2FudHQvIiwic291cmNlcyI6WyJnYW50dC9nYW50dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBVSxTQUFTLEVBQ2hELE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sS0FBSyxPQUFPLE1BQU0sa0JBQWtCLENBQUM7QUFPNUMsTUFBTSxPQUFPLG9CQUFvQjtJQXFCL0I7a0JBbkJZLGdCQUFnQixHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLE9BQU8sQ0FBQzs4QkFDMUMsS0FBSzt1QkFDWixDQUFDLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxTQUFTLENBQUM7UUFNNUQsZUFBdUMsSUFBSSxrQkFBa0IsRUFBRSxDQUFDO1FBQ2hFLGNBQWtCLE1BQU0sQ0FBQztLQVl4Qjs7Ozs7SUFYRCxJQUNJLElBQUksQ0FBQyxLQUFhO1FBQ3BCLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDO1FBQ25CLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRTtZQUNmLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQztZQUNmLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztTQUNqQjtLQUNGOzs7O0lBTUQsUUFBUTtRQUNOLHFCQUFJLGFBQWEsR0FBRyxJQUFJLENBQUMsT0FBTy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ufVxuIl19

@@ -1,33 +0,28 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
var NgGanttEditorModule_1;
import * as tslib_1 from "tslib";
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { GanttEditorComponent } from './gantt/gantt.component';
export class NgGanttEditorModule {
/**
* @return {?}
*/
let NgGanttEditorModule = NgGanttEditorModule_1 = class NgGanttEditorModule {
static forRoot() {
return {
ngModule: NgGanttEditorModule,
ngModule: NgGanttEditorModule_1,
providers: []
};
}
}
NgGanttEditorModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
},] },
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGliLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsibGliLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBYS9ELE1BQU0sT0FBTyxtQkFBbUI7Ozs7SUFFdkIsTUFBTSxDQUFDLE9BQU87UUFFbkIsT0FBTztZQUNMLFFBQVEsRUFBRSxtQkFBbUI7WUFDN0IsU0FBUyxFQUFFLEVBQ1Y7U0FDRixDQUFDOzs7O1lBbkJMLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUU7b0JBQ1AsWUFBWTtpQkFDYjtnQkFDRCxZQUFZLEVBQUU7b0JBQ1osb0JBQW9CO2lCQUNyQjtnQkFDRCxPQUFPLEVBQUU7b0JBQ1Asb0JBQW9CO2lCQUNyQjthQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUsIE1vZHVsZVdpdGhQcm92aWRlcnMgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBHYW50dEVkaXRvckNvbXBvbmVudCB9IGZyb20gJy4vZ2FudHQvZ2FudHQuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBHYW50dEVkaXRvckNvbXBvbmVudFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgR2FudHRFZGl0b3JDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBOZ0dhbnR0RWRpdG9yTW9kdWxlIHtcblxuICBwdWJsaWMgc3RhdGljIGZvclJvb3QoKTogTW9kdWxlV2l0aFByb3ZpZGVycyB7XG5cbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IE5nR2FudHRFZGl0b3JNb2R1bGUsXG4gICAgICBwcm92aWRlcnM6IFtcbiAgICAgIF1cbiAgICB9O1xuICB9XG59XG4iXX0=
};
NgGanttEditorModule = NgGanttEditorModule_1 = tslib_1.__decorate([
NgModule({
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
})
], NgGanttEditorModule);
export { NgGanttEditorModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGliLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsibGliLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXVCLE1BQU0sZUFBZSxDQUFDO0FBQzlELE9BQ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YyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xuXG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBOZ0dhbnR0RWRpdG9yTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICBdXG4gICAgfTtcbiAgfVxufVxuIl19
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Generated bundle index. Do not edit.
*/
export { NgGanttEditorModule, GanttEditorComponent, GanttEditorOptions } from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1nYW50dC8iLCJzb3VyY2VzIjpbIm5nLWdhbnR0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSw4RUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
export * from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1nYW50dC8iLCJzb3VyY2VzIjpbIm5nLWdhbnR0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=

@@ -1,8 +0,3 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
export { NgGanttEditorModule } from './lib.module';
export { GanttEditorComponent, GanttEditorOptions } from './gantt/gantt.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsb0NBQWMsY0FBYyxDQUFDO0FBQzdCLHlEQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZ2FudHQvZ2FudHQuY29tcG9uZW50JztcbiJdfQ==
export * from './lib.module';
export * from './gantt/gantt.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZ2FudHQvZ2FudHQuY29tcG9uZW50JztcbiJdfQ==

@@ -1,7 +0,4 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import * as tslib_1 from "tslib";
import { Component, ElementRef, Input, ViewChild } from '@angular/core';
// import { JSGantt } from 'jsgantt-improved';
import * as JSGantt from 'jsgantt-improved';

@@ -17,7 +14,3 @@ var GanttEditorComponent = /** @class */ (function () {

Object.defineProperty(GanttEditorComponent.prototype, "data", {
set: /**
* @param {?} value
* @return {?}
*/
function (value) {
set: function (value) {
this._data = value;

@@ -32,10 +25,4 @@ if (this.editor) {

});
/**
* @return {?}
*/
GanttEditorComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
var /** @type {?} */ optionsBefore = this.options;
GanttEditorComponent.prototype.ngOnInit = function () {
var optionsBefore = this.options;
if (!this.optionsChanged && this.editor) {

@@ -45,6 +32,8 @@ optionsBefore = this.editor.options;

// document.getElementById('embedded-Gantt')
var /** @type {?} */ g = this.editor = new (/** @type {?} */ (JSGantt)).GanttChart(this.ganttEditorContainer.nativeElement, this.format);
var g = this.editor = new JSGantt.GanttChart(this.ganttEditorContainer.nativeElement, this.format);
if (g.getDivId() != null) {
// JSGantt.parseJSON('./fixes/data.json', g);
g.setOptions(tslib_1.__assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000, vFormatArr: this.formats.slice(1), vEvents: {
g.setOptions(tslib_1.__assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000,
// Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
vFormatArr: this.formats.slice(1), vEvents: {
afterDraw: function () { return console.log('angular: before after listener'); }

@@ -61,11 +50,6 @@ } }));

};
/**
* @param {?} newOptions
* @return {?}
*/
GanttEditorComponent.prototype.setOptions = /**
* @param {?} newOptions
* @return {?}
*/
function (newOptions) {
// public get(): JSON {
// return this.editor.get();
// }
GanttEditorComponent.prototype.setOptions = function (newOptions) {
if (this.editor) {

@@ -78,47 +62,33 @@ this.destroy();

};
/**
* @return {?}
*/
GanttEditorComponent.prototype.destroy = /**
* @return {?}
*/
function () {
GanttEditorComponent.prototype.destroy = function () {
// this.editor.destroy();
};
GanttEditorComponent.decorators = [
{ type: Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
},] },
];
/** @nocollapse */
GanttEditorComponent.ctorParameters = function () { return []; };
GanttEditorComponent.propDecorators = {
ganttEditorContainer: [{ type: ViewChild, args: ['ganttEditorContainer',] }],
options: [{ type: Input }],
format: [{ type: Input }],
data: [{ type: Input, args: ['data',] }]
};
tslib_1.__decorate([
ViewChild('ganttEditorContainer', { static: true }),
tslib_1.__metadata("design:type", ElementRef)
], GanttEditorComponent.prototype, "ganttEditorContainer", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", GanttEditorOptions)
], GanttEditorComponent.prototype, "options", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], GanttEditorComponent.prototype, "format", void 0);
tslib_1.__decorate([
Input('data'),
tslib_1.__metadata("design:type", Object),
tslib_1.__metadata("design:paramtypes", [Object])
], GanttEditorComponent.prototype, "data", null);
GanttEditorComponent = tslib_1.__decorate([
Component({
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
}),
tslib_1.__metadata("design:paramtypes", [])
], GanttEditorComponent);
return GanttEditorComponent;
}());
export { GanttEditorComponent };
function GanttEditorComponent_tsickle_Closure_declarations() {
/** @type {?} */
GanttEditorComponent.prototype.editor;
/** @type {?} */
GanttEditorComponent.prototype.id;
/** @type {?} */
GanttEditorComponent.prototype.optionsChanged;
/** @type {?} */
GanttEditorComponent.prototype.formats;
/** @type {?} */
GanttEditorComponent.prototype.ganttEditorContainer;
/** @type {?} */
GanttEditorComponent.prototype._data;
/** @type {?} */
GanttEditorComponent.prototype.options;
/** @type {?} */
GanttEditorComponent.prototype.format;
}
var GanttEditorOptions = /** @class */ (function () {

@@ -137,3 +107,2 @@ // public onEditable: (node: GanttEditorTreeNode | {}) => boolean | { field: boolean, value: boolean };

export { GanttEditorOptions };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FudHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctZ2FudHQvIiwic291cmNlcyI6WyJnYW50dC9nYW50dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQVUsU0FBUyxFQUNoRCxNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEtBQUssT0FBTyxNQUFNLGtCQUFrQixDQUFDOztJQTRCMUM7a0JBbkJZLGdCQUFnQixHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLE9BQU8sQ0FBQzs4QkFDMUMsS0FBSzt1QkFDWixDQUFDLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxTQUFTLENBQUM7UUFNNUQsZUFBdUMsSUFBSSxrQkFBa0IsRUFBRSxDQUFDO1FBQ2hFLGNBQWtCLE1BQU0sQ0FBQztLQVl4QjtJQVhELHNCQUNJLHNDQUFJOzs7OztRQURSLFVBQ1MsS0FBYTtZQUNwQixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztZQUNuQixJQUFJLElBQUksQ0FBQyxNQUFNLEVBQUU7Z0JBQ2YsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDO2dCQUNmLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQzthQUNqQjtTQUNGOzs7T0FBQTs7OztJQU1ELHVDQUFROzs7SUFBUjtRQUNFLHFCQUFJLGFBQWEsR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDO1FBQ2pDLElBQUksQ0FBQyxJQUFJLENBQUMsY0FBYyxJQUFJLElBQ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B7XG4gICAgLy8gdGhpcy5lc2NhcGVVbmljb2RlID0gZmFsc2U7XG4gICAgLy8gdGhpcy5zb3J0T2JqZWN0S2V5cyA9IGZhbHNlO1xuICAgIC8vIHRoaXMuaGlzdG9yeSA9IHRydWU7XG4gIH1cblxufVxuIl19

@@ -1,5 +0,2 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import * as tslib_1 from "tslib";
import { NgModule } from '@angular/core';

@@ -11,31 +8,26 @@ import { CommonModule } from '@angular/common';

}
/**
* @return {?}
*/
NgGanttEditorModule.forRoot = /**
* @return {?}
*/
function () {
NgGanttEditorModule_1 = NgGanttEditorModule;
NgGanttEditorModule.forRoot = function () {
return {
ngModule: NgGanttEditorModule,
ngModule: NgGanttEditorModule_1,
providers: []
};
};
NgGanttEditorModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
},] },
];
var NgGanttEditorModule_1;
NgGanttEditorModule = NgGanttEditorModule_1 = tslib_1.__decorate([
NgModule({
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
})
], NgGanttEditorModule);
return NgGanttEditorModule;
}());
export { NgGanttEditorModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGliLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsibGliLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDOzs7Ozs7O0lBZS9DLDJCQUFPOzs7O1FBRW5C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YXRpb25zOiBbXG4gICAgR2FudHRFZGl0b3JDb21wb25lbnRcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEdhbnR0RWRpdG9yQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgTmdHYW50dEVkaXRvck1vZHVsZSB7XG5cbiAgcHVibGljIHN0YXRpYyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xuXG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBOZ0dhbnR0RWRpdG9yTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICBdXG4gICAgfTtcbiAgfVxufVxuIl19
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Generated bundle index. Do not edit.
*/
export { NgGanttEditorModule, GanttEditorComponent, GanttEditorOptions } from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1nYW50dC8iLCJzb3VyY2VzIjpbIm5nLWdhbnR0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSw4RUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
export * from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1nYW50dC8iLCJzb3VyY2VzIjpbIm5nLWdhbnR0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=

@@ -1,8 +0,3 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
export { NgGanttEditorModule } from './lib.module';
export { GanttEditorComponent, GanttEditorOptions } from './gantt/gantt.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsb0NBQWMsY0FBYyxDQUFDO0FBQzdCLHlEQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZ2FudHQvZ2FudHQuY29tcG9uZW50JztcbiJdfQ==
export * from './lib.module';
export * from './gantt/gantt.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWdhbnR0LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZ2FudHQvZ2FudHQuY29tcG9uZW50JztcbiJdfQ==

@@ -1,10 +0,7 @@

import { Component, Input, ViewChild, NgModule } from '@angular/core';
import { __decorate, __metadata } from 'tslib';
import { ViewChild, ElementRef, Input, Component, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { GanttChart } from 'jsgantt-improved';
import { CommonModule } from '@angular/common';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
class GanttEditorComponent {
let GanttEditorComponent = class GanttEditorComponent {
constructor() {

@@ -17,6 +14,2 @@ this.id = 'anggantteditor' + Math.floor(Math.random() * 1000000);

}
/**
* @param {?} value
* @return {?}
*/
set data(value) {

@@ -29,7 +22,4 @@ this._data = value;

}
/**
* @return {?}
*/
ngOnInit() {
let /** @type {?} */ optionsBefore = this.options;
let optionsBefore = this.options;
if (!this.optionsChanged && this.editor) {

@@ -39,6 +29,8 @@ optionsBefore = this.editor.options;

// document.getElementById('embedded-Gantt')
const /** @type {?} */ g = this.editor = new GanttChart(this.ganttEditorContainer.nativeElement, this.format);
const g = this.editor = new GanttChart(this.ganttEditorContainer.nativeElement, this.format);
if (g.getDivId() != null) {
// JSGantt.parseJSON('./fixes/data.json', g);
g.setOptions(Object.assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000, vFormatArr: this.formats.slice(1), vEvents: {
g.setOptions(Object.assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000,
// Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
vFormatArr: this.formats.slice(1), vEvents: {
afterDraw: () => console.log('angular: before after listener')

@@ -55,6 +47,5 @@ } }));

}
/**
* @param {?} newOptions
* @return {?}
*/
// public get(): JSON {
// return this.editor.get();
// }
setOptions(newOptions) {

@@ -68,25 +59,36 @@ if (this.editor) {

}
/**
* @return {?}
*/
destroy() {
// this.editor.destroy();
}
}
GanttEditorComponent.decorators = [
{ type: Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
},] },
];
/** @nocollapse */
GanttEditorComponent.ctorParameters = () => [];
GanttEditorComponent.propDecorators = {
ganttEditorContainer: [{ type: ViewChild, args: ['ganttEditorContainer',] }],
options: [{ type: Input }],
format: [{ type: Input }],
data: [{ type: Input, args: ['data',] }]
};
__decorate([
ViewChild('ganttEditorContainer', { static: true }),
__metadata("design:type", ElementRef)
], GanttEditorComponent.prototype, "ganttEditorContainer", void 0);
__decorate([
Input(),
__metadata("design:type", GanttEditorOptions)
], GanttEditorComponent.prototype, "options", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], GanttEditorComponent.prototype, "format", void 0);
__decorate([
Input('data'),
__metadata("design:type", Object),
__metadata("design:paramtypes", [Object])
], GanttEditorComponent.prototype, "data", null);
GanttEditorComponent = __decorate([
Component({
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
}),
__metadata("design:paramtypes", [])
], GanttEditorComponent);
class GanttEditorOptions {
// public onEditable: (node: GanttEditorTreeNode | {}) => boolean | { field: boolean, value: boolean };
// public theme: Number;
// public language: String;
// public languages: Object;
constructor() {

@@ -99,43 +101,26 @@ // this.escapeUnicode = false;

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
class NgGanttEditorModule {
/**
* @return {?}
*/
var NgGanttEditorModule_1;
let NgGanttEditorModule = NgGanttEditorModule_1 = class NgGanttEditorModule {
static forRoot() {
return {
ngModule: NgGanttEditorModule,
ngModule: NgGanttEditorModule_1,
providers: []
};
}
}
NgGanttEditorModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
},] },
];
};
NgGanttEditorModule = NgGanttEditorModule_1 = __decorate([
NgModule({
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
})
], NgGanttEditorModule);
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
export { NgGanttEditorModule, GanttEditorComponent, GanttEditorOptions };
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQuanMubWFwIiwic291cmNlcyI6WyJuZzovL25nLWdhbnR0L2dhbnR0L2dhbnR0LmNvbXBvbmVudC50cyIsIm5nOi8vbmctZ2FudHQvbGliLm1vZHVsZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBDb21wb25lbnQsIEVsZW1lbnRSZWYsIElucHV0LCBPbkluaXQsIFZpZXdDaGlsZFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbi8vIGltcG9ydCB7IEpTR2FudHQgfSBmcm9tICdqc2dhbnR0LWltcHJvdmVkJztcbmltcG9ydCAqIGFzIEpTR2FudHQgZnJvbSAnanNnYW50dC1pbXByb3ZlZCc7XG5cbkBDb21wb25lbnQoe1xuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6Y29tcG9uZW50LXNlbGVjdG9yXG4gIHNlbGVjdG9yOiAnbmctZ2FudHQnLFxuICB0ZW1wbGF0ZTogJzxkaXYgW2lkXT1cImlkXCIgI2dhbnR0RWRpdG9yQ29udGFpbmVyPjwvZGl2Pidcbn0pXG5leHBvcnQgY2xhc3MgR2FudHRFZGl0b3JDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuICBwcml2YXRlIGVkaXRvcjogYW55O1xuICBwdWJsaWMgaWQgPSAnYW5nZ2FudHRlZGl0b3InICsgTWF0aC5mbG9vcihNYXRoLnJhbmRvbSgpICogMTAwMDAwMCk7XG4gIHB1YmxpYy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BQU8sR0FBRyxVQUFVLENBQUM7UUFDMUIsSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFDOzs7OztJQUdYLE9BQU87Ozs7O1lBbEZmLFNBQVMsU0FBQzs7Z0JBRVQsUUFBUSxFQUFFLFVBQVU7Z0JBQ3BCLFFBQVEsRUFBRSw2Q0FBNkM7YUFDeEQ7Ozs7O21DQU9FLFNBQVMsU0FBQyxzQkFBc0I7c0JBSWhDLEtBQUs7cUJBQ0wsS0FBSzttQkFDTCxLQUFLLFNBQUMsTUFBTTs7TUF1RUYsa0JBQWtCO0lBTzdCOzs7O0tBSUM7Q0FFRjs7Ozs7O0FDM0dELE1BZWEsbUJBQW1COzs7O0lBRXZCLE9BQU8sT0FBTztRQUVuQixPQUFPO1lBQ0wsUUFBUSxFQUFFLG1CQUFtQjtZQUM3QixTQUFTLEVBQUUsRUFDVjtTQUNGLENBQUM7Ozs7WUFuQkwsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRTtvQkFDUCxZQUFZO2lCQUNiO2dCQUNELFlBQVksRUFBRTtvQkFDWixvQkFBb0I7aUJBQ3JCO2dCQUNELE9BQU8sRUFBRTtvQkFDUCxvQkFBb0I7aUJBQ3JCO2FBQ0Y7Ozs7Ozs7Ozs7Ozs7OzsifQ==
export { GanttEditorComponent, GanttEditorOptions, NgGanttEditorModule };
//# sourceMappingURL=ng-gantt.js.map

@@ -1,10 +0,6 @@

import { __assign } from 'tslib';
import { Component, Input, ViewChild, NgModule } from '@angular/core';
import { __assign, __decorate, __metadata } from 'tslib';
import { ViewChild, ElementRef, Input, Component, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { GanttChart } from 'jsgantt-improved';
import { CommonModule } from '@angular/common';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
var GanttEditorComponent = /** @class */ (function () {

@@ -19,7 +15,3 @@ function GanttEditorComponent() {

Object.defineProperty(GanttEditorComponent.prototype, "data", {
set: /**
* @param {?} value
* @return {?}
*/
function (value) {
set: function (value) {
this._data = value;

@@ -34,10 +26,4 @@ if (this.editor) {

});
/**
* @return {?}
*/
GanttEditorComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
var /** @type {?} */ optionsBefore = this.options;
GanttEditorComponent.prototype.ngOnInit = function () {
var optionsBefore = this.options;
if (!this.optionsChanged && this.editor) {

@@ -47,6 +33,8 @@ optionsBefore = this.editor.options;

// document.getElementById('embedded-Gantt')
var /** @type {?} */ g = this.editor = new GanttChart(this.ganttEditorContainer.nativeElement, this.format);
var g = this.editor = new GanttChart(this.ganttEditorContainer.nativeElement, this.format);
if (g.getDivId() != null) {
// JSGantt.parseJSON('./fixes/data.json', g);
g.setOptions(__assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000, vFormatArr: this.formats.slice(1), vEvents: {
g.setOptions(__assign({}, optionsBefore, { vCaptionType: 'Complete', vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', vWeekMinorDateDisplayFormat: 'dd mon', vShowTaskInfoLink: 1, vShowEndWeekDate: 0, vUseSingleCell: 10000,
// Even with setUseSingleCell using Hour format on such a large chart can cause issues in some browsers
vFormatArr: this.formats.slice(1), vEvents: {
afterDraw: function () { return console.log('angular: before after listener'); }

@@ -63,11 +51,6 @@ } }));

};
/**
* @param {?} newOptions
* @return {?}
*/
GanttEditorComponent.prototype.setOptions = /**
* @param {?} newOptions
* @return {?}
*/
function (newOptions) {
// public get(): JSON {
// return this.editor.get();
// }
GanttEditorComponent.prototype.setOptions = function (newOptions) {
if (this.editor) {

@@ -80,26 +63,30 @@ this.destroy();

};
/**
* @return {?}
*/
GanttEditorComponent.prototype.destroy = /**
* @return {?}
*/
function () {
GanttEditorComponent.prototype.destroy = function () {
// this.editor.destroy();
};
GanttEditorComponent.decorators = [
{ type: Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
},] },
];
/** @nocollapse */
GanttEditorComponent.ctorParameters = function () { return []; };
GanttEditorComponent.propDecorators = {
ganttEditorContainer: [{ type: ViewChild, args: ['ganttEditorContainer',] }],
options: [{ type: Input }],
format: [{ type: Input }],
data: [{ type: Input, args: ['data',] }]
};
__decorate([
ViewChild('ganttEditorContainer', { static: true }),
__metadata("design:type", ElementRef)
], GanttEditorComponent.prototype, "ganttEditorContainer", void 0);
__decorate([
Input(),
__metadata("design:type", GanttEditorOptions)
], GanttEditorComponent.prototype, "options", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], GanttEditorComponent.prototype, "format", void 0);
__decorate([
Input('data'),
__metadata("design:type", Object),
__metadata("design:paramtypes", [Object])
], GanttEditorComponent.prototype, "data", null);
GanttEditorComponent = __decorate([
Component({
// tslint:disable-next-line:component-selector
selector: 'ng-gantt',
template: '<div [id]="id" #ganttEditorContainer></div>'
}),
__metadata("design:paramtypes", [])
], GanttEditorComponent);
return GanttEditorComponent;

@@ -120,49 +107,30 @@ }());

/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
var NgGanttEditorModule = /** @class */ (function () {
function NgGanttEditorModule() {
}
/**
* @return {?}
*/
NgGanttEditorModule.forRoot = /**
* @return {?}
*/
function () {
NgGanttEditorModule_1 = NgGanttEditorModule;
NgGanttEditorModule.forRoot = function () {
return {
ngModule: NgGanttEditorModule,
ngModule: NgGanttEditorModule_1,
providers: []
};
};
NgGanttEditorModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
},] },
];
var NgGanttEditorModule_1;
NgGanttEditorModule = NgGanttEditorModule_1 = __decorate([
NgModule({
imports: [
CommonModule
],
declarations: [
GanttEditorComponent
],
exports: [
GanttEditorComponent
]
})
], NgGanttEditorModule);
return NgGanttEditorModule;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
export { NgGanttEditorModule, GanttEditorComponent, GanttEditorOptions };
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZ2FudHQuanMubWFwIiwic291cmNlcyI6WyJuZzovL25nLWdhbnR0L2dhbnR0L2dhbnR0LmNvbXBvbmVudC50cyIsIm5nOi8vbmctZ2FudHQvbGliLm1vZHVsZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBDb21wb25lbnQsIEVsZW1lbnRSZWYsIElucHV0LCBPbkluaXQsIFZpZXdDaGlsZFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbi8vIGltcG9ydCB7IEpTR2FudHQgfSBmcm9tICdqc2dhbnR0LWltcHJvdmVkJztcbmltcG9ydCAqIGFzIEpTR2FudHQgZnJvbSAnanNnYW50dC1pbXByb3ZlZCc7XG5cbkBDb21wb25lbnQoe1xuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6Y29tcG9uZW50LXNlbGVjdG9yXG4gIHNlbGVjdG9yOiAnbmctZ2FudHQnLFxuICB0ZW1wbGF0ZTogJzxkaXYgW2lkXT1cImlkXCIgI2dhbnR0RWRpdG9yQ29udGFpbmVyPjwvZGl2Pidcbn0pXG5leHBvcnQgY2xhc3MgR2FudHRFZGl0b3JDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuICBwcml2YXRlIGVkaXRvcjogYW55O1xuICBwdWJsaWMgaWQgPSAnYW5nZ2FudHRlZGl0b3InICsgTWF0aC5mbG9vcihNYXRoLnJhbmRvbSgpICogMTAwMDAwMCk7XG4gIHB1YmxpYyBvcHRpb25zQ2hhbmdlZCA9IGZhbHNlO1xu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UFHLFVBQVUsQ0FBQztRQUMxQixJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7Ozs7O0lBR1gsc0NBQU87Ozs7Ozs7Z0JBbEZmLFNBQVMsU0FBQzs7b0JBRVQsUUFBUSxFQUFFLFVBQVU7b0JBQ3BCLFFBQVEsRUFBRSw2Q0FBNkM7aUJBQ3hEOzs7Ozt1Q0FPRSxTQUFTLFNBQUMsc0JBQXNCOzBCQUloQyxLQUFLO3lCQUNMLEtBQUs7dUJBQ0wsS0FBSyxTQUFDLE1BQU07OytCQXZCZjs7SUE4RkE7Ozs7O0lBT0U7Ozs7S0FJQzs2QkF6R0g7SUEyR0M7Ozs7OztBQzNHRDs7Ozs7O0lBaUJnQiwyQkFBTzs7OztRQUVuQixPQUFPO1lBQ0wsUUFBUSxFQUFFLG1CQUFtQjtZQUM3QixTQUFTLEVBQUUsRUFDVjtTQUNGLENBQUM7OztnQkFuQkwsUUFBUSxTQUFDO29CQUNSLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3FCQUNiO29CQUNELFlBQVksRUFBRTt3QkFDWixvQkFBb0I7cUJBQ3JCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxvQkFBb0I7cUJBQ3JCO2lCQUNGOzs4QkFkRDs7Ozs7Ozs7Ozs7Ozs7OyJ9
export { GanttEditorComponent, GanttEditorOptions, NgGanttEditorModule };
//# sourceMappingURL=ng-gantt.js.map

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgGanttEditorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","name":"GanttEditorComponent"}],"exports":[{"__symbolic":"reference","name":"GanttEditorComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgGanttEditorModule"},"providers":[]}}}},"GanttEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"ng-gantt","template":"<div [id]=\"id\" #ganttEditorContainer></div>"}]}],"members":{"ganttEditorContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":17,"character":3},"arguments":["ganttEditorContainer"]}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3},"arguments":["data"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setOptions":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"GanttEditorOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}]}}},"origins":{"NgGanttEditorModule":"./lib.module","GanttEditorComponent":"./gantt/gantt.component","GanttEditorOptions":"./gantt/gantt.component"},"importAs":"ng-gantt"}
{"__symbolic":"module","version":4,"metadata":{"NgGanttEditorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","name":"GanttEditorComponent"}],"exports":[{"__symbolic":"reference","name":"GanttEditorComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgGanttEditorModule"},"providers":[]}}}},"GanttEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"ng-gantt","template":"<div [id]=\"id\" #ganttEditorContainer></div>"}]}],"members":{"ganttEditorContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":17,"character":3},"arguments":["ganttEditorContainer",{"static":true}]}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3},"arguments":["data"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setOptions":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"GanttEditorOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}]}}},"origins":{"NgGanttEditorModule":"./lib.module","GanttEditorComponent":"./gantt/gantt.component","GanttEditorOptions":"./gantt/gantt.component"},"importAs":"ng-gantt"}
{
"name": "ng-gantt",
"version": "2.4.0",
"version": "2.4.1",
"license": "MIT",

@@ -19,4 +19,4 @@ "homepage": "https://github.com/jsGanttImproved/ng-gantt",

"peerDependencies": {
"@angular/core": ">=6.0.0-rc.5",
"@angular/common": ">=6.0.0-rc.5",
"@angular/core": ">=8.0.0",
"@angular/common": ">=8.0.0",
"jsgantt-improved": "^2.4.1"

@@ -23,0 +23,0 @@ },

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