@progress/kendo-angular-gantt 0.2.1-dev.202112101349 → 0.3.0-dev.202112141015

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 (49) hide show
  1. package/dist/cdn/js/kendo-angular-gantt.js +1 -1
  2. package/dist/cdn/main.js +2 -2
  3. package/dist/es/editing/add-task.component.js +94 -0
  4. package/dist/es/editing/edit.service.js +1 -0
  5. package/dist/es/gantt.component.js +59 -15
  6. package/dist/es/gantt.module.js +3 -1
  7. package/dist/es/index.js +1 -0
  8. package/dist/es/localization/messages.js +45 -1
  9. package/dist/es/models/events/{add-event.interface.js → task-add-event.interface.js} +0 -0
  10. package/dist/es/models/{toolbar-position.js → toolbar-settings.js} +0 -0
  11. package/dist/es/package-metadata.js +1 -1
  12. package/dist/es/toolbar/toolbar.component.js +9 -1
  13. package/dist/es2015/editing/add-task.component.d.ts +45 -0
  14. package/dist/es2015/editing/add-task.component.js +102 -0
  15. package/dist/es2015/editing/edit.service.d.ts +3 -0
  16. package/dist/es2015/editing/edit.service.js +1 -0
  17. package/dist/es2015/gantt.component.d.ts +18 -8
  18. package/dist/es2015/gantt.component.js +91 -14
  19. package/dist/es2015/gantt.module.js +3 -1
  20. package/dist/es2015/index.d.ts +1 -0
  21. package/dist/es2015/index.js +1 -0
  22. package/dist/es2015/index.metadata.json +1 -1
  23. package/dist/es2015/localization/messages.d.ts +46 -2
  24. package/dist/es2015/localization/messages.js +45 -1
  25. package/dist/es2015/models/events/task-add-event.interface.d.ts +31 -0
  26. package/dist/es2015/models/events/{add-event.interface.js → task-add-event.interface.js} +0 -0
  27. package/dist/es2015/models/models.d.ts +2 -1
  28. package/dist/es2015/models/toolbar-settings.d.ts +29 -0
  29. package/dist/es2015/models/{toolbar-position.js → toolbar-settings.js} +0 -0
  30. package/dist/es2015/package-metadata.js +1 -1
  31. package/dist/es2015/toolbar/toolbar-template.directive.d.ts +1 -1
  32. package/dist/es2015/toolbar/toolbar.component.d.ts +2 -0
  33. package/dist/es2015/toolbar/toolbar.component.js +10 -0
  34. package/dist/fesm2015/index.js +245 -18
  35. package/dist/fesm5/index.js +204 -20
  36. package/dist/npm/editing/add-task.component.js +96 -0
  37. package/dist/npm/editing/edit.service.js +1 -0
  38. package/dist/npm/gantt.component.js +59 -15
  39. package/dist/npm/gantt.module.js +3 -1
  40. package/dist/npm/index.js +2 -0
  41. package/dist/npm/localization/messages.js +45 -1
  42. package/dist/npm/models/events/{add-event.interface.js → task-add-event.interface.js} +0 -0
  43. package/dist/npm/models/{toolbar-position.js → toolbar-settings.js} +0 -0
  44. package/dist/npm/package-metadata.js +1 -1
  45. package/dist/npm/toolbar/toolbar.component.js +9 -1
  46. package/dist/systemjs/kendo-angular-gantt.js +1 -1
  47. package/package.json +1 -1
  48. package/dist/es2015/models/events/add-event.interface.d.ts +0 -16
  49. package/dist/es2015/models/toolbar-position.d.ts +0 -9
@@ -30,7 +30,7 @@ const packageMetadata = {
30
30
  name: '@progress/kendo-angular-gantt',
31
31
  productName: 'Kendo UI for Angular',
32
32
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
33
- publishDate: 1639143747,
33
+ publishDate: 1639476447,
34
34
  version: '',
35
35
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
36
36
  };
