@worktile/gantt 12.0.0 → 12.1.0
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 +1293 -1080
- package/bundles/worktile-gantt.umd.js.map +1 -1
- package/components/bar/bar-drag.d.ts +3 -0
- package/components/bar/bar.component.d.ts +3 -0
- package/components/calendar/calendar.component.d.ts +4 -1
- package/components/drag-backdrop/drag-backdrop.component.d.ts +3 -0
- package/components/icon/icon.component.d.ts +3 -0
- package/components/links/links.component.d.ts +3 -0
- package/components/main/gantt-main.component.d.ts +3 -0
- package/components/range/range.component.d.ts +3 -0
- package/components/table/gantt-table.component.d.ts +8 -3
- package/esm2015/components/bar/bar-drag.js +10 -12
- package/esm2015/components/bar/bar.component.js +29 -22
- package/esm2015/components/calendar/calendar.component.js +21 -17
- package/esm2015/components/drag-backdrop/drag-backdrop.component.js +14 -11
- package/esm2015/components/icon/icon.component.js +17 -15
- package/esm2015/components/links/links.component.js +28 -22
- package/esm2015/components/main/gantt-main.component.js +40 -22
- package/esm2015/components/range/range.component.js +21 -16
- package/esm2015/components/table/gantt-table.component.js +44 -23
- package/esm2015/gantt-abstract.js +3 -0
- package/esm2015/gantt-dom.service.js +7 -5
- package/esm2015/gantt-drag-container.js +7 -5
- package/esm2015/gantt-item-upper.js +17 -14
- package/esm2015/gantt-print.service.js +7 -5
- package/esm2015/gantt-upper.js +74 -44
- package/esm2015/gantt.component.js +66 -36
- package/esm2015/gantt.config.js +13 -0
- package/esm2015/gantt.module.js +67 -25
- package/esm2015/gantt.pipe.js +26 -16
- package/esm2015/public-api.js +4 -1
- package/esm2015/root.component.js +37 -25
- package/esm2015/table/gantt-column.component.js +26 -17
- package/esm2015/table/gantt-table.component.js +13 -11
- package/esm2015/utils/helpers.js +11 -1
- package/esm2015/views/day.js +2 -2
- package/esm2015/views/month.js +3 -3
- package/esm2015/views/quarter.js +3 -3
- package/esm2015/views/view.js +4 -2
- package/esm2015/views/week.js +3 -3
- package/esm2015/views/year.js +2 -2
- package/esm2015/worktile-gantt.js +1 -12
- package/fesm2015/worktile-gantt.js +1380 -1199
- package/fesm2015/worktile-gantt.js.map +1 -1
- package/gantt-abstract.d.ts +12 -0
- package/gantt-dom.service.d.ts +3 -0
- package/gantt-drag-container.d.ts +3 -0
- package/gantt-item-upper.d.ts +3 -0
- package/gantt-print.service.d.ts +3 -0
- package/gantt-upper.d.ts +6 -2
- package/gantt.component.d.ts +5 -3
- package/gantt.config.d.ts +23 -0
- package/gantt.module.d.ts +19 -0
- package/gantt.pipe.d.ts +7 -0
- package/package.json +1 -2
- package/public-api.d.ts +3 -0
- package/root.component.d.ts +3 -0
- package/table/gantt-column.component.d.ts +3 -0
- package/table/gantt-table.component.d.ts +3 -0
- package/utils/helpers.d.ts +2 -1
- package/views/view.d.ts +2 -0
- package/worktile-gantt.d.ts +1 -11
- package/worktile-gantt.metadata.json +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { GanttGroupInternal, GanttItemInternal } from './class';
|
|
3
|
+
import { GanttStyles } from './gantt.styles';
|
|
4
|
+
import { NgxGanttTableComponent } from './table/gantt-table.component';
|
|
5
|
+
export interface GanttAbstractComponent {
|
|
6
|
+
table: NgxGanttTableComponent;
|
|
7
|
+
styles: GanttStyles;
|
|
8
|
+
maxLevel: number;
|
|
9
|
+
expandGroup(group: GanttGroupInternal): void;
|
|
10
|
+
expandChildren(item: GanttItemInternal): void;
|
|
11
|
+
}
|
|
12
|
+
export declare const GANTT_ABSTRACT_TOKEN: InjectionToken<GanttAbstractComponent>;
|
package/gantt-dom.service.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare enum ScrollDirection {
|
|
3
4
|
NONE = 0,
|
|
4
5
|
LEFT = 1,
|
|
@@ -26,4 +27,6 @@ export declare class GanttDomService implements OnDestroy {
|
|
|
26
27
|
getResize(): import("rxjs").Observable<Event>;
|
|
27
28
|
scrollMainContainer(left: number): void;
|
|
28
29
|
ngOnDestroy(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttDomService, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GanttDomService>;
|
|
29
32
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { GanttDragEvent, GanttLinkDragEvent } from './class/event';
|
|
3
3
|
import { GanttItemInternal } from './class/item';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare type LinkDragFrom = 'source' | 'target';
|
|
5
6
|
export declare class GanttDragContainer {
|
|
6
7
|
dragStarted: EventEmitter<GanttDragEvent<unknown>>;
|
|
@@ -17,4 +18,6 @@ export declare class GanttDragContainer {
|
|
|
17
18
|
emitLinkDragEntered(item: GanttItemInternal): void;
|
|
18
19
|
emitLinkDragLeaved(): void;
|
|
19
20
|
emitLinkDragEnded(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttDragContainer, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GanttDragContainer>;
|
|
20
23
|
}
|
package/gantt-item-upper.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ElementRef, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { GanttItemInternal } from './class';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { GanttUpper } from './gantt-upper';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare abstract class GanttItemUpper {
|
|
6
7
|
protected elementRef: ElementRef<HTMLElement>;
|
|
7
8
|
protected ganttUpper: GanttUpper;
|
|
@@ -14,4 +15,6 @@ export declare abstract class GanttItemUpper {
|
|
|
14
15
|
onChanges(): void;
|
|
15
16
|
private setPositions;
|
|
16
17
|
onDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttItemUpper, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttItemUpper, never, never, { "template": "template"; "item": "item"; }, {}, never>;
|
|
17
20
|
}
|
package/gantt-print.service.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class GanttPrintService {
|
|
3
4
|
private root;
|
|
4
5
|
private mainContainer;
|
|
@@ -7,4 +8,6 @@ export declare class GanttPrintService {
|
|
|
7
8
|
private recursElementChildren;
|
|
8
9
|
register(root: ElementRef<HTMLElement>): void;
|
|
9
10
|
print(name?: string, ignoreElementClass?: string): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttPrintService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GanttPrintService>;
|
|
10
13
|
}
|
package/gantt-upper.d.ts
CHANGED
|
@@ -4,10 +4,13 @@ import { GanttItem, GanttGroup, GanttViewType, GanttLoadOnScrollEvent, GanttDrag
|
|
|
4
4
|
import { GanttView, GanttViewOptions } from './views/view';
|
|
5
5
|
import { GanttStyles } from './gantt.styles';
|
|
6
6
|
import { GanttDragContainer } from './gantt-drag-container';
|
|
7
|
+
import { GanttGlobalConfig } from './gantt.config';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
7
9
|
export declare abstract class GanttUpper {
|
|
8
10
|
protected elementRef: ElementRef<HTMLElement>;
|
|
9
11
|
protected cdr: ChangeDetectorRef;
|
|
10
12
|
protected ngZone: NgZone;
|
|
13
|
+
protected config: GanttGlobalConfig;
|
|
11
14
|
originItems: GanttItem[];
|
|
12
15
|
originGroups: GanttGroup[];
|
|
13
16
|
viewType: GanttViewType;
|
|
@@ -39,9 +42,8 @@ export declare abstract class GanttUpper {
|
|
|
39
42
|
dragContainer: GanttDragContainer;
|
|
40
43
|
unsubscribe$: Subject<unknown>;
|
|
41
44
|
private groupsMap;
|
|
42
|
-
private expandedItemIds;
|
|
43
45
|
ganttClass: boolean;
|
|
44
|
-
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
46
|
+
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone, config: GanttGlobalConfig);
|
|
45
47
|
private createView;
|
|
46
48
|
private setupGroups;
|
|
47
49
|
private setupItems;
|
|
@@ -58,5 +60,7 @@ export declare abstract class GanttUpper {
|
|
|
58
60
|
expandGroup(group: GanttGroupInternal): void;
|
|
59
61
|
expandAll(): void;
|
|
60
62
|
collapseAll(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttUpper, never>;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttUpper, never, never, { "originItems": "items"; "originGroups": "groups"; "viewType": "viewType"; "start": "start"; "end": "end"; "showTodayLine": "showTodayLine"; "draggable": "draggable"; "styles": "styles"; "viewOptions": "viewOptions"; "disabledLoadOnScroll": "disabledLoadOnScroll"; }, { "loadOnScroll": "loadOnScroll"; "dragStarted": "dragStarted"; "dragEnded": "dragEnded"; "barClick": "barClick"; }, ["barTemplate", "rangeTemplate", "itemTemplate", "groupTemplate", "groupHeaderTemplate"]>;
|
|
61
65
|
}
|
|
62
66
|
export declare const GANTT_UPPER_TOKEN: InjectionToken<GanttUpper>;
|
package/gantt.component.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { GanttUpper } from './gantt-upper';
|
|
|
4
4
|
import { GanttLinkDragEvent, GanttLineClickEvent, GanttItemInternal, GanttItem } from './class';
|
|
5
5
|
import { NgxGanttTableColumnComponent } from './table/gantt-column.component';
|
|
6
6
|
import { NgxGanttTableComponent } from './table/gantt-table.component';
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { GanttGlobalConfig } from './gantt.config';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class NgxGanttComponent extends GanttUpper implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
10
10
|
maxLevel: number;
|
|
11
11
|
async: boolean;
|
|
@@ -19,10 +19,12 @@ export declare class NgxGanttComponent extends GanttUpper implements OnInit, Aft
|
|
|
19
19
|
tableEmptyTemplate: TemplateRef<any>;
|
|
20
20
|
private ngUnsubscribe$;
|
|
21
21
|
sideTableWidth: number;
|
|
22
|
-
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
22
|
+
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone, config: GanttGlobalConfig);
|
|
23
23
|
ngOnInit(): void;
|
|
24
24
|
ngAfterViewInit(): void;
|
|
25
25
|
ngOnChanges(changes: SimpleChanges): void;
|
|
26
26
|
expandChildren(item: GanttItemInternal): void;
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttComponent, "ngx-gantt", never, { "maxLevel": "maxLevel"; "async": "async"; "childrenResolve": "childrenResolve"; "linkable": "linkable"; }, { "linkDragStarted": "linkDragStarted"; "linkDragEnded": "linkDragEnded"; "lineClick": "lineClick"; }, ["table", "tableEmptyTemplate", "columns"], never>;
|
|
28
30
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface GanttDateFormat {
|
|
3
|
+
week?: string;
|
|
4
|
+
month?: string;
|
|
5
|
+
quarter?: string;
|
|
6
|
+
year?: string;
|
|
7
|
+
yearMonth?: string;
|
|
8
|
+
yearQuarter?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GanttGlobalConfig {
|
|
11
|
+
dateFormat?: GanttDateFormat;
|
|
12
|
+
}
|
|
13
|
+
export declare const defaultConfig: {
|
|
14
|
+
dateFormat: {
|
|
15
|
+
week: string;
|
|
16
|
+
month: string;
|
|
17
|
+
quarter: string;
|
|
18
|
+
year: string;
|
|
19
|
+
yearMonth: string;
|
|
20
|
+
yearQuarter: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const GANTT_GLOBAL_CONFIG: InjectionToken<GanttGlobalConfig>;
|
package/gantt.module.d.ts
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gantt.component";
|
|
3
|
+
import * as i2 from "./table/gantt-table.component";
|
|
4
|
+
import * as i3 from "./table/gantt-column.component";
|
|
5
|
+
import * as i4 from "./components/table/gantt-table.component";
|
|
6
|
+
import * as i5 from "./components/main/gantt-main.component";
|
|
7
|
+
import * as i6 from "./components/calendar/calendar.component";
|
|
8
|
+
import * as i7 from "./components/links/links.component";
|
|
9
|
+
import * as i8 from "./components/bar/bar.component";
|
|
10
|
+
import * as i9 from "./components/icon/icon.component";
|
|
11
|
+
import * as i10 from "./components/drag-backdrop/drag-backdrop.component";
|
|
12
|
+
import * as i11 from "./components/range/range.component";
|
|
13
|
+
import * as i12 from "./root.component";
|
|
14
|
+
import * as i13 from "./gantt.pipe";
|
|
15
|
+
import * as i14 from "@angular/common";
|
|
16
|
+
import * as i15 from "@angular/cdk/drag-drop";
|
|
1
17
|
export declare class NgxGanttModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxGanttModule, [typeof i1.NgxGanttComponent, typeof i2.NgxGanttTableComponent, typeof i3.NgxGanttTableColumnComponent, typeof i4.GanttTableComponent, typeof i5.GanttMainComponent, typeof i6.GanttCalendarComponent, typeof i7.GanttLinksComponent, typeof i8.NgxGanttBarComponent, typeof i9.GanttIconComponent, typeof i10.GanttDragBackdropComponent, typeof i11.NgxGanttRangeComponent, typeof i12.NgxGanttRootComponent, typeof i13.IsGanttRangeItemPipe, typeof i13.IsGanttBarItemPipe, typeof i13.IsGanttCustomItemPipe], [typeof i14.CommonModule, typeof i15.DragDropModule], [typeof i1.NgxGanttComponent, typeof i2.NgxGanttTableComponent, typeof i3.NgxGanttTableColumnComponent, typeof i12.NgxGanttRootComponent, typeof i8.NgxGanttBarComponent, typeof i11.NgxGanttRangeComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxGanttModule>;
|
|
2
21
|
}
|
package/gantt.pipe.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { GanttItemType } from './class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class IsGanttRangeItemPipe implements PipeTransform {
|
|
4
5
|
transform(value: GanttItemType): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttRangeItemPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttRangeItemPipe, "isGanttRangeItem">;
|
|
5
8
|
}
|
|
6
9
|
export declare class IsGanttBarItemPipe implements PipeTransform {
|
|
7
10
|
transform(value: GanttItemType): boolean;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttBarItemPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttBarItemPipe, "isGanttBarItem">;
|
|
8
13
|
}
|
|
9
14
|
export declare class IsGanttCustomItemPipe implements PipeTransform {
|
|
10
15
|
transform(value: GanttItemType): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttCustomItemPipe, never>;
|
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttCustomItemPipe, "isGanttCustomItem">;
|
|
11
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worktile/gantt",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^12.0.0",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"esm2015": "esm2015/worktile-gantt.js",
|
|
13
13
|
"fesm2015": "fesm2015/worktile-gantt.js",
|
|
14
14
|
"typings": "worktile-gantt.d.ts",
|
|
15
|
-
"metadata": "worktile-gantt.metadata.json",
|
|
16
15
|
"sideEffects": false,
|
|
17
16
|
"dependencies": {
|
|
18
17
|
"tslib": "^2.2.0"
|
package/public-api.d.ts
CHANGED
|
@@ -4,9 +4,12 @@ export * from './root.component';
|
|
|
4
4
|
export * from './gantt.component';
|
|
5
5
|
export * from './table/gantt-table.component';
|
|
6
6
|
export * from './table/gantt-column.component';
|
|
7
|
+
export * from './components/bar/bar.component';
|
|
8
|
+
export * from './components/range/range.component';
|
|
7
9
|
export * from './utils/date';
|
|
8
10
|
export * from './class';
|
|
9
11
|
export * from './views/view';
|
|
10
12
|
export * from './gantt-item-upper';
|
|
11
13
|
export * from './gantt.pipe';
|
|
12
14
|
export * from './gantt-print.service';
|
|
15
|
+
export * from './gantt.config';
|
package/root.component.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { GanttDomService } from './gantt-dom.service';
|
|
|
3
3
|
import { GanttDragContainer } from './gantt-drag-container';
|
|
4
4
|
import { GanttUpper } from './gantt-upper';
|
|
5
5
|
import { GanttPrintService } from './gantt-print.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class NgxGanttRootComponent implements OnInit {
|
|
7
8
|
private elementRef;
|
|
8
9
|
private ngZone;
|
|
@@ -22,4 +23,6 @@ export declare class NgxGanttRootComponent implements OnInit {
|
|
|
22
23
|
private setupResize;
|
|
23
24
|
private setupScrollClass;
|
|
24
25
|
private scrollToToday;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttRootComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttRootComponent, "ngx-gantt-root", never, { "sideWidth": "sideWidth"; }, {}, ["sideTemplate", "mainTemplate"], never>;
|
|
25
28
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { GanttUpper } from '../gantt-upper';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class NgxGanttTableColumnComponent implements OnInit {
|
|
4
5
|
ganttUpper: GanttUpper;
|
|
5
6
|
columnWidth: string;
|
|
@@ -9,4 +10,6 @@ export declare class NgxGanttTableColumnComponent implements OnInit {
|
|
|
9
10
|
headerTemplateRef: TemplateRef<any>;
|
|
10
11
|
constructor(ganttUpper: GanttUpper);
|
|
11
12
|
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttTableColumnComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttTableColumnComponent, "ngx-gantt-column", never, { "width": "width"; "name": "name"; }, {}, ["templateRef", "headerTemplateRef"], never>;
|
|
12
15
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { GanttTableEvent } from '../class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class NgxGanttTableComponent implements OnInit {
|
|
4
5
|
columnChanges: EventEmitter<GanttTableEvent>;
|
|
5
6
|
constructor();
|
|
6
7
|
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttTableComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttTableComponent, "ngx-gantt-table", never, {}, { "columnChanges": "columnChanges"; }, never, never>;
|
|
7
10
|
}
|
package/utils/helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GanttItemInternal } from '../class/item';
|
|
1
|
+
import { GanttItem, GanttItemInternal } from '../class/item';
|
|
2
2
|
export interface Dictionary<T = unknown> {
|
|
3
3
|
[key: string]: T;
|
|
4
4
|
}
|
|
@@ -9,3 +9,4 @@ export declare function hexToRgb(color: string, opacity?: number): string;
|
|
|
9
9
|
export declare function uniqBy<T = unknown>(array: T[], key: keyof T): any[];
|
|
10
10
|
export declare function flatten<T = unknown>(array: T[]): any;
|
|
11
11
|
export declare function recursiveItems(items: GanttItemInternal[]): any[];
|
|
12
|
+
export declare function getFlatItems(items: GanttItem[]): any[];
|
package/views/view.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GanttDate, GanttDateUtil } from '../utils/date';
|
|
2
2
|
import { GanttDatePoint } from '../class/date-point';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { GanttDateFormat } from '../gantt.config';
|
|
4
5
|
export declare const primaryDatePointTop = 18;
|
|
5
6
|
export declare const secondaryDatePointTop = 36;
|
|
6
7
|
export interface GanttViewDate {
|
|
@@ -15,6 +16,7 @@ export interface GanttViewOptions {
|
|
|
15
16
|
cellWidth?: number;
|
|
16
17
|
addAmount?: number;
|
|
17
18
|
addUnit?: GanttDateUtil;
|
|
19
|
+
dateFormat?: GanttDateFormat;
|
|
18
20
|
}
|
|
19
21
|
export declare abstract class GanttView {
|
|
20
22
|
start$: BehaviorSubject<GanttDate>;
|
package/worktile-gantt.d.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@worktile/gantt" />
|
|
4
5
|
export * from './public-api';
|
|
5
|
-
export { GanttBarDrag as ɵd } from './components/bar/bar-drag';
|
|
6
|
-
export { NgxGanttBarComponent as ɵc } from './components/bar/bar.component';
|
|
7
|
-
export { GanttCalendarComponent as ɵg } from './components/calendar/calendar.component';
|
|
8
|
-
export { GanttDragBackdropComponent as ɵj } from './components/drag-backdrop/drag-backdrop.component';
|
|
9
|
-
export { GanttIconComponent as ɵi } from './components/icon/icon.component';
|
|
10
|
-
export { GanttLinksComponent as ɵh } from './components/links/links.component';
|
|
11
|
-
export { GanttMainComponent as ɵf } from './components/main/gantt-main.component';
|
|
12
|
-
export { NgxGanttRangeComponent as ɵk } from './components/range/range.component';
|
|
13
|
-
export { GanttTableComponent as ɵe } from './components/table/gantt-table.component';
|
|
14
|
-
export { GanttDomService as ɵa } from './gantt-dom.service';
|
|
15
|
-
export { GanttDragContainer as ɵb } from './gantt-drag-container';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"./date-point"},{"from":"./event"},{"from":"./item"},{"from":"./group"},{"from":"./view-type"},{"export":[{"name":"addYears","as":"addYears"},{"name":"addMonths","as":"addMonths"},{"name":"addDays","as":"addDays"},{"name":"addWeeks","as":"addWeeks"},{"name":"addQuarters","as":"addQuarters"},{"name":"getUnixTime","as":"getUnixTime"},{"name":"startOfDay","as":"startOfDay"},{"name":"startOfWeek","as":"startOfWeek"},{"name":"startOfMonth","as":"startOfMonth"},{"name":"startOfQuarter","as":"startOfQuarter"},{"name":"startOfYear","as":"startOfYear"},{"name":"endOfDay","as":"endOfDay"},{"name":"endOfWeek","as":"endOfWeek"},{"name":"endOfMonth","as":"endOfMonth"},{"name":"endOfQuarter","as":"endOfQuarter"},{"name":"endOfYear","as":"endOfYear"},{"name":"format","as":"format"},{"name":"fromUnixTime","as":"fromUnixTime"},{"name":"getDaysInMonth","as":"getDaysInMonth"},{"name":"addSeconds","as":"addSeconds"},{"name":"setDate","as":"setDate"},{"name":"addMinutes","as":"addMinutes"},{"name":"addHours","as":"addHours"},{"name":"differenceInCalendarDays","as":"differenceInCalendarDays"},{"name":"isWeekend","as":"isWeekend"},{"name":"getWeek","as":"getWeek"},{"name":"isToday","as":"isToday"},{"name":"differenceInDays","as":"differenceInDays"},{"name":"differenceInCalendarQuarters","as":"differenceInCalendarQuarters"},{"name":"eachMonthOfInterval","as":"eachMonthOfInterval"},{"name":"eachWeekOfInterval","as":"eachWeekOfInterval"},{"name":"eachDayOfInterval","as":"eachDayOfInterval"}],"from":"date-fns"}],"metadata":{"NgxGanttModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":14},{"__symbolic":"reference","module":"@angular/cdk/drag-drop","name":"DragDropModule","line":18,"character":28}],"exports":[{"__symbolic":"reference","name":"NgxGanttComponent"},{"__symbolic":"reference","name":"NgxGanttTableComponent"},{"__symbolic":"reference","name":"NgxGanttTableColumnComponent"},{"__symbolic":"reference","name":"NgxGanttRootComponent"},{"__symbolic":"reference","name":"ɵc"}],"declarations":[{"__symbolic":"reference","name":"NgxGanttComponent"},{"__symbolic":"reference","name":"NgxGanttTableComponent"},{"__symbolic":"reference","name":"NgxGanttTableColumnComponent"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","name":"NgxGanttRootComponent"},{"__symbolic":"reference","name":"IsGanttRangeItemPipe"},{"__symbolic":"reference","name":"IsGanttBarItemPipe"},{"__symbolic":"reference","name":"IsGanttCustomItemPipe"}],"providers":[]}]}],"members":{}},"GanttUpper":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":34,"character":1}}],"members":{"originItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":5},"arguments":["items"]}]}],"originGroups":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":5},"arguments":["groups"]}]}],"viewType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"start":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"end":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":5}}]}],"showTodayLine":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":5}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":5}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":5}}]}],"viewOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":5}}]}],"disabledLoadOnScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":5}}]}],"loadOnScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":56,"character":5}}]}],"dragStarted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":58,"character":5}}]}],"dragEnded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":60,"character":5}}]}],"barClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":62,"character":5}}]}],"barTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":64,"character":5},"arguments":["bar",{"static":true}]}]}],"rangeTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":66,"character":5},"arguments":["range",{"static":true}]}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":68,"character":5},"arguments":["item",{"static":true}]}]}],"groupTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":70,"character":5},"arguments":["group",{"static":true}]}]}],"groupHeaderTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":72,"character":5},"arguments":["groupHeader",{"static":true}]}]}],"ganttClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":102,"character":5},"arguments":["class.gantt"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":104,"character":49,"context":{"typeName":"HTMLElement"},"module":"./gantt-upper"}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":104,"character":78},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":104,"character":115}]}],"createView":[{"__symbolic":"method"}],"setupGroups":[{"__symbolic":"method"}],"setupItems":[{"__symbolic":"method"}],"setupExpandedState":[{"__symbolic":"method"}],"getViewDate":[{"__symbolic":"method"}],"computeRefs":[{"__symbolic":"method"}],"expandGroups":[{"__symbolic":"method"}],"onInit":[{"__symbolic":"method"}],"onChanges":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"computeItemsRefs":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"expandGroup":[{"__symbolic":"method"}],"expandAll":[{"__symbolic":"method"}],"collapseAll":[{"__symbolic":"method"}]}},"GANTT_UPPER_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":289,"character":37},"arguments":["GANTT_UPPER_TOKEN"]},"NgxGanttRootComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":20,"character":1},"arguments":[{"selector":"ngx-gantt-root","providers":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"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"}]}],"members":{"sideWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"ganttClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":28,"character":5},"arguments":["class.gantt"]}]}],"sideTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":30,"character":5},"arguments":["sideTemplate",{"static":true}]}]}],"mainTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":32,"character":5},"arguments":["mainTemplate",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":45,"character":9},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":46,"character":9}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":39,"context":{"typeName":"HTMLElement"},"module":"./root.component"}]},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":42,"character":24},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"GanttUpper"},{"__symbolic":"reference","name":"GanttPrintService"}]}],"ngOnInit":[{"__symbolic":"method"}],"setupViewScroll":[{"__symbolic":"method"}],"setupResize":[{"__symbolic":"method"}],"setupScrollClass":[{"__symbolic":"method"}],"scrollToToday":[{"__symbolic":"method"}]}},"defaultColumnWidth":100,"minColumnWidth":80,"NgxGanttComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GanttUpper"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"ngx-gantt","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":35,"character":21},"member":"OnPush"},"providers":[{"provide":{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"},"useExisting":{"__symbolic":"reference","name":"NgxGanttComponent"}}],"template":"<ngx-gantt-root>\n <ng-template #sideTemplate>\n <gantt-table [groups]=\"groups\" [items]=\"items\" [columns]=\"columns\" [groupTemplate]=\"groupTemplate\" [emptyTemplate]=\"tableEmptyTemplate\"></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"}]}],"members":{"maxLevel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":5}}]}],"async":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":5}}]}],"childrenResolve":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":5}}]}],"linkable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":5}}]}],"linkDragStarted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":52,"character":5}}]}],"linkDragEnded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":54,"character":5}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":56,"character":5}}]}],"table":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":58,"character":5},"arguments":[{"__symbolic":"reference","name":"NgxGanttTableComponent"}]}]}],"columns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":60,"character":5},"arguments":[{"__symbolic":"reference","name":"NgxGanttTableColumnComponent"},{"descendants":true}]}]}],"tableEmptyTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":62,"character":5},"arguments":["tableEmpty",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":68,"character":39,"context":{"typeName":"HTMLElement"},"module":"./gantt.component"}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":68,"character":58},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":68,"character":85}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"expandChildren":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"NgxGanttTableComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"ngx-gantt-table","template":""}]}],"members":{"columnChanges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"NgxGanttTableColumnComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"ngx-gantt-column","template":""}]}],"members":{"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":5}}]}],"templateRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":17,"character":5},"arguments":["cell",{"static":true}]}]}],"headerTemplateRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":19,"character":5},"arguments":["header",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":21,"character":17},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"GanttUpper"}]}],"ngOnInit":[{"__symbolic":"method"}]}},"GanttDateUtil":{"__symbolic":"interface"},"GanttDate":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Date"}]}],"getYear":[{"__symbolic":"method"}],"getMonth":[{"__symbolic":"method"}],"getDay":[{"__symbolic":"method"}],"getTime":[{"__symbolic":"method"}],"getDate":[{"__symbolic":"method"}],"getHours":[{"__symbolic":"method"}],"getMinutes":[{"__symbolic":"method"}],"getSeconds":[{"__symbolic":"method"}],"getMilliseconds":[{"__symbolic":"method"}],"getWeek":[{"__symbolic":"method"}],"getDaysInMonth":[{"__symbolic":"method"}],"getDaysInQuarter":[{"__symbolic":"method"}],"getDaysInYear":[{"__symbolic":"method"}],"setDate":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"}],"add":[{"__symbolic":"method"}],"addSeconds":[{"__symbolic":"method"}],"addMinutes":[{"__symbolic":"method"}],"addHours":[{"__symbolic":"method"}],"addDays":[{"__symbolic":"method"}],"addWeeks":[{"__symbolic":"method"}],"addMonths":[{"__symbolic":"method"}],"addQuarters":[{"__symbolic":"method"}],"addYears":[{"__symbolic":"method"}],"startOfDay":[{"__symbolic":"method"}],"startOfWeek":[{"__symbolic":"method"}],"startOfMonth":[{"__symbolic":"method"}],"startOfQuarter":[{"__symbolic":"method"}],"startOfYear":[{"__symbolic":"method"}],"endOfDay":[{"__symbolic":"method"}],"endOfWeek":[{"__symbolic":"method"}],"endOfMonth":[{"__symbolic":"method"}],"endOfQuarter":[{"__symbolic":"method"}],"endOfYear":[{"__symbolic":"method"}],"getUnixTime":[{"__symbolic":"method"}],"format":[{"__symbolic":"method"}],"isWeekend":[{"__symbolic":"method"}],"isToday":[{"__symbolic":"method"}]}},"primaryDatePointTop":18,"secondaryDatePointTop":36,"GanttViewDate":{"__symbolic":"interface"},"GanttViewOptions":{"__symbolic":"interface"},"GanttView":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"}]}],"startOf":[{"__symbolic":"method"}],"endOf":[{"__symbolic":"method"}],"getPrimaryWidth":[{"__symbolic":"method"}],"getDayOccupancyWidth":[{"__symbolic":"method"}],"getPrimaryDatePoints":[{"__symbolic":"method"}],"getSecondaryDatePoints":[{"__symbolic":"method"}],"getDateIntervalWidth":[{"__symbolic":"method"}],"initialize":[{"__symbolic":"method"}],"addStartDate":[{"__symbolic":"method"}],"addEndDate":[{"__symbolic":"method"}],"updateDate":[{"__symbolic":"method"}],"getWidth":[{"__symbolic":"method"}],"getCellWidth":[{"__symbolic":"method"}],"getTodayXPoint":[{"__symbolic":"method"}],"getXPointByDate":[{"__symbolic":"method"}],"getDateByXPoint":[{"__symbolic":"method"}],"getDateRangeWidth":[{"__symbolic":"method"}]}},"GanttItemUpper":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1}}],"members":{"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":17,"character":64},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":17,"character":49,"context":{"typeName":"HTMLElement"},"module":"./gantt-item-upper"}]},{"__symbolic":"reference","name":"GanttUpper"}]}],"onInit":[{"__symbolic":"method"}],"onChanges":[{"__symbolic":"method"}],"setPositions":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"IsGanttRangeItemPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"isGanttRangeItem"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"IsGanttBarItemPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":13,"character":1},"arguments":[{"name":"isGanttBarItem"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"IsGanttCustomItemPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":23,"character":1},"arguments":[{"name":"isGanttCustomItem"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"GanttPrintService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"setInlineStyles":[{"__symbolic":"method"}],"recursElementChildren":[{"__symbolic":"method"}],"register":[{"__symbolic":"method"}],"print":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":18,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"monitorScrollChange":[{"__symbolic":"method"}],"syncScroll":[{"__symbolic":"method"}],"disableBrowserWheelEvent":[{"__symbolic":"method"}],"initialize":[{"__symbolic":"method"}],"getViewerScroll":[{"__symbolic":"method"}],"getResize":[{"__symbolic":"method"}],"scrollMainContainer":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"emitLinkDragStarted":[{"__symbolic":"method"}],"emitLinkDragEntered":[{"__symbolic":"method"}],"emitLinkDragLeaved":[{"__symbolic":"method"}],"emitLinkDragEnded":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GanttItemUpper"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":28,"character":1},"arguments":[{"selector":"ngx-gantt-bar,gantt-bar","providers":[{"__symbolic":"reference","name":"ɵd"}],"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"}]}],"members":{"barClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":5}}]}],"contentElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":36,"character":5},"arguments":["content"]}]}],"ganttItemClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":38,"character":5},"arguments":["class.gantt-bar"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":46,"character":9},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":45,"character":31,"context":{"typeName":"HTMLDivElement"},"module":"./components/bar/bar.component"}]},{"__symbolic":"reference","name":"GanttUpper"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"onBarClick":[{"__symbolic":"method"}],"setContentBackground":[{"__symbolic":"method"}],"stopPropagation":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/drag-drop","name":"DragDrop","line":44,"character":34},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}]}],"createMouseEvents":[{"__symbolic":"method"}],"createBarDrag":[{"__symbolic":"method"}],"createBarHandleDrags":[{"__symbolic":"method"}],"createLinkHandleDrags":[{"__symbolic":"method"}],"openDragBackdrop":[{"__symbolic":"method"}],"closeDragBackdrop":[{"__symbolic":"method"}],"setDraggingStyles":[{"__symbolic":"method"}],"clearDraggingStyles":[{"__symbolic":"method"}],"calcLinkLinePositions":[{"__symbolic":"method"}],"createLinkDraggingLine":[{"__symbolic":"method"}],"destroyLinkDraggingLine":[{"__symbolic":"method"}],"createDrags":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"selector":"gantt-table","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\">没有数据</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\">\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\">\n <div\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 [style.height.px]=\"gantt.styles.lineHeight\"\n [style.lineHeight.px]=\"gantt.styles.lineHeight\"\n >\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(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 </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"}]}],"members":{"groups":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":5}}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"columns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}}]}],"groupTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":5}}]}],"emptyTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":5}}]}],"draglineElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":51,"character":5},"arguments":["dragLine",{"static":true}]}]}],"ganttTableClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":53,"character":5},"arguments":["class.gantt-table"]}]}],"ganttTableEmptyClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":55,"character":5},"arguments":["class.gantt-table-empty"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgxGanttComponent"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":57,"character":69}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"dragFixed":[{"__symbolic":"method"}],"expandGroup":[{"__symbolic":"method"}],"expandChildren":[{"__symbolic":"method"}],"dragStarted":[{"__symbolic":"method"}],"dragMoved":[{"__symbolic":"method"}],"columnDragEnded":[{"__symbolic":"method"}],"tableDragEnded":[{"__symbolic":"method"}],"showAuxiliaryLine":[{"__symbolic":"method"}],"hideAuxiliaryLine":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"gantt-main","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; trackBy: trackBy\">\n <div class=\"gantt-item\" [style.height.px]=\"ganttUpper.styles.lineHeight\">\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"}]}],"members":{"groups":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5}}]}],"groupHeaderTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":5}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":5}}]}],"barTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":5}}]}],"rangeTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":5}}]}],"barClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":21,"character":5}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":23,"character":5}}]}],"ganttMainClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":25,"character":5},"arguments":["class.gantt-main-container"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":27,"character":17},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"GanttUpper"}]}],"ngOnInit":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"gantt-calendar-overlay","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"}]}],"members":{"className":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":46,"character":5},"arguments":["class.gantt-calendar-overlay"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":49,"character":9},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}],null,null],"parameters":[{"__symbolic":"reference","name":"GanttUpper"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":50,"character":24},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":51,"character":39,"context":{"typeName":"HTMLElement"},"module":"./components/calendar/calendar.component"}]}]}],"setTodayPoint":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":46,"character":1},"arguments":[{"selector":"gantt-links-overlay","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 [attr.d]=\"link.path\" fill=\"transparent\" stroke-width=\"2\" [attr.stroke]=\"link.color\" pointer-events=\"none\"></path>\n <g>\n <path\n class=\"link-line\"\n (click)=\"onLineClick($event, link)\"\n (mouseenter)=\"mouseEnterPath(link)\"\n (mouseleave)=\"mouseLeavePath(link)\"\n [attr.d]=\"link.path\"\n stroke=\"transparent\"\n stroke-width=\"9\"\n fill=\"none\"\n cursor=\"pointer\"\n ></path>\n </g>\n </ng-container>\n <line class=\"link-dragging-line\"></line>\n</svg>\n"}]}],"members":{"groups":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":5}}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":55,"character":5}}]}],"ganttLinksOverlay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":67,"character":5},"arguments":["class.gantt-links-overlay"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":9},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}],null,null,null],"parameters":[{"__symbolic":"reference","name":"GanttUpper"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":21},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":72,"character":28},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"computeItemPosition":[{"__symbolic":"method"}],"generatePath":[{"__symbolic":"method"}],"buildLinks":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"onLineClick":[{"__symbolic":"method"}],"mouseEnterPath":[{"__symbolic":"method"}],"mouseLeavePath":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"gantt-icon","template":""}]}],"members":{"isIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":7,"character":5},"arguments":["class.gantt-icon"]}]}],"iconName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":13,"character":47,"context":{"typeName":"HTMLElement"},"module":"./components/icon/icon.component"}]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"setSvg":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"gantt-drag-backdrop","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"}]}],"members":{"backdropClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":7,"character":5},"arguments":["class.gantt-drag-backdrop"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵk":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GanttItemUpper"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ngx-gantt-range,gantt-range","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"}]}],"members":{"ganttRangeClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":9,"character":5},"arguments":["class.gantt-range"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":57},"arguments":[{"__symbolic":"reference","name":"GANTT_UPPER_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":11,"character":39,"context":{"typeName":"HTMLDivElement"},"module":"./components/range/range.component"}]},{"__symbolic":"reference","name":"GanttUpper"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"NgxGanttModule":"./gantt.module","GanttUpper":"./gantt-upper","GANTT_UPPER_TOKEN":"./gantt-upper","NgxGanttRootComponent":"./root.component","defaultColumnWidth":"./gantt.component","minColumnWidth":"./gantt.component","NgxGanttComponent":"./gantt.component","NgxGanttTableComponent":"./table/gantt-table.component","NgxGanttTableColumnComponent":"./table/gantt-column.component","GanttDateUtil":"./utils/date","GanttDate":"./utils/date","primaryDatePointTop":"./views/view","secondaryDatePointTop":"./views/view","GanttViewDate":"./views/view","GanttViewOptions":"./views/view","GanttView":"./views/view","GanttItemUpper":"./gantt-item-upper","IsGanttRangeItemPipe":"./gantt.pipe","IsGanttBarItemPipe":"./gantt.pipe","IsGanttCustomItemPipe":"./gantt.pipe","GanttPrintService":"./gantt-print.service","ɵa":"./gantt-dom.service","ɵb":"./gantt-drag-container","ɵc":"./components/bar/bar.component","ɵd":"./components/bar/bar-drag","ɵe":"./components/table/gantt-table.component","ɵf":"./components/main/gantt-main.component","ɵg":"./components/calendar/calendar.component","ɵh":"./components/links/links.component","ɵi":"./components/icon/icon.component","ɵj":"./components/drag-backdrop/drag-backdrop.component","ɵk":"./components/range/range.component"},"importAs":"@worktile/gantt"}
|