UNPKG

@progress/kendo-angular-gantt

Version:
37 lines (36 loc) 1.99 kB
/**----------------------------------------------------------------------------------------- * 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 { HierarchyBindingDirective } from '@progress/kendo-angular-treelist'; import * as i0 from "@angular/core"; /** * A directive which binds the Gantt to a tree of objects, * which encapsulates the in-memory handling of data operations such as sorting and filtering. */ export class GanttHierarchyBindingDirective extends HierarchyBindingDirective { /** * 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: GanttHierarchyBindingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GanttHierarchyBindingDirective, isStandalone: true, selector: "[kendoGanttHierarchyBinding]", inputs: { data: ["kendoGanttHierarchyBinding", "data"] }, exportAs: ["kendoGanttHierarchyBinding"], usesInheritance: true, ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttHierarchyBindingDirective, decorators: [{ type: Directive, args: [{ selector: '[kendoGanttHierarchyBinding]', exportAs: 'kendoGanttHierarchyBinding', standalone: true }] }], propDecorators: { data: [{ type: Input, args: ['kendoGanttHierarchyBinding'] }] } });