@progress/kendo-angular-gantt 16.5.0-develop.6 → 16.6.0-develop.1
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/binding-directives/flat-binding.directive.d.ts +1 -1
- package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
- package/columns/cell-template.directive.d.ts +1 -1
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column-menu-template.directive.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/edit-template.directive.d.ts +1 -1
- package/columns/filter-cell-template.directive.d.ts +1 -1
- package/columns/filter-menu-template.directive.d.ts +1 -1
- package/columns/footer-template.directive.d.ts +1 -1
- package/columns/header-template.directive.d.ts +1 -1
- package/columns/span-column.component.d.ts +1 -1
- package/dependencies/gantt-dependency.directive.d.ts +1 -1
- package/directives.d.ts +29 -0
- package/dragging/dependency-drag-create.directive.d.ts +1 -1
- package/dragging/drag-validation-tooltip.component.d.ts +1 -1
- package/editing/add-task.component.d.ts +1 -1
- package/editing/dependencies-table.component.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/task-fields.component.d.ts +1 -1
- package/esm2020/binding-directives/flat-binding.directive.mjs +3 -2
- package/esm2020/binding-directives/hierarchy-binding.directive.mjs +3 -2
- package/esm2020/columns/cell-template.directive.mjs +3 -2
- package/esm2020/columns/column-group.component.mjs +3 -2
- package/esm2020/columns/column-menu-template.directive.mjs +3 -2
- package/esm2020/columns/column.component.mjs +3 -2
- package/esm2020/columns/edit-template.directive.mjs +3 -2
- package/esm2020/columns/filter-cell-template.directive.mjs +3 -2
- package/esm2020/columns/filter-menu-template.directive.mjs +3 -2
- package/esm2020/columns/footer-template.directive.mjs +3 -2
- package/esm2020/columns/header-template.directive.mjs +3 -2
- package/esm2020/columns/span-column.component.mjs +3 -2
- package/esm2020/dependencies/gantt-dependency.directive.mjs +3 -2
- package/esm2020/directives.mjs +57 -0
- package/esm2020/dragging/dependency-drag-create.directive.mjs +3 -2
- package/esm2020/dragging/drag-validation-tooltip.component.mjs +3 -2
- package/esm2020/editing/add-task.component.mjs +7 -5
- package/esm2020/editing/dependencies-table.component.mjs +9 -7
- package/esm2020/editing/edit-dialog.component.mjs +12 -10
- package/esm2020/editing/task-fields.component.mjs +12 -9
- package/esm2020/expanded-state/expandable.directive.mjs +3 -2
- package/esm2020/gantt.component.mjs +14 -15
- package/esm2020/gantt.module.mjs +90 -214
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/gantt-header-table-body.component.mjs +6 -4
- package/esm2020/rendering/gantt-milestone-task.component.mjs +6 -4
- package/esm2020/rendering/gantt-summary-task.component.mjs +6 -4
- package/esm2020/rendering/gantt-task.component.mjs +8 -6
- package/esm2020/rendering/gantt-tasks-table-body.component.mjs +9 -7
- package/esm2020/scrolling/timeline-scroll.directive.mjs +3 -2
- package/esm2020/selection/selectable.directive.mjs +3 -2
- package/esm2020/template-directives/summary-task-template.directive.mjs +3 -2
- package/esm2020/template-directives/task-content-template.directive.mjs +3 -2
- package/esm2020/template-directives/task-template.directive.mjs +3 -2
- package/esm2020/timeline/gantt-timeline.component.mjs +12 -10
- package/esm2020/timeline/timeline-day-view.component.mjs +3 -2
- package/esm2020/timeline/timeline-month-view.component.mjs +3 -2
- package/esm2020/timeline/timeline-week-view.component.mjs +3 -2
- package/esm2020/timeline/timeline-year-view.component.mjs +3 -2
- package/esm2020/toolbar/toolbar-template.directive.mjs +3 -2
- package/esm2020/toolbar/toolbar.component.mjs +8 -6
- package/esm2020/toolbar/view-selector.component.mjs +9 -6
- package/expanded-state/expandable.directive.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-gantt.mjs +1803 -1840
- package/fesm2020/progress-kendo-angular-gantt.mjs +1950 -1987
- package/gantt.component.d.ts +1 -1
- package/gantt.module.d.ts +25 -54
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +15 -15
- package/rendering/gantt-header-table-body.component.d.ts +1 -1
- package/rendering/gantt-milestone-task.component.d.ts +1 -1
- package/rendering/gantt-summary-task.component.d.ts +1 -1
- package/rendering/gantt-task.component.d.ts +1 -1
- package/rendering/gantt-tasks-table-body.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +7 -7
- package/scrolling/timeline-scroll.directive.d.ts +1 -1
- package/selection/selectable.directive.d.ts +1 -1
- package/template-directives/summary-task-template.directive.d.ts +1 -1
- package/template-directives/task-content-template.directive.d.ts +1 -1
- package/template-directives/task-template.directive.d.ts +1 -1
- package/timeline/gantt-timeline.component.d.ts +1 -1
- package/timeline/timeline-day-view.component.d.ts +1 -1
- package/timeline/timeline-month-view.component.d.ts +1 -1
- package/timeline/timeline-week-view.component.d.ts +1 -1
- package/timeline/timeline-year-view.component.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
-
import { FormArray, FormControl, FormGroup, Validators } from '@angular/forms';
|
|
6
|
+
import { FormArray, FormControl, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import { MappingService } from '../common/mapping.service';
|
|
8
8
|
import { GanttLocalizationService } from '../localization/gantt-localization.service';
|
|
9
9
|
import { DependencyType } from '../models/dependency-type.enum';
|
|
10
10
|
import { EditService } from './edit.service';
|
|
11
11
|
import { plusIcon, minusIcon } from '@progress/kendo-svg-icons';
|
|
12
|
+
import { CellTemplateDirective, ColumnComponent, GridComponent, SelectionDirective, ToolbarTemplateDirective } from '@progress/kendo-angular-grid';
|
|
13
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
14
|
+
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
12
15
|
import * as i0 from "@angular/core";
|
|
13
16
|
import * as i1 from "../common/mapping.service";
|
|
14
17
|
import * as i2 from "./edit.service";
|
|
15
18
|
import * as i3 from "../localization/gantt-localization.service";
|
|
16
19
|
import * as i4 from "@angular/forms";
|
|
17
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
|
18
|
-
import * as i6 from "@progress/kendo-angular-grid";
|
|
19
|
-
import * as i7 from "@progress/kendo-angular-dropdowns";
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|
|
@@ -102,7 +102,7 @@ export class DependenciesTableComponent {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
DependenciesTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependenciesTableComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
-
DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: { tasks: "tasks", dependencies: "dependencies", dependencyType: "dependencyType" }, outputs: { dependenciesChange: "dependenciesChange" }, ngImport: i0, template: `
|
|
105
|
+
DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DependenciesTableComponent, isStandalone: true, selector: "kendo-gantt-dependencies-table", inputs: { tasks: "tasks", dependencies: "dependencies", dependencyType: "dependencyType" }, outputs: { dependenciesChange: "dependenciesChange" }, ngImport: i0, template: `
|
|
106
106
|
<kendo-grid
|
|
107
107
|
[data]="dependencies"
|
|
108
108
|
[selectable]="{ mode: 'single' }"
|
|
@@ -154,7 +154,7 @@ DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
154
154
|
</ng-template>
|
|
155
155
|
</kendo-grid-column>
|
|
156
156
|
</kendo-grid>
|
|
157
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
157
|
+
`, isInline: true, dependencies: [{ kind: "component", type: GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
158
158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependenciesTableComponent, decorators: [{
|
|
159
159
|
type: Component,
|
|
160
160
|
args: [{
|
|
@@ -211,7 +211,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
211
211
|
</ng-template>
|
|
212
212
|
</kendo-grid-column>
|
|
213
213
|
</kendo-grid>
|
|
214
|
-
|
|
214
|
+
`,
|
|
215
|
+
standalone: true,
|
|
216
|
+
imports: [GridComponent, SelectionDirective, ToolbarTemplateDirective, ButtonComponent, ColumnComponent, CellTemplateDirective, DropDownListComponent, ReactiveFormsModule]
|
|
215
217
|
}]
|
|
216
218
|
}], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.EditService }, { type: i3.GanttLocalizationService }]; }, propDecorators: { tasks: [{
|
|
217
219
|
type: Input
|
|
@@ -8,17 +8,17 @@ import { MappingService } from '../common/mapping.service';
|
|
|
8
8
|
import { DependencyType } from '../models/dependency-type.enum';
|
|
9
9
|
import { EditService } from './edit.service';
|
|
10
10
|
import { saveIcon, cancelOutlineIcon, trashIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { DependenciesTableComponent } from './dependencies-table.component';
|
|
12
|
+
import { TaskFieldsComponent } from './task-fields.component';
|
|
13
|
+
import { CustomMessagesComponent, DialogActionsComponent, DialogComponent } from '@progress/kendo-angular-dialog';
|
|
14
|
+
import { TabContentDirective, TabStripComponent, TabStripTabComponent } from '@progress/kendo-angular-layout';
|
|
15
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
16
|
+
import { TreeListSpacerComponent } from '@progress/kendo-angular-treelist';
|
|
17
|
+
import { EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
11
18
|
import * as i0 from "@angular/core";
|
|
12
19
|
import * as i1 from "../common/mapping.service";
|
|
13
20
|
import * as i2 from "./edit.service";
|
|
14
21
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
15
|
-
import * as i4 from "@progress/kendo-angular-common";
|
|
16
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
|
17
|
-
import * as i6 from "@progress/kendo-angular-treelist";
|
|
18
|
-
import * as i7 from "@progress/kendo-angular-dialog";
|
|
19
|
-
import * as i8 from "@progress/kendo-angular-layout";
|
|
20
|
-
import * as i9 from "./dependencies-table.component";
|
|
21
|
-
import * as i10 from "./task-fields.component";
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
@@ -63,7 +63,7 @@ export class EditDialogComponent {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: { data: "data" }, ngImport: i0, template: `
|
|
66
|
+
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, isStandalone: true, selector: "kendo-gantt-edit-dialog", inputs: { data: "data" }, ngImport: i0, template: `
|
|
67
67
|
<kendo-dialog
|
|
68
68
|
[title]="getText('taskEditingDialogTitle')"
|
|
69
69
|
[width]="575"
|
|
@@ -134,7 +134,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
134
134
|
</button>
|
|
135
135
|
</kendo-dialog-actions>
|
|
136
136
|
</kendo-dialog>
|
|
137
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
137
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "directive", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabContentDirective, selector: "[kendoTabContent]" }, { kind: "component", type: TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { kind: "component", type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
138
138
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
139
139
|
type: Component,
|
|
140
140
|
args: [{
|
|
@@ -210,7 +210,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
210
210
|
</button>
|
|
211
211
|
</kendo-dialog-actions>
|
|
212
212
|
</kendo-dialog>
|
|
213
|
-
|
|
213
|
+
`,
|
|
214
|
+
standalone: true,
|
|
215
|
+
imports: [DialogComponent, CustomMessagesComponent, TabStripComponent, TabStripTabComponent, TabContentDirective, TaskFieldsComponent, DependenciesTableComponent, DialogActionsComponent, ButtonComponent, TreeListSpacerComponent, EventsOutsideAngularDirective]
|
|
214
216
|
}]
|
|
215
217
|
}], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.EditService }, { type: i0.ChangeDetectorRef }, { type: i3.LocalizationService }]; }, propDecorators: { data: [{
|
|
216
218
|
type: Input
|
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component } from '@angular/core';
|
|
6
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
7
|
import { MappingService } from '../common/mapping.service';
|
|
7
8
|
import { GanttLocalizationService } from '../localization/gantt-localization.service';
|
|
8
9
|
import { EditService } from './edit.service';
|
|
10
|
+
import { NgIf } from '@angular/common';
|
|
11
|
+
import { FormFieldComponent, NumericTextBoxComponent, TextBoxDirective } from '@progress/kendo-angular-inputs';
|
|
12
|
+
import { LabelComponent } from '@progress/kendo-angular-label';
|
|
13
|
+
import { DateTimePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
14
|
+
import { TreeListSpacerComponent } from '@progress/kendo-angular-treelist';
|
|
9
15
|
import * as i0 from "@angular/core";
|
|
10
16
|
import * as i1 from "../common/mapping.service";
|
|
11
17
|
import * as i2 from "./edit.service";
|
|
12
18
|
import * as i3 from "../localization/gantt-localization.service";
|
|
13
|
-
import * as i4 from "@angular/
|
|
14
|
-
import * as i5 from "@angular/forms";
|
|
15
|
-
import * as i6 from "@progress/kendo-angular-label";
|
|
16
|
-
import * as i7 from "@progress/kendo-angular-inputs";
|
|
17
|
-
import * as i8 from "@progress/kendo-angular-dateinputs";
|
|
18
|
-
import * as i9 from "@progress/kendo-angular-treelist";
|
|
19
|
+
import * as i4 from "@angular/forms";
|
|
19
20
|
/**
|
|
20
21
|
* @hidden
|
|
21
22
|
*/
|
|
@@ -36,7 +37,7 @@ export class TaskFieldsComponent {
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
TaskFieldsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TaskFieldsComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TaskFieldsComponent, selector: "kendo-gantt-task-fields", ngImport: i0, template: `
|
|
40
|
+
TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TaskFieldsComponent, isStandalone: true, selector: "kendo-gantt-task-fields", ngImport: i0, template: `
|
|
40
41
|
<form class="k-form k-form-md" [formGroup]="formGroup">
|
|
41
42
|
<kendo-formfield *ngIf="formGroup.get(mapper.taskFields.title)">
|
|
42
43
|
<kendo-label [for]="title" [text]="getText('titleFieldInputLabel')"></kendo-label>
|
|
@@ -66,7 +67,7 @@ TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
66
67
|
></kendo-numerictextbox>
|
|
67
68
|
</kendo-formfield>
|
|
68
69
|
</form>
|
|
69
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
70
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }] });
|
|
70
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TaskFieldsComponent, decorators: [{
|
|
71
72
|
type: Component,
|
|
72
73
|
args: [{
|
|
@@ -101,6 +102,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
101
102
|
></kendo-numerictextbox>
|
|
102
103
|
</kendo-formfield>
|
|
103
104
|
</form>
|
|
104
|
-
|
|
105
|
+
`,
|
|
106
|
+
standalone: true,
|
|
107
|
+
imports: [ReactiveFormsModule, NgIf, FormFieldComponent, LabelComponent, TextBoxDirective, DateTimePickerComponent, TreeListSpacerComponent, NumericTextBoxComponent]
|
|
105
108
|
}]
|
|
106
109
|
}], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.EditService }, { type: i3.GanttLocalizationService }]; } });
|
|
@@ -20,12 +20,13 @@ export class GanttExpandableDirective extends ExpandableDirective {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
GanttExpandableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttExpandableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
-
GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttExpandableDirective, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
|
|
23
|
+
GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttExpandableDirective, isStandalone: true, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttExpandableDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
26
|
args: [{
|
|
27
27
|
exportAs: 'kendoGanttExpandable',
|
|
28
|
-
selector: '[kendoGanttExpandable]'
|
|
28
|
+
selector: '[kendoGanttExpandable]',
|
|
29
|
+
standalone: true
|
|
29
30
|
}]
|
|
30
31
|
}], propDecorators: { expandBy: [{
|
|
31
32
|
type: Input
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef, HostBinding, Input, Output, EventEmitter, ViewChild, ContentChildren, ContentChild, QueryList, isDevMode, Renderer2, ElementRef, NgZone } from '@angular/core';
|
|
6
|
-
import { TreeListComponent, DataBoundTreeComponent, ExpandableTreeComponent } from '@progress/kendo-angular-treelist';
|
|
6
|
+
import { TreeListComponent, DataBoundTreeComponent, ExpandableTreeComponent, TreeListSpacerComponent, CustomMessagesComponent } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import { Day } from '@progress/kendo-date-math';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import { packageMetadata } from './package-metadata';
|
|
11
|
-
import { anyChanged, hasObservers, Keys, shouldShowValidationUI } from '@progress/kendo-angular-common';
|
|
11
|
+
import { anyChanged, EventsOutsideAngularDirective, hasObservers, Keys, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
12
12
|
import { getIndexFromViewDigitKeyCode, isArrowUpDownKey, isExpandCollapseKey, isNavigationKey, isViewDigitKey } from './navigation/utils';
|
|
13
13
|
import { GanttTimelineComponent } from './timeline/gantt-timeline.component';
|
|
14
14
|
import { GanttColumnBase } from './columns/columns';
|
|
@@ -38,6 +38,13 @@ import { getEditItem } from './editing/utils';
|
|
|
38
38
|
import { CellCloseEvent } from './models/events/cell-close-event.interface';
|
|
39
39
|
import { TimeLineYearViewService } from './timeline/timeline-year-view.service';
|
|
40
40
|
import { CurrentTimeMarkerService } from './timeline/current-time-marker.service';
|
|
41
|
+
import { EditDialogComponent } from './editing/edit-dialog.component';
|
|
42
|
+
import { ToolbarComponent } from './toolbar/toolbar.component';
|
|
43
|
+
import { NgIf } from '@angular/common';
|
|
44
|
+
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
45
|
+
import { SplitterComponent, SplitterPaneComponent } from '@progress/kendo-angular-layout';
|
|
46
|
+
import { DialogActionsComponent, DialogComponent } from '@progress/kendo-angular-dialog';
|
|
47
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
41
48
|
import * as i0 from "@angular/core";
|
|
42
49
|
import * as i1 from "./timeline/timeline-view.service";
|
|
43
50
|
import * as i2 from "./scrolling/scroll-sync.service";
|
|
@@ -48,16 +55,6 @@ import * as i6 from "./editing/edit.service";
|
|
|
48
55
|
import * as i7 from "@progress/kendo-angular-l10n";
|
|
49
56
|
import * as i8 from "./navigation/navigation.service";
|
|
50
57
|
import * as i9 from "./timeline/current-time-marker.service";
|
|
51
|
-
import * as i10 from "@angular/common";
|
|
52
|
-
import * as i11 from "@progress/kendo-angular-common";
|
|
53
|
-
import * as i12 from "@progress/kendo-angular-buttons";
|
|
54
|
-
import * as i13 from "@progress/kendo-angular-layout";
|
|
55
|
-
import * as i14 from "@progress/kendo-angular-treelist";
|
|
56
|
-
import * as i15 from "@progress/kendo-angular-dialog";
|
|
57
|
-
import * as i16 from "./timeline/gantt-timeline.component";
|
|
58
|
-
import * as i17 from "./toolbar/toolbar.component";
|
|
59
|
-
import * as i18 from "./editing/edit-dialog.component";
|
|
60
|
-
import * as i19 from "./localization/localized-messages.directive";
|
|
61
58
|
const TREELIST_GROUP_COLUMNS_CLASS = 'k-gantt-treelist-nested-columns';
|
|
62
59
|
const DEFAULT_VIEW = 'week';
|
|
63
60
|
const DEFAULT_DRAG_SCROLL_SETTINGS = {
|
|
@@ -1330,7 +1327,7 @@ export class GanttComponent {
|
|
|
1330
1327
|
}
|
|
1331
1328
|
}
|
|
1332
1329
|
GanttComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttComponent, deps: [{ token: i1.TimelineViewService }, { token: i2.ScrollSyncService }, { token: i0.Renderer2 }, { token: i3.MappingService }, { token: i4.OptionChangesService }, { token: i5.DependencyDomService }, { token: i6.EditService }, { token: i7.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i8.NavigationService }, { token: i9.CurrentTimeMarkerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1333
|
-
GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttComponent, selector: "kendo-gantt", inputs: { roleDescription: ["aria-roledescription", "roleDescription"], role: "role", taskModelFields: "taskModelFields", dependencyModelFields: "dependencyModelFields", activeView: "activeView", data: "data", isSelected: "isSelected", validateNewDependency: "validateNewDependency", selectable: "selectable", toolbarSettings: "toolbarSettings", toolbarAriaLabel: "toolbarAriaLabel", fetchChildren: "fetchChildren", hasChildren: "hasChildren", dependencies: "dependencies", sortable: "sortable", sort: "sort", filterable: "filterable", filter: "filter", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", navigable: "navigable", timelinePaneOptions: "timelinePaneOptions", treeListPaneOptions: "treeListPaneOptions", taskClass: "taskClass", rowClass: "rowClass", isExpanded: "isExpanded", columnsAutoSize: "columnsAutoSize", currentTimeMarker: "currentTimeMarker", columnMenu: "columnMenu", columnsReorderable: "columnsReorderable", columnsResizable: "columnsResizable", dragScrollSettings: "dragScrollSettings" }, outputs: { selectionChange: "selectionChange", rowExpand: "rowExpand", taskDblClick: "taskDblClick", cellDblClick: "cellDblClick", cellClose: "cellClose", taskDelete: "taskDelete", rowCollapse: "rowCollapse", remove: "remove", cancel: "cancel", save: "save", taskAdd: "taskAdd", dependencyAdd: "dependencyAdd", sortChange: "sortChange", filterChange: "filterChange", dataStateChange: "dataStateChange", treeListPaneCollapsedChange: "treeListPaneCollapsedChange", timelinePaneCollapsedChange: "timelinePaneCollapsedChange", timelinePaneSizeChange: "timelinePaneSizeChange", activeViewChange: "activeViewChange", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", cellClick: "cellClick", taskClick: "taskClick" }, host: { properties: { "attr.aria-roledescription": "this.hostRoleDescriptionAttr", "attr.role": "this.hostRoleAttr", "class.k-gantt": "this.hostClasses", "attr.dir": "this.dir" } }, providers: [
|
|
1330
|
+
GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttComponent, isStandalone: true, selector: "kendo-gantt", inputs: { roleDescription: ["aria-roledescription", "roleDescription"], role: "role", taskModelFields: "taskModelFields", dependencyModelFields: "dependencyModelFields", activeView: "activeView", data: "data", isSelected: "isSelected", validateNewDependency: "validateNewDependency", selectable: "selectable", toolbarSettings: "toolbarSettings", toolbarAriaLabel: "toolbarAriaLabel", fetchChildren: "fetchChildren", hasChildren: "hasChildren", dependencies: "dependencies", sortable: "sortable", sort: "sort", filterable: "filterable", filter: "filter", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", navigable: "navigable", timelinePaneOptions: "timelinePaneOptions", treeListPaneOptions: "treeListPaneOptions", taskClass: "taskClass", rowClass: "rowClass", isExpanded: "isExpanded", columnsAutoSize: "columnsAutoSize", currentTimeMarker: "currentTimeMarker", columnMenu: "columnMenu", columnsReorderable: "columnsReorderable", columnsResizable: "columnsResizable", dragScrollSettings: "dragScrollSettings" }, outputs: { selectionChange: "selectionChange", rowExpand: "rowExpand", taskDblClick: "taskDblClick", cellDblClick: "cellDblClick", cellClose: "cellClose", taskDelete: "taskDelete", rowCollapse: "rowCollapse", remove: "remove", cancel: "cancel", save: "save", taskAdd: "taskAdd", dependencyAdd: "dependencyAdd", sortChange: "sortChange", filterChange: "filterChange", dataStateChange: "dataStateChange", treeListPaneCollapsedChange: "treeListPaneCollapsedChange", timelinePaneCollapsedChange: "timelinePaneCollapsedChange", timelinePaneSizeChange: "timelinePaneSizeChange", activeViewChange: "activeViewChange", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", cellClick: "cellClick", taskClick: "taskClick" }, host: { properties: { "attr.aria-roledescription": "this.hostRoleDescriptionAttr", "attr.role": "this.hostRoleAttr", "class.k-gantt": "this.hostClasses", "attr.dir": "this.dir" } }, providers: [
|
|
1334
1331
|
GanttLocalizationService,
|
|
1335
1332
|
LocalizationService,
|
|
1336
1333
|
{
|
|
@@ -1726,7 +1723,7 @@ GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
1726
1723
|
</kendo-dialog>
|
|
1727
1724
|
|
|
1728
1725
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1729
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1726
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "navigable", "position"], outputs: ["activeViewChange"] }, { kind: "component", type: SplitterComponent, selector: "kendo-splitter", inputs: ["orientation", "splitbarWidth", "resizeStep"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { kind: "component", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "separatorLabel", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { kind: "component", type: TreeListComponent, selector: "kendo-treelist", inputs: ["aria-label", "data", "pageSize", "height", "rowHeight", "skip", "scrollable", "sort", "trackBy", "filter", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "navigatable", "autoSize", "rowClass", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "idField", "selectable", "isSelected", "rowReorderable", "columns", "fetchChildren", "hasChildren", "isExpanded"], outputs: ["selectionChange", "filterChange", "pageChange", "sortChange", "dataStateChange", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "scrollBottom", "contentScroll", "expand", "collapse", "expandStateChange", "rowReorder"], exportAs: ["kendoTreeList"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-treelist-messages" }, { kind: "component", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "currentTimeMarker", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { kind: "component", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
1730
1727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttComponent, decorators: [{
|
|
1731
1728
|
type: Component,
|
|
1732
1729
|
args: [{
|
|
@@ -2129,7 +2126,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2129
2126
|
</kendo-dialog>
|
|
2130
2127
|
|
|
2131
2128
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
2132
|
-
|
|
2129
|
+
`,
|
|
2130
|
+
standalone: true,
|
|
2131
|
+
imports: [LocalizedMessagesDirective, NgIf, ToolbarComponent, SplitterComponent, SplitterPaneComponent, TreeListComponent, EventsOutsideAngularDirective, CustomMessagesComponent, GanttTimelineComponent, EditDialogComponent, DialogComponent, DialogActionsComponent, TreeListSpacerComponent, ButtonComponent, WatermarkOverlayComponent]
|
|
2133
2132
|
}]
|
|
2134
2133
|
}], ctorParameters: function () { return [{ type: i1.TimelineViewService }, { type: i2.ScrollSyncService }, { type: i0.Renderer2 }, { type: i3.MappingService }, { type: i4.OptionChangesService }, { type: i5.DependencyDomService }, { type: i6.EditService }, { type: i7.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i8.NavigationService }, { type: i9.CurrentTimeMarkerService }]; }, propDecorators: { treeList: [{
|
|
2135
2134
|
type: ViewChild,
|