UNPKG

@progress/kendo-angular-gantt

Version:
39 lines (38 loc) 1.76 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { GanttDependencyModelFields } from '../models/gantt-dependency-model-fields.interface'; import { GanttTaskModelFields } from '../models/gantt-task-model-fields.interface'; import * as i0 from "@angular/core"; /** * @hidden */ export declare class MappingService { /** * Gets or sets the model fields for the task data items. * Uses the default values for fields which are not specified. */ set taskFields(fields: GanttTaskModelFields); get taskFields(): GanttTaskModelFields; /** * Gets or sets the model fields for the depenency data items. * Uses the default values for fields which are not specified. */ set dependencyFields(fields: GanttDependencyModelFields); get dependencyFields(): GanttDependencyModelFields; private _taskFields; private _dependencyFields; /** * Retrieves the value for the specified task field. * Supports nested fields as well (e.g. 'manager.id'). */ extractFromTask(dataItem: any, field: keyof GanttTaskModelFields): any; /** * Retrieves the value for the specified dependency field. * Supports nested fields as well (e.g. 'manager.id'). */ extractFromDependency(dataItem: any, field: keyof GanttDependencyModelFields): any; static ɵfac: i0.ɵɵFactoryDeclaration<MappingService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<MappingService>; }