@@ -1329,6 +1329,7 @@ let EditService = class EditService {
1329
1329
  this.showEditingDialog = new Subject();
1330
1330
  this.showConfirmationDialog = new Subject();
1331
1331
  this.editEvent = new Subject();
1332
+ this.addEvent = new Subject();
1332
1333
  }
1333
1334
  createEditDialog(dataItem, formGroup) {
1334
1335
  this.dataItem = dataItem;
@@ -1759,17 +1760,6 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
1759
1760
  * > When applied, the [`SelectableDirective`]({% slug api_gantt_selectabledirective %}) sets `selectable` to `true` internally.
1760
1761
  */
1761
1762
  this.selectable = false;
1762
- /**
1763
- * The position of the toolbar.
1764
- *
1765
- * The possible values are:
1766
- * - `top`—Positions the toolbar above the Gantt panes.
1767
- * - `bottom`—Positions the toolbar below the Gantt panes.
1768
- * - `both`—Displays two toolbar instances. Positions the first one above,
1769
- * and the second one - below the Gantt panes.
1770
- * - `none`—No toolbar is rendered.
1771
- */
1772
- this.toolbarPosition = 'top';
1773
1763
  /**
1774
1764
  * Gets or sets the callback function that retrieves the child items for a particular item.
1775
1765
  */
@@ -1879,6 +1869,10 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
1879
1869
  * Fires when the user saves an edited task.
1880
1870
  */
1881
1871
  this.save = new EventEmitter();
1872
+ /**
1873
+ * Fires when the user adds a task.
1874
+ */
1875
+ this.taskAdd = new EventEmitter();
1882
1876
  /**
1883
1877
  * Fires when the sorting of the Gantt is changed.
1884
1878
  * You have to handle the event yourself and sort the data.
@@ -1956,6 +1950,11 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
1956
1950
  this._rowClass = rowClassCallback;
1957
1951
  this._taskClass = taskClassCallback;
1958
1952
  this._activeView = DEFAULT_VIEW;
1953
+ this._toolbarSettings = {
1954
+ position: 'top',
1955
+ addTaskTool: 'none',
1956
+ viewSelectorTool: 'top'
1957
+ };
1959
1958
  this.rtl = false;
1960
1959
  this.optionChangesSubscriptions = new Subscription();
1961
1960
  this.editServiceSubscription = new Subscription();
@@ -1966,6 +1965,7 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
1966
1965
  this.optionChangesSubscriptions.add(this.optionChangesService.columnChanges.subscribe(() => {
1967
1966
  this.treeList.columns.notifyOnChanges();
1968
1967
  }));
1968
+ this.editService.getSelectedItem = this.getFirstSelectedItem.bind(this);
1969
1969
  this.editServiceSubscription.add(this.editService.showEditingDialog.subscribe(show => this.showEditingDialog = show));
1970
1970
  this.editServiceSubscription.add(this.editService.showConfirmationDialog.subscribe(() => this.taskDelete.emit()));
1971
1971
  this.editServiceSubscription.add(this.editService.editEvent.subscribe(args => {
@@ -1978,6 +1978,14 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
1978
1978
  this.editService.dataItem = this.editService.formGroup = null;
1979
1979
  this.updateView();
1980
1980
  }));
1981
+ this.editServiceSubscription.add(this.editService.addEvent.subscribe(args => {
1982
+ const selectedItem = this.getFirstSelectedItem();
1983
+ this.taskAdd.emit({
1984
+ actionType: args.actionType,
1985
+ selectedItem: selectedItem ? getEditItem(selectedItem, this.treeList.view.data, this.mapper) : null
1986
+ });
1987
+ this.updateView();
1988
+ }));
1981
1989
  this.localizationSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
1982
1990
  this.rtl = rtl;
1983
1991
  this.direction = this.rtl ? 'rtl' : 'ltr';
@@ -2051,6 +2059,29 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
2051
2059
  get data() {
2052
2060
  return this._data;
2053
2061
  }
2062
+ /**
2063
+ * The toolbar configuration. Defines the position and content of the toolbar(s).
2064
+ * The available properties are `position`, `addTaskTool`, and `viewSelectorTool`.
2065
+ * All are optional and default to `top`.
2066
+ *
2067
+ * The possible values for each option are:
2068
+ * - `top`—Positions the toolbar above the Gantt panes. Renders the respective tool in the top toolbar.
2069
+ * - `bottom`—Positions the toolbar below the Gantt panes. Renders the respective tool in the bottom toolbar.
2070
+ * - `both`—Displays two toolbar instances. Positions the first one above,
2071
+ * and the second one - below the Gantt panes. Renders the respective tool in the both toolbars.
2072
+ * - `none`—No toolbar is rendered when used for setting `position`.
2073
+ * No add task or view selector tool is rendered when used for setting `addTaskTool` or `viewSelectorTool`.
2074
+ */
2075
+ set toolbarSettings(value) {
2076
+ this._toolbarSettings = {
2077
+ position: value.position || 'top',
2078
+ addTaskTool: value.addTaskTool || 'none',
2079
+ viewSelectorTool: value.viewSelectorTool || 'top'
2080
+ };
2081
+ }
2082
+ get toolbarSettings() {
2083
+ return this._toolbarSettings;
2084
+ }
2054
2085
  /**
2055
2086
  * The options of the timeline splitter pane. By default the pane is `collapsible`,
2056
2087
  * `resizable`, not `collapsed`, and its `size` is `'50%'`.
@@ -2325,7 +2356,7 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
2325
2356
  * @hidden
2326
2357
  */
2327
2358
  showToolbar(position) {
2328
- return this.toolbarPosition !== 'none' && ([position, 'both'].indexOf(this.toolbarPosition) > -1);
2359
+ return this.toolbarSettings.position !== 'none' && ([position, 'both'].indexOf(this.toolbarSettings.position) > -1);
2329
2360
  }
2330
2361
  /**
2331
2362
  * @hidden
@@ -2524,6 +2555,11 @@ let GanttComponent = GanttComponent_1 = class GanttComponent {
2524
2555
  const shouldToggleSelection = ctrlKey || metaKey;
2525
2556
  return (shouldToggleSelection && this.isSelected(dataItem)) ? 'remove' : 'select';
2526
2557
  }
2558
+ getFirstSelectedItem() {
2559
+ const isSelectedCallback = this.isSelected || isSelected;
2560
+ const loadedItems = this.renderedTreeListItems || [];
2561
+ return loadedItems.find(isSelectedCallback);
2562
+ }
2527
2563
  };
2528
2564
  __decorate([
2529
2565
  ViewChild(TreeListComponent, { static: true }),
@@ -2597,8 +2633,9 @@ __decorate([
2597
2633
  ], GanttComponent.prototype, "selectable", void 0);
2598
2634
  __decorate([
2599
2635
  Input(),
2600
- __metadata("design:type", String)
2601
- ], GanttComponent.prototype, "toolbarPosition", void 0);
2636
+ __metadata("design:type", Object),
2637
+ __metadata("design:paramtypes", [Object])
2638
+ ], GanttComponent.prototype, "toolbarSettings", null);
2602
2639
  __decorate([
2603
2640
  Input(),
2604
2641
  __metadata("design:type", Function)
@@ -2719,6 +2756,10 @@ __decorate([
2719
2756
  Output(),
2720
2757
  __metadata("design:type", EventEmitter)
2721
2758
  ], GanttComponent.prototype, "save", void 0);
2759
+ __decorate([
2760
+ Output(),
2761
+ __metadata("design:type", EventEmitter)
2762
+ ], GanttComponent.prototype, "taskAdd", void 0);
2722
2763
  __decorate([
2723
2764
  Output(),
2724
2765
  __metadata("design:type", EventEmitter)
@@ -2797,6 +2838,27 @@ GanttComponent = GanttComponent_1 = __decorate([
2797
2838
  ],
2798
2839
  template: `
2799
2840
  <ng-container kendoGanttLocalizedMessages
2841
+ i18n-taskEditingGeneralTabTitle="kendo.gantt.taskEditingGeneralTabTitle|The title of the 'General' tab of the editing dialog TabStrip"
2842
+ taskEditingGeneralTabTitle="General"
2843
+
2844
+ i18n-taskEditingPredecessorsTabTitle="kendo.gantt.taskEditingPredecessorsTabTitle|The title of the 'Predecessors' dependencies tab of the editing dialog TabStrip"
2845
+ taskEditingPredecessorsTabTitle="Predecessors"
2846
+
2847
+ i18n-taskEditingSuccessorsTabTitle="kendo.gantt.taskEditingSuccessorsTabTitle|The title of the 'Successors' dependencies tab of the editing dialog TabStrip"
2848
+ taskEditingSuccessorsTabTitle="Successors"
2849
+
2850
+ i18n-taskEditingDependenciesAddButtonText="kendo.gantt.taskEditingDependenciesAddButtonText|The text of the 'Add' button in the dependencies tabs of the editing dialog TabStrip"
2851
+ taskEditingDependenciesAddButtonText="Add"
2852
+
2853
+ i18n-taskEditingDependenciesRemoveButtonText="kendo.gantt.taskEditingDependenciesRemoveButtonText|The text of the 'Remove' button in the dependencies tabs of the editing dialog TabStrip"
2854
+ taskEditingDependenciesRemoveButtonText="Remove"
2855
+
2856
+ i18n-taskEditingDependenciesGridNameColumnTitle="kendo.gantt.taskEditingDependenciesGridNameColumnTitle|The title of the 'Task Title' Grid column in the dependencies tabs of the editing dialog TabStrip"
2857
+ taskEditingDependenciesGridNameColumnTitle="Task Title"
2858
+
2859
+ i18n-taskEditingDependenciesGridTypeColumnTitle="kendo.gantt.taskEditingDependenciesGridTypeColumnTitle|The title of the 'Type' Grid column in the dependencies tabs of the editing dialog TabStrip"
2860
+ taskEditingDependenciesGridTypeColumnTitle="Type"
2861
+
2800
2862
  i18n-taskDeleteLabel="kendo.gantt.taskDeleteLabel|The label of the task delete icon"
2801
2863
  taskDeleteLabel="Delete"
2802
2864
 
@@ -2848,6 +2910,18 @@ GanttComponent = GanttComponent_1 = __decorate([
2848
2910
  i18n-yearViewText-disabled="kendo.gantt.yearViewText|The text of the year view in the ViewSelector component"
2849
2911
  yearViewText="Year"
2850
2912
 
2913
+ i18n-addTaskText="kendo.gantt.addTaskText|The text of the DropDownButton in the AddTask component"
2914
+ addTaskText="Add Task"
2915
+
2916
+ i18n-addChildText="kendo.gantt.addChildText|The text of the 'Add Child' option in the AddTask component"
2917
+ addChildText="Add Child"
2918
+
2919
+ i18n-addAboveText="kendo.gantt.addAboveText|The text of the 'Add Above' option in the AddTask component"
2920
+ addAboveText="Add Above"
2921
+
2922
+ i18n-addBelowText="kendo.gantt.addBelowText|The text of the 'Add Below' option in the AddTask component"
2923
+ addBelowText="Add Below"
2924
+
2851
2925
  i18n-noRecords="kendo.gantt.noRecords|The label visible in the TreeList when there are no records"
2852
2926
  noRecords="No records available."
2853
2927
 
@@ -2969,6 +3043,8 @@ GanttComponent = GanttComponent_1 = __decorate([
2969
3043
  columnsReset="Reset"></ng-container>
2970
3044
  <kendo-gantt-toolbar
2971
3045
  *ngIf="showToolbar('top')"
3046
+ [showAddTask]="toolbarSettings.addTaskTool === 'top' || toolbarSettings.addTaskTool === 'both'"
3047
+ [showViewSelector]="toolbarSettings.viewSelectorTool === 'top' || toolbarSettings.viewSelectorTool === 'both'"
2972
3048
  class="k-gantt-header k-toolbar k-gantt-toolbar"
2973
3049
  position="top"></kendo-gantt-toolbar>
2974
3050
  <div class="k-gantt-content">
@@ -3098,6 +3174,8 @@ GanttComponent = GanttComponent_1 = __decorate([
3098
3174
  </div>
3099
3175
  <kendo-gantt-toolbar
3100
3176
  *ngIf="showToolbar('bottom')"
3177
+ [showAddTask]="toolbarSettings.addTaskTool === 'bottom' || toolbarSettings.addTaskTool === 'both'"
3178
+ [showViewSelector]="toolbarSettings.viewSelectorTool === 'bottom' || toolbarSettings.viewSelectorTool === 'both'"
3101
3179
  class="k-gantt-footer k-toolbar k-gantt-toolbar"
3102
3180
  position="bottom"></kendo-gantt-toolbar>
3103
3181
  <kendo-gantt-edit-dialog *ngIf="showEditingDialog" [formGroup]="editDialogFormGroup"></kendo-gantt-edit-dialog>
@@ -3967,6 +4045,14 @@ let ToolbarComponent = class ToolbarComponent {
3967
4045
  this.scrollSyncService.resetTimelineScrollLeft();
3968
4046
  }
3969
4047
  };
4048
+ __decorate([
4049
+ Input(),
4050
+ __metadata("design:type", Boolean)
4051
+ ], ToolbarComponent.prototype, "showAddTask", void 0);
4052
+ __decorate([
4053
+ Input(),
4054
+ __metadata("design:type", Boolean)
4055
+ ], ToolbarComponent.prototype, "showViewSelector", void 0);
3970
4056
  __decorate([
3971
4057
  Input(),
3972
4058
  __metadata("design:type", String),
@@ -3977,8 +4063,10 @@ ToolbarComponent = __decorate([
3977
4063
  selector: 'kendo-gantt-toolbar',
3978
4064
  template: `
3979
4065
  <ng-container *ngIf="!renderTemplate">
4066
+ <kendo-gantt-add-task *ngIf="showAddTask"></kendo-gantt-add-task>
3980
4067
  <span class="k-spacer k-toolbar-spacer"></span>
3981
4068
  <kendo-gantt-view-selector
4069
+ *ngIf="showViewSelector"
3982
4070
  [views]="gantt.viewTypes"
3983
4071
  [activeView]="gantt.activeView"
3984
4072
  (activeViewChange)="onViewChange($event)"></kendo-gantt-view-selector>
@@ -4448,6 +4536,38 @@ EditDialogComponent = __decorate([
4448
4536
  */
4449
4537
  class Messages extends ComponentMessages {
4450
4538
  }
4539
+ __decorate([
4540
+ Input(),
4541
+ __metadata("design:type", String)
4542
+ ], Messages.prototype, "taskEditingGeneralTabTitle", void 0);
4543
+ __decorate([
4544
+ Input(),
4545
+ __metadata("design:type", String)
4546
+ ], Messages.prototype, "taskEditingPredecessorsTabTitle", void 0);
4547
+ __decorate([
4548
+ Input(),
4549
+ __metadata("design:type", String)
4550
+ ], Messages.prototype, "taskEditingSuccessorsTabTitle", void 0);
4551
+ __decorate([
4552
+ Input(),
4553
+ __metadata("design:type", String)
4554
+ ], Messages.prototype, "taskEditingDependenciesAddButtonText", void 0);
4555
+ __decorate([
4556
+ Input(),
4557
+ __metadata("design:type", String)
4558
+ ], Messages.prototype, "taskEditingDependenciesRemoveButtonText", void 0);
4559
+ __decorate([
4560
+ Input(),
4561
+ __metadata("design:type", String)
4562
+ ], Messages.prototype, "taskEditingDependenciesGridNameColumnTitle", void 0);
4563
+ __decorate([
4564
+ Input(),
4565
+ __metadata("design:type", String)
4566
+ ], Messages.prototype, "taskEditingDependenciesGridTypeColumnTitle", void 0);
4567
+ __decorate([
4568
+ Input(),
4569
+ __metadata("design:type", String)
4570
+ ], Messages.prototype, "deleteButtonText", void 0);
4451
4571
  __decorate([
4452
4572
  Input(),
4453
4573
  __metadata("design:type", String)
@@ -4471,7 +4591,19 @@ __decorate([
4471
4591
  __decorate([
4472
4592
  Input(),
4473
4593
  __metadata("design:type", String)
4474
- ], Messages.prototype, "deleteButtonText", void 0);
4594
+ ], Messages.prototype, "addTaskText", void 0);
4595
+ __decorate([
4596
+ Input(),
4597
+ __metadata("design:type", String)
4598
+ ], Messages.prototype, "addChildText", void 0);
4599
+ __decorate([
4600
+ Input(),
4601
+ __metadata("design:type", String)
4602
+ ], Messages.prototype, "addAboveText", void 0);
4603
+ __decorate([
4604
+ Input(),
4605
+ __metadata("design:type", String)
4606
+ ], Messages.prototype, "addBelowText", void 0);
4475
4607
  __decorate([
4476
4608
  Input(),
4477
4609
  __metadata("design:type", String)
@@ -4728,6 +4860,100 @@ LocalizedMessagesDirective = LocalizedMessagesDirective_1 = __decorate([
4728
4860
  __metadata("design:paramtypes", [LocalizationService])
4729
4861
  ], LocalizedMessagesDirective);
4730
4862
 
4863
+ /**
4864
+ * The UI for adding new items to the Gantt.
4865
+ * Use it within a toolbar template to provide a custom icon or list of options.
4866
+ */
4867
+ let GanttAddTaskComponent = class GanttAddTaskComponent {
4868
+ constructor(localizationService, editService, ngZone) {
4869
+ this.localizationService = localizationService;
4870
+ this.editService = editService;
4871
+ this.ngZone = ngZone;
4872
+ /**
4873
+ * Sets the data of the DropDownButton.
4874
+ * > The data has to be provided in an array-like list.
4875
+ */
4876
+ this.data = [{
4877
+ text: this.getText('addChildText'),
4878
+ type: 'addChild'
4879
+ }, {
4880
+ text: this.getText('addAboveText'),
4881
+ type: 'addAbove'
4882
+ }, {
4883
+ text: this.getText('addBelowText'),
4884
+ type: 'addBelow'
4885
+ }];
4886
+ /**
4887
+ * Defines the name of an existing icon in a Kendo UI theme.
4888
+ * @default 'plus'
4889
+ */
4890
+ this.icon = 'plus';
4891
+ }
4892
+ /**
4893
+ * @hidden
4894
+ */
4895
+ getText(message) {
4896
+ return this.localizationService.get(message);
4897
+ }
4898
+ /**
4899
+ * @hidden
4900
+ */
4901
+ handleOpen(e) {
4902
+ if (!this.editService.getSelectedItem()) {
4903
+ e.preventDefault();
4904
+ }
4905
+ }
4906
+ /**
4907
+ * @hidden
4908
+ */
4909
+ handleMouseClick() {
4910
+ if (!this.editService.getSelectedItem()) {
4911
+ this.ngZone.run(() => {
4912
+ this.editService.addEvent.next({
4913
+ selectedItem: null,
4914
+ actionType: 'addTask'
4915
+ });
4916
+ });
4917
+ }
4918
+ }
4919
+ /**
4920
+ * @hidden
4921
+ */
4922
+ handleItemClick(e) {
4923
+ this.editService.addEvent.next({
4924
+ actionType: e.type,
4925
+ selectedItem: null
4926
+ });
4927
+ }
4928
+ };
4929
+ __decorate([
4930
+ Input(),
4931
+ __metadata("design:type", Array)
4932
+ ], GanttAddTaskComponent.prototype, "data", void 0);
4933
+ __decorate([
4934
+ Input(),
4935
+ __metadata("design:type", String)
4936
+ ], GanttAddTaskComponent.prototype, "icon", void 0);
4937
+ GanttAddTaskComponent = __decorate([
4938
+ Component({
4939
+ selector: 'kendo-gantt-add-task',
4940
+ template: `
4941
+ <kendo-dropdownbutton
4942
+ [data]="data"
4943
+ [icon]="icon"
4944
+ [kendoEventsOutsideAngular]="{ click: handleMouseClick }"
4945
+ [scope]="this"
4946
+ (itemClick)="handleItemClick($event)"
4947
+ (open)="handleOpen($event)">
4948
+ {{ getText('addTaskText') }}
4949
+ </kendo-dropdownbutton>
4950
+ `
4951
+ }),
4952
+ __metadata("design:paramtypes", [LocalizationService,
4953
+ EditService,
4954
+ NgZone])
4955
+ ], GanttAddTaskComponent);
4956
+
4731
4957
  const IMPORTED_MODULES = [
4732
4958
  CommonModule,
4733
4959
  ReactiveFormsModule,
@@ -4775,7 +5001,8 @@ const DECLARATIONS = [
4775
5001
  SelectableDirective,
4776
5002
  EditDialogComponent,
4777
5003
  CustomMessagesComponent,
4778
- LocalizedMessagesDirective
5004
+ LocalizedMessagesDirective,
5005
+ GanttAddTaskComponent
4779
5006
  ];
4780
5007
  /**
4781
5008
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -4863,4 +5090,4 @@ class CellCloseEvent extends PreventableEvent {
4863
5090
  * Generated bundle index. Do not edit.
4864
5091
  */
4865
5092
 
4866
- export { MappingService, OptionChangesService, DependencyDomService, GanttDependencyDirective, EditDialogComponent, EditService, CustomMessagesComponent, LocalizedMessagesDirective, Messages, PreventableEvent, GanttHeaderTableBodyComponent, GanttMilestoneTaskComponent, GanttSummaryTaskComponent, GanttTaskBase, GanttTaskComponent, GanttTasksTableBodyComponent, ScrollSyncService, GanttTimelineComponent, TimelineBaseViewService, TimelineDayViewComponent, TimelineDayViewService, TimelineMonthViewComponent, TimelineMonthViewService, TimelineViewService, TimelineWeekViewComponent, TimelineWeekViewService, ViewBase, ToolbarComponent, ViewSelectorComponent, GanttComponent, GanttModule, GanttHierarchyBindingDirective, GanttFlatBindingDirective, GanttExpandableDirective, GanttTaskTemplateDirective, GanttTaskContentTemplateDirective, GanttSummaryTaskTemplateDirective, ToolbarTemplateDirective, SelectableDirective, CellCloseEvent, GanttColumnBase, GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, CellTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ColumnMenuTemplateDirective, FilterCellTemplateDirective, FilterMenuTemplateDirective, EditTemplateDirective };
5093
+ export { MappingService, OptionChangesService, DependencyDomService, GanttDependencyDirective, GanttAddTaskComponent, EditDialogComponent, EditService, CustomMessagesComponent, LocalizedMessagesDirective, Messages, PreventableEvent, GanttHeaderTableBodyComponent, GanttMilestoneTaskComponent, GanttSummaryTaskComponent, GanttTaskBase, GanttTaskComponent, GanttTasksTableBodyComponent, ScrollSyncService, GanttTimelineComponent, TimelineBaseViewService, TimelineDayViewComponent, TimelineDayViewService, TimelineMonthViewComponent, TimelineMonthViewService, TimelineViewService, TimelineWeekViewComponent, TimelineWeekViewService, ViewBase, ToolbarComponent, ViewSelectorComponent, GanttComponent, GanttModule, GanttHierarchyBindingDirective, GanttFlatBindingDirective, GanttExpandableDirective, GanttTaskTemplateDirective, GanttTaskContentTemplateDirective, GanttSummaryTaskTemplateDirective, ToolbarTemplateDirective, SelectableDirective, CellCloseEvent, GanttColumnBase, GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, CellTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ColumnMenuTemplateDirective, FilterCellTemplateDirective, FilterMenuTemplateDirective, EditTemplateDirective };