@worktile/gantt 19.0.8-next.4 → 20.0.0-next.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/components/table/gantt-table.scss +0 -2
- package/fesm2022/worktile-gantt.mjs +1404 -1506
- package/fesm2022/worktile-gantt.mjs.map +1 -1
- package/gantt.component.scss +0 -4
- package/index.d.ts +1405 -5
- package/package.json +4 -4
- package/class/baseline.d.ts +0 -26
- package/class/date-point.d.ts +0 -19
- package/class/event.d.ts +0 -64
- package/class/group.d.ts +0 -22
- package/class/index.d.ts +0 -8
- package/class/item.d.ts +0 -76
- package/class/link.d.ts +0 -54
- package/class/toolbar.d.ts +0 -4
- package/class/view-type.d.ts +0 -8
- package/components/bar/bar-drag.d.ts +0 -78
- package/components/bar/bar.component.d.ts +0 -26
- package/components/baseline/baseline.component.d.ts +0 -18
- package/components/calendar/grid/calendar-grid.component.d.ts +0 -21
- package/components/calendar/header/calendar-header.component.d.ts +0 -19
- package/components/drag-backdrop/drag-backdrop.component.d.ts +0 -8
- package/components/icon/icon.component.d.ts +0 -11
- package/components/icon/icons.d.ts +0 -11
- package/components/links/lines/curve.d.ts +0 -10
- package/components/links/lines/factory.d.ts +0 -5
- package/components/links/lines/line.d.ts +0 -8
- package/components/links/lines/straight.d.ts +0 -9
- package/components/links/links.component.d.ts +0 -37
- package/components/loader/loader.component.d.ts +0 -5
- package/components/main/gantt-main.component.d.ts +0 -32
- package/components/range/range.component.d.ts +0 -10
- package/components/scrollbar/scrollbar.component.d.ts +0 -13
- package/components/table/body/gantt-table-body.component.d.ts +0 -62
- package/components/table/header/gantt-table-header.component.d.ts +0 -35
- package/components/toolbar/toolbar.component.d.ts +0 -21
- package/directives/sync-scroll.directive.d.ts +0 -22
- package/gantt-abstract.d.ts +0 -14
- package/gantt-dom.service.d.ts +0 -48
- package/gantt-drag-container.d.ts +0 -36
- package/gantt-item-upper.d.ts +0 -22
- package/gantt-print.service.d.ts +0 -13
- package/gantt-sync-scroll.service.d.ts +0 -11
- package/gantt-upper.d.ts +0 -101
- package/gantt.component.d.ts +0 -66
- package/gantt.config.d.ts +0 -50
- package/gantt.module.d.ts +0 -29
- package/gantt.pipe.d.ts +0 -23
- package/gantt.styles.d.ts +0 -9
- package/i18n/i18n.d.ts +0 -23
- package/i18n/index.d.ts +0 -10
- package/i18n/locales/de-de.d.ts +0 -49
- package/i18n/locales/en-us.d.ts +0 -48
- package/i18n/locales/ja-jp.d.ts +0 -48
- package/i18n/locales/ru-ru.d.ts +0 -49
- package/i18n/locales/zh-hans.d.ts +0 -48
- package/i18n/locales/zh-hant.d.ts +0 -48
- package/public-api.d.ts +0 -26
- package/root.component.d.ts +0 -36
- package/table/gantt-column.component.d.ts +0 -17
- package/table/gantt-table.component.d.ts +0 -22
- package/utils/date.d.ts +0 -66
- package/utils/drag-scroll.d.ts +0 -27
- package/utils/helpers.d.ts +0 -15
- package/utils/passive-listeners.d.ts +0 -13
- package/utils/set-style-with-vendor-prefix.d.ts +0 -12
- package/views/day.d.ts +0 -16
- package/views/factory.d.ts +0 -10
- package/views/hour.d.ts +0 -19
- package/views/month.d.ts +0 -14
- package/views/quarter.d.ts +0 -14
- package/views/view.d.ts +0 -97
- package/views/week.d.ts +0 -14
- package/views/year.d.ts +0 -14
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GanttUpper } from '../../gantt-upper';
|
|
2
|
-
import { NgxGanttRootComponent } from '../../root.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GanttScrollbarComponent {
|
|
5
|
-
ganttUpper: GanttUpper;
|
|
6
|
-
hasFooter: import("@angular/core").InputSignal<boolean>;
|
|
7
|
-
tableWidth: import("@angular/core").InputSignal<number>;
|
|
8
|
-
ganttRoot: import("@angular/core").InputSignal<NgxGanttRootComponent>;
|
|
9
|
-
tableScrollWidth: import("@angular/core").InputSignal<number>;
|
|
10
|
-
constructor(ganttUpper: GanttUpper);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttScrollbarComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttScrollbarComponent, "gantt-scrollbar", never, { "hasFooter": { "alias": "hasFooter"; "required": false; "isSignal": true; }; "tableWidth": { "alias": "tableWidth"; "required": false; "isSignal": true; }; "ganttRoot": { "alias": "ganttRoot"; "required": false; "isSignal": true; }; "tableScrollWidth": { "alias": "tableScrollWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { CdkDrag, CdkDragDrop, CdkDragEnd, CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
-
import { GanttGroupInternal, GanttItemInternal, GanttSelectedEvent, GanttTableDragDroppedEvent, GanttTableDragEndedEvent, GanttTableDragEnterPredicateContext, GanttTableDragStartedEvent } from '../../../class';
|
|
4
|
-
import { GanttAbstractComponent } from '../../../gantt-abstract';
|
|
5
|
-
import { GanttUpper } from '../../../gantt-upper';
|
|
6
|
-
import { NgxGanttTableColumnComponent } from '../../../table/gantt-column.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class GanttTableBodyComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
9
|
-
gantt: GanttAbstractComponent;
|
|
10
|
-
ganttUpper: GanttUpper;
|
|
11
|
-
private cdr;
|
|
12
|
-
private document;
|
|
13
|
-
protected elementRef: ElementRef<HTMLElement>;
|
|
14
|
-
private _viewportItems;
|
|
15
|
-
set viewportItems(data: (GanttGroupInternal | GanttItemInternal)[]);
|
|
16
|
-
get viewportItems(): (GanttGroupInternal | GanttItemInternal)[];
|
|
17
|
-
flatItems: (GanttGroupInternal | GanttItemInternal)[];
|
|
18
|
-
columns: QueryList<NgxGanttTableColumnComponent>;
|
|
19
|
-
groupTemplate: TemplateRef<any>;
|
|
20
|
-
emptyTemplate: TemplateRef<any>;
|
|
21
|
-
rowBeforeTemplate: TemplateRef<any>;
|
|
22
|
-
rowAfterTemplate: TemplateRef<any>;
|
|
23
|
-
draggable: boolean;
|
|
24
|
-
dropEnterPredicate?: (context: GanttTableDragEnterPredicateContext) => boolean;
|
|
25
|
-
dragDropped: EventEmitter<GanttTableDragDroppedEvent<unknown>>;
|
|
26
|
-
dragStarted: EventEmitter<GanttTableDragStartedEvent<unknown>>;
|
|
27
|
-
dragEnded: EventEmitter<GanttTableDragEndedEvent<unknown>>;
|
|
28
|
-
itemClick: EventEmitter<GanttSelectedEvent<unknown>>;
|
|
29
|
-
ganttTableClass: boolean;
|
|
30
|
-
ganttTableEmptyClass: boolean;
|
|
31
|
-
ganttTableDragging: boolean;
|
|
32
|
-
cdkDrags: QueryList<CdkDrag<GanttItemInternal>>;
|
|
33
|
-
hasGroup: boolean;
|
|
34
|
-
hasExpandIcon: boolean;
|
|
35
|
-
private itemDragsMap;
|
|
36
|
-
private itemDragMoved;
|
|
37
|
-
private itemDropTarget;
|
|
38
|
-
private destroy$;
|
|
39
|
-
constructor(gantt: GanttAbstractComponent, ganttUpper: GanttUpper, cdr: ChangeDetectorRef, document: Document, elementRef: ElementRef<HTMLElement>);
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngAfterViewInit(): void;
|
|
42
|
-
expandGroup(group: GanttGroupInternal): void;
|
|
43
|
-
expandChildren(event: MouseEvent, item: GanttItemInternal): void;
|
|
44
|
-
onItemDragStarted(event: CdkDragStart<GanttItemInternal>): void;
|
|
45
|
-
emitItemDragMoved(event: CdkDragMove): void;
|
|
46
|
-
onItemDragMoved(event: CdkDragMove<GanttItemInternal>): void;
|
|
47
|
-
onItemDragEnded(event: CdkDragEnd<GanttItemInternal>): void;
|
|
48
|
-
onListDropped(event: CdkDragDrop<GanttItemInternal[], GanttItemInternal[], GanttItemInternal>): void;
|
|
49
|
-
trackBy(index: number, item: GanttGroupInternal | GanttItemInternal): string | number;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
private removeItem;
|
|
52
|
-
private insertItem;
|
|
53
|
-
private insertChildrenItem;
|
|
54
|
-
private getParentByItem;
|
|
55
|
-
private getExpandChildrenByDrag;
|
|
56
|
-
private getChildrenElementsByElement;
|
|
57
|
-
private getTargetPosition;
|
|
58
|
-
private showDropPositionPlaceholder;
|
|
59
|
-
private cleanupDragArtifacts;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTableBodyComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttTableBodyComponent, "gantt-table-body", never, { "viewportItems": { "alias": "viewportItems"; "required": false; }; "flatItems": { "alias": "flatItems"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "groupTemplate": { "alias": "groupTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "rowBeforeTemplate": { "alias": "rowBeforeTemplate"; "required": false; }; "rowAfterTemplate": { "alias": "rowAfterTemplate"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "dropEnterPredicate": { "alias": "dropEnterPredicate"; "required": false; }; }, { "dragDropped": "dragDropped"; "dragStarted": "dragStarted"; "dragEnded": "dragEnded"; "itemClick": "itemClick"; }, never, never, true, never>;
|
|
62
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CdkDragEnd, CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
|
-
import { GanttAbstractComponent } from '../../../gantt-abstract';
|
|
4
|
-
import { NgxGanttTableColumnComponent } from '../../../table/gantt-column.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const defaultColumnWidth = 100;
|
|
7
|
-
export declare const minColumnWidth = 80;
|
|
8
|
-
export declare class GanttTableHeaderComponent implements OnInit, OnDestroy {
|
|
9
|
-
private elementRef;
|
|
10
|
-
gantt: GanttAbstractComponent;
|
|
11
|
-
private cdr;
|
|
12
|
-
dragStartLeft: number;
|
|
13
|
-
tableWidth: number;
|
|
14
|
-
customWidth: number;
|
|
15
|
-
private unsubscribe$;
|
|
16
|
-
columns: QueryList<NgxGanttTableColumnComponent>;
|
|
17
|
-
resizeLineElementRef: ElementRef<HTMLElement>;
|
|
18
|
-
className: string;
|
|
19
|
-
get height(): string;
|
|
20
|
-
get lineHeight(): string;
|
|
21
|
-
constructor(elementRef: ElementRef, gantt: GanttAbstractComponent, cdr: ChangeDetectorRef);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
private columnsChange;
|
|
24
|
-
private dragFixed;
|
|
25
|
-
onResizeStarted(event: CdkDragStart): void;
|
|
26
|
-
onResizeMoved(event: CdkDragMove, column?: NgxGanttTableColumnComponent): void;
|
|
27
|
-
onResizeEnded(event: CdkDragEnd, column: NgxGanttTableColumnComponent): void;
|
|
28
|
-
onOverallResizeEnded(event: CdkDragEnd): void;
|
|
29
|
-
private showAuxiliaryLine;
|
|
30
|
-
private hideAuxiliaryLine;
|
|
31
|
-
private getCalcWidth;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTableHeaderComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GanttTableHeaderComponent, "gantt-table-header", never, { "columns": { "alias": "columns"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { GanttViewType } from '../../class';
|
|
3
|
-
import { GanttUpper } from '../../gantt-upper';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgxGanttToolbarComponent {
|
|
6
|
-
protected ganttUpper: GanttUpper;
|
|
7
|
-
template: TemplateRef<any>;
|
|
8
|
-
ganttItemClass: boolean;
|
|
9
|
-
get top(): string;
|
|
10
|
-
views: Record<GanttViewType, {
|
|
11
|
-
label: string;
|
|
12
|
-
dateFormats: {
|
|
13
|
-
primary?: string;
|
|
14
|
-
secondary?: string;
|
|
15
|
-
};
|
|
16
|
-
}>;
|
|
17
|
-
constructor(ganttUpper: GanttUpper);
|
|
18
|
-
selectView(view: GanttViewType): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttToolbarComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttToolbarComponent, "ngx-gantt-toolbar,gantt-toolbar", never, { "template": { "alias": "template"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GanttSyncScrollXDirective implements OnInit, OnDestroy {
|
|
4
|
-
readonly syncScrollX: import("@angular/core").InputSignal<string>;
|
|
5
|
-
private elementRef;
|
|
6
|
-
private syncScrollService;
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttSyncScrollXDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttSyncScrollXDirective, "[syncScrollX]", never, { "syncScrollX": { "alias": "syncScrollX"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
13
|
-
export declare class GanttSyncScrollYDirective implements OnInit, OnDestroy {
|
|
14
|
-
readonly syncScrollY: import("@angular/core").InputSignal<string>;
|
|
15
|
-
private syncScrollService;
|
|
16
|
-
private elementRef;
|
|
17
|
-
constructor();
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttSyncScrollYDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttSyncScrollYDirective, "[syncScrollY]", never, { "syncScrollY": { "alias": "syncScrollY"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
-
}
|
package/gantt-abstract.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { GanttGroupInternal, GanttItemInternal } from './class';
|
|
3
|
-
import { NgxGanttTableComponent } from './table/gantt-table.component';
|
|
4
|
-
import { GanttStyleOptions } from './gantt.config';
|
|
5
|
-
export interface GanttAbstractComponent {
|
|
6
|
-
table: NgxGanttTableComponent;
|
|
7
|
-
styles: GanttStyleOptions;
|
|
8
|
-
maxLevel: number;
|
|
9
|
-
async: boolean;
|
|
10
|
-
cdr: ChangeDetectorRef;
|
|
11
|
-
expandGroup(group: GanttGroupInternal): void;
|
|
12
|
-
expandChildren(item: GanttItemInternal): void;
|
|
13
|
-
}
|
|
14
|
-
export declare const GANTT_ABSTRACT_TOKEN: InjectionToken<GanttAbstractComponent>;
|
package/gantt-dom.service.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ElementRef, NgZone, OnDestroy, WritableSignal } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare enum ScrollDirection {
|
|
5
|
-
NONE = 0,
|
|
6
|
-
LEFT = 1,
|
|
7
|
-
RIGHT = 2
|
|
8
|
-
}
|
|
9
|
-
export interface ScrollEvent {
|
|
10
|
-
target: Element;
|
|
11
|
-
direction: ScrollDirection;
|
|
12
|
-
}
|
|
13
|
-
export declare class GanttDomService implements OnDestroy {
|
|
14
|
-
private ngZone;
|
|
15
|
-
private platformId;
|
|
16
|
-
root: Element;
|
|
17
|
-
side: Element;
|
|
18
|
-
container: Element;
|
|
19
|
-
sideContainer: Element;
|
|
20
|
-
mainContainer: Element;
|
|
21
|
-
verticalScrollContainer: Element;
|
|
22
|
-
calendarHeader: Element;
|
|
23
|
-
mainItems: Element;
|
|
24
|
-
calendarOverlay: Element;
|
|
25
|
-
linksOverlay: Element;
|
|
26
|
-
visibleRangeX: WritableSignal<{
|
|
27
|
-
min: number;
|
|
28
|
-
max: number;
|
|
29
|
-
}>;
|
|
30
|
-
private mainFooter;
|
|
31
|
-
private mainScrollbar;
|
|
32
|
-
private unsubscribe$;
|
|
33
|
-
constructor(ngZone: NgZone, platformId: string);
|
|
34
|
-
private disableBrowserWheelEvent;
|
|
35
|
-
initialize(root: ElementRef<HTMLElement>): void;
|
|
36
|
-
/**
|
|
37
|
-
* @returns An observable that will emit outside the Angular zone. Note, consumers should re-enter the Angular zone
|
|
38
|
-
* to run the change detection if needed.
|
|
39
|
-
*/
|
|
40
|
-
getViewerScroll(options?: AddEventListenerOptions): Observable<ScrollEvent>;
|
|
41
|
-
getResize(): Observable<Event>;
|
|
42
|
-
getResizeByElement(element: Element): Observable<unknown>;
|
|
43
|
-
scrollMainContainer(left: number): void;
|
|
44
|
-
setVisibleRangeX(): void;
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttDomService, never>;
|
|
47
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GanttDomService>;
|
|
48
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { GanttDragEvent, GanttLinkDragEvent } from './class/event';
|
|
3
|
-
import { GanttItemInternal } from './class/item';
|
|
4
|
-
import { GanttUpper } from './gantt-upper';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare enum InBarPosition {
|
|
7
|
-
start = "start",
|
|
8
|
-
finish = "finish"
|
|
9
|
-
}
|
|
10
|
-
export type LinkDragPosition = {
|
|
11
|
-
element: HTMLElement;
|
|
12
|
-
item: GanttItemInternal;
|
|
13
|
-
pos?: InBarPosition;
|
|
14
|
-
};
|
|
15
|
-
export interface LinkDragPath {
|
|
16
|
-
from?: LinkDragPosition;
|
|
17
|
-
to?: LinkDragPosition;
|
|
18
|
-
}
|
|
19
|
-
export declare class GanttDragContainer {
|
|
20
|
-
ganttUpper: GanttUpper;
|
|
21
|
-
dragStarted: EventEmitter<GanttDragEvent<unknown>>;
|
|
22
|
-
dragMoved: EventEmitter<GanttDragEvent<unknown>>;
|
|
23
|
-
dragEnded: EventEmitter<GanttDragEvent<unknown>>;
|
|
24
|
-
linkDragStarted: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
25
|
-
linkDragEntered: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
26
|
-
linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
27
|
-
linkDraggingId: string;
|
|
28
|
-
linkDragPath: LinkDragPath;
|
|
29
|
-
constructor(ganttUpper: GanttUpper);
|
|
30
|
-
emitLinkDragStarted(from: LinkDragPosition): void;
|
|
31
|
-
emitLinkDragEntered(to: LinkDragPosition): void;
|
|
32
|
-
emitLinkDragLeaved(): void;
|
|
33
|
-
emitLinkDragEnded(to?: LinkDragPosition): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttDragContainer, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GanttDragContainer>;
|
|
36
|
-
}
|
package/gantt-item-upper.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementRef, TemplateRef, OnInit, OnChanges, OnDestroy, SimpleChanges } 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 implements OnChanges, OnInit, OnDestroy {
|
|
7
|
-
protected elementRef: ElementRef<HTMLElement>;
|
|
8
|
-
protected ganttUpper: GanttUpper;
|
|
9
|
-
template: TemplateRef<any>;
|
|
10
|
-
item: GanttItemInternal;
|
|
11
|
-
firstChange: boolean;
|
|
12
|
-
unsubscribe$: Subject<void>;
|
|
13
|
-
refsUnsubscribe$: Subject<void>;
|
|
14
|
-
constructor(elementRef: ElementRef<HTMLElement>, ganttUpper: GanttUpper);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
-
private itemChange;
|
|
18
|
-
private setPositions;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttItemUpper, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttItemUpper, never, never, { "template": { "alias": "template"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
}
|
package/gantt-print.service.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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): Promise<void>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttPrintService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GanttPrintService>;
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GanttSyncScrollService {
|
|
3
|
-
private ngZone;
|
|
4
|
-
private scrollGroupsMap;
|
|
5
|
-
constructor();
|
|
6
|
-
registerScrollEvent(groupName: string, element: HTMLElement, direction: 'x' | 'y'): void;
|
|
7
|
-
unregisterScrollEvent(groupName: string, element: HTMLElement): void;
|
|
8
|
-
private monitorScrollChange;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttSyncScrollService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GanttSyncScrollService>;
|
|
11
|
-
}
|
package/gantt-upper.d.ts
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { GanttBarClickEvent, GanttDragEvent, GanttGroup, GanttGroupInternal, GanttItem, GanttItemInternal, GanttLinkDragEvent, GanttLoadOnScrollEvent, GanttToolbarOptions, GanttViewType } from './class';
|
|
6
|
-
import { GanttBaselineItem, GanttBaselineItemInternal } from './class/baseline';
|
|
7
|
-
import { GanttLinkOptions } from './class/link';
|
|
8
|
-
import { GanttDragContainer } from './gantt-drag-container';
|
|
9
|
-
import { GanttConfigService, GanttGlobalConfig, GanttStyleOptions } from './gantt.config';
|
|
10
|
-
import { NgxGanttTableComponent } from './table/gantt-table.component';
|
|
11
|
-
import { Dictionary } from './utils/helpers';
|
|
12
|
-
import { GanttView, GanttViewOptions } from './views/view';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare abstract class GanttUpper implements OnChanges, OnInit, OnDestroy {
|
|
15
|
-
protected elementRef: ElementRef<HTMLElement>;
|
|
16
|
-
protected cdr: ChangeDetectorRef;
|
|
17
|
-
protected ngZone: NgZone;
|
|
18
|
-
protected config: GanttGlobalConfig;
|
|
19
|
-
originItems: GanttItem[];
|
|
20
|
-
originGroups: GanttGroup[];
|
|
21
|
-
originBaselineItems: GanttBaselineItem[];
|
|
22
|
-
viewType: GanttViewType;
|
|
23
|
-
start: number;
|
|
24
|
-
end: number;
|
|
25
|
-
showTodayLine: boolean;
|
|
26
|
-
draggable: boolean;
|
|
27
|
-
styles: GanttStyleOptions;
|
|
28
|
-
showToolbar: boolean;
|
|
29
|
-
toolbarOptions: GanttToolbarOptions;
|
|
30
|
-
viewOptions: GanttViewOptions;
|
|
31
|
-
set linkOptions(options: GanttLinkOptions);
|
|
32
|
-
get linkOptions(): GanttLinkOptions;
|
|
33
|
-
disabledLoadOnScroll: boolean;
|
|
34
|
-
set selectable(value: BooleanInput);
|
|
35
|
-
get selectable(): boolean;
|
|
36
|
-
set multiple(value: BooleanInput);
|
|
37
|
-
get multiple(): boolean;
|
|
38
|
-
quickTimeFocus: boolean;
|
|
39
|
-
loadOnScroll: EventEmitter<GanttLoadOnScrollEvent>;
|
|
40
|
-
dragStarted: EventEmitter<GanttDragEvent<unknown>>;
|
|
41
|
-
dragMoved: EventEmitter<GanttDragEvent<unknown>>;
|
|
42
|
-
dragEnded: EventEmitter<GanttDragEvent<unknown>>;
|
|
43
|
-
barClick: EventEmitter<GanttBarClickEvent<unknown>>;
|
|
44
|
-
viewChange: EventEmitter<GanttView>;
|
|
45
|
-
expandChange: EventEmitter<GanttItemInternal | GanttGroupInternal | (GanttItemInternal | GanttGroupInternal)[]>;
|
|
46
|
-
barTemplate: TemplateRef<any>;
|
|
47
|
-
rangeTemplate: TemplateRef<any>;
|
|
48
|
-
itemTemplate: TemplateRef<any>;
|
|
49
|
-
baselineTemplate: TemplateRef<any>;
|
|
50
|
-
groupTemplate: TemplateRef<any>;
|
|
51
|
-
groupHeaderTemplate: TemplateRef<any>;
|
|
52
|
-
toolbarTemplate: TemplateRef<any>;
|
|
53
|
-
configService: GanttConfigService;
|
|
54
|
-
linkable: boolean;
|
|
55
|
-
linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
56
|
-
view: GanttView;
|
|
57
|
-
items: GanttItemInternal[];
|
|
58
|
-
groups: GanttGroupInternal[];
|
|
59
|
-
baselineItems: GanttBaselineItemInternal[];
|
|
60
|
-
baselineItemsMap: Dictionary<GanttBaselineItemInternal>;
|
|
61
|
-
get element(): HTMLElement;
|
|
62
|
-
firstChange: boolean;
|
|
63
|
-
dragContainer: GanttDragContainer;
|
|
64
|
-
unsubscribe$: Subject<void>;
|
|
65
|
-
selectionModel: SelectionModel<string>;
|
|
66
|
-
table?: NgxGanttTableComponent;
|
|
67
|
-
private groupsMap;
|
|
68
|
-
private _selectable;
|
|
69
|
-
private _multiple;
|
|
70
|
-
private _linkOptions;
|
|
71
|
-
ganttClass: boolean;
|
|
72
|
-
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone, // @Inject(GANTT_GLOBAL_CONFIG) public config: GanttGlobalConfig
|
|
73
|
-
config: GanttGlobalConfig);
|
|
74
|
-
private createView;
|
|
75
|
-
private setupGroups;
|
|
76
|
-
protected setupItems(): void;
|
|
77
|
-
private setupBaselineItems;
|
|
78
|
-
private setupExpandedState;
|
|
79
|
-
private getViewDate;
|
|
80
|
-
computeRefs(): void;
|
|
81
|
-
private initSelectionModel;
|
|
82
|
-
private initCssVariables;
|
|
83
|
-
expandGroups(expanded: boolean): void;
|
|
84
|
-
ngOnInit(): void;
|
|
85
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
86
|
-
ngOnDestroy(): void;
|
|
87
|
-
computeItemsRefs(...items: GanttItemInternal[] | GanttBaselineItemInternal[]): void;
|
|
88
|
-
trackBy(index: number, item: GanttGroupInternal | GanttItemInternal): string | number;
|
|
89
|
-
detectChanges(): void;
|
|
90
|
-
expandGroup(group: GanttGroupInternal): void;
|
|
91
|
-
expandAll(): void;
|
|
92
|
-
collapseAll(): void;
|
|
93
|
-
getGanttItem(id: string): GanttItemInternal;
|
|
94
|
-
getGanttItems(ids: string[]): GanttItemInternal[];
|
|
95
|
-
isSelected(id: string): boolean;
|
|
96
|
-
changeView(type: GanttViewType): void;
|
|
97
|
-
rerenderView(): void;
|
|
98
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttUpper, never>;
|
|
99
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GanttUpper, never, never, { "originItems": { "alias": "items"; "required": false; }; "originGroups": { "alias": "groups"; "required": false; }; "originBaselineItems": { "alias": "baselineItems"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "start": { "alias": "start"; "required": false; }; "end": { "alias": "end"; "required": false; }; "showTodayLine": { "alias": "showTodayLine"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "toolbarOptions": { "alias": "toolbarOptions"; "required": false; }; "viewOptions": { "alias": "viewOptions"; "required": false; }; "linkOptions": { "alias": "linkOptions"; "required": false; }; "disabledLoadOnScroll": { "alias": "disabledLoadOnScroll"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "quickTimeFocus": { "alias": "quickTimeFocus"; "required": false; }; }, { "loadOnScroll": "loadOnScroll"; "dragStarted": "dragStarted"; "dragMoved": "dragMoved"; "dragEnded": "dragEnded"; "barClick": "barClick"; "viewChange": "viewChange"; "expandChange": "expandChange"; }, ["barTemplate", "rangeTemplate", "itemTemplate", "baselineTemplate", "groupTemplate", "groupHeaderTemplate", "toolbarTemplate"], never, true, never>;
|
|
100
|
-
}
|
|
101
|
-
export declare const GANTT_UPPER_TOKEN: InjectionToken<GanttUpper>;
|
package/gantt.component.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { CdkVirtualScrollViewport, ViewportRuler } from '@angular/cdk/scrolling';
|
|
2
|
-
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { GanttGroupInternal, GanttItem, GanttItemInternal, GanttLineClickEvent, GanttLinkDragEvent, GanttSelectedEvent, GanttTableDragEndedEvent, GanttTableDragStartedEvent, GanttVirtualScrolledIndexChangeEvent } from './class';
|
|
5
|
-
import { GanttUpper } from './gantt-upper';
|
|
6
|
-
import { GanttGlobalConfig } from './gantt.config';
|
|
7
|
-
import { NgxGanttRootComponent } from './root.component';
|
|
8
|
-
import { NgxGanttTableColumnComponent } from './table/gantt-column.component';
|
|
9
|
-
import { NgxGanttTableComponent } from './table/gantt-table.component';
|
|
10
|
-
import { GanttDate } from './utils/date';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class NgxGanttComponent extends GanttUpper implements OnInit, OnChanges, AfterViewInit, AfterViewChecked {
|
|
13
|
-
private viewportRuler;
|
|
14
|
-
maxLevel: number;
|
|
15
|
-
async: boolean;
|
|
16
|
-
childrenResolve: (GanttItem: any) => Observable<GanttItem[]>;
|
|
17
|
-
linkable: boolean;
|
|
18
|
-
set loading(loading: boolean);
|
|
19
|
-
virtualScrollEnabled: boolean;
|
|
20
|
-
loadingDelay: number;
|
|
21
|
-
linkDragStarted: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
22
|
-
linkDragEnded: EventEmitter<GanttLinkDragEvent<unknown>>;
|
|
23
|
-
lineClick: EventEmitter<GanttLineClickEvent<unknown>>;
|
|
24
|
-
selectedChange: EventEmitter<GanttSelectedEvent<unknown>>;
|
|
25
|
-
virtualScrolledIndexChange: EventEmitter<GanttVirtualScrolledIndexChangeEvent>;
|
|
26
|
-
table: NgxGanttTableComponent;
|
|
27
|
-
columns: QueryList<NgxGanttTableColumnComponent>;
|
|
28
|
-
tableEmptyTemplate: TemplateRef<any>;
|
|
29
|
-
ganttRoot: NgxGanttRootComponent;
|
|
30
|
-
footerTemplate: TemplateRef<any>;
|
|
31
|
-
virtualScroll: CdkVirtualScrollViewport;
|
|
32
|
-
ganttTableBody: ElementRef<HTMLDivElement>;
|
|
33
|
-
tableScrollWidth: import("@angular/core").WritableSignal<number>;
|
|
34
|
-
private resizeObserver;
|
|
35
|
-
get loading(): boolean;
|
|
36
|
-
flatItems: (GanttGroupInternal | GanttItemInternal)[];
|
|
37
|
-
viewportItems: (GanttGroupInternal | GanttItemInternal)[];
|
|
38
|
-
private _loading;
|
|
39
|
-
private loadingTimer;
|
|
40
|
-
private rangeStart;
|
|
41
|
-
private rangeEnd;
|
|
42
|
-
private flatItemsMap;
|
|
43
|
-
private draggingItem;
|
|
44
|
-
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone, viewportRuler: ViewportRuler, config: GanttGlobalConfig);
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
computeRefs(): void;
|
|
47
|
-
setupItems(): void;
|
|
48
|
-
ngAfterViewInit(): void;
|
|
49
|
-
ngAfterViewChecked(): void;
|
|
50
|
-
private buildFlatItems;
|
|
51
|
-
private afterExpand;
|
|
52
|
-
private appendDraggingItemToViewportItems;
|
|
53
|
-
expandChildren(item: GanttItemInternal): void;
|
|
54
|
-
selectItem(selectEvent: GanttSelectedEvent): void;
|
|
55
|
-
scrollToToday(): void;
|
|
56
|
-
scrollToDate(date: number | Date | GanttDate): void;
|
|
57
|
-
scrolledIndexChange(index: number): void;
|
|
58
|
-
expandGroups(expanded: boolean): void;
|
|
59
|
-
expandGroup(group: GanttGroupInternal): void;
|
|
60
|
-
itemDragStarted(event: GanttTableDragStartedEvent): void;
|
|
61
|
-
itemDragEnded(event: GanttTableDragEndedEvent): void;
|
|
62
|
-
private initScrollContainerObserver;
|
|
63
|
-
ngOnDestroy(): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttComponent, "ngx-gantt", never, { "maxLevel": { "alias": "maxLevel"; "required": false; }; "async": { "alias": "async"; "required": false; }; "childrenResolve": { "alias": "childrenResolve"; "required": false; }; "linkable": { "alias": "linkable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScrollEnabled": { "alias": "virtualScrollEnabled"; "required": false; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; }; }, { "linkDragStarted": "linkDragStarted"; "linkDragEnded": "linkDragEnded"; "lineClick": "lineClick"; "selectedChange": "selectedChange"; "virtualScrolledIndexChange": "virtualScrolledIndexChange"; }, ["table", "tableEmptyTemplate", "footerTemplate", "columns"], never, true, never>;
|
|
66
|
-
}
|
package/gantt.config.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Locale } from 'date-fns';
|
|
3
|
-
import { GanttLinkOptions } from './class/link';
|
|
4
|
-
import { GanttI18nLocaleConfig, GanttI18nLocale } from './i18n/i18n';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface GanttDateFormat {
|
|
7
|
-
hour?: string;
|
|
8
|
-
day?: string;
|
|
9
|
-
week?: string;
|
|
10
|
-
month?: string;
|
|
11
|
-
quarter?: string;
|
|
12
|
-
year?: string;
|
|
13
|
-
yearMonth?: string;
|
|
14
|
-
yearQuarter?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface GanttDateOptions {
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated dateOptions is deprecated, use i18n locale setting instead
|
|
19
|
-
* https://worktile.github.io/ngx-gantt/guides/configuration/i18n
|
|
20
|
-
*/
|
|
21
|
-
locale?: Locale;
|
|
22
|
-
timeZone?: string;
|
|
23
|
-
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
24
|
-
}
|
|
25
|
-
export interface GanttStyleOptions {
|
|
26
|
-
headerHeight?: number;
|
|
27
|
-
lineHeight?: number;
|
|
28
|
-
barHeight?: number;
|
|
29
|
-
}
|
|
30
|
-
export interface GanttGlobalConfig {
|
|
31
|
-
locale?: GanttI18nLocale | string;
|
|
32
|
-
/** @deprecated dateFormat is deprecated, please configure through i18n. https://worktile.github.io/ngx-gantt/guides/configuration/i18n */
|
|
33
|
-
dateFormat?: GanttDateFormat;
|
|
34
|
-
dateOptions?: GanttDateOptions;
|
|
35
|
-
linkOptions?: GanttLinkOptions;
|
|
36
|
-
styleOptions?: GanttStyleOptions;
|
|
37
|
-
}
|
|
38
|
-
export declare const defaultConfig: GanttGlobalConfig;
|
|
39
|
-
export declare const GANTT_GLOBAL_CONFIG: InjectionToken<GanttGlobalConfig>;
|
|
40
|
-
export declare class GanttConfigService {
|
|
41
|
-
config: GanttGlobalConfig;
|
|
42
|
-
private i18nLocales;
|
|
43
|
-
constructor(globalConfig: GanttGlobalConfig);
|
|
44
|
-
setLocale(locale: string): void;
|
|
45
|
-
private getLocaleConfig;
|
|
46
|
-
getViewsLocale(): GanttI18nLocaleConfig['views'];
|
|
47
|
-
getDateLocale(): any;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GanttConfigService, never>;
|
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GanttConfigService>;
|
|
50
|
-
}
|
package/gantt.module.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/cdk/drag-drop";
|
|
4
|
-
import * as i3 from "@angular/cdk/scrolling";
|
|
5
|
-
import * as i4 from "./gantt.component";
|
|
6
|
-
import * as i5 from "./table/gantt-table.component";
|
|
7
|
-
import * as i6 from "./table/gantt-column.component";
|
|
8
|
-
import * as i7 from "./components/table/header/gantt-table-header.component";
|
|
9
|
-
import * as i8 from "./components/table/body/gantt-table-body.component";
|
|
10
|
-
import * as i9 from "./components/main/gantt-main.component";
|
|
11
|
-
import * as i10 from "./components/calendar/header/calendar-header.component";
|
|
12
|
-
import * as i11 from "./components/calendar/grid/calendar-grid.component";
|
|
13
|
-
import * as i12 from "./components/links/links.component";
|
|
14
|
-
import * as i13 from "./components/loader/loader.component";
|
|
15
|
-
import * as i14 from "./components/bar/bar.component";
|
|
16
|
-
import * as i15 from "./components/icon/icon.component";
|
|
17
|
-
import * as i16 from "./components/drag-backdrop/drag-backdrop.component";
|
|
18
|
-
import * as i17 from "./components/range/range.component";
|
|
19
|
-
import * as i18 from "./root.component";
|
|
20
|
-
import * as i19 from "./components/baseline/baseline.component";
|
|
21
|
-
import * as i20 from "./components/toolbar/toolbar.component";
|
|
22
|
-
import * as i21 from "./components/scrollbar/scrollbar.component";
|
|
23
|
-
import * as i22 from "./gantt.pipe";
|
|
24
|
-
export declare class NgxGanttModule {
|
|
25
|
-
constructor();
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxGanttModule, never, [typeof i1.CommonModule, typeof i2.DragDropModule, typeof i3.ScrollingModule, typeof i4.NgxGanttComponent, typeof i5.NgxGanttTableComponent, typeof i6.NgxGanttTableColumnComponent, typeof i7.GanttTableHeaderComponent, typeof i8.GanttTableBodyComponent, typeof i9.GanttMainComponent, typeof i10.GanttCalendarHeaderComponent, typeof i11.GanttCalendarGridComponent, typeof i12.GanttLinksComponent, typeof i13.GanttLoaderComponent, typeof i14.NgxGanttBarComponent, typeof i15.GanttIconComponent, typeof i16.GanttDragBackdropComponent, typeof i17.NgxGanttRangeComponent, typeof i18.NgxGanttRootComponent, typeof i19.NgxGanttBaselineComponent, typeof i20.NgxGanttToolbarComponent, typeof i21.GanttScrollbarComponent, typeof i22.IsGanttRangeItemPipe, typeof i22.IsGanttBarItemPipe, typeof i22.IsGanttCustomItemPipe, typeof i22.IsGanttGroupPipe], [typeof i4.NgxGanttComponent, typeof i5.NgxGanttTableComponent, typeof i6.NgxGanttTableColumnComponent, typeof i18.NgxGanttRootComponent, typeof i14.NgxGanttBarComponent, typeof i17.NgxGanttRangeComponent, typeof i19.NgxGanttBaselineComponent, typeof i20.NgxGanttToolbarComponent, typeof i10.GanttCalendarHeaderComponent, typeof i11.GanttCalendarGridComponent, typeof i16.GanttDragBackdropComponent, typeof i21.GanttScrollbarComponent]>;
|
|
28
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgxGanttModule>;
|
|
29
|
-
}
|
package/gantt.pipe.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { GanttGroupInternal, GanttItemInternal, GanttItemType } from './class';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IsGanttRangeItemPipe implements PipeTransform {
|
|
5
|
-
transform(value: GanttItemType): value is GanttItemType.range;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttRangeItemPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttRangeItemPipe, "isGanttRangeItem", true>;
|
|
8
|
-
}
|
|
9
|
-
export declare class IsGanttBarItemPipe implements PipeTransform {
|
|
10
|
-
transform(value: GanttItemType): value is GanttItemType.bar;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttBarItemPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttBarItemPipe, "isGanttBarItem", true>;
|
|
13
|
-
}
|
|
14
|
-
export declare class IsGanttCustomItemPipe implements PipeTransform {
|
|
15
|
-
transform(value: GanttItemType): value is GanttItemType.custom;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttCustomItemPipe, never>;
|
|
17
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttCustomItemPipe, "isGanttCustomItem", true>;
|
|
18
|
-
}
|
|
19
|
-
export declare class IsGanttGroupPipe implements PipeTransform {
|
|
20
|
-
transform(data: GanttItemInternal | GanttGroupInternal): data is GanttGroupInternal;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IsGanttGroupPipe, never>;
|
|
22
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IsGanttGroupPipe, "isGanttGroup", true>;
|
|
23
|
-
}
|
package/gantt.styles.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const sideWidth = 400;
|
|
2
|
-
export declare const sideMiddleWidth = 500;
|
|
3
|
-
export declare const sideMaxWidth = 600;
|
|
4
|
-
export declare const sideMinWidth = 400;
|
|
5
|
-
export declare const barBackground = "#6698ff";
|
|
6
|
-
export declare const rangeHeight = 17;
|
|
7
|
-
export declare const todayHeight = 24;
|
|
8
|
-
export declare const todayWidth = 35;
|
|
9
|
-
export declare const todayBorderRadius = 4;
|
package/i18n/i18n.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Locale as DateFnsLocale } from 'date-fns';
|
|
3
|
-
import { GanttViewType } from '../class';
|
|
4
|
-
export declare enum GanttI18nLocale {
|
|
5
|
-
zhHans = "zh-hans",
|
|
6
|
-
zhHant = "zh-hant",
|
|
7
|
-
enUs = "en-us",
|
|
8
|
-
deDe = "de-de",
|
|
9
|
-
jaJp = "ja-jp",
|
|
10
|
-
ruRu = "ru-ru"
|
|
11
|
-
}
|
|
12
|
-
export type GanttI18nLocaleConfig = {
|
|
13
|
-
id: GanttI18nLocale | string;
|
|
14
|
-
dateLocale?: DateFnsLocale;
|
|
15
|
-
views: Record<GanttViewType, {
|
|
16
|
-
label: string;
|
|
17
|
-
dateFormats: {
|
|
18
|
-
primary?: string;
|
|
19
|
-
secondary?: string;
|
|
20
|
-
};
|
|
21
|
-
}>;
|
|
22
|
-
};
|
|
23
|
-
export declare const GANTT_I18N_LOCALE_TOKEN: InjectionToken<GanttI18nLocaleConfig[]>;
|
package/i18n/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as zhHansLocale } from './locales/zh-hans';
|
|
2
|
-
import { default as zhHantLocale } from './locales/zh-hant';
|
|
3
|
-
import { default as enUsLocale } from './locales/en-us';
|
|
4
|
-
import { default as jaJpLocale } from './locales/ja-jp';
|
|
5
|
-
import { default as deDeLocale } from './locales/de-de';
|
|
6
|
-
import { default as ruRuLocale } from './locales/ru-ru';
|
|
7
|
-
import { Provider } from '@angular/core';
|
|
8
|
-
export * from './i18n';
|
|
9
|
-
export { zhHansLocale, zhHantLocale, enUsLocale, jaJpLocale, deDeLocale, ruRuLocale };
|
|
10
|
-
export declare const i18nLocaleProvides: Provider[];
|