@worktile/gantt 12.2.0 → 12.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/worktile-gantt.umd.js +128 -180
- package/bundles/worktile-gantt.umd.js.map +1 -1
- package/class/link.d.ts +7 -2
- package/components/links/links.component.d.ts +1 -1
- package/esm2015/class/link.js +1 -1
- package/esm2015/components/bar/bar-drag.js +3 -3
- package/esm2015/components/bar/bar.component.js +3 -3
- package/esm2015/components/calendar/calendar.component.js +3 -3
- package/esm2015/components/drag-backdrop/drag-backdrop.component.js +3 -3
- package/esm2015/components/icon/icon.component.js +3 -3
- package/esm2015/components/links/links.component.js +27 -13
- package/esm2015/components/main/gantt-main.component.js +3 -3
- package/esm2015/components/range/range.component.js +3 -3
- package/esm2015/components/table/gantt-table.component.js +3 -3
- package/esm2015/gantt-dom.service.js +3 -3
- package/esm2015/gantt-drag-container.js +3 -3
- package/esm2015/gantt-item-upper.js +3 -3
- package/esm2015/gantt-print.service.js +3 -3
- package/esm2015/gantt-upper.js +3 -3
- package/esm2015/gantt.component.js +3 -3
- package/esm2015/gantt.module.js +4 -4
- package/esm2015/gantt.pipe.js +9 -9
- package/esm2015/root.component.js +3 -3
- package/esm2015/table/gantt-column.component.js +3 -3
- package/esm2015/table/gantt-table.component.js +3 -3
- package/fesm2015/worktile-gantt.js +90 -76
- package/fesm2015/worktile-gantt.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rxjs/operators'), require('rxjs'), require('date-fns'), require('@angular/cdk/collections'), require('@angular/cdk/coercion'), require('@angular/cdk/drag-drop'), require('html2canvas')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@worktile/gantt', ['exports', '@angular/core', '@angular/common', 'rxjs/operators', 'rxjs', 'date-fns', '@angular/cdk/collections', '@angular/cdk/coercion', '@angular/cdk/drag-drop', 'html2canvas'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.worktile = global.worktile || {}, global.worktile.gantt = {}), global.ng.core, global.ng.common, global.rxjs.operators, global.rxjs, global.dateFns, global.ng.cdk.collections, global.ng.cdk.coercion, global.ng.cdk.dragDrop, global.html2canvas));
|
|
5
|
-
}(this, (function (exports, i0, i2, operators, rxjs, dateFns, collections, coercion, i1, html2canvas) { 'use strict';
|
|
5
|
+
})(this, (function (exports, i0, i2, operators, rxjs, dateFns, collections, coercion, i1, html2canvas) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -15,14 +15,12 @@
|
|
|
15
15
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
16
|
Object.defineProperty(n, k, d.get ? d : {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return e[k];
|
|
20
|
-
}
|
|
18
|
+
get: function () { return e[k]; }
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
n[
|
|
23
|
+
n["default"] = e;
|
|
26
24
|
return Object.freeze(n);
|
|
27
25
|
}
|
|
28
26
|
|
|
@@ -266,7 +264,7 @@
|
|
|
266
264
|
ar[i] = from[i];
|
|
267
265
|
}
|
|
268
266
|
}
|
|
269
|
-
return to.concat(ar || from);
|
|
267
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
270
268
|
}
|
|
271
269
|
function __await(v) {
|
|
272
270
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -1454,9 +1452,9 @@
|
|
|
1454
1452
|
};
|
|
1455
1453
|
return GanttUpper;
|
|
1456
1454
|
}());
|
|
1457
|
-
GanttUpper.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1458
|
-
GanttUpper.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.
|
|
1459
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1455
|
+
GanttUpper.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttUpper, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: GANTT_GLOBAL_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1456
|
+
GanttUpper.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.5", type: GanttUpper, inputs: { originItems: ["items", "originItems"], originGroups: ["groups", "originGroups"], viewType: "viewType", start: "start", end: "end", showTodayLine: "showTodayLine", draggable: "draggable", styles: "styles", viewOptions: "viewOptions", linkOptions: "linkOptions", disabledLoadOnScroll: "disabledLoadOnScroll", selectable: "selectable", multiple: "multiple" }, outputs: { loadOnScroll: "loadOnScroll", dragStarted: "dragStarted", dragMoved: "dragMoved", dragEnded: "dragEnded", barClick: "barClick" }, host: { properties: { "class.gantt": "this.ganttClass" } }, queries: [{ propertyName: "barTemplate", first: true, predicate: ["bar"], descendants: true, static: true }, { propertyName: "rangeTemplate", first: true, predicate: ["range"], descendants: true, static: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, static: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, static: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: ["groupHeader"], descendants: true, static: true }], ngImport: i0__namespace });
|
|
1457
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttUpper, decorators: [{
|
|
1460
1458
|
type: i0.Directive
|
|
1461
1459
|
}], ctorParameters: function () {
|
|
1462
1460
|
return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
|
|
@@ -1536,9 +1534,9 @@
|
|
|
1536
1534
|
NgxGanttTableColumnComponent.prototype.ngOnInit = function () { };
|
|
1537
1535
|
return NgxGanttTableColumnComponent;
|
|
1538
1536
|
}());
|
|
1539
|
-
NgxGanttTableColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1540
|
-
NgxGanttTableColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
1541
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1537
|
+
NgxGanttTableColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttTableColumnComponent, deps: [{ token: GANTT_UPPER_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1538
|
+
NgxGanttTableColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: NgxGanttTableColumnComponent, selector: "ngx-gantt-column", inputs: { width: "width", name: "name" }, queries: [{ propertyName: "templateRef", first: true, predicate: ["cell"], descendants: true, static: true }, { propertyName: "headerTemplateRef", first: true, predicate: ["header"], descendants: true, static: true }], ngImport: i0__namespace, template: '', isInline: true });
|
|
1539
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttTableColumnComponent, decorators: [{
|
|
1542
1540
|
type: i0.Component,
|
|
1543
1541
|
args: [{
|
|
1544
1542
|
selector: 'ngx-gantt-column',
|
|
@@ -1568,9 +1566,9 @@
|
|
|
1568
1566
|
NgxGanttTableComponent.prototype.ngOnInit = function () { };
|
|
1569
1567
|
return NgxGanttTableComponent;
|
|
1570
1568
|
}());
|
|
1571
|
-
NgxGanttTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1572
|
-
NgxGanttTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
1573
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1569
|
+
NgxGanttTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttTableComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1570
|
+
NgxGanttTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: NgxGanttTableComponent, selector: "ngx-gantt-table", outputs: { columnChanges: "columnChanges" }, queries: [{ propertyName: "rowBeforeTemplate", first: true, predicate: ["rowBeforeSlot"], descendants: true, static: true }, { propertyName: "rowAfterTemplate", first: true, predicate: ["rowAfterSlot"], descendants: true, static: true }], ngImport: i0__namespace, template: '', isInline: true });
|
|
1571
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttTableComponent, decorators: [{
|
|
1574
1572
|
type: i0.Component,
|
|
1575
1573
|
args: [{
|
|
1576
1574
|
selector: 'ngx-gantt-table',
|
|
@@ -1628,9 +1626,9 @@
|
|
|
1628
1626
|
};
|
|
1629
1627
|
return GanttIconComponent;
|
|
1630
1628
|
}());
|
|
1631
|
-
GanttIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1632
|
-
GanttIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
1633
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1629
|
+
GanttIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttIconComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1630
|
+
GanttIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: GanttIconComponent, selector: "gantt-icon", inputs: { iconName: "iconName" }, host: { properties: { "class.gantt-icon": "this.isIcon" } }, ngImport: i0__namespace, template: '', isInline: true });
|
|
1631
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttIconComponent, decorators: [{
|
|
1634
1632
|
type: i0.Component,
|
|
1635
1633
|
args: [{
|
|
1636
1634
|
selector: 'gantt-icon',
|
|
@@ -1651,9 +1649,9 @@
|
|
|
1651
1649
|
};
|
|
1652
1650
|
return IsGanttRangeItemPipe;
|
|
1653
1651
|
}());
|
|
1654
|
-
IsGanttRangeItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1655
|
-
IsGanttRangeItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.
|
|
1656
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1652
|
+
IsGanttRangeItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttRangeItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1653
|
+
IsGanttRangeItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttRangeItemPipe, name: "isGanttRangeItem" });
|
|
1654
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttRangeItemPipe, decorators: [{
|
|
1657
1655
|
type: i0.Pipe,
|
|
1658
1656
|
args: [{
|
|
1659
1657
|
name: 'isGanttRangeItem'
|
|
@@ -1667,9 +1665,9 @@
|
|
|
1667
1665
|
};
|
|
1668
1666
|
return IsGanttBarItemPipe;
|
|
1669
1667
|
}());
|
|
1670
|
-
IsGanttBarItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1671
|
-
IsGanttBarItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.
|
|
1672
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1668
|
+
IsGanttBarItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttBarItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1669
|
+
IsGanttBarItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttBarItemPipe, name: "isGanttBarItem" });
|
|
1670
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttBarItemPipe, decorators: [{
|
|
1673
1671
|
type: i0.Pipe,
|
|
1674
1672
|
args: [{
|
|
1675
1673
|
name: 'isGanttBarItem'
|
|
@@ -1683,9 +1681,9 @@
|
|
|
1683
1681
|
};
|
|
1684
1682
|
return IsGanttCustomItemPipe;
|
|
1685
1683
|
}());
|
|
1686
|
-
IsGanttCustomItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1687
|
-
IsGanttCustomItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.
|
|
1688
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1684
|
+
IsGanttCustomItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttCustomItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1685
|
+
IsGanttCustomItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttCustomItemPipe, name: "isGanttCustomItem" });
|
|
1686
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: IsGanttCustomItemPipe, decorators: [{
|
|
1689
1687
|
type: i0.Pipe,
|
|
1690
1688
|
args: [{
|
|
1691
1689
|
name: 'isGanttCustomItem'
|
|
@@ -1809,9 +1807,9 @@
|
|
|
1809
1807
|
};
|
|
1810
1808
|
return GanttTableComponent;
|
|
1811
1809
|
}());
|
|
1812
|
-
GanttTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1813
|
-
GanttTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
1814
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1810
|
+
GanttTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttTableComponent, deps: [{ token: GANTT_ABSTRACT_TOKEN }, { token: GANTT_UPPER_TOKEN }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1811
|
+
GanttTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: GanttTableComponent, selector: "gantt-table", inputs: { groups: "groups", items: "items", columns: "columns", groupTemplate: "groupTemplate", emptyTemplate: "emptyTemplate", rowBeforeTemplate: "rowBeforeTemplate", rowAfterTemplate: "rowAfterTemplate" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.gantt-table": "this.ganttTableClass", "class.gantt-table-empty": "this.ganttTableEmptyClass" } }, viewQueries: [{ propertyName: "draglineElementRef", first: true, predicate: ["dragLine"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"gantt-table-header gantt-table-row\">\n <div class=\"gantt-table-column\" *ngFor=\"let column of columnList; let i = index\" [style.width]=\"column.columnWidth\">\n <ng-container *ngIf=\"column.headerTemplateRef; else default\" [ngTemplateOutlet]=\"column.headerTemplateRef\"></ng-container>\n <ng-template #default>\n {{ column.name }}\n </ng-template>\n <div\n class=\"gantt-table-drag-trigger\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n cdkDragBoundary=\".gantt\"\n (cdkDragMoved)=\"dragMoved($event, column)\"\n (cdkDragStarted)=\"dragStarted($event)\"\n (cdkDragEnded)=\"columnDragEnded($event, column)\"\n ></div>\n </div>\n</div>\n<div class=\"gantt-table-body\">\n <ng-container *ngIf=\"!groups.length && !items.length\">\n <ng-container *ngIf=\"!emptyTemplate\">\n <gantt-icon class=\"empty-icon\" iconName=\"empty\"></gantt-icon>\n <div class=\"empty-text\">\u6CA1\u6709\u6570\u636E</div>\n </ng-container>\n <ng-template [ngTemplateOutlet]=\"emptyTemplate\"></ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"groups && groups.length > 0; else itemsTemplate\">\n <ng-container *ngFor=\"let group of groups; trackBy: trackBy\">\n <div class=\"gantt-table-group\" [ngClass]=\"group.class\">\n <div class=\"gantt-table-group-title\" [class.expanded]=\"group.expanded\" (click)=\"expandGroup(group)\">\n <gantt-icon class=\"expand-icon\" [iconName]=\"group.expanded ? 'angle-down' : 'angle-right'\"></gantt-icon>\n <ng-container *ngIf=\"groupTemplate; else default\">\n <ng-template\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: group.origin, group: group.origin }\"\n ></ng-template>\n </ng-container>\n <ng-template #default>\n <span class=\"group-title\">{{ group.title }}</span>\n </ng-template>\n </div>\n </div>\n\n <ng-container *ngIf=\"group.expanded\">\n <ng-template\n [ngTemplateOutlet]=\"ganttItems\"\n [ngTemplateOutletContext]=\"{ group: group, items: group.items, level: 0 }\"\n ></ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n</div>\n\n<div\n class=\"gantt-table-drag-trigger\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n cdkDragBoundary=\".gantt\"\n (cdkDragMoved)=\"dragMoved($event)\"\n (cdkDragStarted)=\"dragStarted($event)\"\n (cdkDragEnded)=\"tableDragEnded($event)\"\n></div>\n\n<div #dragLine class=\"gantt-table-drag-auxiliary-line\"></div>\n\n<ng-template #itemsTemplate>\n <ng-template [ngTemplateOutlet]=\"ganttItems\" [ngTemplateOutletContext]=\"{ items: items, level: 0 }\"></ng-template>\n</ng-template>\n\n<ng-template #ganttItems let-group=\"group\" let-items=\"items\" let-level=\"level\">\n <ng-container *ngFor=\"let item of items; trackBy: trackBy\">\n <div\n (click)=\"itemClick.emit({ event: $event, selectedValue: this.item.origin })\"\n class=\"gantt-table-item gantt-table-row\"\n [class.gantt-table-item-first-level-group]=\"level === 0 && (item.type | isGanttRangeItem)\"\n [class.gantt-table-item-with-group]=\"group\"\n [class.gantt-table-item-active]=\"ganttUpper.isSelected(item.id)\"\n [style.height.px]=\"gantt.styles.lineHeight\"\n [style.lineHeight.px]=\"gantt.styles.lineHeight\"\n >\n <ng-template\n [ngTemplateOutlet]=\"rowBeforeTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item.origin, item: item.origin }\"\n ></ng-template>\n <div class=\"gantt-table-column\" *ngFor=\"let column of columnList; let first = first\" [style.width]=\"column.columnWidth\">\n <div *ngIf=\"first\" class=\"gantt-expand-icon\" [style.marginLeft.px]=\"level * 20\">\n <ng-container *ngIf=\"level < gantt.maxLevel - 1 && item.expandable\">\n <gantt-icon\n *ngIf=\"!item.loading\"\n class=\"expand-icon\"\n [iconName]=\"item.expanded ? 'angle-down' : 'angle-right'\"\n (click)=\"expandChildren($event, item)\"\n ></gantt-icon>\n <gantt-icon *ngIf=\"item.loading\" [iconName]=\"'loading'\"></gantt-icon>\n </ng-container>\n </div>\n <div class=\"gantt-table-column-content\">\n <ng-template\n [ngTemplateOutlet]=\"column.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item.origin, item: item.origin }\"\n ></ng-template>\n </div>\n </div>\n <ng-template\n [ngTemplateOutlet]=\"rowAfterTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item.origin, item: item.origin }\"\n ></ng-template>\n </div>\n <ng-template\n *ngIf=\"item.children && item.expanded\"\n [ngTemplateOutlet]=\"ganttItems\"\n [ngTemplateOutletContext]=\"{ items: item.children, level: level + 1, group: group }\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", components: [{ type: GanttIconComponent, selector: "gantt-icon", inputs: ["iconName"] }], directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "isGanttRangeItem": IsGanttRangeItemPipe } });
|
|
1812
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttTableComponent, decorators: [{
|
|
1815
1813
|
type: i0.Component,
|
|
1816
1814
|
args: [{
|
|
1817
1815
|
selector: 'gantt-table',
|
|
@@ -1948,9 +1946,9 @@
|
|
|
1948
1946
|
};
|
|
1949
1947
|
return GanttDomService;
|
|
1950
1948
|
}());
|
|
1951
|
-
GanttDomService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
1952
|
-
GanttDomService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.
|
|
1953
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
1949
|
+
GanttDomService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDomService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1950
|
+
GanttDomService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDomService });
|
|
1951
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDomService, decorators: [{
|
|
1954
1952
|
type: i0.Injectable
|
|
1955
1953
|
}], ctorParameters: function () { return []; } });
|
|
1956
1954
|
|
|
@@ -2018,9 +2016,9 @@
|
|
|
2018
2016
|
};
|
|
2019
2017
|
return GanttDragContainer;
|
|
2020
2018
|
}());
|
|
2021
|
-
GanttDragContainer.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2022
|
-
GanttDragContainer.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.
|
|
2023
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2019
|
+
GanttDragContainer.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDragContainer, deps: [{ token: GANTT_UPPER_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2020
|
+
GanttDragContainer.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDragContainer });
|
|
2021
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDragContainer, decorators: [{
|
|
2024
2022
|
type: i0.Injectable
|
|
2025
2023
|
}], ctorParameters: function () {
|
|
2026
2024
|
return [{ type: GanttUpper, decorators: [{
|
|
@@ -2106,7 +2104,7 @@
|
|
|
2106
2104
|
var printWidth = root.offsetWidth;
|
|
2107
2105
|
// set print height
|
|
2108
2106
|
var printHeight = root.offsetHeight - mainContainer.offsetHeight + mainContainer.scrollHeight;
|
|
2109
|
-
html2canvas__default[
|
|
2107
|
+
html2canvas__default["default"](root, {
|
|
2110
2108
|
logging: false,
|
|
2111
2109
|
allowTaint: true,
|
|
2112
2110
|
useCORS: true,
|
|
@@ -2150,9 +2148,9 @@
|
|
|
2150
2148
|
};
|
|
2151
2149
|
return GanttPrintService;
|
|
2152
2150
|
}());
|
|
2153
|
-
GanttPrintService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2154
|
-
GanttPrintService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.
|
|
2155
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2151
|
+
GanttPrintService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttPrintService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2152
|
+
GanttPrintService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttPrintService });
|
|
2153
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttPrintService, decorators: [{
|
|
2156
2154
|
type: i0.Injectable
|
|
2157
2155
|
}], ctorParameters: function () { return []; } });
|
|
2158
2156
|
|
|
@@ -2221,9 +2219,9 @@
|
|
|
2221
2219
|
};
|
|
2222
2220
|
return GanttCalendarComponent;
|
|
2223
2221
|
}());
|
|
2224
|
-
GanttCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2225
|
-
GanttCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
2226
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2222
|
+
GanttCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttCalendarComponent, deps: [{ token: GANTT_UPPER_TOKEN }, { token: i0__namespace.NgZone }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2223
|
+
GanttCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: GanttCalendarComponent, selector: "gantt-calendar-overlay", host: { properties: { "class.gantt-calendar-overlay": "this.className" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"gantt-calendar-today-overlay\" [style.width.px]=\"view.width\">\n <span class=\"today-rect\" [hidden]=\"ganttUpper.viewType !== viewTypes.day\"> </span>\n <span class=\"today-line\" *ngIf=\"ganttUpper.showTodayLine\"> </span>\n</div>\n\n<svg class=\"gantt-calendar-overlay-main\" [attr.width]=\"view.width\" [attr.height]=\"headerHeight\">\n <g>\n <text class=\"primary-text\" *ngFor=\"let point of view.primaryDatePoints; trackBy: trackBy\" [attr.x]=\"point.x\" [attr.y]=\"point.y\">\n {{ point.text }}\n </text>\n <ng-container *ngFor=\"let point of view.secondaryDatePoints; trackBy: trackBy\">\n <text class=\"secondary-text\" [class.secondary-text-weekend]=\"point.additions?.isWeekend\" [attr.x]=\"point.x\" [attr.y]=\"point.y\">\n {{ point.text }}\n </text>\n </ng-container>\n\n <g>\n <line\n *ngFor=\"let point of view.primaryDatePoints; let i = index; trackBy: trackBy\"\n [attr.x1]=\"(i + 1) * view.primaryWidth\"\n [attr.x2]=\"(i + 1) * view.primaryWidth\"\n [attr.y1]=\"0\"\n [attr.y2]=\"mainHeight\"\n class=\"primary-line\"\n ></line>\n </g>\n\n <g>\n <line [attr.x1]=\"0\" [attr.x2]=\"view.width\" [attr.y1]=\"headerHeight\" [attr.y2]=\"headerHeight\" class=\"header-line\"></line>\n </g>\n </g>\n <g>\n <g *ngIf=\"view.showTimeline\">\n <line\n *ngFor=\"let point of view.secondaryDatePoints; let i = index; trackBy: trackBy\"\n [attr.x1]=\"(i + 1) * view.cellWidth\"\n [attr.x2]=\"(i + 1) * view.cellWidth\"\n [attr.y1]=\"headerHeight\"\n [attr.y2]=\"mainHeight\"\n class=\"secondary-line\"\n ></line>\n <line\n *ngFor=\"let point of view.primaryDatePoints; let i = index; trackBy: trackBy\"\n [attr.x1]=\"(i + 1) * view.primaryWidth\"\n [attr.x2]=\"(i + 1) * view.primaryWidth\"\n [attr.y1]=\"0\"\n [attr.y2]=\"mainHeight\"\n class=\"primary-line\"\n ></line>\n </g>\n </g>\n</svg>\n", directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2224
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttCalendarComponent, decorators: [{
|
|
2227
2225
|
type: i0.Component,
|
|
2228
2226
|
args: [{
|
|
2229
2227
|
selector: 'gantt-calendar-overlay',
|
|
@@ -2246,9 +2244,9 @@
|
|
|
2246
2244
|
GanttDragBackdropComponent.prototype.ngOnInit = function () { };
|
|
2247
2245
|
return GanttDragBackdropComponent;
|
|
2248
2246
|
}());
|
|
2249
|
-
GanttDragBackdropComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2250
|
-
GanttDragBackdropComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
2251
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2247
|
+
GanttDragBackdropComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDragBackdropComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2248
|
+
GanttDragBackdropComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: GanttDragBackdropComponent, selector: "gantt-drag-backdrop", host: { properties: { "class.gantt-drag-backdrop": "this.backdropClass" } }, ngImport: i0__namespace, template: "<div class=\"gantt-drag-mask\">\n <div class=\"date-range\">\n <span class=\"start\"></span>\n <span class=\"end\"></span>\n </div>\n</div>\n" });
|
|
2249
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttDragBackdropComponent, decorators: [{
|
|
2252
2250
|
type: i0.Component,
|
|
2253
2251
|
args: [{
|
|
2254
2252
|
selector: 'gantt-drag-backdrop',
|
|
@@ -2349,9 +2347,9 @@
|
|
|
2349
2347
|
};
|
|
2350
2348
|
return NgxGanttRootComponent;
|
|
2351
2349
|
}());
|
|
2352
|
-
NgxGanttRootComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2353
|
-
NgxGanttRootComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
2354
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2350
|
+
NgxGanttRootComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttRootComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.NgZone }, { token: GanttDomService }, { token: GanttDragContainer }, { token: GANTT_UPPER_TOKEN }, { token: GanttPrintService, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2351
|
+
NgxGanttRootComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: NgxGanttRootComponent, selector: "ngx-gantt-root", inputs: { sideWidth: "sideWidth" }, host: { properties: { "class.gantt": "this.ganttClass" } }, providers: [GanttDomService, GanttDragContainer], queries: [{ propertyName: "sideTemplate", first: true, predicate: ["sideTemplate"], descendants: true, static: true }, { propertyName: "mainTemplate", first: true, predicate: ["mainTemplate"], descendants: true, static: true }], ngImport: i0__namespace, template: "<div class=\"gantt-side\" [style.width.px]=\"sideWidth\">\n <div class=\"gantt-side-container\">\n <ng-template [ngTemplateOutlet]=\"sideTemplate\"></ng-template>\n </div>\n</div>\n<div class=\"gantt-container\">\n <gantt-calendar-overlay></gantt-calendar-overlay>\n <gantt-drag-backdrop></gantt-drag-backdrop>\n <div class=\"gantt-main\">\n <ng-template [ngTemplateOutlet]=\"mainTemplate\"></ng-template>\n </div>\n</div>\n", components: [{ type: GanttCalendarComponent, selector: "gantt-calendar-overlay" }, { type: GanttDragBackdropComponent, selector: "gantt-drag-backdrop" }], directives: [{ type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2352
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttRootComponent, decorators: [{
|
|
2355
2353
|
type: i0.Component,
|
|
2356
2354
|
args: [{
|
|
2357
2355
|
selector: 'ngx-gantt-root',
|
|
@@ -2625,16 +2623,30 @@
|
|
|
2625
2623
|
source.links.forEach(function (link) {
|
|
2626
2624
|
var target = _this.linkItems.find(function (item) { return item.id === link.link; });
|
|
2627
2625
|
if (target && (target.origin.start || target.origin.end)) {
|
|
2628
|
-
var
|
|
2626
|
+
var defaultColor = exports.LinkColors.default;
|
|
2627
|
+
var activeColor = exports.LinkColors.active;
|
|
2629
2628
|
if (link.type === exports.GanttLinkType.fs && source.end.getTime() > target.start.getTime()) {
|
|
2630
|
-
|
|
2629
|
+
defaultColor = exports.LinkColors.blocked;
|
|
2630
|
+
activeColor = exports.LinkColors.blocked;
|
|
2631
|
+
}
|
|
2632
|
+
if (link.color) {
|
|
2633
|
+
if (typeof link.color === 'string') {
|
|
2634
|
+
defaultColor = link.color;
|
|
2635
|
+
activeColor = link.color;
|
|
2636
|
+
}
|
|
2637
|
+
else {
|
|
2638
|
+
defaultColor = link.color.default;
|
|
2639
|
+
activeColor = link.color.active;
|
|
2640
|
+
}
|
|
2631
2641
|
}
|
|
2632
2642
|
_this.links.push({
|
|
2633
2643
|
path: _this.linkLine.generatePath(source, target, link.type),
|
|
2634
2644
|
source: source.origin,
|
|
2635
2645
|
target: target.origin,
|
|
2636
2646
|
type: link.type,
|
|
2637
|
-
color:
|
|
2647
|
+
color: defaultColor,
|
|
2648
|
+
defaultColor: defaultColor,
|
|
2649
|
+
activeColor: activeColor
|
|
2638
2650
|
});
|
|
2639
2651
|
}
|
|
2640
2652
|
});
|
|
@@ -2651,15 +2663,15 @@
|
|
|
2651
2663
|
target: link.target
|
|
2652
2664
|
});
|
|
2653
2665
|
};
|
|
2654
|
-
GanttLinksComponent.prototype.mouseEnterPath = function (link) {
|
|
2655
|
-
|
|
2656
|
-
|
|
2666
|
+
GanttLinksComponent.prototype.mouseEnterPath = function (link, index) {
|
|
2667
|
+
link.color = link.activeColor || link.defaultColor;
|
|
2668
|
+
if (index < this.links.length - 1) {
|
|
2669
|
+
this.links.splice(index, 1);
|
|
2670
|
+
this.links.push(link);
|
|
2657
2671
|
}
|
|
2658
2672
|
};
|
|
2659
2673
|
GanttLinksComponent.prototype.mouseLeavePath = function (link) {
|
|
2660
|
-
|
|
2661
|
-
link.color = exports.LinkColors.default;
|
|
2662
|
-
}
|
|
2674
|
+
link.color = link.defaultColor;
|
|
2663
2675
|
};
|
|
2664
2676
|
GanttLinksComponent.prototype.ngOnDestroy = function () {
|
|
2665
2677
|
this.unsubscribe$.next();
|
|
@@ -2667,9 +2679,9 @@
|
|
|
2667
2679
|
};
|
|
2668
2680
|
return GanttLinksComponent;
|
|
2669
2681
|
}());
|
|
2670
|
-
GanttLinksComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2671
|
-
GanttLinksComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
2672
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2682
|
+
GanttLinksComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttLinksComponent, deps: [{ token: GANTT_UPPER_TOKEN }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: GanttDragContainer }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2683
|
+
GanttLinksComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: GanttLinksComponent, selector: "gantt-links-overlay", inputs: { groups: "groups", items: "items" }, outputs: { lineClick: "lineClick" }, host: { properties: { "class.gantt-links-overlay": "this.ganttLinksOverlay" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<svg [attr.width]=\"ganttUpper.view.width\" class=\"gantt-links-overlay-main\">\n <ng-container *ngFor=\"let link of links; let i = index; trackBy: trackBy\">\n <path\n [attr.d]=\"link.path\"\n fill=\"transparent\"\n stroke-width=\"2\"\n [attr.stroke]=\"link.color\"\n pointer-events=\"none\"\n [attr.style]=\"link.type === ganttLinkTypes.sf ? 'marker-start: url(#triangle' + i + ')' : 'marker-end: url(#triangle' + i + ')'\"\n ></path>\n\n <g>\n <path\n class=\"link-line\"\n (click)=\"onLineClick($event, link)\"\n [attr.d]=\"link.path\"\n (mouseenter)=\"mouseEnterPath(link, i)\"\n (mouseleave)=\"mouseLeavePath(link)\"\n stroke=\"transparent\"\n stroke-width=\"9\"\n fill=\"none\"\n cursor=\"pointer\"\n ></path>\n </g>\n <defs *ngIf=\"showArrow\">\n <marker\n *ngIf=\"link.type === ganttLinkTypes.sf; else markerEnd\"\n [id]=\"'triangle' + i\"\n markerUnits=\"strokeWidth\"\n markerWidth=\"5\"\n markerHeight=\"4\"\n refX=\"5\"\n refY=\"2\"\n orient=\"180\"\n >\n <path [attr.fill]=\"link.color\" [attr.stroke]=\"link.color\" d=\"M 0 0 L 5 2 L 0 4 z\" />\n </marker>\n\n <ng-template #markerEnd>\n <marker [id]=\"'triangle' + i\" markerUnits=\"strokeWidth\" markerWidth=\"5\" markerHeight=\"4\" refX=\"5\" refY=\"2\" orient=\"auto\">\n <path [attr.fill]=\"link.color\" [attr.stroke]=\"link.color\" d=\"M 0 0 L 5 2 L 0 4 z\" />\n </marker>\n </ng-template>\n </defs>\n </ng-container>\n <line class=\"link-dragging-line\"></line>\n</svg>\n", directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2684
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttLinksComponent, decorators: [{
|
|
2673
2685
|
type: i0.Component,
|
|
2674
2686
|
args: [{
|
|
2675
2687
|
selector: 'gantt-links-overlay',
|
|
@@ -2730,9 +2742,9 @@
|
|
|
2730
2742
|
};
|
|
2731
2743
|
return GanttItemUpper;
|
|
2732
2744
|
}());
|
|
2733
|
-
GanttItemUpper.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2734
|
-
GanttItemUpper.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.
|
|
2735
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2745
|
+
GanttItemUpper.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttItemUpper, deps: [{ token: i0__namespace.ElementRef }, { token: GANTT_UPPER_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2746
|
+
GanttItemUpper.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.5", type: GanttItemUpper, inputs: { template: "template", item: "item" }, ngImport: i0__namespace });
|
|
2747
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttItemUpper, decorators: [{
|
|
2736
2748
|
type: i0.Directive
|
|
2737
2749
|
}], ctorParameters: function () {
|
|
2738
2750
|
return [{ type: i0__namespace.ElementRef }, { type: GanttUpper, decorators: [{
|
|
@@ -2763,9 +2775,9 @@
|
|
|
2763
2775
|
};
|
|
2764
2776
|
return NgxGanttRangeComponent;
|
|
2765
2777
|
}(GanttItemUpper));
|
|
2766
|
-
NgxGanttRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
2767
|
-
NgxGanttRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
2768
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
2778
|
+
NgxGanttRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttRangeComponent, deps: [{ token: i0__namespace.ElementRef }, { token: GANTT_UPPER_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2779
|
+
NgxGanttRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: NgxGanttRangeComponent, selector: "ngx-gantt-range,gantt-range", host: { properties: { "class.gantt-range": "this.ganttRangeClass" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item.start && item.end\">\n <div class=\"gantt-range-main\">\n <div class=\"gantt-range-main-progress\" *ngIf=\"item.progress >= 0\" [style.width.%]=\"item.progress * 100\"></div>\n </div>\n <div class=\"gantt-range-triangle left\"></div>\n <div class=\"gantt-range-triangle right\"></div>\n <ng-template [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ item: item.origin, refs: item.refs }\"></ng-template>\n</ng-container>\n", directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2780
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttRangeComponent, decorators: [{
|
|
2769
2781
|
type: i0.Component,
|
|
2770
2782
|
args: [{
|
|
2771
2783
|
selector: 'ngx-gantt-range,gantt-range',
|
|
@@ -3074,9 +3086,9 @@
|
|
|
3074
3086
|
};
|
|
3075
3087
|
return GanttBarDrag;
|
|
3076
3088
|
}());
|
|
3077
|
-
GanttBarDrag.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
3078
|
-
GanttBarDrag.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.
|
|
3079
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
3089
|
+
GanttBarDrag.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttBarDrag, deps: [{ token: i1__namespace.DragDrop }, { token: GanttDomService }, { token: GanttDragContainer }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3090
|
+
GanttBarDrag.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttBarDrag });
|
|
3091
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttBarDrag, decorators: [{
|
|
3080
3092
|
type: i0.Injectable
|
|
3081
3093
|
}], ctorParameters: function () { return [{ type: i1__namespace.DragDrop }, { type: GanttDomService }, { type: GanttDragContainer }]; } });
|
|
3082
3094
|
|
|
@@ -3148,9 +3160,9 @@
|
|
|
3148
3160
|
};
|
|
3149
3161
|
return NgxGanttBarComponent;
|
|
3150
3162
|
}(GanttItemUpper));
|
|
3151
|
-
NgxGanttBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
3152
|
-
NgxGanttBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
3153
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
3163
|
+
NgxGanttBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttBarComponent, deps: [{ token: GanttDragContainer }, { token: GanttBarDrag }, { token: i0__namespace.ElementRef }, { token: GANTT_UPPER_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3164
|
+
NgxGanttBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: NgxGanttBarComponent, selector: "ngx-gantt-bar,gantt-bar", outputs: { barClick: "barClick" }, host: { properties: { "class.gantt-bar": "this.ganttItemClass" } }, providers: [GanttBarDrag], viewQueries: [{ propertyName: "contentElementRef", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"gantt-bar-layer\">\n <div *ngIf=\"item.draggable && ganttUpper.draggable\" class=\"drag-handles\">\n <ng-container>\n <span class=\"handle\" (mousedown)=\"stopPropagation($event)\"></span>\n <span class=\"handle\" (mousedown)=\"stopPropagation($event)\"></span>\n </ng-container>\n </div>\n <div *ngIf=\"item.linkable && ganttUpper.linkable\" class=\"link-handles\">\n <span class=\"handle\"><span class=\"point\"></span></span>\n <span class=\"handle\"> <span class=\"point\"></span></span>\n </div>\n</div>\n<div class=\"gantt-bar-border\"></div>\n<div #content class=\"gantt-bar-content\" (click)=\"onBarClick($event)\">\n <div class=\"gantt-bar-content-progress\" *ngIf=\"item.progress >= 0\" [style.width.%]=\"item.progress * 100\"></div>\n <ng-template [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ item: item.origin, refs: item.refs }\"></ng-template>\n</div>\n", directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
3165
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttBarComponent, decorators: [{
|
|
3154
3166
|
type: i0.Component,
|
|
3155
3167
|
args: [{
|
|
3156
3168
|
selector: 'ngx-gantt-bar,gantt-bar',
|
|
@@ -3185,9 +3197,9 @@
|
|
|
3185
3197
|
};
|
|
3186
3198
|
return GanttMainComponent;
|
|
3187
3199
|
}());
|
|
3188
|
-
GanttMainComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
3189
|
-
GanttMainComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
3190
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
3200
|
+
GanttMainComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttMainComponent, deps: [{ token: GANTT_UPPER_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3201
|
+
GanttMainComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: GanttMainComponent, selector: "gantt-main", inputs: { groups: "groups", items: "items", groupHeaderTemplate: "groupHeaderTemplate", itemTemplate: "itemTemplate", barTemplate: "barTemplate", rangeTemplate: "rangeTemplate" }, outputs: { barClick: "barClick", lineClick: "lineClick" }, host: { properties: { "class.gantt-main-container": "this.ganttMainClass" } }, ngImport: i0__namespace, template: "<gantt-links-overlay [groups]=\"groups\" [items]=\"items\" (lineClick)=\"lineClick.emit($event)\"></gantt-links-overlay>\n<!-- groups -->\n<div class=\"gantt-main-groups\" *ngIf=\"groups && groups.length > 0; else itemsTemplate\" [style.width.px]=\"ganttUpper.view.width\">\n <ng-container *ngFor=\"let group of groups; trackBy: trackBy\">\n <div class=\"gantt-group\" [ngClass]=\"group.class\">\n <ng-template [ngTemplateOutlet]=\"groupHeaderTemplate\" [ngTemplateOutletContext]=\"{ group: group }\"></ng-template>\n </div>\n <div *ngIf=\"group.expanded\" class=\"gantt-items\">\n <ng-template [ngTemplateOutlet]=\"ganttItems\" [ngTemplateOutletContext]=\"{ items: group.items }\"></ng-template>\n </div>\n </ng-container>\n</div>\n<!-- items -->\n<ng-template #itemsTemplate>\n <div class=\"gantt-main-items\" [style.width.px]=\"ganttUpper.view.width\">\n <ng-template [ngTemplateOutlet]=\"ganttItems\" [ngTemplateOutletContext]=\"{ items: items }\"></ng-template>\n </div>\n</ng-template>\n\n<ng-template #ganttItems let-items=\"items\">\n <ng-container *ngFor=\"let item of items;\">\n <div\n class=\"gantt-item\"\n [style.height.px]=\"ganttUpper.styles.lineHeight\"\n [class.gantt-main-item-active]=\"ganttUpper.isSelected(item.id)\"\n >\n <ng-container *ngIf=\"item.type | isGanttCustomItem\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ item: item.origin, refs: item.refs }\"></ng-template>\n </ng-container>\n <gantt-range *ngIf=\"item.type | isGanttRangeItem\" [template]=\"rangeTemplate\" [item]=\"item\"></gantt-range>\n <gantt-bar *ngIf=\"item.type | isGanttBarItem\" [item]=\"item\" [template]=\"barTemplate\" (barClick)=\"barClick.emit($event)\"></gantt-bar>\n </div>\n <ng-template\n *ngIf=\"item.children && item.expanded\"\n [ngTemplateOutlet]=\"ganttItems\"\n [ngTemplateOutletContext]=\"{ items: item.children }\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", components: [{ type: GanttLinksComponent, selector: "gantt-links-overlay", inputs: ["groups", "items"], outputs: ["lineClick"] }, { type: NgxGanttRangeComponent, selector: "ngx-gantt-range,gantt-range" }, { type: NgxGanttBarComponent, selector: "ngx-gantt-bar,gantt-bar", outputs: ["barClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "isGanttCustomItem": IsGanttCustomItemPipe, "isGanttRangeItem": IsGanttRangeItemPipe, "isGanttBarItem": IsGanttBarItemPipe } });
|
|
3202
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: GanttMainComponent, decorators: [{
|
|
3191
3203
|
type: i0.Component,
|
|
3192
3204
|
args: [{
|
|
3193
3205
|
selector: 'gantt-main',
|
|
@@ -3307,8 +3319,8 @@
|
|
|
3307
3319
|
};
|
|
3308
3320
|
return NgxGanttComponent;
|
|
3309
3321
|
}(GanttUpper));
|
|
3310
|
-
NgxGanttComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
3311
|
-
NgxGanttComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.
|
|
3322
|
+
NgxGanttComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: GANTT_GLOBAL_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3323
|
+
NgxGanttComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.1.5", type: NgxGanttComponent, selector: "ngx-gantt", inputs: { maxLevel: "maxLevel", async: "async", childrenResolve: "childrenResolve", linkable: "linkable" }, outputs: { linkDragStarted: "linkDragStarted", linkDragEnded: "linkDragEnded", lineClick: "lineClick", selectedChange: "selectedChange" }, providers: [
|
|
3312
3324
|
{
|
|
3313
3325
|
provide: GANTT_UPPER_TOKEN,
|
|
3314
3326
|
useExisting: NgxGanttComponent
|
|
@@ -3318,7 +3330,7 @@
|
|
|
3318
3330
|
useExisting: i0.forwardRef(function () { return NgxGanttComponent; })
|
|
3319
3331
|
}
|
|
3320
3332
|
], queries: [{ propertyName: "table", first: true, predicate: NgxGanttTableComponent, descendants: true }, { propertyName: "tableEmptyTemplate", first: true, predicate: ["tableEmpty"], descendants: true, static: true }, { propertyName: "columns", predicate: NgxGanttTableColumnComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace, template: "<ngx-gantt-root>\n <ng-template #sideTemplate>\n <gantt-table\n [groups]=\"groups\"\n [items]=\"items\"\n [columns]=\"columns\"\n [groupTemplate]=\"groupTemplate\"\n [emptyTemplate]=\"tableEmptyTemplate\"\n [rowBeforeTemplate]=\"table?.rowBeforeTemplate\"\n [rowAfterTemplate]=\"table?.rowAfterTemplate\"\n (itemClick)=\"selectItem($event)\"\n ></gantt-table>\n </ng-template>\n <ng-template #mainTemplate>\n <gantt-main\n [groups]=\"groups\"\n [items]=\"items\"\n [groupHeaderTemplate]=\"groupHeaderTemplate\"\n [itemTemplate]=\"itemTemplate\"\n [barTemplate]=\"barTemplate\"\n [rangeTemplate]=\"rangeTemplate\"\n (barClick)=\"barClick.emit($event)\"\n (lineClick)=\"lineClick.emit($event)\"\n >\n </gantt-main>\n </ng-template>\n</ngx-gantt-root>\n", components: [{ type: NgxGanttRootComponent, selector: "ngx-gantt-root", inputs: ["sideWidth"] }, { type: GanttTableComponent, selector: "gantt-table", inputs: ["groups", "items", "columns", "groupTemplate", "emptyTemplate", "rowBeforeTemplate", "rowAfterTemplate"], outputs: ["itemClick"] }, { type: GanttMainComponent, selector: "gantt-main", inputs: ["groups", "items", "groupHeaderTemplate", "itemTemplate", "barTemplate", "rangeTemplate"], outputs: ["barClick", "lineClick"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
3321
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
3333
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttComponent, decorators: [{
|
|
3322
3334
|
type: i0.Component,
|
|
3323
3335
|
args: [{
|
|
3324
3336
|
selector: 'ngx-gantt',
|
|
@@ -3372,8 +3384,8 @@
|
|
|
3372
3384
|
}
|
|
3373
3385
|
return NgxGanttModule;
|
|
3374
3386
|
}());
|
|
3375
|
-
NgxGanttModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.
|
|
3376
|
-
NgxGanttModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.1.
|
|
3387
|
+
NgxGanttModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3388
|
+
NgxGanttModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttModule, declarations: [NgxGanttComponent,
|
|
3377
3389
|
NgxGanttTableComponent,
|
|
3378
3390
|
NgxGanttTableColumnComponent,
|
|
3379
3391
|
GanttTableComponent,
|
|
@@ -3393,13 +3405,13 @@
|
|
|
3393
3405
|
NgxGanttRootComponent,
|
|
3394
3406
|
NgxGanttBarComponent,
|
|
3395
3407
|
NgxGanttRangeComponent] });
|
|
3396
|
-
NgxGanttModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.1.
|
|
3408
|
+
NgxGanttModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttModule, providers: [
|
|
3397
3409
|
{
|
|
3398
3410
|
provide: GANTT_GLOBAL_CONFIG,
|
|
3399
3411
|
useValue: defaultConfig
|
|
3400
3412
|
}
|
|
3401
3413
|
], imports: [[i2.CommonModule, i1.DragDropModule]] });
|
|
3402
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.
|
|
3414
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0__namespace, type: NgxGanttModule, decorators: [{
|
|
3403
3415
|
type: i0.NgModule,
|
|
3404
3416
|
args: [{
|
|
3405
3417
|
imports: [i2.CommonModule, i1.DragDropModule],
|
|
@@ -3447,195 +3459,131 @@
|
|
|
3447
3459
|
|
|
3448
3460
|
Object.defineProperty(exports, 'addDays', {
|
|
3449
3461
|
enumerable: true,
|
|
3450
|
-
get: function () {
|
|
3451
|
-
return dateFns.addDays;
|
|
3452
|
-
}
|
|
3462
|
+
get: function () { return dateFns.addDays; }
|
|
3453
3463
|
});
|
|
3454
3464
|
Object.defineProperty(exports, 'addHours', {
|
|
3455
3465
|
enumerable: true,
|
|
3456
|
-
get: function () {
|
|
3457
|
-
return dateFns.addHours;
|
|
3458
|
-
}
|
|
3466
|
+
get: function () { return dateFns.addHours; }
|
|
3459
3467
|
});
|
|
3460
3468
|
Object.defineProperty(exports, 'addMinutes', {
|
|
3461
3469
|
enumerable: true,
|
|
3462
|
-
get: function () {
|
|
3463
|
-
return dateFns.addMinutes;
|
|
3464
|
-
}
|
|
3470
|
+
get: function () { return dateFns.addMinutes; }
|
|
3465
3471
|
});
|
|
3466
3472
|
Object.defineProperty(exports, 'addMonths', {
|
|
3467
3473
|
enumerable: true,
|
|
3468
|
-
get: function () {
|
|
3469
|
-
return dateFns.addMonths;
|
|
3470
|
-
}
|
|
3474
|
+
get: function () { return dateFns.addMonths; }
|
|
3471
3475
|
});
|
|
3472
3476
|
Object.defineProperty(exports, 'addQuarters', {
|
|
3473
3477
|
enumerable: true,
|
|
3474
|
-
get: function () {
|
|
3475
|
-
return dateFns.addQuarters;
|
|
3476
|
-
}
|
|
3478
|
+
get: function () { return dateFns.addQuarters; }
|
|
3477
3479
|
});
|
|
3478
3480
|
Object.defineProperty(exports, 'addSeconds', {
|
|
3479
3481
|
enumerable: true,
|
|
3480
|
-
get: function () {
|
|
3481
|
-
return dateFns.addSeconds;
|
|
3482
|
-
}
|
|
3482
|
+
get: function () { return dateFns.addSeconds; }
|
|
3483
3483
|
});
|
|
3484
3484
|
Object.defineProperty(exports, 'addWeeks', {
|
|
3485
3485
|
enumerable: true,
|
|
3486
|
-
get: function () {
|
|
3487
|
-
return dateFns.addWeeks;
|
|
3488
|
-
}
|
|
3486
|
+
get: function () { return dateFns.addWeeks; }
|
|
3489
3487
|
});
|
|
3490
3488
|
Object.defineProperty(exports, 'addYears', {
|
|
3491
3489
|
enumerable: true,
|
|
3492
|
-
get: function () {
|
|
3493
|
-
return dateFns.addYears;
|
|
3494
|
-
}
|
|
3490
|
+
get: function () { return dateFns.addYears; }
|
|
3495
3491
|
});
|
|
3496
3492
|
Object.defineProperty(exports, 'differenceInCalendarDays', {
|
|
3497
3493
|
enumerable: true,
|
|
3498
|
-
get: function () {
|
|
3499
|
-
return dateFns.differenceInCalendarDays;
|
|
3500
|
-
}
|
|
3494
|
+
get: function () { return dateFns.differenceInCalendarDays; }
|
|
3501
3495
|
});
|
|
3502
3496
|
Object.defineProperty(exports, 'differenceInCalendarQuarters', {
|
|
3503
3497
|
enumerable: true,
|
|
3504
|
-
get: function () {
|
|
3505
|
-
return dateFns.differenceInCalendarQuarters;
|
|
3506
|
-
}
|
|
3498
|
+
get: function () { return dateFns.differenceInCalendarQuarters; }
|
|
3507
3499
|
});
|
|
3508
3500
|
Object.defineProperty(exports, 'differenceInDays', {
|
|
3509
3501
|
enumerable: true,
|
|
3510
|
-
get: function () {
|
|
3511
|
-
return dateFns.differenceInDays;
|
|
3512
|
-
}
|
|
3502
|
+
get: function () { return dateFns.differenceInDays; }
|
|
3513
3503
|
});
|
|
3514
3504
|
Object.defineProperty(exports, 'eachDayOfInterval', {
|
|
3515
3505
|
enumerable: true,
|
|
3516
|
-
get: function () {
|
|
3517
|
-
return dateFns.eachDayOfInterval;
|
|
3518
|
-
}
|
|
3506
|
+
get: function () { return dateFns.eachDayOfInterval; }
|
|
3519
3507
|
});
|
|
3520
3508
|
Object.defineProperty(exports, 'eachMonthOfInterval', {
|
|
3521
3509
|
enumerable: true,
|
|
3522
|
-
get: function () {
|
|
3523
|
-
return dateFns.eachMonthOfInterval;
|
|
3524
|
-
}
|
|
3510
|
+
get: function () { return dateFns.eachMonthOfInterval; }
|
|
3525
3511
|
});
|
|
3526
3512
|
Object.defineProperty(exports, 'eachWeekOfInterval', {
|
|
3527
3513
|
enumerable: true,
|
|
3528
|
-
get: function () {
|
|
3529
|
-
return dateFns.eachWeekOfInterval;
|
|
3530
|
-
}
|
|
3514
|
+
get: function () { return dateFns.eachWeekOfInterval; }
|
|
3531
3515
|
});
|
|
3532
3516
|
Object.defineProperty(exports, 'endOfDay', {
|
|
3533
3517
|
enumerable: true,
|
|
3534
|
-
get: function () {
|
|
3535
|
-
return dateFns.endOfDay;
|
|
3536
|
-
}
|
|
3518
|
+
get: function () { return dateFns.endOfDay; }
|
|
3537
3519
|
});
|
|
3538
3520
|
Object.defineProperty(exports, 'endOfMonth', {
|
|
3539
3521
|
enumerable: true,
|
|
3540
|
-
get: function () {
|
|
3541
|
-
return dateFns.endOfMonth;
|
|
3542
|
-
}
|
|
3522
|
+
get: function () { return dateFns.endOfMonth; }
|
|
3543
3523
|
});
|
|
3544
3524
|
Object.defineProperty(exports, 'endOfQuarter', {
|
|
3545
3525
|
enumerable: true,
|
|
3546
|
-
get: function () {
|
|
3547
|
-
return dateFns.endOfQuarter;
|
|
3548
|
-
}
|
|
3526
|
+
get: function () { return dateFns.endOfQuarter; }
|
|
3549
3527
|
});
|
|
3550
3528
|
Object.defineProperty(exports, 'endOfWeek', {
|
|
3551
3529
|
enumerable: true,
|
|
3552
|
-
get: function () {
|
|
3553
|
-
return dateFns.endOfWeek;
|
|
3554
|
-
}
|
|
3530
|
+
get: function () { return dateFns.endOfWeek; }
|
|
3555
3531
|
});
|
|
3556
3532
|
Object.defineProperty(exports, 'endOfYear', {
|
|
3557
3533
|
enumerable: true,
|
|
3558
|
-
get: function () {
|
|
3559
|
-
return dateFns.endOfYear;
|
|
3560
|
-
}
|
|
3534
|
+
get: function () { return dateFns.endOfYear; }
|
|
3561
3535
|
});
|
|
3562
3536
|
Object.defineProperty(exports, 'format', {
|
|
3563
3537
|
enumerable: true,
|
|
3564
|
-
get: function () {
|
|
3565
|
-
return dateFns.format;
|
|
3566
|
-
}
|
|
3538
|
+
get: function () { return dateFns.format; }
|
|
3567
3539
|
});
|
|
3568
3540
|
Object.defineProperty(exports, 'fromUnixTime', {
|
|
3569
3541
|
enumerable: true,
|
|
3570
|
-
get: function () {
|
|
3571
|
-
return dateFns.fromUnixTime;
|
|
3572
|
-
}
|
|
3542
|
+
get: function () { return dateFns.fromUnixTime; }
|
|
3573
3543
|
});
|
|
3574
3544
|
Object.defineProperty(exports, 'getDaysInMonth', {
|
|
3575
3545
|
enumerable: true,
|
|
3576
|
-
get: function () {
|
|
3577
|
-
return dateFns.getDaysInMonth;
|
|
3578
|
-
}
|
|
3546
|
+
get: function () { return dateFns.getDaysInMonth; }
|
|
3579
3547
|
});
|
|
3580
3548
|
Object.defineProperty(exports, 'getUnixTime', {
|
|
3581
3549
|
enumerable: true,
|
|
3582
|
-
get: function () {
|
|
3583
|
-
return dateFns.getUnixTime;
|
|
3584
|
-
}
|
|
3550
|
+
get: function () { return dateFns.getUnixTime; }
|
|
3585
3551
|
});
|
|
3586
3552
|
Object.defineProperty(exports, 'getWeek', {
|
|
3587
3553
|
enumerable: true,
|
|
3588
|
-
get: function () {
|
|
3589
|
-
return dateFns.getWeek;
|
|
3590
|
-
}
|
|
3554
|
+
get: function () { return dateFns.getWeek; }
|
|
3591
3555
|
});
|
|
3592
3556
|
Object.defineProperty(exports, 'isToday', {
|
|
3593
3557
|
enumerable: true,
|
|
3594
|
-
get: function () {
|
|
3595
|
-
return dateFns.isToday;
|
|
3596
|
-
}
|
|
3558
|
+
get: function () { return dateFns.isToday; }
|
|
3597
3559
|
});
|
|
3598
3560
|
Object.defineProperty(exports, 'isWeekend', {
|
|
3599
3561
|
enumerable: true,
|
|
3600
|
-
get: function () {
|
|
3601
|
-
return dateFns.isWeekend;
|
|
3602
|
-
}
|
|
3562
|
+
get: function () { return dateFns.isWeekend; }
|
|
3603
3563
|
});
|
|
3604
3564
|
Object.defineProperty(exports, 'setDate', {
|
|
3605
3565
|
enumerable: true,
|
|
3606
|
-
get: function () {
|
|
3607
|
-
return dateFns.setDate;
|
|
3608
|
-
}
|
|
3566
|
+
get: function () { return dateFns.setDate; }
|
|
3609
3567
|
});
|
|
3610
3568
|
Object.defineProperty(exports, 'startOfDay', {
|
|
3611
3569
|
enumerable: true,
|
|
3612
|
-
get: function () {
|
|
3613
|
-
return dateFns.startOfDay;
|
|
3614
|
-
}
|
|
3570
|
+
get: function () { return dateFns.startOfDay; }
|
|
3615
3571
|
});
|
|
3616
3572
|
Object.defineProperty(exports, 'startOfMonth', {
|
|
3617
3573
|
enumerable: true,
|
|
3618
|
-
get: function () {
|
|
3619
|
-
return dateFns.startOfMonth;
|
|
3620
|
-
}
|
|
3574
|
+
get: function () { return dateFns.startOfMonth; }
|
|
3621
3575
|
});
|
|
3622
3576
|
Object.defineProperty(exports, 'startOfQuarter', {
|
|
3623
3577
|
enumerable: true,
|
|
3624
|
-
get: function () {
|
|
3625
|
-
return dateFns.startOfQuarter;
|
|
3626
|
-
}
|
|
3578
|
+
get: function () { return dateFns.startOfQuarter; }
|
|
3627
3579
|
});
|
|
3628
3580
|
Object.defineProperty(exports, 'startOfWeek', {
|
|
3629
3581
|
enumerable: true,
|
|
3630
|
-
get: function () {
|
|
3631
|
-
return dateFns.startOfWeek;
|
|
3632
|
-
}
|
|
3582
|
+
get: function () { return dateFns.startOfWeek; }
|
|
3633
3583
|
});
|
|
3634
3584
|
Object.defineProperty(exports, 'startOfYear', {
|
|
3635
3585
|
enumerable: true,
|
|
3636
|
-
get: function () {
|
|
3637
|
-
return dateFns.startOfYear;
|
|
3638
|
-
}
|
|
3586
|
+
get: function () { return dateFns.startOfYear; }
|
|
3639
3587
|
});
|
|
3640
3588
|
exports.GANTT_GLOBAL_CONFIG = GANTT_GLOBAL_CONFIG;
|
|
3641
3589
|
exports.GANTT_UPPER_TOKEN = GANTT_UPPER_TOKEN;
|
|
@@ -3670,5 +3618,5 @@
|
|
|
3670
3618
|
|
|
3671
3619
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3672
3620
|
|
|
3673
|
-
}))
|
|
3621
|
+
}));
|
|
3674
3622
|
//# sourceMappingURL=worktile-gantt.umd.js.map
|