@syncfusion/ej2-angular-gantt 32.1.19-ngcc → 32.1.19
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/CHANGELOG.md +2765 -0
- package/README.md +9 -2
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/gantt/adddialogfields.directive.mjs +58 -0
- package/esm2020/src/gantt/columns.directive.mjs +96 -0
- package/esm2020/src/gantt/dayworkingtime.directive.mjs +58 -0
- package/esm2020/src/gantt/editdialogfields.directive.mjs +58 -0
- package/esm2020/src/gantt/eventmarkers.directive.mjs +57 -0
- package/esm2020/src/gantt/gantt-all.module.mjs +77 -0
- package/esm2020/src/gantt/gantt.component.mjs +310 -0
- package/esm2020/src/gantt/gantt.module.mjs +88 -0
- package/esm2020/src/gantt/holidays.directive.mjs +58 -0
- package/esm2020/src/gantt/weekworkingtime.directive.mjs +58 -0
- package/esm2020/src/index.mjs +12 -0
- package/esm2020/syncfusion-ej2-angular-gantt.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-gantt.mjs +879 -0
- package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-gantt.mjs +879 -0
- package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +1 -0
- package/package.json +28 -46
- package/public_api.d.ts +1 -1
- package/src/gantt/adddialogfields.directive.d.ts +58 -53
- package/src/gantt/columns.directive.d.ts +232 -209
- package/src/gantt/dayworkingtime.directive.d.ts +41 -36
- package/src/gantt/editdialogfields.directive.d.ts +58 -53
- package/src/gantt/eventmarkers.directive.d.ts +54 -42
- package/src/gantt/gantt-all.module.d.ts +29 -22
- package/src/gantt/gantt.component.d.ts +156 -143
- package/src/gantt/gantt.module.d.ts +18 -5
- package/src/gantt/holidays.directive.d.ts +64 -46
- package/src/gantt/weekworkingtime.directive.d.ts +43 -38
- package/src/index.d.ts +11 -11
- package/styles/bds-lite.scss +1 -1
- package/styles/bds.scss +1 -1
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-dark.scss +1 -1
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap.scss +1 -1
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap4.scss +1 -1
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-dark.scss +1 -1
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/bootstrap5.3.scss +1 -1
- package/styles/bootstrap5.scss +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-dark.scss +1 -1
- package/styles/fabric-lite.scss +1 -1
- package/styles/fabric.scss +1 -1
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-dark.scss +1 -1
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent.scss +1 -1
- package/styles/fluent2-lite.scss +1 -1
- package/styles/fluent2.scss +1 -1
- package/styles/gantt/bds.scss +1 -1
- package/styles/gantt/bootstrap-dark.scss +1 -1
- package/styles/gantt/bootstrap.scss +1 -1
- package/styles/gantt/bootstrap4.scss +1 -1
- package/styles/gantt/bootstrap5-dark.scss +1 -1
- package/styles/gantt/bootstrap5.3.scss +1 -1
- package/styles/gantt/bootstrap5.scss +1 -1
- package/styles/gantt/fabric-dark.scss +1 -1
- package/styles/gantt/fabric.scss +1 -1
- package/styles/gantt/fluent-dark.scss +1 -1
- package/styles/gantt/fluent.scss +1 -1
- package/styles/gantt/fluent2.scss +1 -1
- package/styles/gantt/highcontrast-light.scss +1 -1
- package/styles/gantt/highcontrast.scss +1 -1
- package/styles/gantt/material-dark.scss +1 -1
- package/styles/gantt/material.scss +1 -1
- package/styles/gantt/material3-dark.scss +1 -2
- package/styles/gantt/material3.scss +1 -2
- package/styles/gantt/tailwind-dark.scss +1 -1
- package/styles/gantt/tailwind.scss +1 -1
- package/styles/gantt/tailwind3.scss +1 -1
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-light.scss +1 -1
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/highcontrast.scss +1 -1
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-dark.scss +1 -1
- package/styles/material-lite.scss +1 -1
- package/styles/material.scss +1 -1
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-dark.scss +1 -2
- package/styles/material3-lite.scss +1 -1
- package/styles/material3.scss +1 -2
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-dark.scss +1 -1
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind.scss +1 -1
- package/styles/tailwind3-lite.scss +1 -1
- package/styles/tailwind3.scss +1 -1
- package/syncfusion-ej2-angular-gantt.d.ts +5 -0
- package/@syncfusion/ej2-angular-gantt.es5.js +0 -934
- package/@syncfusion/ej2-angular-gantt.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-gantt.js +0 -882
- package/@syncfusion/ej2-angular-gantt.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-gantt.umd.js +0 -1046
- package/dist/ej2-angular-gantt.umd.js.map +0 -1
- package/dist/ej2-angular-gantt.umd.min.js +0 -2
- package/dist/ej2-angular-gantt.umd.min.js.map +0 -1
- package/ej2-angular-gantt.d.ts +0 -5
- package/ej2-angular-gantt.metadata.json +0 -1
|
@@ -1,42 +1,54 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* `e-event-markers` directive represent a event marker collection in Gantt.
|
|
6
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
7
|
+
* ```html
|
|
8
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
9
|
+
* <e-event-markers>
|
|
10
|
+
* <e-event-marker day='02/10/2018' label='Project Starts'></e-event-marker>
|
|
11
|
+
* </e-event-markers>
|
|
12
|
+
* </ejs-gantt>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class EventMarkerDirective extends ComplexBase<EventMarkerDirective> {
|
|
16
|
+
private viewContainerRef;
|
|
17
|
+
directivePropList: any;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies a custom CSS class for the event marker.
|
|
20
|
+
* This can be used to apply custom styles to the line and label of the marker.
|
|
21
|
+
* @default null
|
|
22
|
+
*/
|
|
23
|
+
cssClass: any;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the date or day of the event marker.
|
|
26
|
+
* The value can be a `Date` object or a date string.
|
|
27
|
+
* @default null
|
|
28
|
+
*/
|
|
29
|
+
day: any;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the label for the event marker.
|
|
32
|
+
* @default null
|
|
33
|
+
*/
|
|
34
|
+
label: any;
|
|
35
|
+
/**
|
|
36
|
+
* Vertical offset of the label from the timeline top.
|
|
37
|
+
* Must be in pixels (e.g., '50px'). Invalid values default to '50px'.
|
|
38
|
+
* Negative values are normalized to '50px'.
|
|
39
|
+
* @default '50px'
|
|
40
|
+
*/
|
|
41
|
+
top: any;
|
|
42
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventMarkerDirective, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EventMarkerDirective, "ejs-gantt>e-event-markers>e-event-marker", never, { "cssClass": "cssClass"; "day": "day"; "label": "label"; "top": "top"; }, {}, never>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* EventMarker Array Directive
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
export declare class EventMarkersDirective extends ArrayBase<EventMarkersDirective> {
|
|
51
|
+
constructor();
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventMarkersDirective, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EventMarkersDirective, "ejs-gantt>e-event-markers", never, {}, {}, ["children"]>;
|
|
54
|
+
}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
import { ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare
|
|
22
|
-
|
|
1
|
+
import { ValueProvider } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "./gantt.module";
|
|
5
|
+
export declare const FilterService: ValueProvider;
|
|
6
|
+
export declare const SelectionService: ValueProvider;
|
|
7
|
+
export declare const SortService: ValueProvider;
|
|
8
|
+
export declare const ReorderService: ValueProvider;
|
|
9
|
+
export declare const ResizeService: ValueProvider;
|
|
10
|
+
export declare const EditService: ValueProvider;
|
|
11
|
+
export declare const DayMarkersService: ValueProvider;
|
|
12
|
+
export declare const ToolbarService: ValueProvider;
|
|
13
|
+
export declare const ContextMenuService: ValueProvider;
|
|
14
|
+
export declare const ExcelExportService: ValueProvider;
|
|
15
|
+
export declare const RowDDService: ValueProvider;
|
|
16
|
+
export declare const ColumnMenuService: ValueProvider;
|
|
17
|
+
export declare const PdfExportService: ValueProvider;
|
|
18
|
+
export declare const VirtualScrollService: ValueProvider;
|
|
19
|
+
export declare const CriticalPathService: ValueProvider;
|
|
20
|
+
export declare const UndoRedoService: ValueProvider;
|
|
21
|
+
export declare const FreezeService: ValueProvider;
|
|
22
|
+
/**
|
|
23
|
+
* NgModule definition for the Gantt component with providers.
|
|
24
|
+
*/
|
|
25
|
+
export declare class GanttAllModule {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttAllModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GanttAllModule, never, [typeof i1.CommonModule, typeof i2.GanttModule], [typeof i2.GanttModule]>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GanttAllModule>;
|
|
29
|
+
}
|
|
@@ -1,143 +1,156 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
|
|
2
|
-
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { Gantt } from '@syncfusion/ej2-gantt';
|
|
4
|
-
import { ColumnsDirective } from './columns.directive';
|
|
5
|
-
import { AddDialogFieldsDirective } from './adddialogfields.directive';
|
|
6
|
-
import { EditDialogFieldsDirective } from './editdialogfields.directive';
|
|
7
|
-
import { DayWorkingTimeCollectionDirective } from './dayworkingtime.directive';
|
|
8
|
-
import { WeekWorkingTimesDirective } from './weekworkingtime.directive';
|
|
9
|
-
import { HolidaysDirective } from './holidays.directive';
|
|
10
|
-
import { EventMarkersDirective } from './eventmarkers.directive';
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* @
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
*
|
|
108
|
-
* @
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*
|
|
114
|
-
* @
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* @
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
1
|
+
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
|
|
2
|
+
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { Gantt } from '@syncfusion/ej2-gantt';
|
|
4
|
+
import { ColumnsDirective } from './columns.directive';
|
|
5
|
+
import { AddDialogFieldsDirective } from './adddialogfields.directive';
|
|
6
|
+
import { EditDialogFieldsDirective } from './editdialogfields.directive';
|
|
7
|
+
import { DayWorkingTimeCollectionDirective } from './dayworkingtime.directive';
|
|
8
|
+
import { WeekWorkingTimesDirective } from './weekworkingtime.directive';
|
|
9
|
+
import { HolidaysDirective } from './holidays.directive';
|
|
10
|
+
import { EventMarkersDirective } from './eventmarkers.directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare const inputs: string[];
|
|
13
|
+
export declare const outputs: string[];
|
|
14
|
+
export declare const twoWays: string[];
|
|
15
|
+
/**
|
|
16
|
+
* `ejs-gantt` represents the Angular Gantt Component.
|
|
17
|
+
* ```html
|
|
18
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'></ejs-gantt>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class GanttComponent extends Gantt implements IComponentBase {
|
|
22
|
+
private ngEle;
|
|
23
|
+
private srenderer;
|
|
24
|
+
private viewContainerRef;
|
|
25
|
+
private injector;
|
|
26
|
+
context: any;
|
|
27
|
+
tagObjects: any;
|
|
28
|
+
actionBegin: any;
|
|
29
|
+
actionComplete: any;
|
|
30
|
+
actionFailure: any;
|
|
31
|
+
beforeDataBound: any;
|
|
32
|
+
beforeExcelExport: any;
|
|
33
|
+
beforePdfExport: any;
|
|
34
|
+
beforeTooltipRender: any;
|
|
35
|
+
cellDeselected: any;
|
|
36
|
+
cellDeselecting: any;
|
|
37
|
+
cellEdit: any;
|
|
38
|
+
cellSave: any;
|
|
39
|
+
cellSelected: any;
|
|
40
|
+
cellSelecting: any;
|
|
41
|
+
collapsed: any;
|
|
42
|
+
collapsing: any;
|
|
43
|
+
columnDrag: any;
|
|
44
|
+
columnDragStart: any;
|
|
45
|
+
columnDrop: any;
|
|
46
|
+
columnMenuClick: any;
|
|
47
|
+
columnMenuOpen: any;
|
|
48
|
+
contextMenuClick: any;
|
|
49
|
+
contextMenuOpen: any;
|
|
50
|
+
created: any;
|
|
51
|
+
dataBound: any;
|
|
52
|
+
dataStateChange: any;
|
|
53
|
+
destroyed: any;
|
|
54
|
+
endEdit: any;
|
|
55
|
+
excelExportComplete: any;
|
|
56
|
+
excelHeaderQueryCellInfo: any;
|
|
57
|
+
excelQueryCellInfo: any;
|
|
58
|
+
expanded: any;
|
|
59
|
+
expanding: any;
|
|
60
|
+
headerCellInfo: any;
|
|
61
|
+
load: any;
|
|
62
|
+
onMouseMove: any;
|
|
63
|
+
onTaskbarClick: any;
|
|
64
|
+
pdfColumnHeaderQueryCellInfo: any;
|
|
65
|
+
pdfExportComplete: any;
|
|
66
|
+
pdfQueryCellInfo: any;
|
|
67
|
+
pdfQueryTaskbarInfo: any;
|
|
68
|
+
pdfQueryTimelineCellInfo: any;
|
|
69
|
+
queryCellInfo: any;
|
|
70
|
+
queryTaskbarInfo: any;
|
|
71
|
+
recordDoubleClick: any;
|
|
72
|
+
resizeStart: any;
|
|
73
|
+
resizeStop: any;
|
|
74
|
+
resizing: any;
|
|
75
|
+
rowDataBound: any;
|
|
76
|
+
rowDeselected: any;
|
|
77
|
+
rowDeselecting: any;
|
|
78
|
+
rowDrag: any;
|
|
79
|
+
rowDragStart: any;
|
|
80
|
+
rowDragStartHelper: any;
|
|
81
|
+
rowDrop: any;
|
|
82
|
+
rowSelected: any;
|
|
83
|
+
rowSelecting: any;
|
|
84
|
+
splitterResizeStart: any;
|
|
85
|
+
splitterResized: any;
|
|
86
|
+
splitterResizing: any;
|
|
87
|
+
taskbarEdited: any;
|
|
88
|
+
taskbarEditing: any;
|
|
89
|
+
toolbarClick: any;
|
|
90
|
+
dataSourceChange: any;
|
|
91
|
+
childColumns: QueryList<ColumnsDirective>;
|
|
92
|
+
childAddDialogFields: QueryList<AddDialogFieldsDirective>;
|
|
93
|
+
childEditDialogFields: QueryList<EditDialogFieldsDirective>;
|
|
94
|
+
childDayWorkingTime: QueryList<DayWorkingTimeCollectionDirective>;
|
|
95
|
+
childWeekWorkingTime: QueryList<WeekWorkingTimesDirective>;
|
|
96
|
+
childHolidays: QueryList<HolidaysDirective>;
|
|
97
|
+
childEventMarkers: QueryList<EventMarkersDirective>;
|
|
98
|
+
tags: string[];
|
|
99
|
+
/**
|
|
100
|
+
* Defines a custom template for rendering parent task bars in the Gantt chart. This template allows you to customize the appearance of parent task bars.
|
|
101
|
+
* {% codeBlock src='gantt/parentTaskbarTemplate/index.md' %}{% endcodeBlock %}
|
|
102
|
+
* @default null
|
|
103
|
+
* @asptype string
|
|
104
|
+
*/
|
|
105
|
+
parentTaskbarTemplate: any;
|
|
106
|
+
/**
|
|
107
|
+
* Renders customized html elements for timeline cell from the given template.
|
|
108
|
+
* @default null
|
|
109
|
+
* @asptype string
|
|
110
|
+
*/
|
|
111
|
+
timelineTemplate: any;
|
|
112
|
+
/**
|
|
113
|
+
* Defines a custom template for rendering milestone tasks in the Gantt chart. This template allows you to customize the appearance of milestone tasks.
|
|
114
|
+
* @default null
|
|
115
|
+
* @asptype string
|
|
116
|
+
*/
|
|
117
|
+
milestoneTemplate: any;
|
|
118
|
+
/**
|
|
119
|
+
* The task bar template that renders customized child task bars from the given template.
|
|
120
|
+
* This property allows users to define a custom template for rendering child task bars in the Gantt chart.
|
|
121
|
+
* {% codeBlock src='gantt/taskbarTemplate/index.md' %}{% endcodeBlock %}
|
|
122
|
+
* @default null
|
|
123
|
+
* @asptype string
|
|
124
|
+
*/
|
|
125
|
+
taskbarTemplate: any;
|
|
126
|
+
editTemplate: any;
|
|
127
|
+
labelSettings_rightLabel: any;
|
|
128
|
+
labelSettings_leftLabel: any;
|
|
129
|
+
labelSettings_taskLabel: any;
|
|
130
|
+
tooltipSettings_taskbar: any;
|
|
131
|
+
tooltipSettings_baseline: any;
|
|
132
|
+
tooltipSettings_connectorLine: any;
|
|
133
|
+
tooltipSettings_editing: any;
|
|
134
|
+
tooltipSettings_timeline: any;
|
|
135
|
+
filter_itemTemplate: any;
|
|
136
|
+
filterTemplate: any;
|
|
137
|
+
/**
|
|
138
|
+
* Defines a custom template to display when the Gantt chart has no records.
|
|
139
|
+
*
|
|
140
|
+
* This template replaces the default empty record message and can include text, HTML elements, or images.
|
|
141
|
+
*Accepts either a template string or an HTML element ID.
|
|
142
|
+
*
|
|
143
|
+
* @default null
|
|
144
|
+
* @asptype string
|
|
145
|
+
*/
|
|
146
|
+
emptyRecordTemplate: any;
|
|
147
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
148
|
+
ngOnInit(): void;
|
|
149
|
+
ngAfterViewInit(): void;
|
|
150
|
+
ngOnDestroy(): void;
|
|
151
|
+
ngAfterContentChecked(): void;
|
|
152
|
+
registerEvents: (eventList: string[]) => void;
|
|
153
|
+
addTwoWay: (propList: string[]) => void;
|
|
154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttComponent, never>;
|
|
155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GanttComponent, "ejs-gantt", never, { "addDialogFields": "addDialogFields"; "allowExcelExport": "allowExcelExport"; "allowFiltering": "allowFiltering"; "allowKeyboard": "allowKeyboard"; "allowParentDependency": "allowParentDependency"; "allowPdfExport": "allowPdfExport"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowRowDragAndDrop": "allowRowDragAndDrop"; "allowSelection": "allowSelection"; "allowSorting": "allowSorting"; "allowTaskbarDragAndDrop": "allowTaskbarDragAndDrop"; "allowTaskbarOverlap": "allowTaskbarOverlap"; "allowUnscheduledTasks": "allowUnscheduledTasks"; "autoCalculateDateScheduling": "autoCalculateDateScheduling"; "autoFocusTasks": "autoFocusTasks"; "baselineColor": "baselineColor"; "calendarSettings": "calendarSettings"; "collapseAllParentTasks": "collapseAllParentTasks"; "columnMenuItems": "columnMenuItems"; "columns": "columns"; "connectorLineBackground": "connectorLineBackground"; "connectorLineWidth": "connectorLineWidth"; "contextMenuItems": "contextMenuItems"; "dataSource": "dataSource"; "dateFormat": "dateFormat"; "dayWorkingTime": "dayWorkingTime"; "disableHtmlEncode": "disableHtmlEncode"; "durationUnit": "durationUnit"; "editDialogFields": "editDialogFields"; "editSettings": "editSettings"; "emptyRecordTemplate": "emptyRecordTemplate"; "enableAdaptiveUI": "enableAdaptiveUI"; "enableAutoWbsUpdate": "enableAutoWbsUpdate"; "enableContextMenu": "enableContextMenu"; "enableCriticalPath": "enableCriticalPath"; "enableHover": "enableHover"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enableImmutableMode": "enableImmutableMode"; "enableMultiTaskbar": "enableMultiTaskbar"; "enablePersistence": "enablePersistence"; "enablePredecessorValidation": "enablePredecessorValidation"; "enableRtl": "enableRtl"; "enableTimelineVirtualization": "enableTimelineVirtualization"; "enableUndoRedo": "enableUndoRedo"; "enableVirtualMaskRow": "enableVirtualMaskRow"; "enableVirtualization": "enableVirtualization"; "enableWBS": "enableWBS"; "eventMarkers": "eventMarkers"; "filterSettings": "filterSettings"; "frozenColumns": "frozenColumns"; "gridLines": "gridLines"; "height": "height"; "highlightWeekends": "highlightWeekends"; "holidays": "holidays"; "includeWeekend": "includeWeekend"; "labelSettings": "labelSettings"; "loadChildOnDemand": "loadChildOnDemand"; "loadingIndicator": "loadingIndicator"; "locale": "locale"; "milestoneTemplate": "milestoneTemplate"; "parentTaskbarTemplate": "parentTaskbarTemplate"; "projectEndDate": "projectEndDate"; "projectStartDate": "projectStartDate"; "query": "query"; "readOnly": "readOnly"; "renderBaseline": "renderBaseline"; "resourceFields": "resourceFields"; "resourceIDMapping": "resourceIDMapping"; "resourceNameMapping": "resourceNameMapping"; "resources": "resources"; "rowHeight": "rowHeight"; "searchSettings": "searchSettings"; "segmentData": "segmentData"; "selectedRowIndex": "selectedRowIndex"; "selectionSettings": "selectionSettings"; "showColumnMenu": "showColumnMenu"; "showInlineNotes": "showInlineNotes"; "showOverAllocation": "showOverAllocation"; "sortSettings": "sortSettings"; "splitterSettings": "splitterSettings"; "taskFields": "taskFields"; "taskMode": "taskMode"; "taskType": "taskType"; "taskbarHeight": "taskbarHeight"; "taskbarTemplate": "taskbarTemplate"; "timelineSettings": "timelineSettings"; "timelineTemplate": "timelineTemplate"; "timezone": "timezone"; "toolbar": "toolbar"; "tooltipSettings": "tooltipSettings"; "treeColumnIndex": "treeColumnIndex"; "undoRedoActions": "undoRedoActions"; "undoRedoStepsCount": "undoRedoStepsCount"; "updateOffsetOnTaskbarEdit": "updateOffsetOnTaskbarEdit"; "validateManualTasksOnLinking": "validateManualTasksOnLinking"; "viewType": "viewType"; "weekWorkingTime": "weekWorkingTime"; "width": "width"; "workUnit": "workUnit"; "workWeek": "workWeek"; "zoomingLevels": "zoomingLevels"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "beforeDataBound": "beforeDataBound"; "beforeExcelExport": "beforeExcelExport"; "beforePdfExport": "beforePdfExport"; "beforeTooltipRender": "beforeTooltipRender"; "cellDeselected": "cellDeselected"; "cellDeselecting": "cellDeselecting"; "cellEdit": "cellEdit"; "cellSave": "cellSave"; "cellSelected": "cellSelected"; "cellSelecting": "cellSelecting"; "collapsed": "collapsed"; "collapsing": "collapsing"; "columnDrag": "columnDrag"; "columnDragStart": "columnDragStart"; "columnDrop": "columnDrop"; "columnMenuClick": "columnMenuClick"; "columnMenuOpen": "columnMenuOpen"; "contextMenuClick": "contextMenuClick"; "contextMenuOpen": "contextMenuOpen"; "created": "created"; "dataBound": "dataBound"; "dataStateChange": "dataStateChange"; "destroyed": "destroyed"; "endEdit": "endEdit"; "excelExportComplete": "excelExportComplete"; "excelHeaderQueryCellInfo": "excelHeaderQueryCellInfo"; "excelQueryCellInfo": "excelQueryCellInfo"; "expanded": "expanded"; "expanding": "expanding"; "headerCellInfo": "headerCellInfo"; "load": "load"; "onMouseMove": "onMouseMove"; "onTaskbarClick": "onTaskbarClick"; "pdfColumnHeaderQueryCellInfo": "pdfColumnHeaderQueryCellInfo"; "pdfExportComplete": "pdfExportComplete"; "pdfQueryCellInfo": "pdfQueryCellInfo"; "pdfQueryTaskbarInfo": "pdfQueryTaskbarInfo"; "pdfQueryTimelineCellInfo": "pdfQueryTimelineCellInfo"; "queryCellInfo": "queryCellInfo"; "queryTaskbarInfo": "queryTaskbarInfo"; "recordDoubleClick": "recordDoubleClick"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "rowDataBound": "rowDataBound"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; "rowDragStartHelper": "rowDragStartHelper"; "rowDrop": "rowDrop"; "rowSelected": "rowSelected"; "rowSelecting": "rowSelecting"; "splitterResizeStart": "splitterResizeStart"; "splitterResized": "splitterResized"; "splitterResizing": "splitterResizing"; "taskbarEdited": "taskbarEdited"; "taskbarEditing": "taskbarEditing"; "toolbarClick": "toolbarClick"; "dataSourceChange": "dataSourceChange"; }, ["parentTaskbarTemplate", "timelineTemplate", "milestoneTemplate", "taskbarTemplate", "editTemplate", "labelSettings_rightLabel", "labelSettings_leftLabel", "labelSettings_taskLabel", "tooltipSettings_taskbar", "tooltipSettings_baseline", "tooltipSettings_connectorLine", "tooltipSettings_editing", "tooltipSettings_timeline", "filter_itemTemplate", "filterTemplate", "emptyRecordTemplate", "childColumns", "childAddDialogFields", "childEditDialogFields", "childDayWorkingTime", "childWeekWorkingTime", "childHolidays", "childEventMarkers"], never>;
|
|
156
|
+
}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gantt.component";
|
|
3
|
+
import * as i2 from "./columns.directive";
|
|
4
|
+
import * as i3 from "./adddialogfields.directive";
|
|
5
|
+
import * as i4 from "./editdialogfields.directive";
|
|
6
|
+
import * as i5 from "./dayworkingtime.directive";
|
|
7
|
+
import * as i6 from "./weekworkingtime.directive";
|
|
8
|
+
import * as i7 from "./holidays.directive";
|
|
9
|
+
import * as i8 from "./eventmarkers.directive";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
/**
|
|
12
|
+
* NgModule definition for the Gantt component.
|
|
13
|
+
*/
|
|
14
|
+
export declare class GanttModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GanttModule, [typeof i1.GanttComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective, typeof i3.AddDialogFieldDirective, typeof i3.AddDialogFieldsDirective, typeof i4.EditDialogFieldDirective, typeof i4.EditDialogFieldsDirective, typeof i5.DayWorkingTimeDirective, typeof i5.DayWorkingTimeCollectionDirective, typeof i6.WeekWorkingTimeDirective, typeof i6.WeekWorkingTimesDirective, typeof i7.HolidayDirective, typeof i7.HolidaysDirective, typeof i8.EventMarkerDirective, typeof i8.EventMarkersDirective], [typeof i9.CommonModule], [typeof i1.GanttComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective, typeof i3.AddDialogFieldDirective, typeof i3.AddDialogFieldsDirective, typeof i4.EditDialogFieldDirective, typeof i4.EditDialogFieldsDirective, typeof i5.DayWorkingTimeDirective, typeof i5.DayWorkingTimeCollectionDirective, typeof i6.WeekWorkingTimeDirective, typeof i6.WeekWorkingTimesDirective, typeof i7.HolidayDirective, typeof i7.HolidaysDirective, typeof i8.EventMarkerDirective, typeof i8.EventMarkersDirective]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GanttModule>;
|
|
18
|
+
}
|
|
@@ -1,46 +1,64 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* <e-holiday from='
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* `e-holidays` directive represent a holidays collection in Gantt.
|
|
6
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
7
|
+
* ```html
|
|
8
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
9
|
+
* <e-holidays>
|
|
10
|
+
* <e-holiday from='02/20/2018' label='Holiday 1'></e-holiday>
|
|
11
|
+
* <e-holiday from='05/15/2018' label='Holiday 2'></e-holiday>
|
|
12
|
+
* </e-holidays>
|
|
13
|
+
* </ejs-gantt>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare class HolidayDirective extends ComplexBase<HolidayDirective> {
|
|
17
|
+
private viewContainerRef;
|
|
18
|
+
directivePropList: any;
|
|
19
|
+
/**
|
|
20
|
+
* Defines a custom CSS class for styling the holiday marker and label.
|
|
21
|
+
*
|
|
22
|
+
* Use this to apply custom background, borders, or font styles.
|
|
23
|
+
*
|
|
24
|
+
* @default null
|
|
25
|
+
*/
|
|
26
|
+
cssClass: any;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the start date of the holiday.
|
|
29
|
+
*
|
|
30
|
+
* Accepts a `Date` object or ISO-formatted string.
|
|
31
|
+
*
|
|
32
|
+
* @default null
|
|
33
|
+
*/
|
|
34
|
+
from: any;
|
|
35
|
+
/**
|
|
36
|
+
* Defines a label or description for the holiday.
|
|
37
|
+
*
|
|
38
|
+
* Useful for tooltips, annotations, and export metadata.
|
|
39
|
+
*
|
|
40
|
+
* @default null
|
|
41
|
+
*/
|
|
42
|
+
label: any;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the end date of the holiday.
|
|
45
|
+
*
|
|
46
|
+
* Accepts a `Date` object or ISO-formatted string.
|
|
47
|
+
*If omitted, the holiday is treated as a single-day event.
|
|
48
|
+
*
|
|
49
|
+
* @default null
|
|
50
|
+
*/
|
|
51
|
+
to: any;
|
|
52
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HolidayDirective, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HolidayDirective, "ejs-gantt>e-holidays>e-holidays", never, { "cssClass": "cssClass"; "from": "from"; "label": "label"; "to": "to"; }, {}, never>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Holiday Array Directive
|
|
58
|
+
* @private
|
|
59
|
+
*/
|
|
60
|
+
export declare class HolidaysDirective extends ArrayBase<HolidaysDirective> {
|
|
61
|
+
constructor();
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HolidaysDirective, never>;
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HolidaysDirective, "ejs-gantt>e-holidays", never, {}, {}, ["children"]>;
|
|
64
|
+
}
|