angular-gantt-chart
Version:
This library can be used in Angular 2 application for creating responsive gantt chart. The chart component consists of inline SVG. The component accepts input data from child component using input decorator of Angular 2.
45 lines • 1.8 kB
JavaScript
;
var __decorate = (this && this.__decorate) || function (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 __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var common_1 = require("@angular/common");
var gantt_chart_component_1 = require("./src/gantt-chart.component");
var truncate_pipe_1 = require("./src/truncate.pipe");
__export(require("./src/gantt-chart.component"));
__export(require("./src/truncate.pipe"));
var GanttChart = GanttChart_1 = (function () {
function GanttChart() {
}
GanttChart.forRoot = function () {
return {
ngModule: GanttChart_1,
};
};
return GanttChart;
}());
GanttChart = GanttChart_1 = __decorate([
core_1.NgModule({
imports: [
common_1.CommonModule
],
declarations: [
gantt_chart_component_1.GanttChartComponent,
truncate_pipe_1.TruncatePipe
],
exports: [
gantt_chart_component_1.GanttChartComponent,
truncate_pipe_1.TruncatePipe
]
})
], GanttChart);
exports.GanttChart = GanttChart;
var GanttChart_1;
//# sourceMappingURL=index.js.map