@worktile/gantt 12.0.1 → 12.0.2
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/README.md +13 -116
- package/bundles/worktile-gantt.umd.js +3303 -0
- package/bundles/worktile-gantt.umd.js.map +1 -0
- package/class/date-point.d.ts +15 -0
- package/{packages/gantt/src/class/event.ts → class/event.d.ts} +6 -12
- package/class/group.d.ts +22 -0
- package/{packages/gantt/src/class/index.ts → class/index.d.ts} +0 -0
- package/class/item.d.ts +70 -0
- package/class/view-type.d.ts +7 -0
- package/components/bar/bar-drag.d.ts +37 -0
- package/components/bar/bar.component.d.ts +26 -0
- package/components/calendar/calendar.component.d.ts +28 -0
- package/components/drag-backdrop/drag-backdrop.component.d.ts +9 -0
- package/components/icon/icon.component.d.ts +13 -0
- package/components/icon/icons.d.ts +8 -0
- package/components/links/links.component.d.ts +47 -0
- package/components/main/gantt-main.component.d.ts +21 -0
- package/components/range/range.component.d.ts +13 -0
- package/components/table/gantt-table.component.d.ts +36 -0
- package/esm2015/class/date-point.js +10 -0
- package/esm2015/class/event.js +13 -0
- package/esm2015/class/group.js +17 -0
- package/esm2015/class/index.js +6 -0
- package/esm2015/class/item.js +78 -0
- package/esm2015/class/view-type.js +9 -0
- package/esm2015/components/bar/bar-drag.js +264 -0
- package/esm2015/components/bar/bar.component.js +98 -0
- package/esm2015/components/calendar/calendar.component.js +86 -0
- package/esm2015/components/drag-backdrop/drag-backdrop.component.js +21 -0
- package/esm2015/components/icon/icon.component.js +38 -0
- package/esm2015/components/icon/icons.js +87 -0
- package/esm2015/components/links/links.component.js +213 -0
- package/esm2015/components/main/gantt-main.component.js +53 -0
- package/esm2015/components/range/range.component.js +37 -0
- package/esm2015/components/table/gantt-table.component.js +146 -0
- package/esm2015/gantt-abstract.js +3 -0
- package/esm2015/gantt-dom.service.js +103 -0
- package/esm2015/gantt-drag-container.js +59 -0
- package/esm2015/gantt-item-upper.js +58 -0
- package/esm2015/gantt-print.service.js +94 -0
- package/esm2015/gantt-upper.js +254 -0
- package/esm2015/gantt.component.js +131 -0
- package/esm2015/gantt.module.js +74 -0
- package/esm2015/gantt.pipe.js +43 -0
- package/esm2015/gantt.styles.js +15 -0
- package/esm2015/public-api.js +18 -0
- package/esm2015/root.component.js +123 -0
- package/esm2015/table/gantt-column.component.js +37 -0
- package/esm2015/table/gantt-table.component.js +20 -0
- package/esm2015/utils/date.js +160 -0
- package/esm2015/utils/helpers.js +55 -0
- package/esm2015/views/day.js +54 -0
- package/esm2015/views/factory.js +23 -0
- package/esm2015/views/month.js +48 -0
- package/esm2015/views/quarter.js +51 -0
- package/esm2015/views/view.js +121 -0
- package/esm2015/views/week.js +49 -0
- package/esm2015/views/year.js +50 -0
- package/esm2015/worktile-gantt.js +5 -0
- package/fesm2015/worktile-gantt.js +2637 -0
- package/fesm2015/worktile-gantt.js.map +1 -0
- package/{packages/gantt/src/gantt-abstract.ts → gantt-abstract.d.ts} +1 -3
- package/gantt-dom.service.d.ts +32 -0
- package/gantt-drag-container.d.ts +23 -0
- package/gantt-item-upper.d.ts +20 -0
- package/gantt-print.service.d.ts +13 -0
- package/gantt-upper.d.ts +64 -0
- package/gantt.component.d.ts +29 -0
- package/gantt.module.d.ts +21 -0
- package/gantt.pipe.d.ts +18 -0
- package/gantt.styles.d.ts +15 -0
- package/main.bundle.scss +645 -0
- package/package.json +16 -113
- package/{packages/gantt/src/public-api.ts → public-api.d.ts} +0 -4
- package/root.component.d.ts +28 -0
- package/table/gantt-column.component.d.ts +15 -0
- package/table/gantt-table.component.d.ts +10 -0
- package/utils/date.d.ts +59 -0
- package/utils/helpers.d.ts +12 -0
- package/views/day.d.ts +14 -0
- package/views/factory.d.ts +8 -0
- package/views/month.d.ts +12 -0
- package/views/quarter.d.ts +12 -0
- package/views/view.d.ts +56 -0
- package/views/week.d.ts +12 -0
- package/views/year.d.ts +12 -0
- package/worktile-gantt.d.ts +5 -0
- package/.all-contributorsrc +0 -53
- package/.angulardoc.json +0 -4
- package/.circleci/config.yml +0 -17
- package/.coveralls.yml +0 -1
- package/.docgenirc.js +0 -64
- package/.editorconfig +0 -22
- package/.prettierrc +0 -24
- package/.travis.yml +0 -23
- package/CHANGELOG.md +0 -564
- package/Dockerfile +0 -4
- package/LICENSE +0 -21
- package/angular.json +0 -136
- package/docs/guides/basic/components.md +0 -54
- package/docs/guides/basic/event.md +0 -70
- package/docs/guides/basic/index.md +0 -4
- package/docs/guides/basic/style.md +0 -68
- package/docs/guides/basic/type.md +0 -70
- package/docs/guides/basic/usage.md +0 -189
- package/docs/guides/index.md +0 -5
- package/docs/guides/intro/getting-started.md +0 -79
- package/docs/guides/intro/index.md +0 -51
- package/docs/index.md +0 -0
- package/example/browserslist +0 -12
- package/example/src/app/app-routing.module.ts +0 -26
- package/example/src/app/app.component.html +0 -2
- package/example/src/app/app.component.ts +0 -11
- package/example/src/app/app.module.ts +0 -57
- package/example/src/app/components/components.component.html +0 -6
- package/example/src/app/components/components.component.ts +0 -33
- package/example/src/app/configuration/parameters/api/zh-cn.js +0 -350
- package/example/src/app/configuration/parameters/doc/zh-cn.md +0 -5
- package/example/src/app/gantt/gantt.component.html +0 -51
- package/example/src/app/gantt/gantt.component.ts +0 -119
- package/example/src/app/gantt-advanced/component/flat.component.html +0 -30
- package/example/src/app/gantt-advanced/component/flat.component.ts +0 -72
- package/example/src/app/gantt-advanced/component/flat.scss +0 -31
- package/example/src/app/gantt-advanced/gantt-advanced.component.html +0 -32
- package/example/src/app/gantt-advanced/gantt-advanced.component.ts +0 -34
- package/example/src/app/gantt-advanced/mocks.ts +0 -158
- package/example/src/app/gantt-groups/gantt-groups.component.html +0 -42
- package/example/src/app/gantt-groups/gantt-groups.component.ts +0 -62
- package/example/src/app/gantt-range/gantt-range.component.html +0 -66
- package/example/src/app/gantt-range/gantt-range.component.ts +0 -67
- package/example/src/app/gantt-range/mocks.ts +0 -150
- package/example/src/app/helper.ts +0 -38
- package/example/src/assets/.gitkeep +0 -0
- package/example/src/environments/environment.prod.ts +0 -3
- package/example/src/environments/environment.ts +0 -16
- package/example/src/favicon.ico +0 -0
- package/example/src/index.html +0 -13
- package/example/src/main.ts +0 -12
- package/example/src/polyfills.ts +0 -63
- package/example/src/styles.scss +0 -56
- package/example/tsconfig.app.json +0 -18
- package/nginx.conf +0 -17
- package/packages/gantt/README.md +0 -24
- package/packages/gantt/karma.conf.js +0 -46
- package/packages/gantt/ng-package.json +0 -7
- package/packages/gantt/ng-package.prod.json +0 -7
- package/packages/gantt/package.json +0 -16
- package/packages/gantt/src/class/date-point.ts +0 -14
- package/packages/gantt/src/class/group.ts +0 -36
- package/packages/gantt/src/class/item.ts +0 -129
- package/packages/gantt/src/class/test/group.spec.ts +0 -21
- package/packages/gantt/src/class/test/item.spec.ts +0 -102
- package/packages/gantt/src/class/view-type.ts +0 -7
- package/packages/gantt/src/components/bar/bar-drag.ts +0 -298
- package/packages/gantt/src/components/bar/bar.component.html +0 -17
- package/packages/gantt/src/components/bar/bar.component.scss +0 -169
- package/packages/gantt/src/components/bar/bar.component.ts +0 -109
- package/packages/gantt/src/components/bar/test/bar.component.spec.ts +0 -54
- package/packages/gantt/src/components/bar/test/bar.drag.spec.ts +0 -196
- package/packages/gantt/src/components/calendar/calendar.component.html +0 -52
- package/packages/gantt/src/components/calendar/calendar.component.scss +0 -77
- package/packages/gantt/src/components/calendar/calendar.component.ts +0 -100
- package/packages/gantt/src/components/drag-backdrop/drag-backdrop.component.html +0 -6
- package/packages/gantt/src/components/drag-backdrop/drag-backdrop.component.scss +0 -48
- package/packages/gantt/src/components/drag-backdrop/drag-backdrop.component.ts +0 -13
- package/packages/gantt/src/components/icon/icon.component.scss +0 -13
- package/packages/gantt/src/components/icon/icon.component.ts +0 -28
- package/packages/gantt/src/components/icon/icons.ts +0 -86
- package/packages/gantt/src/components/links/links.component.html +0 -19
- package/packages/gantt/src/components/links/links.component.scss +0 -27
- package/packages/gantt/src/components/links/links.component.ts +0 -263
- package/packages/gantt/src/components/main/gantt-main.component.html +0 -35
- package/packages/gantt/src/components/main/gantt-main.component.ts +0 -35
- package/packages/gantt/src/components/range/range.component.html +0 -8
- package/packages/gantt/src/components/range/range.component.scss +0 -35
- package/packages/gantt/src/components/range/range.component.ts +0 -27
- package/packages/gantt/src/components/range/test/range.component.spec.ts +0 -80
- package/packages/gantt/src/components/table/gantt-table.component.html +0 -105
- package/packages/gantt/src/components/table/gantt-table.component.scss +0 -144
- package/packages/gantt/src/components/table/gantt-table.component.ts +0 -166
- package/packages/gantt/src/components/table/test/table.spec.ts +0 -129
- package/packages/gantt/src/gantt-dom.service.ts +0 -134
- package/packages/gantt/src/gantt-drag-container.ts +0 -73
- package/packages/gantt/src/gantt-item-upper.ts +0 -50
- package/packages/gantt/src/gantt-print.service.ts +0 -104
- package/packages/gantt/src/gantt-upper.ts +0 -289
- package/packages/gantt/src/gantt.component.html +0 -18
- package/packages/gantt/src/gantt.component.scss +0 -77
- package/packages/gantt/src/gantt.component.ts +0 -134
- package/packages/gantt/src/gantt.module.ts +0 -47
- package/packages/gantt/src/gantt.pipe.ts +0 -31
- package/packages/gantt/src/gantt.styles.ts +0 -28
- package/packages/gantt/src/root.component.html +0 -12
- package/packages/gantt/src/root.component.ts +0 -121
- package/packages/gantt/src/styles/index.scss +0 -9
- package/packages/gantt/src/styles/variables.scss +0 -46
- package/packages/gantt/src/table/gantt-column.component.ts +0 -25
- package/packages/gantt/src/table/gantt-table.component.ts +0 -14
- package/packages/gantt/src/table/test/table.spec.ts +0 -56
- package/packages/gantt/src/test/gantt.component.spec.ts +0 -404
- package/packages/gantt/src/test/mocks/data.ts +0 -303
- package/packages/gantt/src/test.ts +0 -21
- package/packages/gantt/src/utils/date.ts +0 -276
- package/packages/gantt/src/utils/helpers.ts +0 -66
- package/packages/gantt/src/utils/test/date.spec.ts +0 -105
- package/packages/gantt/src/utils/test/helpers.spec.ts +0 -73
- package/packages/gantt/src/utils/testing.ts +0 -64
- package/packages/gantt/src/views/day.ts +0 -74
- package/packages/gantt/src/views/factory.ts +0 -25
- package/packages/gantt/src/views/month.ts +0 -66
- package/packages/gantt/src/views/quarter.ts +0 -68
- package/packages/gantt/src/views/test/day.spec.ts +0 -45
- package/packages/gantt/src/views/test/factory.spec.ts +0 -41
- package/packages/gantt/src/views/test/mock.ts +0 -14
- package/packages/gantt/src/views/test/month.spec.ts +0 -45
- package/packages/gantt/src/views/test/quarter.spec.ts +0 -45
- package/packages/gantt/src/views/test/view.spec.ts +0 -144
- package/packages/gantt/src/views/test/week.spec.ts +0 -45
- package/packages/gantt/src/views/test/year.spec.ts +0 -45
- package/packages/gantt/src/views/view.ts +0 -186
- package/packages/gantt/src/views/week.ts +0 -66
- package/packages/gantt/src/views/year.ts +0 -62
- package/packages/gantt/tsconfig.lib.json +0 -20
- package/packages/gantt/tsconfig.lib.prod.json +0 -9
- package/packages/gantt/tsconfig.schematics.json +0 -25
- package/packages/gantt/tsconfig.spec.json +0 -17
- package/packages/gantt/tslint.json +0 -18
- package/scss-bundle.config.json +0 -7
- package/tsconfig.json +0 -26
- package/tslint.json +0 -51
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { GanttItemInternal } from './class';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { GanttUpper } from './gantt-upper';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class GanttItemUpper {
|
|
7
|
+
protected elementRef: ElementRef<HTMLElement>;
|
|
8
|
+
protected ganttUpper: GanttUpper;
|
|
9
|
+
template: TemplateRef<any>;
|
|
10
|
+
item: GanttItemInternal;
|
|
11
|
+
firstChange: boolean;
|
|
12
|
+
unsubscribe$: Subject<unknown>;
|
|
13
|
+
constructor(elementRef: ElementRef<HTMLElement>, ganttUpper: GanttUpper);
|
|
14
|
+
onInit(): void;
|
|
15
|
+
onChanges(): void;
|
|
16
|
+
private setPositions;
|
|
17
|
+
onDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttItemUpper, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttItemUpper, never, never, { "template": "template"; "item": "item"; }, {}, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GanttPrintService {
|
|
4
|
+
private root;
|
|
5
|
+
private mainContainer;
|
|
6
|
+
constructor();
|
|
7
|
+
private setInlineStyles;
|
|
8
|
+
private recursElementChildren;
|
|
9
|
+
register(root: ElementRef<HTMLElement>): void;
|
|
10
|
+
print(name?: string, ignoreElementClass?: string): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttPrintService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GanttPrintService>;
|
|
13
|
+
}
|
package/gantt-upper.d.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { TemplateRef, EventEmitter, ElementRef, ChangeDetectorRef, NgZone, SimpleChanges, InjectionToken } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { GanttItem, GanttGroup, GanttViewType, GanttLoadOnScrollEvent, GanttDragEvent, GanttGroupInternal, GanttItemInternal, GanttBarClickEvent, GanttLinkDragEvent } from './class';
|
|
4
|
+
import { GanttView, GanttViewOptions } from './views/view';
|
|
5
|
+
import { GanttStyles } from './gantt.styles';
|
|
6
|
+
import { GanttDragContainer } from './gantt-drag-container';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class GanttUpper {
|
|
9
|
+
protected elementRef: ElementRef<HTMLElement>;
|
|
10
|
+
protected cdr: ChangeDetectorRef;
|
|
11
|
+
protected ngZone: NgZone;
|
|
12
|
+
originItems: GanttItem[];
|
|
13
|
+
originGroups: GanttGroup[];
|
|
14
|
+
viewType: GanttViewType;
|
|
15
|
+
start: number;
|
|
16
|
+
end: number;
|
|
17
|
+
showTodayLine: boolean;
|
|
18
|
+
draggable: boolean;
|
|
19
|
+
styles: GanttStyles;
|
|
20
|
+
viewOptions: GanttViewOptions;
|
|
21
|
+
disabledLoadOnScroll: boolean;
|
|
22
|
+
loadOnScroll: EventEmitter<GanttLoadOnScrollEvent>;
|
|
23
|
+
dragStarted: EventEmitter<GanttDragEvent<unknown>>;
|
|
24
|
+
dragEnded: EventEmitter<GanttDragEvent<unknown>>;
|
|
25
|
+
barClick: EventEmitter<GanttBarClickEvent<unknown>>;
|
|
26
|
+
barTemplate: TemplateRef<any>;
|
|
27
|
+
rangeTemplate: TemplateRef<any>;
|
|
28
|
+
itemTemplate: TemplateRef<any>;
|
|
29
|
+
groupTemplate: TemplateRef<any>;
|
|
30
|
+
groupHeaderTemplate: TemplateRef<any>;
|
|
31
|
+
linkable: boolean;
|
|
32
|
+
linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
33
|
+
view: GanttView;
|
|
34
|
+
items: GanttItemInternal[];
|
|
35
|
+
groups: GanttGroupInternal[];
|
|
36
|
+
viewChange: EventEmitter<GanttView>;
|
|
37
|
+
expandChange: EventEmitter<void>;
|
|
38
|
+
get element(): HTMLElement;
|
|
39
|
+
firstChange: boolean;
|
|
40
|
+
dragContainer: GanttDragContainer;
|
|
41
|
+
unsubscribe$: Subject<unknown>;
|
|
42
|
+
private groupsMap;
|
|
43
|
+
ganttClass: boolean;
|
|
44
|
+
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
45
|
+
private createView;
|
|
46
|
+
private setupGroups;
|
|
47
|
+
private setupItems;
|
|
48
|
+
private setupExpandedState;
|
|
49
|
+
private getViewDate;
|
|
50
|
+
computeRefs(): void;
|
|
51
|
+
private expandGroups;
|
|
52
|
+
onInit(): void;
|
|
53
|
+
onChanges(changes: SimpleChanges): void;
|
|
54
|
+
onDestroy(): void;
|
|
55
|
+
computeItemsRefs(...items: GanttItemInternal[]): void;
|
|
56
|
+
trackBy(item: GanttGroupInternal | GanttItemInternal, index: number): string | number;
|
|
57
|
+
detectChanges(): void;
|
|
58
|
+
expandGroup(group: GanttGroupInternal): void;
|
|
59
|
+
expandAll(): void;
|
|
60
|
+
collapseAll(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttUpper, never>;
|
|
62
|
+
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"]>;
|
|
63
|
+
}
|
|
64
|
+
export declare const GANTT_UPPER_TOKEN: InjectionToken<GanttUpper>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, ElementRef, EventEmitter, ChangeDetectorRef, NgZone, OnChanges, OnDestroy, SimpleChanges, QueryList, AfterViewInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { GanttUpper } from './gantt-upper';
|
|
4
|
+
import { GanttLinkDragEvent, GanttLineClickEvent, GanttItemInternal, GanttItem } from './class';
|
|
5
|
+
import { NgxGanttTableColumnComponent } from './table/gantt-column.component';
|
|
6
|
+
import { NgxGanttTableComponent } from './table/gantt-table.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class NgxGanttComponent extends GanttUpper implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
9
|
+
maxLevel: number;
|
|
10
|
+
async: boolean;
|
|
11
|
+
childrenResolve: (GanttItem: any) => Observable<GanttItem[]>;
|
|
12
|
+
linkable: boolean;
|
|
13
|
+
linkDragStarted: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
14
|
+
linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
15
|
+
lineClick: EventEmitter<GanttLineClickEvent<unknown>>;
|
|
16
|
+
table: NgxGanttTableComponent;
|
|
17
|
+
columns: QueryList<NgxGanttTableColumnComponent>;
|
|
18
|
+
tableEmptyTemplate: TemplateRef<any>;
|
|
19
|
+
private ngUnsubscribe$;
|
|
20
|
+
sideTableWidth: number;
|
|
21
|
+
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
expandChildren(item: GanttItemInternal): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttComponent, never>;
|
|
28
|
+
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>;
|
|
29
|
+
}
|
|
@@ -0,0 +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";
|
|
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>;
|
|
21
|
+
}
|
package/gantt.pipe.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { GanttItemType } from './class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IsGanttRangeItemPipe implements PipeTransform {
|
|
5
|
+
transform(value: GanttItemType): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttRangeItemPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttRangeItemPipe, "isGanttRangeItem">;
|
|
8
|
+
}
|
|
9
|
+
export declare class IsGanttBarItemPipe implements PipeTransform {
|
|
10
|
+
transform(value: GanttItemType): boolean;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttBarItemPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttBarItemPipe, "isGanttBarItem">;
|
|
13
|
+
}
|
|
14
|
+
export declare class IsGanttCustomItemPipe implements PipeTransform {
|
|
15
|
+
transform(value: GanttItemType): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttCustomItemPipe, never>;
|
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttCustomItemPipe, "isGanttCustomItem">;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const defaultStyles: {
|
|
2
|
+
lineHeight: number;
|
|
3
|
+
barHeight: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const headerHeight = 44;
|
|
6
|
+
export declare type GanttStyles = typeof defaultStyles;
|
|
7
|
+
export declare const sideWidth = 400;
|
|
8
|
+
export declare const sideMiddleWidth = 500;
|
|
9
|
+
export declare const sideMaxWidth = 600;
|
|
10
|
+
export declare const sideMinWidth = 400;
|
|
11
|
+
export declare const barBackground = "#348fe4";
|
|
12
|
+
export declare const rangeHeight = 17;
|
|
13
|
+
export declare const todayHeight = 24;
|
|
14
|
+
export declare const todayWidth = 35;
|
|
15
|
+
export declare const todayBorderRadius = 4;
|