@progress/kendo-angular-gantt 0.1.4 → 0.2.0-dev.202111241002
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/dist/cdn/js/kendo-angular-gantt.js +2 -76
- package/dist/cdn/main.js +23 -1
- package/dist/es/columns/column.component.js +5 -0
- package/dist/es/columns/columns.js +1 -0
- package/dist/es/columns/edit-template.directive.js +34 -0
- package/dist/es/columns/span-column.component.js +6 -0
- package/dist/es/common/default-callbacks.js +4 -0
- package/dist/es/editing/edit-dialog.component.js +44 -0
- package/dist/es/editing/edit.service.js +39 -0
- package/dist/es/editing/util.js +17 -0
- package/dist/es/gantt.component.js +478 -22
- package/dist/es/gantt.module.js +62 -5
- package/dist/es/index.js +6 -0
- package/dist/es/localization/custom-messages.component.js +44 -0
- package/dist/es/localization/localized-messages.directive.js +35 -0
- package/dist/es/localization/messages.js +246 -0
- package/dist/es/localization/treelist-messages.directive.js +31 -0
- package/dist/es/main.js +1 -0
- package/dist/es/models/events/cell-click-event.interface.js +4 -0
- package/dist/es/models/events/cell-close-event.interface.js +19 -0
- package/dist/es/models/events/preventable-event.js +32 -0
- package/dist/es/models/events/task-click-event.interface.js +4 -0
- package/dist/es/models/events/task-edit-event.interface.js +4 -0
- package/dist/es/models/gantt-task-model-fields.interface.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/rendering/gantt-milestone-task.component.js +1 -1
- package/dist/es/rendering/gantt-summary-task.component.js +1 -1
- package/dist/es/rendering/gantt-task-base.js +8 -0
- package/dist/es/rendering/gantt-task.component.js +12 -4
- package/dist/es/rendering/gantt-tasks-table-body.component.js +5 -1
- package/dist/es/selection/selectable.directive.js +141 -0
- package/dist/es/selection/selection-change-event.js +4 -0
- package/dist/es/timeline/gantt-timeline.component.js +5 -1
- package/dist/es/toolbar/view-selector.component.js +7 -4
- package/dist/es/utils.js +48 -1
- package/dist/es2015/columns/column.component.d.ts +2 -0
- package/dist/es2015/columns/column.component.js +5 -0
- package/dist/es2015/columns/columns.d.ts +1 -0
- package/dist/es2015/columns/columns.js +1 -0
- package/dist/es2015/columns/edit-template.directive.d.ts +23 -0
- package/dist/es2015/columns/edit-template.directive.js +33 -0
- package/dist/es2015/columns/span-column.component.d.ts +2 -0
- package/dist/es2015/columns/span-column.component.js +6 -0
- package/dist/es2015/common/default-callbacks.d.ts +4 -0
- package/dist/es2015/common/default-callbacks.js +4 -0
- package/dist/es2015/editing/edit-dialog.component.d.ts +21 -0
- package/dist/es2015/editing/edit-dialog.component.js +86 -0
- package/dist/es2015/editing/edit.service.d.ts +20 -0
- package/dist/es2015/editing/edit.service.js +41 -0
- package/dist/es2015/editing/util.d.ts +10 -0
- package/dist/es2015/editing/util.js +17 -0
- package/dist/es2015/gantt.component.d.ts +236 -12
- package/dist/es2015/gantt.component.js +662 -21
- package/dist/es2015/gantt.module.d.ts +29 -1
- package/dist/es2015/gantt.module.js +62 -5
- package/dist/es2015/index.d.ts +6 -0
- package/dist/es2015/index.js +6 -0
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/localization/custom-messages.component.d.ts +15 -0
- package/dist/es2015/localization/custom-messages.component.js +36 -0
- package/dist/es2015/localization/localized-messages.directive.d.ts +13 -0
- package/dist/es2015/localization/localized-messages.directive.js +31 -0
- package/dist/es2015/localization/messages.d.ts +246 -0
- package/dist/es2015/localization/messages.js +240 -0
- package/dist/es2015/localization/treelist-messages.directive.d.ts +14 -0
- package/dist/es2015/localization/treelist-messages.directive.js +29 -0
- package/dist/es2015/main.d.ts +2 -0
- package/dist/es2015/main.js +1 -0
- package/dist/es2015/models/events/cell-click-event.interface.d.ts +43 -0
- package/dist/es2015/models/events/cell-click-event.interface.js +4 -0
- package/dist/es2015/models/events/cell-close-event.interface.d.ts +48 -0
- package/dist/es2015/models/events/cell-close-event.interface.js +14 -0
- package/dist/es2015/models/events/preventable-event.d.ts +24 -0
- package/dist/es2015/models/events/preventable-event.js +30 -0
- package/dist/es2015/models/events/task-click-event.interface.d.ts +30 -0
- package/dist/es2015/models/events/task-click-event.interface.js +4 -0
- package/dist/es2015/models/events/task-edit-event.interface.d.ts +46 -0
- package/dist/es2015/models/events/task-edit-event.interface.js +4 -0
- package/dist/es2015/models/gantt-task-model-fields.interface.d.ts +1 -0
- package/dist/es2015/models/gantt-task-model-fields.interface.js +2 -1
- package/dist/es2015/models/models.d.ts +2 -0
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/rendering/gantt-milestone-task.component.js +2 -0
- package/dist/es2015/rendering/gantt-summary-task.component.js +2 -0
- package/dist/es2015/rendering/gantt-task-base.d.ts +2 -0
- package/dist/es2015/rendering/gantt-task-base.js +8 -0
- package/dist/es2015/rendering/gantt-task.component.d.ts +4 -1
- package/dist/es2015/rendering/gantt-task.component.js +18 -2
- package/dist/es2015/rendering/gantt-tasks-table-body.component.d.ts +1 -0
- package/dist/es2015/rendering/gantt-tasks-table-body.component.js +11 -1
- package/dist/es2015/selection/selectable.directive.d.ts +42 -0
- package/dist/es2015/selection/selectable.directive.js +122 -0
- package/dist/es2015/selection/selection-change-event.d.ts +25 -0
- package/dist/es2015/selection/selection-change-event.js +4 -0
- package/dist/es2015/timeline/gantt-timeline.component.d.ts +1 -0
- package/dist/es2015/timeline/gantt-timeline.component.js +5 -0
- package/dist/es2015/toolbar/view-selector.component.d.ts +3 -0
- package/dist/es2015/toolbar/view-selector.component.js +7 -7
- package/dist/es2015/utils.d.ts +39 -0
- package/dist/es2015/utils.js +48 -1
- package/dist/fesm2015/index.js +1387 -35
- package/dist/fesm5/index.js +1191 -45
- package/dist/npm/columns/column.component.js +5 -0
- package/dist/npm/columns/columns.js +2 -0
- package/dist/npm/columns/edit-template.directive.js +36 -0
- package/dist/npm/columns/span-column.component.js +6 -0
- package/dist/npm/common/default-callbacks.js +4 -0
- package/dist/npm/editing/edit-dialog.component.js +46 -0
- package/dist/npm/editing/edit.service.js +41 -0
- package/dist/npm/editing/util.js +19 -0
- package/dist/npm/gantt.component.js +475 -19
- package/dist/npm/gantt.module.js +61 -4
- package/dist/npm/index.js +12 -0
- package/dist/npm/localization/custom-messages.component.js +46 -0
- package/dist/npm/localization/localized-messages.directive.js +37 -0
- package/dist/npm/localization/messages.js +248 -0
- package/dist/npm/localization/treelist-messages.directive.js +33 -0
- package/dist/npm/main.js +2 -0
- package/dist/npm/models/events/cell-click-event.interface.js +6 -0
- package/dist/npm/models/events/cell-close-event.interface.js +21 -0
- package/dist/npm/models/events/preventable-event.js +34 -0
- package/dist/npm/models/events/task-click-event.interface.js +6 -0
- package/dist/npm/models/events/task-edit-event.interface.js +6 -0
- package/dist/npm/models/gantt-task-model-fields.interface.js +2 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/rendering/gantt-milestone-task.component.js +1 -1
- package/dist/npm/rendering/gantt-summary-task.component.js +1 -1
- package/dist/npm/rendering/gantt-task-base.js +8 -0
- package/dist/npm/rendering/gantt-task.component.js +12 -4
- package/dist/npm/rendering/gantt-tasks-table-body.component.js +5 -1
- package/dist/npm/selection/selectable.directive.js +143 -0
- package/dist/npm/selection/selection-change-event.js +6 -0
- package/dist/npm/timeline/gantt-timeline.component.js +5 -1
- package/dist/npm/toolbar/view-selector.component.js +7 -4
- package/dist/npm/utils.js +47 -0
- package/dist/systemjs/kendo-angular-gantt.js +1 -1
- package/package.json +15 -10
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
/**
|
|
8
|
+
* Custom component messages override default component messages
|
|
9
|
+
* ([see example]({% slug globalization_treelist %}#toc-localization)).
|
|
10
|
+
*/
|
|
11
|
+
export declare class CustomMessagesComponent extends Messages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected readonly override: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
var CustomMessagesComponent_1;
|
|
7
|
+
import { Component, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* Custom component messages override default component messages
|
|
12
|
+
* ([see example]({% slug globalization_treelist %}#toc-localization)).
|
|
13
|
+
*/
|
|
14
|
+
let CustomMessagesComponent = CustomMessagesComponent_1 = class CustomMessagesComponent extends Messages {
|
|
15
|
+
constructor(service) {
|
|
16
|
+
super();
|
|
17
|
+
this.service = service;
|
|
18
|
+
}
|
|
19
|
+
get override() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
CustomMessagesComponent = CustomMessagesComponent_1 = tslib_1.__decorate([
|
|
24
|
+
Component({
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: Messages,
|
|
28
|
+
useExisting: forwardRef(() => CustomMessagesComponent_1)
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
selector: 'kendo-gantt-messages',
|
|
32
|
+
template: ``
|
|
33
|
+
}),
|
|
34
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
35
|
+
], CustomMessagesComponent);
|
|
36
|
+
export { CustomMessagesComponent };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class LocalizedMessagesDirective extends Messages {
|
|
11
|
+
protected service: LocalizationService;
|
|
12
|
+
constructor(service: LocalizationService);
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
var LocalizedMessagesDirective_1;
|
|
7
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
let LocalizedMessagesDirective = LocalizedMessagesDirective_1 = class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
constructor(service) {
|
|
15
|
+
super();
|
|
16
|
+
this.service = service;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
LocalizedMessagesDirective = LocalizedMessagesDirective_1 = tslib_1.__decorate([
|
|
20
|
+
Directive({
|
|
21
|
+
providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: Messages,
|
|
24
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective_1)
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
selector: '[kendoGanttLocalizedMessages]'
|
|
28
|
+
}),
|
|
29
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
30
|
+
], LocalizedMessagesDirective);
|
|
31
|
+
export { LocalizedMessagesDirective };
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare class Messages extends ComponentMessages {
|
|
10
|
+
/**
|
|
11
|
+
* The label for the task delete button.
|
|
12
|
+
*/
|
|
13
|
+
taskDeleteLabel: string;
|
|
14
|
+
/**
|
|
15
|
+
* The title of the task editing dialog.
|
|
16
|
+
*/
|
|
17
|
+
taskEditingDialogTitle: string;
|
|
18
|
+
/**
|
|
19
|
+
* The title of the task editing dialog close button.
|
|
20
|
+
*/
|
|
21
|
+
taskEditingDialogCloseTitle: string;
|
|
22
|
+
/**
|
|
23
|
+
* The title of the confirmation dialog close button.
|
|
24
|
+
*/
|
|
25
|
+
confirmationDialogCloseTitle: string;
|
|
26
|
+
/**
|
|
27
|
+
* The title of the delete task confirmation dialog.
|
|
28
|
+
*/
|
|
29
|
+
confirmationDialogTitle: string;
|
|
30
|
+
/**
|
|
31
|
+
* The text of the task editing dialog `Delete` button.
|
|
32
|
+
*/
|
|
33
|
+
deleteButtonText: string;
|
|
34
|
+
/**
|
|
35
|
+
* The text of the task editing dialog `Cancel` button.
|
|
36
|
+
*/
|
|
37
|
+
cancelButtonText: string;
|
|
38
|
+
/**
|
|
39
|
+
* The text of the task editing dialog `Save` button.
|
|
40
|
+
*/
|
|
41
|
+
saveButtonText: string;
|
|
42
|
+
/**
|
|
43
|
+
* The label of the 'title' field input in editing mode.
|
|
44
|
+
*/
|
|
45
|
+
titleFieldInputLabel: string;
|
|
46
|
+
/**
|
|
47
|
+
* The label of the 'start' field input in editing mode.
|
|
48
|
+
*/
|
|
49
|
+
startFieldInputLabel: string;
|
|
50
|
+
/**
|
|
51
|
+
* The label of the 'end' field input in editing mode.
|
|
52
|
+
*/
|
|
53
|
+
endFieldInputLabel: string;
|
|
54
|
+
/**
|
|
55
|
+
* The label of the 'completionRatio' field input in editing mode.
|
|
56
|
+
*/
|
|
57
|
+
completionRatioFieldInputLabel: string;
|
|
58
|
+
/**
|
|
59
|
+
* The content of the delete task confirmation dialog.
|
|
60
|
+
*/
|
|
61
|
+
confirmationDialogContent: string;
|
|
62
|
+
/**
|
|
63
|
+
* The text of the day view in the ViewSelector component.
|
|
64
|
+
*/
|
|
65
|
+
dayViewText: string;
|
|
66
|
+
/**
|
|
67
|
+
* The text of the week view in the ViewSelector component.
|
|
68
|
+
*/
|
|
69
|
+
weekViewText: string;
|
|
70
|
+
/**
|
|
71
|
+
* The text of the month view in the ViewSelector component.
|
|
72
|
+
*/
|
|
73
|
+
monthViewText: string;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
* The text of the year view in the ViewSelector component.
|
|
77
|
+
*/
|
|
78
|
+
yearViewText: string;
|
|
79
|
+
/**
|
|
80
|
+
* The no-records text.
|
|
81
|
+
*/
|
|
82
|
+
noRecords: string;
|
|
83
|
+
/**
|
|
84
|
+
* The label of the filter cell or icon.
|
|
85
|
+
*/
|
|
86
|
+
filter: string;
|
|
87
|
+
/**
|
|
88
|
+
* The text of the `Equal` (**Is equal to**) filter operator.
|
|
89
|
+
*/
|
|
90
|
+
filterEqOperator: string;
|
|
91
|
+
/**
|
|
92
|
+
* The text of the `NotEqual` (**Is not equal to**) filter operator.
|
|
93
|
+
*/
|
|
94
|
+
filterNotEqOperator: string;
|
|
95
|
+
/**
|
|
96
|
+
* The text of the `IsNull` (**Is null**) filter operator.
|
|
97
|
+
*/
|
|
98
|
+
filterIsNullOperator: string;
|
|
99
|
+
/**
|
|
100
|
+
* The text of the `IsNotNull` (**Is not null**) filter operator.
|
|
101
|
+
*/
|
|
102
|
+
filterIsNotNullOperator: string;
|
|
103
|
+
/**
|
|
104
|
+
* The text of the `IsEmpty` (**Is empty**) filter operator.
|
|
105
|
+
*/
|
|
106
|
+
filterIsEmptyOperator: string;
|
|
107
|
+
/**
|
|
108
|
+
* The text of the `IsNotEmpty` (**Is not empty**) filter operator.
|
|
109
|
+
*/
|
|
110
|
+
filterIsNotEmptyOperator: string;
|
|
111
|
+
/**
|
|
112
|
+
* The text of the `StartsWith` (**Starts with**) filter operator.
|
|
113
|
+
*/
|
|
114
|
+
filterStartsWithOperator: string;
|
|
115
|
+
/**
|
|
116
|
+
* The text of the `Contains` (**Contains**) filter operator.
|
|
117
|
+
*/
|
|
118
|
+
filterContainsOperator: string;
|
|
119
|
+
/**
|
|
120
|
+
* The text of the `DoesNotContain` (**Does not contain**) filter operator.
|
|
121
|
+
*/
|
|
122
|
+
filterNotContainsOperator: string;
|
|
123
|
+
/**
|
|
124
|
+
* The text of the `EndsWith` (**Ends with**) string filter operator.
|
|
125
|
+
*/
|
|
126
|
+
filterEndsWithOperator: string;
|
|
127
|
+
/**
|
|
128
|
+
* The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric filter operator.
|
|
129
|
+
*/
|
|
130
|
+
filterGteOperator: string;
|
|
131
|
+
/**
|
|
132
|
+
* The text of the `Greater` (**Is greater than**) numeric filter operator.
|
|
133
|
+
*/
|
|
134
|
+
filterGtOperator: string;
|
|
135
|
+
/**
|
|
136
|
+
* The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric filter operator.
|
|
137
|
+
*/
|
|
138
|
+
filterLteOperator: string;
|
|
139
|
+
/**
|
|
140
|
+
* The text of the `Less` (**Is less than**) numeric filter operator.
|
|
141
|
+
*/
|
|
142
|
+
filterLtOperator: string;
|
|
143
|
+
/**
|
|
144
|
+
* The text of the `IsTrue` Boolean filter option.
|
|
145
|
+
*/
|
|
146
|
+
filterIsTrue: string;
|
|
147
|
+
/**
|
|
148
|
+
* The text of the `IsFalse` Boolean filter option.
|
|
149
|
+
*/
|
|
150
|
+
filterIsFalse: string;
|
|
151
|
+
/**
|
|
152
|
+
* The text of the `(All)` option for Boolean filter.
|
|
153
|
+
*/
|
|
154
|
+
filterBooleanAll: string;
|
|
155
|
+
/**
|
|
156
|
+
* The text of the `AfterOrEqualTo` (**Is after or equal to**) date filter operator.
|
|
157
|
+
*/
|
|
158
|
+
filterAfterOrEqualOperator: string;
|
|
159
|
+
/**
|
|
160
|
+
* The text of the `After` (**Is after**) date filter operator.
|
|
161
|
+
*/
|
|
162
|
+
filterAfterOperator: string;
|
|
163
|
+
/**
|
|
164
|
+
* The text of the `Before` (**Is before**) date filter operator.
|
|
165
|
+
*/
|
|
166
|
+
filterBeforeOperator: string;
|
|
167
|
+
/**
|
|
168
|
+
* The text of the `BeforeOrEqualTo` (**Is before or equal to**) date filter operator.
|
|
169
|
+
*/
|
|
170
|
+
filterBeforeOrEqualOperator: string;
|
|
171
|
+
/**
|
|
172
|
+
* The text of the **Filter** button.
|
|
173
|
+
*/
|
|
174
|
+
filterFilterButton: string;
|
|
175
|
+
/**
|
|
176
|
+
* The text of the **Clear filter** button.
|
|
177
|
+
*/
|
|
178
|
+
filterClearButton: string;
|
|
179
|
+
/**
|
|
180
|
+
* The text of the `And` filter logic.
|
|
181
|
+
*/
|
|
182
|
+
filterAndLogic: string;
|
|
183
|
+
/**
|
|
184
|
+
* The text of the `Or` filter logic.
|
|
185
|
+
*/
|
|
186
|
+
filterOrLogic: string;
|
|
187
|
+
/**
|
|
188
|
+
* The loading text.
|
|
189
|
+
*
|
|
190
|
+
* > The `loading` property is part of the accessibility support of the Gantt.
|
|
191
|
+
* Its value is detectable by screen readers and is not otherwise visible.
|
|
192
|
+
*/
|
|
193
|
+
loading: string;
|
|
194
|
+
/**
|
|
195
|
+
* The title of the icon for the column menu.
|
|
196
|
+
*/
|
|
197
|
+
columnMenu: string;
|
|
198
|
+
/**
|
|
199
|
+
* The text that is displayed in the column menu for the column items.
|
|
200
|
+
*/
|
|
201
|
+
columns: string;
|
|
202
|
+
/**
|
|
203
|
+
* @hidden
|
|
204
|
+
* The text that is displayed in the column menu for the lock item.
|
|
205
|
+
*/
|
|
206
|
+
lock: string;
|
|
207
|
+
/**
|
|
208
|
+
* @hidden
|
|
209
|
+
* The text that is displayed in the column menu for the unlock item.
|
|
210
|
+
*/
|
|
211
|
+
unlock: string;
|
|
212
|
+
/**
|
|
213
|
+
* The label of the sort icon.
|
|
214
|
+
*/
|
|
215
|
+
sortable: string;
|
|
216
|
+
/**
|
|
217
|
+
* The text that is displayed in the column menu for the ascending sort item.
|
|
218
|
+
*/
|
|
219
|
+
sortAscending: string;
|
|
220
|
+
/**
|
|
221
|
+
* The text that is displayed in the column menu for the descending sort item.
|
|
222
|
+
*/
|
|
223
|
+
sortDescending: string;
|
|
224
|
+
/**
|
|
225
|
+
* The status announcement when a column is sorted in an ascending order.
|
|
226
|
+
*/
|
|
227
|
+
sortedAscending: string;
|
|
228
|
+
/**
|
|
229
|
+
* The status announcement when a column is sorted in a descending order.
|
|
230
|
+
*/
|
|
231
|
+
sortedDescending: string;
|
|
232
|
+
/**
|
|
233
|
+
* The status announcement when a column is no longer sorted.
|
|
234
|
+
*/
|
|
235
|
+
sortedDefault: string;
|
|
236
|
+
/**
|
|
237
|
+
* The text that is displayed in the column menu or in the column chooser item
|
|
238
|
+
* for the **Apply** button of the columns.
|
|
239
|
+
*/
|
|
240
|
+
columnsApply: string;
|
|
241
|
+
/**
|
|
242
|
+
* The text that is displayed in the column menu or in the column chooser item
|
|
243
|
+
* for the **Reset** button of the columns.
|
|
244
|
+
*/
|
|
245
|
+
columnsReset: string;
|
|
246
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
import { Input } from '@angular/core';
|
|
7
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
}
|
|
13
|
+
tslib_1.__decorate([
|
|
14
|
+
Input(),
|
|
15
|
+
tslib_1.__metadata("design:type", String)
|
|
16
|
+
], Messages.prototype, "taskDeleteLabel", void 0);
|
|
17
|
+
tslib_1.__decorate([
|
|
18
|
+
Input(),
|
|
19
|
+
tslib_1.__metadata("design:type", String)
|
|
20
|
+
], Messages.prototype, "taskEditingDialogTitle", void 0);
|
|
21
|
+
tslib_1.__decorate([
|
|
22
|
+
Input(),
|
|
23
|
+
tslib_1.__metadata("design:type", String)
|
|
24
|
+
], Messages.prototype, "taskEditingDialogCloseTitle", void 0);
|
|
25
|
+
tslib_1.__decorate([
|
|
26
|
+
Input(),
|
|
27
|
+
tslib_1.__metadata("design:type", String)
|
|
28
|
+
], Messages.prototype, "confirmationDialogCloseTitle", void 0);
|
|
29
|
+
tslib_1.__decorate([
|
|
30
|
+
Input(),
|
|
31
|
+
tslib_1.__metadata("design:type", String)
|
|
32
|
+
], Messages.prototype, "confirmationDialogTitle", void 0);
|
|
33
|
+
tslib_1.__decorate([
|
|
34
|
+
Input(),
|
|
35
|
+
tslib_1.__metadata("design:type", String)
|
|
36
|
+
], Messages.prototype, "deleteButtonText", void 0);
|
|
37
|
+
tslib_1.__decorate([
|
|
38
|
+
Input(),
|
|
39
|
+
tslib_1.__metadata("design:type", String)
|
|
40
|
+
], Messages.prototype, "cancelButtonText", void 0);
|
|
41
|
+
tslib_1.__decorate([
|
|
42
|
+
Input(),
|
|
43
|
+
tslib_1.__metadata("design:type", String)
|
|
44
|
+
], Messages.prototype, "saveButtonText", void 0);
|
|
45
|
+
tslib_1.__decorate([
|
|
46
|
+
Input(),
|
|
47
|
+
tslib_1.__metadata("design:type", String)
|
|
48
|
+
], Messages.prototype, "titleFieldInputLabel", void 0);
|
|
49
|
+
tslib_1.__decorate([
|
|
50
|
+
Input(),
|
|
51
|
+
tslib_1.__metadata("design:type", String)
|
|
52
|
+
], Messages.prototype, "startFieldInputLabel", void 0);
|
|
53
|
+
tslib_1.__decorate([
|
|
54
|
+
Input(),
|
|
55
|
+
tslib_1.__metadata("design:type", String)
|
|
56
|
+
], Messages.prototype, "endFieldInputLabel", void 0);
|
|
57
|
+
tslib_1.__decorate([
|
|
58
|
+
Input(),
|
|
59
|
+
tslib_1.__metadata("design:type", String)
|
|
60
|
+
], Messages.prototype, "completionRatioFieldInputLabel", void 0);
|
|
61
|
+
tslib_1.__decorate([
|
|
62
|
+
Input(),
|
|
63
|
+
tslib_1.__metadata("design:type", String)
|
|
64
|
+
], Messages.prototype, "confirmationDialogContent", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
Input(),
|
|
67
|
+
tslib_1.__metadata("design:type", String)
|
|
68
|
+
], Messages.prototype, "dayViewText", void 0);
|
|
69
|
+
tslib_1.__decorate([
|
|
70
|
+
Input(),
|
|
71
|
+
tslib_1.__metadata("design:type", String)
|
|
72
|
+
], Messages.prototype, "weekViewText", void 0);
|
|
73
|
+
tslib_1.__decorate([
|
|
74
|
+
Input(),
|
|
75
|
+
tslib_1.__metadata("design:type", String)
|
|
76
|
+
], Messages.prototype, "monthViewText", void 0);
|
|
77
|
+
tslib_1.__decorate([
|
|
78
|
+
Input(),
|
|
79
|
+
tslib_1.__metadata("design:type", String)
|
|
80
|
+
], Messages.prototype, "yearViewText", void 0);
|
|
81
|
+
tslib_1.__decorate([
|
|
82
|
+
Input(),
|
|
83
|
+
tslib_1.__metadata("design:type", String)
|
|
84
|
+
], Messages.prototype, "noRecords", void 0);
|
|
85
|
+
tslib_1.__decorate([
|
|
86
|
+
Input(),
|
|
87
|
+
tslib_1.__metadata("design:type", String)
|
|
88
|
+
], Messages.prototype, "filter", void 0);
|
|
89
|
+
tslib_1.__decorate([
|
|
90
|
+
Input(),
|
|
91
|
+
tslib_1.__metadata("design:type", String)
|
|
92
|
+
], Messages.prototype, "filterEqOperator", void 0);
|
|
93
|
+
tslib_1.__decorate([
|
|
94
|
+
Input(),
|
|
95
|
+
tslib_1.__metadata("design:type", String)
|
|
96
|
+
], Messages.prototype, "filterNotEqOperator", void 0);
|
|
97
|
+
tslib_1.__decorate([
|
|
98
|
+
Input(),
|
|
99
|
+
tslib_1.__metadata("design:type", String)
|
|
100
|
+
], Messages.prototype, "filterIsNullOperator", void 0);
|
|
101
|
+
tslib_1.__decorate([
|
|
102
|
+
Input(),
|
|
103
|
+
tslib_1.__metadata("design:type", String)
|
|
104
|
+
], Messages.prototype, "filterIsNotNullOperator", void 0);
|
|
105
|
+
tslib_1.__decorate([
|
|
106
|
+
Input(),
|
|
107
|
+
tslib_1.__metadata("design:type", String)
|
|
108
|
+
], Messages.prototype, "filterIsEmptyOperator", void 0);
|
|
109
|
+
tslib_1.__decorate([
|
|
110
|
+
Input(),
|
|
111
|
+
tslib_1.__metadata("design:type", String)
|
|
112
|
+
], Messages.prototype, "filterIsNotEmptyOperator", void 0);
|
|
113
|
+
tslib_1.__decorate([
|
|
114
|
+
Input(),
|
|
115
|
+
tslib_1.__metadata("design:type", String)
|
|
116
|
+
], Messages.prototype, "filterStartsWithOperator", void 0);
|
|
117
|
+
tslib_1.__decorate([
|
|
118
|
+
Input(),
|
|
119
|
+
tslib_1.__metadata("design:type", String)
|
|
120
|
+
], Messages.prototype, "filterContainsOperator", void 0);
|
|
121
|
+
tslib_1.__decorate([
|
|
122
|
+
Input(),
|
|
123
|
+
tslib_1.__metadata("design:type", String)
|
|
124
|
+
], Messages.prototype, "filterNotContainsOperator", void 0);
|
|
125
|
+
tslib_1.__decorate([
|
|
126
|
+
Input(),
|
|
127
|
+
tslib_1.__metadata("design:type", String)
|
|
128
|
+
], Messages.prototype, "filterEndsWithOperator", void 0);
|
|
129
|
+
tslib_1.__decorate([
|
|
130
|
+
Input(),
|
|
131
|
+
tslib_1.__metadata("design:type", String)
|
|
132
|
+
], Messages.prototype, "filterGteOperator", void 0);
|
|
133
|
+
tslib_1.__decorate([
|
|
134
|
+
Input(),
|
|
135
|
+
tslib_1.__metadata("design:type", String)
|
|
136
|
+
], Messages.prototype, "filterGtOperator", void 0);
|
|
137
|
+
tslib_1.__decorate([
|
|
138
|
+
Input(),
|
|
139
|
+
tslib_1.__metadata("design:type", String)
|
|
140
|
+
], Messages.prototype, "filterLteOperator", void 0);
|
|
141
|
+
tslib_1.__decorate([
|
|
142
|
+
Input(),
|
|
143
|
+
tslib_1.__metadata("design:type", String)
|
|
144
|
+
], Messages.prototype, "filterLtOperator", void 0);
|
|
145
|
+
tslib_1.__decorate([
|
|
146
|
+
Input(),
|
|
147
|
+
tslib_1.__metadata("design:type", String)
|
|
148
|
+
], Messages.prototype, "filterIsTrue", void 0);
|
|
149
|
+
tslib_1.__decorate([
|
|
150
|
+
Input(),
|
|
151
|
+
tslib_1.__metadata("design:type", String)
|
|
152
|
+
], Messages.prototype, "filterIsFalse", void 0);
|
|
153
|
+
tslib_1.__decorate([
|
|
154
|
+
Input(),
|
|
155
|
+
tslib_1.__metadata("design:type", String)
|
|
156
|
+
], Messages.prototype, "filterBooleanAll", void 0);
|
|
157
|
+
tslib_1.__decorate([
|
|
158
|
+
Input(),
|
|
159
|
+
tslib_1.__metadata("design:type", String)
|
|
160
|
+
], Messages.prototype, "filterAfterOrEqualOperator", void 0);
|
|
161
|
+
tslib_1.__decorate([
|
|
162
|
+
Input(),
|
|
163
|
+
tslib_1.__metadata("design:type", String)
|
|
164
|
+
], Messages.prototype, "filterAfterOperator", void 0);
|
|
165
|
+
tslib_1.__decorate([
|
|
166
|
+
Input(),
|
|
167
|
+
tslib_1.__metadata("design:type", String)
|
|
168
|
+
], Messages.prototype, "filterBeforeOperator", void 0);
|
|
169
|
+
tslib_1.__decorate([
|
|
170
|
+
Input(),
|
|
171
|
+
tslib_1.__metadata("design:type", String)
|
|
172
|
+
], Messages.prototype, "filterBeforeOrEqualOperator", void 0);
|
|
173
|
+
tslib_1.__decorate([
|
|
174
|
+
Input(),
|
|
175
|
+
tslib_1.__metadata("design:type", String)
|
|
176
|
+
], Messages.prototype, "filterFilterButton", void 0);
|
|
177
|
+
tslib_1.__decorate([
|
|
178
|
+
Input(),
|
|
179
|
+
tslib_1.__metadata("design:type", String)
|
|
180
|
+
], Messages.prototype, "filterClearButton", void 0);
|
|
181
|
+
tslib_1.__decorate([
|
|
182
|
+
Input(),
|
|
183
|
+
tslib_1.__metadata("design:type", String)
|
|
184
|
+
], Messages.prototype, "filterAndLogic", void 0);
|
|
185
|
+
tslib_1.__decorate([
|
|
186
|
+
Input(),
|
|
187
|
+
tslib_1.__metadata("design:type", String)
|
|
188
|
+
], Messages.prototype, "filterOrLogic", void 0);
|
|
189
|
+
tslib_1.__decorate([
|
|
190
|
+
Input(),
|
|
191
|
+
tslib_1.__metadata("design:type", String)
|
|
192
|
+
], Messages.prototype, "loading", void 0);
|
|
193
|
+
tslib_1.__decorate([
|
|
194
|
+
Input(),
|
|
195
|
+
tslib_1.__metadata("design:type", String)
|
|
196
|
+
], Messages.prototype, "columnMenu", void 0);
|
|
197
|
+
tslib_1.__decorate([
|
|
198
|
+
Input(),
|
|
199
|
+
tslib_1.__metadata("design:type", String)
|
|
200
|
+
], Messages.prototype, "columns", void 0);
|
|
201
|
+
tslib_1.__decorate([
|
|
202
|
+
Input(),
|
|
203
|
+
tslib_1.__metadata("design:type", String)
|
|
204
|
+
], Messages.prototype, "lock", void 0);
|
|
205
|
+
tslib_1.__decorate([
|
|
206
|
+
Input(),
|
|
207
|
+
tslib_1.__metadata("design:type", String)
|
|
208
|
+
], Messages.prototype, "unlock", void 0);
|
|
209
|
+
tslib_1.__decorate([
|
|
210
|
+
Input(),
|
|
211
|
+
tslib_1.__metadata("design:type", String)
|
|
212
|
+
], Messages.prototype, "sortable", void 0);
|
|
213
|
+
tslib_1.__decorate([
|
|
214
|
+
Input(),
|
|
215
|
+
tslib_1.__metadata("design:type", String)
|
|
216
|
+
], Messages.prototype, "sortAscending", void 0);
|
|
217
|
+
tslib_1.__decorate([
|
|
218
|
+
Input(),
|
|
219
|
+
tslib_1.__metadata("design:type", String)
|
|
220
|
+
], Messages.prototype, "sortDescending", void 0);
|
|
221
|
+
tslib_1.__decorate([
|
|
222
|
+
Input(),
|
|
223
|
+
tslib_1.__metadata("design:type", String)
|
|
224
|
+
], Messages.prototype, "sortedAscending", void 0);
|
|
225
|
+
tslib_1.__decorate([
|
|
226
|
+
Input(),
|
|
227
|
+
tslib_1.__metadata("design:type", String)
|
|
228
|
+
], Messages.prototype, "sortedDescending", void 0);
|
|
229
|
+
tslib_1.__decorate([
|
|
230
|
+
Input(),
|
|
231
|
+
tslib_1.__metadata("design:type", String)
|
|
232
|
+
], Messages.prototype, "sortedDefault", void 0);
|
|
233
|
+
tslib_1.__decorate([
|
|
234
|
+
Input(),
|
|
235
|
+
tslib_1.__metadata("design:type", String)
|
|
236
|
+
], Messages.prototype, "columnsApply", void 0);
|
|
237
|
+
tslib_1.__decorate([
|
|
238
|
+
Input(),
|
|
239
|
+
tslib_1.__metadata("design:type", String)
|
|
240
|
+
], Messages.prototype, "columnsReset", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare class GanttTreeListMessagesDirective {
|
|
10
|
+
private localizationService;
|
|
11
|
+
kendoGanttTreeListMessages: LocalizationService;
|
|
12
|
+
constructor(localizationService: LocalizationService);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
import { Directive, Input } from '@angular/core';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
let GanttTreeListMessagesDirective = class GanttTreeListMessagesDirective {
|
|
12
|
+
constructor(localizationService) {
|
|
13
|
+
this.localizationService = localizationService;
|
|
14
|
+
}
|
|
15
|
+
ngAfterViewInit() {
|
|
16
|
+
const treeListServiceDictionary = this.localizationService.dictionary;
|
|
17
|
+
Object.keys(treeListServiceDictionary)
|
|
18
|
+
.forEach(token => treeListServiceDictionary[token] = this.kendoGanttTreeListMessages.get(token.replace('kendo.treelist.', '')));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
tslib_1.__decorate([
|
|
22
|
+
Input(),
|
|
23
|
+
tslib_1.__metadata("design:type", LocalizationService)
|
|
24
|
+
], GanttTreeListMessagesDirective.prototype, "kendoGanttTreeListMessages", void 0);
|
|
25
|
+
GanttTreeListMessagesDirective = tslib_1.__decorate([
|
|
26
|
+
Directive({ selector: '[kendoGanttTreeListMessages]' }),
|
|
27
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
28
|
+
], GanttTreeListMessagesDirective);
|
|
29
|
+
export { GanttTreeListMessagesDirective };
|
package/dist/es2015/main.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export { GanttTaskTemplateDirective } from './template-directives/task-template.
|
|
|
11
11
|
export { GanttTaskContentTemplateDirective } from './template-directives/task-content-template.directive';
|
|
12
12
|
export { GanttSummaryTaskTemplateDirective } from './template-directives/summary-task-template.directive';
|
|
13
13
|
export { ToolbarTemplateDirective } from './toolbar/toolbar-template.directive';
|
|
14
|
+
export { SelectableDirective } from './selection/selectable.directive';
|
|
15
|
+
export { SelectionChangeEvent } from './selection/selection-change-event';
|
|
14
16
|
export { TreeListPaneOptions, TimelinePaneOptions } from './models/splitter-pane-options.interface';
|
|
15
17
|
export * from './models/models';
|
|
16
18
|
export * from './columns/columns';
|
package/dist/es2015/main.js
CHANGED
|
@@ -11,5 +11,6 @@ export { GanttTaskTemplateDirective } from './template-directives/task-template.
|
|
|
11
11
|
export { GanttTaskContentTemplateDirective } from './template-directives/task-content-template.directive';
|
|
12
12
|
export { GanttSummaryTaskTemplateDirective } from './template-directives/summary-task-template.directive';
|
|
13
13
|
export { ToolbarTemplateDirective } from './toolbar/toolbar-template.directive';
|
|
14
|
+
export { SelectableDirective } from './selection/selectable.directive';
|
|
14
15
|
export * from './models/models';
|
|
15
16
|
export * from './columns/columns';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { GanttComponent } from '../../gantt.component';
|
|
6
|
+
import { GanttColumnComponent, GanttSpanColumnComponent } from '../../columns/columns';
|
|
7
|
+
/**
|
|
8
|
+
* Triggered every time a cell is clicked.
|
|
9
|
+
*/
|
|
10
|
+
export interface CellClickEvent {
|
|
11
|
+
/**
|
|
12
|
+
* The column component associated with the clicked cell.
|
|
13
|
+
*/
|
|
14
|
+
column: GanttColumnComponent | GanttSpanColumnComponent;
|
|
15
|
+
/**
|
|
16
|
+
* The column index of the clicked cell.
|
|
17
|
+
*/
|
|
18
|
+
columnIndex: number;
|
|
19
|
+
/**
|
|
20
|
+
* The data item associated with the clicked cell.
|
|
21
|
+
*/
|
|
22
|
+
dataItem: any;
|
|
23
|
+
/**
|
|
24
|
+
* Indicates whether the cell is in edit mode.
|
|
25
|
+
*/
|
|
26
|
+
isEdited: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The DOM event that triggered the `cellClick` event.
|
|
29
|
+
*/
|
|
30
|
+
originalEvent: PointerEvent;
|
|
31
|
+
/**
|
|
32
|
+
* The row index for the clicked cell.
|
|
33
|
+
*/
|
|
34
|
+
rowIndex: number;
|
|
35
|
+
/**
|
|
36
|
+
* The Gantt component instance.
|
|
37
|
+
*/
|
|
38
|
+
sender: GanttComponent;
|
|
39
|
+
/**
|
|
40
|
+
* The type of the event that triggered the `cellClick` event.
|
|
41
|
+
*/
|
|
42
|
+
type: 'click' | 'contextmenu' | 'dblclick';
|
|
43
|
+
}
|