@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
39 lines (38 loc) • 2 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Directive, Input } from '@angular/core';
import { FlatBindingDirective } from '@progress/kendo-angular-treelist';
import * as i0 from "@angular/core";
/**
* A directive which binds the Gantt to an array of objects by using
* an ID and parent ID field to define the hierarchy.
*
* The directive encapsulates the in-memory handling of data operations such as sorting and filtering.
*/
export class GanttFlatBindingDirective extends FlatBindingDirective {
/**
* The array of data which will be used to populate the Gantt.
*/
data;
/**
* @hidden
*/
set aggregate(value) {
super.aggregate = value;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttFlatBindingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GanttFlatBindingDirective, isStandalone: true, selector: "[kendoGanttFlatBinding]", inputs: { data: ["kendoGanttFlatBinding", "data"] }, exportAs: ["kendoGanttFlatBinding"], usesInheritance: true, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttFlatBindingDirective, decorators: [{
type: Directive,
args: [{
selector: '[kendoGanttFlatBinding]',
exportAs: 'kendoGanttFlatBinding',
standalone: true
}]
}], propDecorators: { data: [{
type: Input,
args: ['kendoGanttFlatBinding']
}] } });