@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.
Files changed (73) hide show
  1. package/components/table/gantt-table.scss +0 -2
  2. package/fesm2022/worktile-gantt.mjs +1404 -1506
  3. package/fesm2022/worktile-gantt.mjs.map +1 -1
  4. package/gantt.component.scss +0 -4
  5. package/index.d.ts +1405 -5
  6. package/package.json +4 -4
  7. package/class/baseline.d.ts +0 -26
  8. package/class/date-point.d.ts +0 -19
  9. package/class/event.d.ts +0 -64
  10. package/class/group.d.ts +0 -22
  11. package/class/index.d.ts +0 -8
  12. package/class/item.d.ts +0 -76
  13. package/class/link.d.ts +0 -54
  14. package/class/toolbar.d.ts +0 -4
  15. package/class/view-type.d.ts +0 -8
  16. package/components/bar/bar-drag.d.ts +0 -78
  17. package/components/bar/bar.component.d.ts +0 -26
  18. package/components/baseline/baseline.component.d.ts +0 -18
  19. package/components/calendar/grid/calendar-grid.component.d.ts +0 -21
  20. package/components/calendar/header/calendar-header.component.d.ts +0 -19
  21. package/components/drag-backdrop/drag-backdrop.component.d.ts +0 -8
  22. package/components/icon/icon.component.d.ts +0 -11
  23. package/components/icon/icons.d.ts +0 -11
  24. package/components/links/lines/curve.d.ts +0 -10
  25. package/components/links/lines/factory.d.ts +0 -5
  26. package/components/links/lines/line.d.ts +0 -8
  27. package/components/links/lines/straight.d.ts +0 -9
  28. package/components/links/links.component.d.ts +0 -37
  29. package/components/loader/loader.component.d.ts +0 -5
  30. package/components/main/gantt-main.component.d.ts +0 -32
  31. package/components/range/range.component.d.ts +0 -10
  32. package/components/scrollbar/scrollbar.component.d.ts +0 -13
  33. package/components/table/body/gantt-table-body.component.d.ts +0 -62
  34. package/components/table/header/gantt-table-header.component.d.ts +0 -35
  35. package/components/toolbar/toolbar.component.d.ts +0 -21
  36. package/directives/sync-scroll.directive.d.ts +0 -22
  37. package/gantt-abstract.d.ts +0 -14
  38. package/gantt-dom.service.d.ts +0 -48
  39. package/gantt-drag-container.d.ts +0 -36
  40. package/gantt-item-upper.d.ts +0 -22
  41. package/gantt-print.service.d.ts +0 -13
  42. package/gantt-sync-scroll.service.d.ts +0 -11
  43. package/gantt-upper.d.ts +0 -101
  44. package/gantt.component.d.ts +0 -66
  45. package/gantt.config.d.ts +0 -50
  46. package/gantt.module.d.ts +0 -29
  47. package/gantt.pipe.d.ts +0 -23
  48. package/gantt.styles.d.ts +0 -9
  49. package/i18n/i18n.d.ts +0 -23
  50. package/i18n/index.d.ts +0 -10
  51. package/i18n/locales/de-de.d.ts +0 -49
  52. package/i18n/locales/en-us.d.ts +0 -48
  53. package/i18n/locales/ja-jp.d.ts +0 -48
  54. package/i18n/locales/ru-ru.d.ts +0 -49
  55. package/i18n/locales/zh-hans.d.ts +0 -48
  56. package/i18n/locales/zh-hant.d.ts +0 -48
  57. package/public-api.d.ts +0 -26
  58. package/root.component.d.ts +0 -36
  59. package/table/gantt-column.component.d.ts +0 -17
  60. package/table/gantt-table.component.d.ts +0 -22
  61. package/utils/date.d.ts +0 -66
  62. package/utils/drag-scroll.d.ts +0 -27
  63. package/utils/helpers.d.ts +0 -15
  64. package/utils/passive-listeners.d.ts +0 -13
  65. package/utils/set-style-with-vendor-prefix.d.ts +0 -12
  66. package/views/day.d.ts +0 -16
  67. package/views/factory.d.ts +0 -10
  68. package/views/hour.d.ts +0 -19
  69. package/views/month.d.ts +0 -14
  70. package/views/quarter.d.ts +0 -14
  71. package/views/view.d.ts +0 -97
  72. package/views/week.d.ts +0 -14
  73. package/views/year.d.ts +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/gantt",
