@progress/kendo-angular-gantt 2.1.0 → 11.0.0-develop.100
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/LICENSE.md +1 -1
- package/NOTICE.txt +119 -79
- 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-base.component.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/columns.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/common/default-callbacks.d.ts +1 -1
- package/common/mapping.service.d.ts +1 -1
- package/common/option-changes.service.d.ts +1 -1
- package/common/touch-enabled.d.ts +1 -1
- package/dependencies/dependency-dom.service.d.ts +1 -1
- package/dependencies/dom-dependency-args.d.ts +1 -1
- package/dependencies/gantt-dependency.directive.d.ts +1 -1
- package/dependencies/utils.d.ts +1 -1
- 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/edit.service.d.ts +1 -1
- package/editing/task-fields.component.d.ts +1 -1
- package/editing/utils.d.ts +1 -1
- package/{esm2015/binding-directives/flat-binding.directive.js → esm2020/binding-directives/flat-binding.directive.mjs} +4 -4
- package/{esm2015/binding-directives/hierarchy-binding.directive.js → esm2020/binding-directives/hierarchy-binding.directive.mjs} +4 -4
- package/{esm2015/columns/cell-template.directive.js → esm2020/columns/cell-template.directive.mjs} +5 -5
- package/{esm2015/columns/column-base.component.js → esm2020/columns/column-base.component.mjs} +4 -4
- package/{esm2015/columns/column-group.component.js → esm2020/columns/column-group.component.mjs} +5 -4
- package/{esm2015/columns/column-menu-template.directive.js → esm2020/columns/column-menu-template.directive.mjs} +5 -5
- package/{esm2015/columns/column.component.js → esm2020/columns/column.component.mjs} +5 -4
- package/{esm2015/columns/columns.js → esm2020/columns/columns.mjs} +1 -1
- package/{esm2015/columns/edit-template.directive.js → esm2020/columns/edit-template.directive.mjs} +5 -5
- package/{esm2015/columns/filter-cell-template.directive.js → esm2020/columns/filter-cell-template.directive.mjs} +5 -5
- package/{esm2015/columns/filter-menu-template.directive.js → esm2020/columns/filter-menu-template.directive.mjs} +5 -5
- package/{esm2015/columns/footer-template.directive.js → esm2020/columns/footer-template.directive.mjs} +5 -5
- package/{esm2015/columns/header-template.directive.js → esm2020/columns/header-template.directive.mjs} +5 -5
- package/{esm2015/columns/span-column.component.js → esm2020/columns/span-column.component.mjs} +5 -4
- package/{esm2015/common/default-callbacks.js → esm2020/common/default-callbacks.mjs} +1 -1
- package/{esm2015/common/mapping.service.js → esm2020/common/mapping.service.mjs} +8 -8
- package/{esm2015/common/option-changes.service.js → esm2020/common/option-changes.service.mjs} +4 -4
- package/{esm2015/common/touch-enabled.js → esm2020/common/touch-enabled.mjs} +1 -1
- package/{esm2015/dependencies/dependency-dom.service.js → esm2020/dependencies/dependency-dom.service.mjs} +5 -4
- package/{esm2015/models/column-menu-settings.interface.js → esm2020/dependencies/dom-dependency-args.mjs} +1 -1
- package/{esm2015/dependencies/gantt-dependency.directive.js → esm2020/dependencies/gantt-dependency.directive.mjs} +8 -6
- package/{esm2015/dependencies/utils.js → esm2020/dependencies/utils.mjs} +2 -2
- package/{esm2015/dragging/dependency-drag-create.directive.js → esm2020/dragging/dependency-drag-create.directive.mjs} +9 -5
- package/{esm2015/dragging/drag-validation-tooltip.component.js → esm2020/dragging/drag-validation-tooltip.component.mjs} +4 -4
- package/{esm2015/editing/add-task.component.js → esm2020/editing/add-task.component.mjs} +8 -6
- package/{esm2015/editing/dependencies-table.component.js → esm2020/editing/dependencies-table.component.mjs} +10 -7
- package/{esm2015/editing/edit-dialog.component.js → esm2020/editing/edit-dialog.component.mjs} +13 -10
- package/{esm2015/editing/edit.service.js → esm2020/editing/edit.service.mjs} +5 -4
- package/{esm2015/editing/task-fields.component.js → esm2020/editing/task-fields.component.mjs} +8 -5
- package/{esm2015/editing/utils.js → esm2020/editing/utils.mjs} +1 -1
- package/{esm2015/expanded-state/expand-event.js → esm2020/expanded-state/expand-event.mjs} +4 -2
- package/{esm2015/expanded-state/expandable.directive.js → esm2020/expanded-state/expandable.directive.mjs} +4 -4
- package/{esm2015/gantt.component.js → esm2020/gantt.component.mjs} +30 -20
- package/{esm2015/gantt.module.js → esm2020/gantt.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/gantt-localization.service.js → esm2020/localization/gantt-localization.service.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/models/cell-content-type.interface.js → esm2020/models/cell-content-type.interface.mjs} +1 -1
- package/{esm2015/dependencies/dom-dependency-args.js → esm2020/models/class-callbacks.mjs} +1 -1
- package/{esm2015/models/class-callbacks.js → esm2020/models/column-menu-settings.interface.mjs} +1 -1
- package/esm2020/models/column-reorder-config.mjs +5 -0
- package/esm2020/models/date-range.interface.mjs +5 -0
- package/{esm2015/models/dependency-type.enum.js → esm2020/models/dependency-type.enum.mjs} +1 -1
- package/esm2020/models/events/cell-click-event.interface.mjs +5 -0
- package/{esm2015/models/events/cell-close-event.interface.js → esm2020/models/events/cell-close-event.interface.mjs} +1 -1
- package/esm2020/models/events/click-event.interface.mjs +5 -0
- package/esm2020/models/events/column-locked-change-event.interface.mjs +5 -0
- package/esm2020/models/events/column-reorder-event.interface.mjs +5 -0
- package/esm2020/models/events/column-resize-event.interface.mjs +5 -0
- package/esm2020/models/events/column-visibility-change-event.interface.mjs +5 -0
- package/esm2020/models/events/data-state-change-event.interface.mjs +5 -0
- package/esm2020/models/events/dependency-add-event.interface.mjs +5 -0
- package/esm2020/models/events/selected-view-change-event.interface.mjs +5 -0
- package/esm2020/models/events/task-add-event.interface.mjs +5 -0
- package/esm2020/models/events/task-click-event.interface.mjs +5 -0
- package/esm2020/models/events/task-delete-event.interface.mjs +5 -0
- package/esm2020/models/events/task-edit-event.interface.mjs +5 -0
- package/esm2020/models/events/task-move-end-event.interface.mjs +5 -0
- package/esm2020/models/events/task-move-event.interface.mjs +5 -0
- package/esm2020/models/events/task-move-start-event.interface.mjs +5 -0
- package/esm2020/models/events/task-resize-end-event.interface.mjs +5 -0
- package/esm2020/models/events/task-resize-event.interface.mjs +5 -0
- package/esm2020/models/events/task-resize-start-event.interface.mjs +5 -0
- package/esm2020/models/filterable-settings.mjs +5 -0
- package/{esm2015/models/gantt-dependency-model-fields.interface.js → esm2020/models/gantt-dependency-model-fields.interface.mjs} +1 -1
- package/esm2020/models/gantt-dependency.interface.mjs +5 -0
- package/{esm2015/models/gantt-task-model-fields.interface.js → esm2020/models/gantt-task-model-fields.interface.mjs} +1 -1
- package/esm2020/models/gantt-task.interface.mjs +5 -0
- package/{esm2015/models/models.js → esm2020/models/models.mjs} +1 -1
- package/esm2020/models/slot.interface.mjs +5 -0
- package/{esm2015/models/sort-settings.js → esm2020/models/sort-settings.mjs} +1 -1
- package/{esm2015/models/splitter-pane-options.interface.js → esm2020/models/splitter-pane-options.interface.mjs} +1 -1
- package/esm2020/models/timeline-options.interface.mjs +5 -0
- package/esm2020/models/timeline-view.mjs +5 -0
- package/esm2020/models/toolbar-settings.mjs +5 -0
- package/esm2020/models/view-item.interface.mjs +5 -0
- package/esm2020/navigation/navigation-models.mjs +5 -0
- package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs} +6 -5
- package/{esm2015/navigation/utils.js → esm2020/navigation/utils.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +2 -2
- package/{esm2015/kendo-angular-gantt.js → esm2020/progress-kendo-angular-gantt.mjs} +2 -2
- package/{esm2015/rendering/gantt-header-table-body.component.js → esm2020/rendering/gantt-header-table-body.component.mjs} +20 -14
- package/{esm2015/rendering/gantt-milestone-task.component.js → esm2020/rendering/gantt-milestone-task.component.mjs} +12 -16
- package/{esm2015/rendering/gantt-summary-task.component.js → esm2020/rendering/gantt-summary-task.component.mjs} +12 -16
- package/{esm2015/rendering/gantt-task-base.js → esm2020/rendering/gantt-task-base.mjs} +15 -10
- package/{esm2015/rendering/gantt-task.component.js → esm2020/rendering/gantt-task.component.mjs} +13 -16
- package/{esm2015/rendering/gantt-tasks-table-body.component.js → esm2020/rendering/gantt-tasks-table-body.component.mjs} +11 -9
- package/{esm2015/scrolling/drag-scroll-settings.js → esm2020/scrolling/drag-scroll-settings.mjs} +1 -1
- package/{esm2015/scrolling/scroll-sync.service.js → esm2020/scrolling/scroll-sync.service.mjs} +5 -5
- package/{esm2015/scrolling/timeline-scroll.directive.js → esm2020/scrolling/timeline-scroll.directive.mjs} +6 -5
- package/{esm2015/scrolling/timeline-scroll.service.js → esm2020/scrolling/timeline-scroll.service.mjs} +4 -4
- package/{esm2015/scrolling/utils.js → esm2020/scrolling/utils.mjs} +1 -1
- package/{esm2015/selection/selectable.directive.js → esm2020/selection/selectable.directive.mjs} +5 -4
- package/esm2020/selection/selection-change-event.mjs +5 -0
- package/{esm2015/template-directives/summary-task-template.directive.js → esm2020/template-directives/summary-task-template.directive.mjs} +6 -6
- package/{esm2015/template-directives/task-content-template.directive.js → esm2020/template-directives/task-content-template.directive.mjs} +5 -5
- package/{esm2015/template-directives/task-template.directive.js → esm2020/template-directives/task-template.directive.mjs} +5 -5
- package/{esm2015/timeline/gantt-timeline.component.js → esm2020/timeline/gantt-timeline.component.mjs} +39 -35
- package/{esm2015/timeline/timeline-base-view.service.js → esm2020/timeline/timeline-base-view.service.mjs} +10 -10
- package/{esm2015/timeline/timeline-day-view.component.js → esm2020/timeline/timeline-day-view.component.mjs} +6 -4
- package/{esm2015/timeline/timeline-day-view.service.js → esm2020/timeline/timeline-day-view.service.mjs} +8 -6
- package/{esm2015/timeline/timeline-month-view.component.js → esm2020/timeline/timeline-month-view.component.mjs} +6 -4
- package/{esm2015/timeline/timeline-month-view.service.js → esm2020/timeline/timeline-month-view.service.mjs} +8 -6
- package/{esm2015/timeline/timeline-view.service.js → esm2020/timeline/timeline-view.service.mjs} +5 -5
- package/{esm2015/timeline/timeline-week-view.component.js → esm2020/timeline/timeline-week-view.component.mjs} +6 -4
- package/{esm2015/timeline/timeline-week-view.service.js → esm2020/timeline/timeline-week-view.service.mjs} +8 -6
- package/{esm2015/timeline/timeline-year-view.component.js → esm2020/timeline/timeline-year-view.component.mjs} +6 -4
- package/{esm2015/timeline/timeline-year-view.service.js → esm2020/timeline/timeline-year-view.service.mjs} +8 -6
- package/{esm2015/timeline/view-base.js → esm2020/timeline/view-base.mjs} +6 -4
- package/{esm2015/toolbar/toolbar-template.directive.js → esm2020/toolbar/toolbar-template.directive.mjs} +6 -6
- package/{esm2015/toolbar/toolbar.component.js → esm2020/toolbar/toolbar.component.mjs} +9 -4
- package/{esm2015/toolbar/view-selector.component.js → esm2020/toolbar/view-selector.component.mjs} +6 -5
- package/{esm2015/utils.js → esm2020/utils.mjs} +2 -2
- package/expanded-state/expand-event.d.ts +1 -1
- package/expanded-state/expandable.directive.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-gantt.mjs +7890 -0
- package/{fesm2015/kendo-angular-gantt.js → fesm2020/progress-kendo-angular-gantt.mjs} +868 -874
- package/gantt.component.d.ts +1 -1
- package/gantt.module.d.ts +1 -1
- package/{main.d.ts → index.d.ts} +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/gantt-localization.service.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/models/cell-content-type.interface.d.ts +1 -1
- package/models/class-callbacks.d.ts +1 -1
- package/models/column-menu-settings.interface.d.ts +1 -1
- package/models/column-reorder-config.d.ts +1 -1
- package/models/date-range.interface.d.ts +1 -1
- package/models/dependency-type.enum.d.ts +1 -1
- package/models/events/cell-click-event.interface.d.ts +1 -1
- package/models/events/cell-close-event.interface.d.ts +1 -1
- package/models/events/click-event.interface.d.ts +1 -1
- package/models/events/column-locked-change-event.interface.d.ts +1 -1
- package/models/events/column-reorder-event.interface.d.ts +1 -1
- package/models/events/column-resize-event.interface.d.ts +1 -1
- package/models/events/column-visibility-change-event.interface.d.ts +1 -1
- package/models/events/data-state-change-event.interface.d.ts +1 -1
- package/models/events/dependency-add-event.interface.d.ts +1 -1
- package/models/events/selected-view-change-event.interface.d.ts +1 -1
- package/models/events/task-add-event.interface.d.ts +1 -1
- package/models/events/task-click-event.interface.d.ts +1 -1
- package/models/events/task-delete-event.interface.d.ts +1 -1
- package/models/events/task-edit-event.interface.d.ts +1 -1
- package/models/events/task-move-end-event.interface.d.ts +1 -1
- package/models/events/task-move-event.interface.d.ts +1 -1
- package/models/events/task-move-start-event.interface.d.ts +1 -1
- package/models/events/task-resize-end-event.interface.d.ts +1 -1
- package/models/events/task-resize-event.interface.d.ts +1 -1
- package/models/events/task-resize-start-event.interface.d.ts +1 -1
- package/models/filterable-settings.d.ts +1 -1
- package/models/gantt-dependency-model-fields.interface.d.ts +1 -1
- package/models/gantt-dependency.interface.d.ts +1 -1
- package/models/gantt-task-model-fields.interface.d.ts +1 -1
- package/models/gantt-task.interface.d.ts +1 -1
- package/models/models.d.ts +1 -1
- package/models/slot.interface.d.ts +1 -1
- package/models/sort-settings.d.ts +1 -1
- package/models/splitter-pane-options.interface.d.ts +1 -1
- package/models/timeline-options.interface.d.ts +1 -1
- package/models/timeline-view.d.ts +1 -1
- package/models/toolbar-settings.d.ts +1 -1
- package/models/view-item.interface.d.ts +1 -1
- package/navigation/navigation-models.d.ts +1 -1
- package/navigation/navigation.service.d.ts +1 -1
- package/navigation/utils.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +38 -65
- package/{kendo-angular-gantt.d.ts → progress-kendo-angular-gantt.d.ts} +2 -2
- package/rendering/gantt-header-table-body.component.d.ts +2 -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-base.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 +1 -5
- package/scrolling/drag-scroll-settings.d.ts +1 -1
- package/scrolling/scroll-sync.service.d.ts +1 -1
- package/scrolling/timeline-scroll.directive.d.ts +1 -1
- package/scrolling/timeline-scroll.service.d.ts +1 -1
- package/scrolling/utils.d.ts +1 -1
- package/selection/selectable.directive.d.ts +1 -1
- package/selection/selection-change-event.d.ts +1 -1
- package/template-directives/summary-task-template.directive.d.ts +2 -2
- 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-base-view.service.d.ts +1 -1
- package/timeline/timeline-day-view.component.d.ts +1 -1
- package/timeline/timeline-day-view.service.d.ts +1 -1
- package/timeline/timeline-month-view.component.d.ts +1 -1
- package/timeline/timeline-month-view.service.d.ts +1 -1
- package/timeline/timeline-view.service.d.ts +1 -1
- package/timeline/timeline-week-view.component.d.ts +1 -1
- package/timeline/timeline-week-view.service.d.ts +1 -1
- package/timeline/timeline-year-view.component.d.ts +1 -1
- package/timeline/timeline-year-view.service.d.ts +1 -1
- package/timeline/view-base.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +2 -2
- package/toolbar/toolbar.component.d.ts +3 -2
- package/toolbar/view-selector.component.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/bundles/kendo-angular-gantt.umd.js +0 -5
- package/esm2015/models/column-reorder-config.js +0 -5
- package/esm2015/models/date-range.interface.js +0 -5
- package/esm2015/models/events/cell-click-event.interface.js +0 -5
- package/esm2015/models/events/click-event.interface.js +0 -5
- package/esm2015/models/events/column-locked-change-event.interface.js +0 -5
- package/esm2015/models/events/column-reorder-event.interface.js +0 -5
- package/esm2015/models/events/column-resize-event.interface.js +0 -5
- package/esm2015/models/events/column-visibility-change-event.interface.js +0 -5
- package/esm2015/models/events/data-state-change-event.interface.js +0 -5
- package/esm2015/models/events/dependency-add-event.interface.js +0 -5
- package/esm2015/models/events/selected-view-change-event.interface.js +0 -5
- package/esm2015/models/events/task-add-event.interface.js +0 -5
- package/esm2015/models/events/task-click-event.interface.js +0 -5
- package/esm2015/models/events/task-delete-event.interface.js +0 -5
- package/esm2015/models/events/task-edit-event.interface.js +0 -5
- package/esm2015/models/events/task-move-end-event.interface.js +0 -5
- package/esm2015/models/events/task-move-event.interface.js +0 -5
- package/esm2015/models/events/task-move-start-event.interface.js +0 -5
- package/esm2015/models/events/task-resize-end-event.interface.js +0 -5
- package/esm2015/models/events/task-resize-event.interface.js +0 -5
- package/esm2015/models/events/task-resize-start-event.interface.js +0 -5
- package/esm2015/models/filterable-settings.js +0 -5
- package/esm2015/models/gantt-dependency.interface.js +0 -5
- package/esm2015/models/gantt-task.interface.js +0 -5
- package/esm2015/models/slot.interface.js +0 -5
- package/esm2015/models/timeline-options.interface.js +0 -5
- package/esm2015/models/timeline-view.js +0 -5
- package/esm2015/models/toolbar-settings.js +0 -5
- package/esm2015/models/view-item.interface.js +0 -5
- package/esm2015/navigation/navigation-models.js +0 -5
- package/esm2015/selection/selection-change-event.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, HostBinding, Input, ViewChild } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Directive, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';
|
|
6
6
|
import { MS_PER_HOUR, MS_PER_DAY, firstDayOfMonth } from '@progress/kendo-date-math';
|
|
7
7
|
import { Subscription } from 'rxjs';
|
|
8
|
+
import { NavigationService } from '../navigation/navigation.service';
|
|
9
|
+
import { OptionChangesService } from '../common/option-changes.service';
|
|
10
|
+
import { TimelineViewService } from '../timeline/timeline-view.service';
|
|
11
|
+
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
12
|
+
import { MappingService } from '../common/mapping.service';
|
|
8
13
|
import { getTotalDaysInMonth, getTotalMonthsInBetween, isNumber, isPresent } from '../utils';
|
|
9
14
|
import * as i0 from "@angular/core";
|
|
10
15
|
import * as i1 from "../common/mapping.service";
|
|
@@ -100,16 +105,16 @@ export class GanttTaskBase {
|
|
|
100
105
|
return isNumber(overlayWidth) ? overlayWidth : 0;
|
|
101
106
|
}
|
|
102
107
|
ngOnChanges(changes) {
|
|
103
|
-
if (isPresent(changes
|
|
104
|
-
if (isPresent(changes
|
|
105
|
-
this.dependencyDomService.unregisterTask(changes
|
|
108
|
+
if (isPresent(changes['dataItem'])) {
|
|
109
|
+
if (isPresent(changes['dataItem'].previousValue)) {
|
|
110
|
+
this.dependencyDomService.unregisterTask(changes['dataItem'].previousValue);
|
|
106
111
|
}
|
|
107
112
|
this.dependencyDomService.registerTask(this.dataItem, this.taskElement.nativeElement);
|
|
108
113
|
}
|
|
109
|
-
else if (isPresent(changes
|
|
114
|
+
else if (isPresent(changes['activeView'])) {
|
|
110
115
|
this.dependencyDomService.notifyChanges();
|
|
111
116
|
}
|
|
112
|
-
if (this.navigationService.enabled && isPresent(changes
|
|
117
|
+
if (this.navigationService.enabled && isPresent(changes['index'])) {
|
|
113
118
|
this.updateActiveState(this.navigationService.activeTask);
|
|
114
119
|
}
|
|
115
120
|
}
|
|
@@ -132,9 +137,9 @@ export class GanttTaskBase {
|
|
|
132
137
|
}
|
|
133
138
|
}
|
|
134
139
|
}
|
|
135
|
-
GanttTaskBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
136
|
-
GanttTaskBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
GanttTaskBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskBase, deps: [{ token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
141
|
+
GanttTaskBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskBase, selector: "kendo-gantt-task-base", inputs: { dataItem: "dataItem", index: "index", level: "level", renderDependencyDragClues: "renderDependencyDragClues", selectable: "selectable", isSelected: "isSelected", activeView: "activeView", taskClass: "taskClass" }, host: { properties: { "class.k-task-wrap": "this.wrapperClass", "attr.data-task-index": "this.taskIndexAttribute", "style.left.px": "this.taskOffset" } }, viewQueries: [{ propertyName: "taskElement", first: true, predicate: ["task"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskBase, decorators: [{
|
|
138
143
|
type: Directive,
|
|
139
144
|
args: [{
|
|
140
145
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
package/{esm2015/rendering/gantt-task.component.js → esm2020/rendering/gantt-task.component.mjs}
RENAMED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, forwardRef, Inject, Input } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Component, forwardRef, Inject, Input, TemplateRef } from '@angular/core';
|
|
6
|
+
import { MappingService } from '../common/mapping.service';
|
|
7
|
+
import { NavigationService } from '../navigation/navigation.service';
|
|
8
|
+
import { EditService } from '../editing/edit.service';
|
|
6
9
|
import { TOUCH_ENABLED } from '../common/touch-enabled';
|
|
10
|
+
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
11
|
+
import { OptionChangesService } from '../common/option-changes.service';
|
|
12
|
+
import { TimelineViewService } from './../timeline/timeline-view.service';
|
|
7
13
|
import { GanttTaskBase } from './gantt-task-base';
|
|
8
14
|
import * as i0 from "@angular/core";
|
|
9
15
|
import * as i1 from "../editing/edit.service";
|
|
@@ -28,8 +34,8 @@ export class GanttTaskComponent extends GanttTaskBase {
|
|
|
28
34
|
this.editService.taskDelete.next(this.dataItem);
|
|
29
35
|
}
|
|
30
36
|
}
|
|
31
|
-
GanttTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
GanttTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
37
|
+
GanttTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskComponent, deps: [{ token: i1.EditService }, { token: TOUCH_ENABLED }, { token: i2.MappingService }, { token: i3.TimelineViewService }, { token: i4.DependencyDomService }, { token: i5.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i6.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
GanttTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskComponent, selector: "kendo-gantt-task", inputs: { taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate" }, providers: [
|
|
33
39
|
{
|
|
34
40
|
provide: GanttTaskBase,
|
|
35
41
|
useExisting: forwardRef(() => GanttTaskComponent)
|
|
@@ -103,8 +109,8 @@ GanttTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
103
109
|
>
|
|
104
110
|
</div>
|
|
105
111
|
</ng-container>
|
|
106
|
-
`, isInline: true,
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
`, isInline: true, directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskComponent, decorators: [{
|
|
108
114
|
type: Component,
|
|
109
115
|
args: [{
|
|
110
116
|
selector: 'kendo-gantt-task',
|
|
@@ -183,16 +189,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
183
189
|
>
|
|
184
190
|
</div>
|
|
185
191
|
</ng-container>
|
|
186
|
-
|
|
187
|
-
styles: [`
|
|
188
|
-
.k-task.k-focus {
|
|
189
|
-
box-shadow: 0 0 4px 3px grey;
|
|
190
|
-
outline: none;
|
|
191
|
-
}
|
|
192
|
-
.k-task.k-focus.k-selected {
|
|
193
|
-
box-shadow: 0 0 4px 3px #ffaea8;
|
|
194
|
-
}
|
|
195
|
-
`]
|
|
192
|
+
`
|
|
196
193
|
}]
|
|
197
194
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: undefined, decorators: [{
|
|
198
195
|
type: Inject,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input, ViewChild } from '@angular/core';
|
|
5
|
+
import { Component, Input, TemplateRef, ViewChild, ElementRef } from '@angular/core';
|
|
6
6
|
import { isEqual } from '@progress/kendo-date-math';
|
|
7
|
+
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
8
|
+
import { MappingService } from '../common/mapping.service';
|
|
7
9
|
import { isPresent } from '../utils';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
import * as i1 from "../dependencies/dependency-dom.service";
|
|
@@ -31,10 +33,10 @@ export class GanttTasksTableBodyComponent {
|
|
|
31
33
|
return !item.hasChildren && isEqual(this.mapper.extractFromTask(item.data, 'start'), this.mapper.extractFromTask(item.data, 'end'));
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
|
-
GanttTasksTableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
GanttTasksTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
36
|
-
<tr #timelineRow *ngFor="let item of rows; let index = index">
|
|
37
|
-
<td>
|
|
36
|
+
GanttTasksTableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTasksTableBodyComponent, deps: [{ token: i1.DependencyDomService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
GanttTasksTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GanttTasksTableBodyComponent, selector: "[kendoGanttTasksTableBody]", inputs: { selectable: "selectable", rows: "rows", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", isExpanded: "isExpanded", isTaskSelected: "isTaskSelected", renderDependencyDragClues: "renderDependencyDragClues" }, viewQueries: [{ propertyName: "timelineRow", first: true, predicate: ["timelineRow"], descendants: true }], ngImport: i0, template: `
|
|
38
|
+
<tr class="k-table-row" #timelineRow *ngFor="let item of rows; let index = index">
|
|
39
|
+
<td class="k-table-td">
|
|
38
40
|
<kendo-gantt-milestone-task
|
|
39
41
|
*ngIf="isMileStone(item); else task"
|
|
40
42
|
[dataItem]="item.data"
|
|
@@ -80,14 +82,14 @@ GanttTasksTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
80
82
|
</td>
|
|
81
83
|
</tr>
|
|
82
84
|
`, isInline: true, components: [{ type: i3.GanttMilestoneTaskComponent, selector: "kendo-gantt-milestone-task" }, { type: i4.GanttSummaryTaskComponent, selector: "kendo-gantt-summary-task", inputs: ["template", "isExpanded"] }, { type: i5.GanttTaskComponent, selector: "kendo-gantt-task", inputs: ["taskContentTemplate", "taskTemplate"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTasksTableBodyComponent, decorators: [{
|
|
84
86
|
type: Component,
|
|
85
87
|
args: [{
|
|
86
88
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
87
89
|
selector: '[kendoGanttTasksTableBody]',
|
|
88
90
|
template: `
|
|
89
|
-
<tr #timelineRow *ngFor="let item of rows; let index = index">
|
|
90
|
-
<td>
|
|
91
|
+
<tr class="k-table-row" #timelineRow *ngFor="let item of rows; let index = index">
|
|
92
|
+
<td class="k-table-td">
|
|
91
93
|
<kendo-gantt-milestone-task
|
|
92
94
|
*ngIf="isMileStone(item); else task"
|
|
93
95
|
[dataItem]="item.data"
|
package/{esm2015/scrolling/drag-scroll-settings.js → esm2020/scrolling/drag-scroll-settings.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/{esm2015/scrolling/scroll-sync.service.js → esm2020/scrolling/scroll-sync.service.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
5
|
+
import { Injectable, NgZone } from '@angular/core';
|
|
6
6
|
import { Subscription, Subject, fromEvent } from 'rxjs';
|
|
7
7
|
import { distinctUntilChanged, map, take } from 'rxjs/operators';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -73,8 +73,8 @@ export class ScrollSyncService {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
76
|
+
ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
77
|
+
ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, decorators: [{
|
|
79
79
|
type: Injectable
|
|
80
80
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, Input, NgZone } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { isPresent } from '../utils';
|
|
8
8
|
import { ScrollAxis, ScrollDirection } from './drag-scroll-settings';
|
|
9
|
+
import { TimelineScrollService } from './timeline-scroll.service';
|
|
9
10
|
import { getViewportBoundaries, scrollElement } from './utils';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
import * as i1 from "./timeline-scroll.service";
|
|
@@ -63,9 +64,9 @@ export class TimelineScrollableDirective {
|
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
|
-
TimelineScrollableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
TimelineScrollableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
67
|
+
TimelineScrollableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollableDirective, deps: [{ token: i0.ElementRef }, { token: i1.TimelineScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
68
|
+
TimelineScrollableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimelineScrollableDirective, selector: "[kendoGanttTimelineScrollable]", inputs: { scrollSettings: "scrollSettings" }, ngImport: i0 });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollableDirective, decorators: [{
|
|
69
70
|
type: Directive,
|
|
70
71
|
args: [{
|
|
71
72
|
selector: '[kendoGanttTimelineScrollable]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -32,8 +32,8 @@ export class TimelineScrollService {
|
|
|
32
32
|
this.scrollCancel.next();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
TimelineScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
TimelineScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
TimelineScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
TimelineScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollService });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollService, decorators: [{
|
|
38
38
|
type: Injectable
|
|
39
39
|
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
package/{esm2015/selection/selectable.directive.js → esm2020/selection/selectable.directive.mjs}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input, Output, EventEmitter } from '@angular/core';
|
|
6
6
|
import { getter } from '@progress/kendo-common';
|
|
7
|
+
import { GanttComponent } from '../gantt.component';
|
|
7
8
|
import { isPresent, isString } from '../utils';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
import * as i1 from "../gantt.component";
|
|
@@ -93,9 +94,9 @@ export class SelectableDirective {
|
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
}
|
|
96
|
-
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
97
|
-
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
97
|
+
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.GanttComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
98
|
+
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SelectableDirective, selector: "[kendoGanttSelectable]", inputs: { selectable: "selectable", selectedKeys: "selectedKeys", itemKey: "itemKey" }, outputs: { selectedKeysChange: "selectedKeysChange" }, exportAs: ["kendoGanttSelectable"], ngImport: i0 });
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
99
100
|
type: Directive,
|
|
100
101
|
args: [{
|
|
101
102
|
exportAs: 'kendoGanttSelectable',
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional } from '@angular/core';
|
|
5
|
+
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents a template that defines the whole content of the summary task component.
|
|
@@ -21,7 +21,7 @@ import * as i0 from "@angular/core";
|
|
|
21
21
|
* template: `
|
|
22
22
|
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
23
23
|
* <ng-template kendoGanttSummaryTaskTemplate let-dataItem let-elementWidth="elementWidth">
|
|
24
|
-
* <div style="color: white; font-size: 8px;">
|
|
24
|
+
* <div [style]="'color: white; font-size: 8px;'">
|
|
25
25
|
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete; width: {{ elementWidth }}
|
|
26
26
|
* </div>
|
|
27
27
|
* </ng-template>
|
|
@@ -38,9 +38,9 @@ export class GanttSummaryTaskTemplateDirective {
|
|
|
38
38
|
this.templateRef = templateRef;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
GanttSummaryTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
GanttSummaryTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
GanttSummaryTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttSummaryTaskTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
GanttSummaryTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttSummaryTaskTemplateDirective, selector: "[kendoGanttSummaryTaskTemplate]", ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttSummaryTaskTemplateDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[kendoGanttSummaryTaskTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional } from '@angular/core';
|
|
5
|
+
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents a template that defines the text content section of the task component.
|
|
@@ -33,9 +33,9 @@ export class GanttTaskContentTemplateDirective {
|
|
|
33
33
|
this.templateRef = templateRef;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
GanttTaskContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
GanttTaskContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
GanttTaskContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
GanttTaskContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskContentTemplateDirective, selector: "[kendoGanttTaskContentTemplate]", ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskContentTemplateDirective, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: '[kendoGanttTaskContentTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional } from '@angular/core';
|
|
5
|
+
import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents a template that defines the whole content of the task component.
|
|
@@ -36,9 +36,9 @@ export class GanttTaskTemplateDirective {
|
|
|
36
36
|
this.templateRef = templateRef;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
GanttTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
GanttTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
GanttTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
GanttTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskTemplateDirective, selector: "[kendoGanttTaskTemplate]", ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskTemplateDirective, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: '[kendoGanttTaskTemplate]'
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, EventEmitter, HostBinding, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output, Renderer2, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { filter, map, switchMap, take } from 'rxjs/operators';
|
|
8
8
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
9
|
+
import { ScrollSyncService } from '../scrolling/scroll-sync.service';
|
|
10
|
+
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
9
11
|
import { isPresent } from '../utils';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../scrolling/scroll-sync.service";
|
|
@@ -62,12 +64,13 @@ export class GanttTimelineComponent {
|
|
|
62
64
|
return item.hasOwnProperty('isWorking') && !item.isWorking;
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
67
|
-
<div class="k-timeline k-grid k-
|
|
67
|
+
GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: i1.ScrollSyncService }, { token: i2.DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], ngImport: i0, template: `
|
|
69
|
+
<div class="k-timeline k-grid k-grid-md">
|
|
68
70
|
<div class="k-grid-header">
|
|
69
71
|
<div #timelineHeaderWrap class="k-grid-header-wrap">
|
|
70
72
|
<table
|
|
73
|
+
class="k-table k-table-md k-grid-header-table"
|
|
71
74
|
role="presentation"
|
|
72
75
|
[style.width.px]="tableWidth"
|
|
73
76
|
>
|
|
@@ -96,22 +99,22 @@ GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
96
99
|
>
|
|
97
100
|
<div class="k-gantt-tables">
|
|
98
101
|
<table
|
|
99
|
-
class="k-gantt-rows"
|
|
102
|
+
class="k-table k-table-md k-grid-table k-gantt-rows"
|
|
100
103
|
[style.width.px]="tableWidth"
|
|
101
104
|
role="presentation"
|
|
102
105
|
>
|
|
103
|
-
<tbody>
|
|
104
|
-
<tr
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<td></td>
|
|
106
|
+
<tbody class="k-table-tbody">
|
|
107
|
+
<tr
|
|
108
|
+
*ngFor="let item of rows; let i = index;"
|
|
109
|
+
class="k-table-row{{i % 2 ? ' k-alt k-table-row-alt' : ''}}">
|
|
110
|
+
<td class="k-table-td"></td>
|
|
108
111
|
</tr>
|
|
109
112
|
</tbody>
|
|
110
113
|
</table>
|
|
111
114
|
|
|
112
115
|
<table
|
|
113
116
|
#timelineColumns
|
|
114
|
-
class="k-gantt-columns"
|
|
117
|
+
class="k-table k-table-md k-gantt-columns"
|
|
115
118
|
role="presentation"
|
|
116
119
|
[style.width.px]="tableWidth"
|
|
117
120
|
>
|
|
@@ -119,24 +122,24 @@ GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
119
122
|
<col *ngFor="let item of slots">
|
|
120
123
|
</colgroup>
|
|
121
124
|
|
|
122
|
-
<tbody>
|
|
123
|
-
<tr>
|
|
125
|
+
<tbody class="k-table-tbody">
|
|
126
|
+
<tr class="k-table-row">
|
|
124
127
|
<td *ngFor="let item of slots"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</td>
|
|
128
|
+
class="k-table-td"
|
|
129
|
+
[class.k-nonwork-hour]="isNonWorking(item)"></td>
|
|
128
130
|
</tr>
|
|
129
131
|
</tbody>
|
|
130
132
|
</table>
|
|
131
133
|
|
|
132
134
|
<table
|
|
133
135
|
#tasksContainer
|
|
134
|
-
class="k-gantt-tasks"
|
|
136
|
+
class="k-table k-table-md k-gantt-tasks"
|
|
135
137
|
role="presentation"
|
|
136
|
-
style
|
|
138
|
+
[style.border-collapse]="'collapse'"
|
|
137
139
|
[style.width.px]="tableWidth"
|
|
138
140
|
>
|
|
139
141
|
<tbody
|
|
142
|
+
class="k-table-tbody"
|
|
140
143
|
kendoGanttTasksTableBody
|
|
141
144
|
[rows]="rows"
|
|
142
145
|
[activeView]="activeView"
|
|
@@ -166,15 +169,16 @@ GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
166
169
|
</div>
|
|
167
170
|
</div>
|
|
168
171
|
`, isInline: true, components: [{ type: i3.GanttHeaderTableBodyComponent, selector: "[kendoGanttHeaderTableBody]", inputs: ["groupSlots", "slots"] }, { type: i4.GanttTasksTableBodyComponent, selector: "[kendoGanttTasksTableBody]", inputs: ["selectable", "rows", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "isExpanded", "isTaskSelected", "renderDependencyDragClues"] }], directives: [{ type: i5.TimelineScrollableDirective, selector: "[kendoGanttTimelineScrollable]", inputs: ["scrollSettings"] }, { type: i6.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.GanttDependencyDirective, selector: "[kendoGanttDependency]", inputs: ["dependency"] }] });
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTimelineComponent, decorators: [{
|
|
170
173
|
type: Component,
|
|
171
174
|
args: [{
|
|
172
175
|
selector: 'kendo-gantt-timeline',
|
|
173
176
|
template: `
|
|
174
|
-
<div class="k-timeline k-grid k-
|
|
177
|
+
<div class="k-timeline k-grid k-grid-md">
|
|
175
178
|
<div class="k-grid-header">
|
|
176
179
|
<div #timelineHeaderWrap class="k-grid-header-wrap">
|
|
177
180
|
<table
|
|
181
|
+
class="k-table k-table-md k-grid-header-table"
|
|
178
182
|
role="presentation"
|
|
179
183
|
[style.width.px]="tableWidth"
|
|
180
184
|
>
|
|
@@ -203,22 +207,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
203
207
|
>
|
|
204
208
|
<div class="k-gantt-tables">
|
|
205
209
|
<table
|
|
206
|
-
class="k-gantt-rows"
|
|
210
|
+
class="k-table k-table-md k-grid-table k-gantt-rows"
|
|
207
211
|
[style.width.px]="tableWidth"
|
|
208
212
|
role="presentation"
|
|
209
213
|
>
|
|
210
|
-
<tbody>
|
|
211
|
-
<tr
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<td></td>
|
|
214
|
+
<tbody class="k-table-tbody">
|
|
215
|
+
<tr
|
|
216
|
+
*ngFor="let item of rows; let i = index;"
|
|
217
|
+
class="k-table-row{{i % 2 ? ' k-alt k-table-row-alt' : ''}}">
|
|
218
|
+
<td class="k-table-td"></td>
|
|
215
219
|
</tr>
|
|
216
220
|
</tbody>
|
|
217
221
|
</table>
|
|
218
222
|
|
|
219
223
|
<table
|
|
220
224
|
#timelineColumns
|
|
221
|
-
class="k-gantt-columns"
|
|
225
|
+
class="k-table k-table-md k-gantt-columns"
|
|
222
226
|
role="presentation"
|
|
223
227
|
[style.width.px]="tableWidth"
|
|
224
228
|
>
|
|
@@ -226,24 +230,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
226
230
|
<col *ngFor="let item of slots">
|
|
227
231
|
</colgroup>
|
|
228
232
|
|
|
229
|
-
<tbody>
|
|
230
|
-
<tr>
|
|
233
|
+
<tbody class="k-table-tbody">
|
|
234
|
+
<tr class="k-table-row">
|
|
231
235
|
<td *ngFor="let item of slots"
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
</td>
|
|
236
|
+
class="k-table-td"
|
|
237
|
+
[class.k-nonwork-hour]="isNonWorking(item)"></td>
|
|
235
238
|
</tr>
|
|
236
239
|
</tbody>
|
|
237
240
|
</table>
|
|
238
241
|
|
|
239
242
|
<table
|
|
240
243
|
#tasksContainer
|
|
241
|
-
class="k-gantt-tasks"
|
|
244
|
+
class="k-table k-table-md k-gantt-tasks"
|
|
242
245
|
role="presentation"
|
|
243
|
-
style
|
|
246
|
+
[style.border-collapse]="'collapse'"
|
|
244
247
|
[style.width.px]="tableWidth"
|
|
245
248
|
>
|
|
246
249
|
<tbody
|
|
250
|
+
class="k-table-tbody"
|
|
247
251
|
kendoGanttTasksTableBody
|
|
248
252
|
[rows]="rows"
|
|
249
253
|
[activeView]="activeView"
|