3
- "version": "19.0.8-next.4",
3
+ "version": "20.0.0-next.0",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "author": "walkerkay001",
6
6
  "license": "MIT",
@@ -24,9 +24,9 @@
24
24
  }
25
25
  },
26
26
  "peerDependencies": {
27
- "@angular/common": ">=19.0.0",
28
- "@angular/core": ">=19.0.0",
29
- "@angular/cdk": ">=19.0.0",
27
+ "@angular/common": ">=20.0.0",
28
+ "@angular/core": ">=20.0.0",
29
+ "@angular/cdk": ">=20.0.0",
30
30
  "rxjs": "^6.5.0 || ^7.0.0",
31
31
  "date-fns": ">=4.0.0",
32
32
  "@date-fns/tz": ">=1.0.0"
@@ -1,26 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { GanttDate } from '../utils/date';
3
- import { GanttItemRefs } from './item';
4
- export interface GanttBaselineItem {
5
- id: string;
6
- start?: number;
7
- end?: number;
8
- }
9
- export declare class GanttBaselineItemInternal {
10
- id: string;
11
- start: GanttDate;
12
- end: GanttDate;
13
- origin: GanttBaselineItem;
14
- get refs(): {
15
- width: number;
16
- x: number;
17
- y: number;
18
- };
19
- refs$: BehaviorSubject<{
20
- width: number;
21
- x: number;
22
- y: number;
23
- }>;
24
- constructor(item: GanttBaselineItem);
25
- updateRefs(refs: GanttItemRefs): void;
26
- }
@@ -1,19 +0,0 @@
1
- import { GanttDate } from '../utils/date';
2
- export declare class GanttDatePoint {
3
- start: GanttDate;
4
- text: string;
5
- x: number;
6
- y: number | string;
7
- additions?: {
8
- isWeekend: boolean;
9
- isToday: boolean;
10
- };
11
- style?: Partial<CSSStyleDeclaration>;
12
- fill?: string;
13
- leftX?: number;
14
- rightX?: number;
15
- constructor(start: GanttDate, text: string, x: number, y: number | string, additions?: {
16
- isWeekend: boolean;
17
- isToday: boolean;
18
- }, style?: Partial<CSSStyleDeclaration>, fill?: string);
19
- }
package/class/event.d.ts DELETED
@@ -1,64 +0,0 @@
1
- import { QueryList } from '@angular/core';
2
- import { NgxGanttTableColumnComponent } from '../table/gantt-column.component';
3
- import { GanttItem } from './item';
4
- import { GanttLinkType } from './link';
5
- export declare class GanttDragEvent<T = unknown> {
6
- item: GanttItem<T>;
7
- }
8
- export declare class GanttTableEvent {
9
- columns: QueryList<NgxGanttTableColumnComponent>;
10
- }
11
- export declare class GanttLinkDragEvent<T = unknown> {
12
- source: GanttItem<T>;
13
- target?: GanttItem<T>;
14
- type?: GanttLinkType;
15
- }
16
- export declare class GanttLoadOnScrollEvent {
17
- start: number;
18
- end: number;
19
- }
20
- export declare class GanttLineClickEvent<T = unknown> {
21
- event: MouseEvent;
22
- source: GanttItem<T>;
23
- target: GanttItem<T>;
24
- }
25
- export declare class GanttBarClickEvent<T = unknown> {
26
- event: Event;
27
- item: GanttItem<T>;
28
- }
29
- export declare class GanttTableItemClickEvent<T = unknown> {
30
- event: Event;
31
- current?: GanttItem<T>;
32
- }
33
- export declare class GanttSelectedEvent<T = unknown> extends GanttTableItemClickEvent<T> {
34
- selectedValue: GanttItem<T> | GanttItem<T>[];
35
- }
36
- export declare class GanttTableDragDroppedEvent<T = unknown> {
37
- source: GanttItem<T>;
38
- sourceParent: GanttItem<T>;
39
- target: GanttItem<T>;
40
- targetParent: GanttItem<T>;
41
- dropPosition: GanttTableDropPosition;
42
- }
43
- export declare class GanttTableDragStartedEvent<T = unknown> {
44
- source: GanttItem<T>;
45
- sourceParent: GanttItem<T>;
46
- }
47
- export declare class GanttTableDragEndedEvent<T = unknown> {
48
- source: GanttItem<T>;
49
- sourceParent: GanttItem<T>;
50
- }
51
- export type GanttTableDropPosition = 'before' | 'inside' | 'after';
52
- export declare class GanttTableDragEnterPredicateContext<T = unknown> {
53
- source: GanttItem<T>;
54
- target: GanttItem<T>;
55
- dropPosition: GanttTableDropPosition;
56
- }
57
- export declare class GanttVirtualScrolledIndexChangeEvent {
58
- index: number;
59
- renderedRange: {
60
- start: number;
61
- end: number;
62
- };
63
- count: number;
64
- }
package/class/group.d.ts DELETED
@@ -1,22 +0,0 @@
1
- import { GanttItemInternal } from './item';
2
- export interface GanttGroup<T = unknown> {
3
- id: string;
4
- title: string;
5
- expanded?: boolean;
6
- origin?: T;
7
- class?: string;
8
- }
9
- export declare class GanttGroupInternal {
10
- id: string;
11
- title: string;
12
- origin: GanttGroup;
13
- items: GanttItemInternal[];
14
- mergedItems: GanttItemInternal[][];
15
- expanded?: boolean;
16
- refs?: {
17
- height?: number;
18
- };
19
- class?: string;
20
- constructor(group: GanttGroup);
21
- setExpand(expanded: boolean): void;
22
- }
package/class/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './date-point';
2
- export * from './event';
3
- export * from './item';
4
- export * from './group';
5
- export * from './view-type';
6
- export * from './link';
7
- export * from './baseline';
8
- export * from './toolbar';
package/class/item.d.ts DELETED
@@ -1,76 +0,0 @@
1
- import { GanttDate } from '../utils/date';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { GanttLink } from './link';
4
- import { GanttViewType } from './view-type';
5
- import { GanttView } from '../views/view';
6
- export interface GanttItemRefs {
7
- width: number;
8
- x: number;
9
- y: number;
10
- }
11
- export declare enum GanttItemType {
12
- bar = "bar",
13
- range = "range",
14
- custom = "custom"
15
- }
16
- export interface GanttItem<T = unknown> {
17
- id: string;
18
- title: string;
19
- start?: number | Date;
20
- end?: number | Date;
21
- group_id?: string;
22
- links?: (GanttLink | string)[];
23
- draggable?: boolean;
24
- itemDraggable?: boolean;
25
- linkable?: boolean;
26
- expandable?: boolean;
27
- expanded?: boolean;
28
- children?: GanttItem[];
29
- color?: string;
30
- barStyle?: Partial<CSSStyleDeclaration>;
31
- laneStyle?: Partial<CSSStyleDeclaration>;
32
- origin?: T;
33
- type?: GanttItemType;
34
- progress?: number;
35
- }
36
- export declare class GanttItemInternal {
37
- private view?;
38
- id: string;
39
- title: string;
40
- start: GanttDate | null;
41
- end: GanttDate | null;
42
- links: GanttLink[];
43
- color?: string;
44
- barStyle?: Partial<CSSStyleDeclaration>;
45
- laneStyle?: Partial<CSSStyleDeclaration>;
46
- draggable?: boolean;
47
- itemDraggable?: boolean;
48
- linkable?: boolean;
49
- origin: GanttItem;
50
- expandable?: boolean;
51
- expanded?: boolean;
52
- loading: boolean;
53
- children: GanttItemInternal[];
54
- type?: GanttItemType;
55
- progress?: number;
56
- viewType?: GanttViewType;
57
- level: number;
58
- get refs(): {
59
- width: number;
60
- x: number;
61
- y: number;
62
- };
63
- refs$: BehaviorSubject<{
64
- width: number;
65
- x: number;
66
- y: number;
67
- }>;
68
- constructor(item: GanttItem, level: number, view?: GanttView);
69
- private fillDateWhenStartOrEndIsNil;
70
- updateRefs(refs: GanttItemRefs): void;
71
- updateDate(start: GanttDate, end: GanttDate): void;
72
- updateLevel(level: number): void;
73
- addChildren(items: GanttItem[]): void;
74
- setExpand(expanded: boolean): void;
75
- addLink(link: GanttLink): void;
76
- }
package/class/link.d.ts DELETED
@@ -1,54 +0,0 @@
1
- import { GanttDate } from '../utils/date';
2
- import { GanttItem } from './item';
3
- export declare enum GanttLinkType {
4
- fs = 1,
5
- ff = 2,
6
- ss = 3,
7
- sf = 4
8
- }
9
- export declare enum GanttLinkLineType {
10
- curve = "curve",
11
- straight = "straight"
12
- }
13
- export declare enum LinkColors {
14
- default = "#cacaca",
15
- blocked = "#FF7575",
16
- active = "#6698ff"
17
- }
18
- export interface GanttLink {
19
- type: GanttLinkType;
20
- link: string;
21
- color?: {
22
- default: string;
23
- active?: string;
24
- } | string;
25
- }
26
- export interface GanttLinkItem {
27
- id: string;
28
- before: {
29
- x: number;
30
- y: number;
31
- };
32
- after: {
33
- x: number;
34
- y: number;
35
- };
36
- start: GanttDate;
37
- end: GanttDate;
38
- origin: GanttItem;
39
- links: GanttLink[];
40
- }
41
- export interface LinkInternal {
42
- path: string;
43
- source: GanttItem;
44
- target: GanttItem;
45
- type: GanttLinkType;
46
- color: string;
47
- defaultColor?: string;
48
- activeColor?: string;
49
- }
50
- export interface GanttLinkOptions {
51
- dependencyTypes?: GanttLinkType[];
52
- showArrow?: boolean;
53
- lineType?: GanttLinkLineType;
54
- }
@@ -1,4 +0,0 @@
1
- import { GanttViewType } from './view-type';
2
- export interface GanttToolbarOptions {
3
- viewTypes?: GanttViewType[];
4
- }
@@ -1,8 +0,0 @@
1
- export declare enum GanttViewType {
2
- day = "day",
3
- quarter = "quarter",
4
- month = "month",
5
- year = "year",
6
- week = "week",
7
- hour = "hour"
8
- }
@@ -1,78 +0,0 @@
1
- import { DragDrop } from '@angular/cdk/drag-drop';
2
- import { ElementRef, NgZone, OnDestroy } from '@angular/core';
3
- import { GanttItemInternal } from '../../class/item';
4
- import { GanttDomService } from '../../gantt-dom.service';
5
- import { GanttDragContainer } from '../../gantt-drag-container';
6
- import { GanttUpper } from '../../gantt-upper';
7
- import * as i0 from "@angular/core";
8
- export declare class GanttBarDrag implements OnDestroy {
9
- private dragDrop;
10
- private dom;
11
- private dragContainer;
12
- private _ngZone;
13
- private ganttUpper;
14
- private barElement;
15
- private item;
16
- private hasMonitorMouseEvent;
17
- private get dragDisabled();
18
- private get linkDragDisabled();
19
- private get barHandleDragMoveAndScrollDistance();
20
- private get autoScrollStep();
21
- private linkDraggingLine;
22
- private barDragRef;
23
- private linkDragRefs;
24
- private barHandleDragRefs;
25
- private destroy$;
26
- /** Used to signal to the current auto-scroll sequence when to stop. */
27
- private stopScrollTimers$;
28
- /** container element scrollLeft */
29
- private containerScrollLeft;
30
- /** move distance when drag bar */
31
- private barDragMoveDistance;
32
- /** move distance when drag bar handle */
33
- private barHandleDragMoveDistance;
34
- /** scrolling state when drag */
35
- private dragScrolling;
36
- /** dragScrollDistance */
37
- private dragScrollDistance;
38
- /** Horizontal direction in which the list is currently scrolling. */
39
- private _horizontalScrollDirection;
40
- /** Record bar days when bar handle drag move. */
41
- private barHandleDragMoveRecordDiffs;
42
- /** Speed ratio for auto scroll */
43
- private autoScrollSpeedRates;
44
- constructor(dragDrop: DragDrop, dom: GanttDomService, dragContainer: GanttDragContainer, _ngZone: NgZone);
45
- private createDragRef;
46
- private createDragScrollEvent;
47
- private createMouseEvents;
48
- private createBarDrag;
49
- private createBarHandleDrags;
50
- private createLinkHandleDrags;
51
- private openDragBackdrop;
52
- private closeDragBackdrop;
53
- private setDraggingStyles;
54
- private clearDraggingStyles;
55
- private barDragMove;
56
- private barBeforeHandleDragMove;
57
- private barAfterHandleDragMove;
58
- private calcLinkLinePositions;
59
- private createLinkDraggingLine;
60
- private destroyLinkDraggingLine;
61
- private startScrollInterval;
62
- private startScrollingIfNecessary;
63
- private isStartGreaterThanEndWhenBarHandleDragMove;
64
- private startOfBarHandle;
65
- private endOfBarHandle;
66
- private stopScrolling;
67
- private isStartOrEndInsideView;
68
- private updateItemDate;
69
- initialize(elementRef: ElementRef, item: GanttItemInternal, ganttUpper: GanttUpper): void;
70
- private createBarDragRef;
71
- private createBarHandleDragRefs;
72
- private createLinkDragRefs;
73
- createDrags(): void;
74
- updateItem(item: GanttItemInternal): void;
75
- ngOnDestroy(): void;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttBarDrag, never>;
77
- static ɵprov: i0.ɵɵInjectableDeclaration<GanttBarDrag>;
78
- }
@@ -1,26 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
- import { GanttBarClickEvent } from '../../class';
3
- import { GanttDragContainer } from '../../gantt-drag-container';
4
- import { GanttItemUpper } from '../../gantt-item-upper';
5
- import { GanttUpper } from '../../gantt-upper';
6
- import { GanttBarDrag } from './bar-drag';
7
- import * as i0 from "@angular/core";
8
- export declare class NgxGanttBarComponent extends GanttItemUpper implements OnInit, AfterViewInit, OnChanges, OnDestroy {
9
- private dragContainer;
10
- private drag;
11
- ganttUpper: GanttUpper;
12
- private ngZone;
13
- barClick: EventEmitter<GanttBarClickEvent<unknown>>;
14
- contentElementRef: ElementRef<HTMLDivElement>;
15
- ganttItemClass: boolean;
16
- handles: QueryList<ElementRef<HTMLElement>>;
17
- constructor(dragContainer: GanttDragContainer, drag: GanttBarDrag, elementRef: ElementRef<HTMLDivElement>, ganttUpper: GanttUpper, ngZone: NgZone);
18
- ngOnInit(): void;
19
- ngOnChanges(changes: SimpleChanges): void;
20
- ngAfterViewInit(): void;
21
- onBarClick(event: Event): void;
22
- private setContentBackground;
23
- stopPropagation(event: Event): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttBarComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttBarComponent, "ngx-gantt-bar,gantt-bar", never, {}, { "barClick": "barClick"; }, never, never, true, never>;
26
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef, OnInit, TemplateRef } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { GanttBaselineItemInternal } from '../../class/baseline';
4
- import { GanttUpper } from '../../gantt-upper';
5
- import * as i0 from "@angular/core";
6
- export declare class NgxGanttBaselineComponent implements OnInit {
7
- private elementRef;
8
- ganttUpper: GanttUpper;
9
- baselineItem: GanttBaselineItemInternal;
10
- template: TemplateRef<any>;
11
- unsubscribe$: Subject<void>;
12
- ganttBaselineClass: boolean;
13
- constructor(elementRef: ElementRef<HTMLElement>, ganttUpper: GanttUpper);
14
- ngOnInit(): void;
15
- private setPositions;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttBaselineComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttBaselineComponent, "ngx-gantt-baseline,gantt-baseline", never, { "baselineItem": { "alias": "baselineItem"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1,21 +0,0 @@
1
- import { OnInit, OnDestroy, NgZone, ElementRef } from '@angular/core';
2
- import { GanttUpper } from '../../../gantt-upper';
3
- import { GanttViewType } from './../../../class/view-type';
4
- import * as i0 from "@angular/core";
5
- export declare class GanttCalendarGridComponent implements OnInit, OnDestroy {
6
- ganttUpper: GanttUpper;
7
- private ngZone;
8
- private elementRef;
9
- get view(): import("@worktile/gantt").GanttView;
10
- private unsubscribe$;
11
- mainHeight: number;
12
- todayBorderRadius: number;
13
- viewTypes: typeof GanttViewType;
14
- className: string;
15
- constructor(ganttUpper: GanttUpper, ngZone: NgZone, elementRef: ElementRef<HTMLElement>);
16
- setTodayPoint(): void;
17
- ngOnInit(): void;
18
- ngOnDestroy(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttCalendarGridComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttCalendarGridComponent, "gantt-calendar-grid", never, {}, {}, never, never, true, never>;
21
- }
@@ -1,19 +0,0 @@
1
- import { OnInit, NgZone, ElementRef } from '@angular/core';
2
- import { GanttUpper } from '../../../gantt-upper';
3
- import { GanttViewType } from '../../../class';
4
- import * as i0 from "@angular/core";
5
- export declare class GanttCalendarHeaderComponent implements OnInit {
6
- ganttUpper: GanttUpper;
7
- private ngZone;
8
- private elementRef;
9
- get view(): import("@worktile/gantt").GanttView;
10
- private unsubscribe$;
11
- viewTypes: typeof GanttViewType;
12
- className: string;
13
- get height(): string;
14
- constructor(ganttUpper: GanttUpper, ngZone: NgZone, elementRef: ElementRef<HTMLElement>);
15
- ngOnInit(): void;
16
- setTodayPoint(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttCalendarHeaderComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttCalendarHeaderComponent, "gantt-calendar-header", never, {}, {}, never, never, true, never>;
19
- }
@@ -1,8 +0,0 @@
1
- import { GanttUpper } from '../../gantt-upper';
2
- import * as i0 from "@angular/core";
3
- export declare class GanttDragBackdropComponent {
4
- ganttUpper: GanttUpper;
5
- constructor(ganttUpper: GanttUpper);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttDragBackdropComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttDragBackdropComponent, "gantt-drag-backdrop", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,11 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GanttIconComponent {
4
- private elementRef;
5
- isIcon: boolean;
6
- set iconName(name: string);
7
- constructor(elementRef: ElementRef<HTMLElement>);
8
- setSvg(name: string): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttIconComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttIconComponent, "gantt-icon", never, { "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, never, true, never>;
11
- }
@@ -1,11 +0,0 @@
1
- export declare const icons: {
2
- 'angle-right': string;
3
- 'angle-down': string;
4
- 'plus-square': string;
5
- 'minus-square': string;
6
- loading: string;
7
- empty: string;
8
- drag: string;
9
- 'arrow-left': string;
10
- 'arrow-right': string;
11
- };
@@ -1,10 +0,0 @@
1
- import { GanttLinkItem, GanttLinkType } from '../../../class/link';
2
- import { GanttUpper } from '../../../gantt-upper';
3
- import { GanttLinkLine } from './line';
4
- export declare class GanttLinkLineCurve extends GanttLinkLine {
5
- private ganttUpper;
6
- constructor(ganttUpper: GanttUpper);
7
- generateSSPath(source: GanttLinkItem, target: GanttLinkItem): string;
8
- generateFFPath(source: GanttLinkItem, target: GanttLinkItem): string;
9
- generateFSAndSFPath(source: GanttLinkItem, target: GanttLinkItem, type?: GanttLinkType): string;
10
- }
@@ -1,5 +0,0 @@
1
- import { GanttLinkLineType } from '../../../class/link';
2
- import { GanttUpper } from '../../../gantt-upper';
3
- import { GanttLinkLineCurve } from './curve';
4
- import { GanttLinkLineStraight } from './straight';
5
- export declare function createLineGenerator(type: GanttLinkLineType, ganttUpper?: GanttUpper): GanttLinkLineCurve | GanttLinkLineStraight;
@@ -1,8 +0,0 @@
1
- import { GanttLinkItem, GanttLinkType } from '../../../class/link';
2
- export declare abstract class GanttLinkLine {
3
- constructor();
4
- abstract generateSSPath(source: GanttLinkItem, target: GanttLinkItem): string;
5
- abstract generateFFPath(source: GanttLinkItem, target: GanttLinkItem): string;
6
- abstract generateFSAndSFPath(source: GanttLinkItem, target: GanttLinkItem, type?: GanttLinkType): string;
7
- generatePath(source: GanttLinkItem, target: GanttLinkItem, type: GanttLinkType): string;
8
- }
@@ -1,9 +0,0 @@
1
- import { GanttLinkLine } from './line';
2
- import { GanttLinkItem, GanttLinkType } from '../../../class/link';
3
- export declare class GanttLinkLineStraight extends GanttLinkLine {
4
- private pathControl;
5
- constructor();
6
- generateSSPath(source: GanttLinkItem, target: GanttLinkItem): string;
7
- generateFFPath(source: GanttLinkItem, target: GanttLinkItem): string;
8
- generateFSAndSFPath(source: GanttLinkItem, target: GanttLinkItem, type?: GanttLinkType): string;
9
- }
@@ -1,37 +0,0 @@
1
- import { OnInit, EventEmitter, ChangeDetectorRef, ElementRef, OnDestroy, OnChanges, NgZone } from '@angular/core';
2
- import { GanttGroupInternal } from '../../class/group';
3
- import { GanttItemInternal } from './../../class/item';
4
- import { GanttLineClickEvent } from '../../class/event';
5
- import { GanttDragContainer } from '../../gantt-drag-container';
6
- import { GanttUpper } from '../../gantt-upper';
7
- import { LinkInternal, GanttLinkType } from '../../class/link';
8
- import * as i0 from "@angular/core";
9
- export declare class GanttLinksComponent implements OnInit, OnChanges, OnDestroy {
10
- ganttUpper: GanttUpper;
11
- private cdr;
12
- private elementRef;
13
- private ganttDragContainer;
14
- private ngZone;
15
- flatItems: (GanttGroupInternal | GanttItemInternal)[];
16
- lineClick: EventEmitter<GanttLineClickEvent<unknown>>;
17
- links: LinkInternal[];
18
- ganttLinkTypes: typeof GanttLinkType;
19
- showArrow: boolean;
20
- private linkItems;
21
- private firstChange;
22
- private linkLine;
23
- private unsubscribe$;
24
- ganttLinksOverlay: boolean;
25
- constructor(ganttUpper: GanttUpper, cdr: ChangeDetectorRef, elementRef: ElementRef, ganttDragContainer: GanttDragContainer, ngZone: NgZone);
26
- ngOnInit(): void;
27
- ngOnChanges(): void;
28
- private computeItemPosition;
29
- buildLinks(): void;
30
- trackBy(index: number): number;
31
- onLineClick(event: MouseEvent, link: LinkInternal): void;
32
- mouseEnterPath(link: LinkInternal, index: number): void;
33
- mouseLeavePath(link: LinkInternal): void;
34
- ngOnDestroy(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttLinksComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttLinksComponent, "gantt-links-overlay", never, { "flatItems": { "alias": "flatItems"; "required": false; }; }, { "lineClick": "lineClick"; }, never, never, true, never>;
37
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GanttLoaderComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttLoaderComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttLoaderComponent, "gantt-loader", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,32 +0,0 @@
1
- import { TemplateRef, EventEmitter, OnInit, NgZone } from '@angular/core';
2
- import { GanttGroupInternal, GanttItemInternal, GanttBarClickEvent, GanttLineClickEvent, GanttItem } from '../../class';
3
- import { GanttUpper } from '../../gantt-upper';
4
- import { NgxGanttRootComponent } from './../../root.component';
5
- import { GanttDomService } from '../../gantt-dom.service';
6
- import * as i0 from "@angular/core";
7
- export declare class GanttMainComponent implements OnInit {
8
- ganttUpper: GanttUpper;
9
- dom: GanttDomService;
10
- protected ngZone: NgZone;
11
- viewportItems: (GanttGroupInternal | GanttItemInternal)[];
12
- flatItems: (GanttGroupInternal | GanttItemInternal)[];
13
- groupHeaderTemplate: TemplateRef<any>;
14
- itemTemplate: TemplateRef<any>;
15
- barTemplate: TemplateRef<any>;
16
- rangeTemplate: TemplateRef<any>;
17
- baselineTemplate: TemplateRef<any>;
18
- ganttRoot: NgxGanttRootComponent;
19
- quickTimeFocus: boolean;
20
- barClick: EventEmitter<GanttBarClickEvent<unknown>>;
21
- lineClick: EventEmitter<GanttLineClickEvent<unknown>>;
22
- ganttMainClass: boolean;
23
- private unsubscribe$;
24
- constructor(ganttUpper: GanttUpper, dom: GanttDomService, ngZone: NgZone);
25
- ngOnInit(): void;
26
- toItemType(data: GanttItemInternal | GanttGroupInternal): GanttItemInternal;
27
- trackBy(index: number, item: GanttGroupInternal | GanttItemInternal): string | number;
28
- private setupResize;
29
- quickTime(item: GanttItem, type: 'left' | 'right'): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<GanttMainComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttMainComponent, "gantt-main", never, { "viewportItems": { "alias": "viewportItems"; "required": false; }; "flatItems": { "alias": "flatItems"; "required": false; }; "groupHeaderTemplate": { "alias": "groupHeaderTemplate"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "barTemplate": { "alias": "barTemplate"; "required": false; }; "rangeTemplate": { "alias": "rangeTemplate"; "required": false; }; "baselineTemplate": { "alias": "baselineTemplate"; "required": false; }; "ganttRoot": { "alias": "ganttRoot"; "required": false; }; "quickTimeFocus": { "alias": "quickTimeFocus"; "required": false; }; }, { "barClick": "barClick"; "lineClick": "lineClick"; }, never, never, true, never>;
32
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { GanttUpper } from '../../gantt-upper';
3
- import { GanttItemUpper } from '../../gantt-item-upper';
4
- import * as i0 from "@angular/core";
5
- export declare class NgxGanttRangeComponent extends GanttItemUpper {
6
- ganttRangeClass: boolean;
7
- constructor(elementRef: ElementRef<HTMLDivElement>, ganttUpper: GanttUpper);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttRangeComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttRangeComponent, "ngx-gantt-range,gantt-range", never, {}, {}, never, never, true, never>;
10
- }