@progress/kendo-angular-scheduler
Version:
Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.
29 lines (28 loc) • 1.37 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { EventEmitter } from '@angular/core';
import { ResourceGroup, SlotDirective, SlotID, ViewItem } from './types';
/**
* @hidden
*/
export declare abstract class BaseSlotService {
containerSize: number;
slotsChange: EventEmitter<any>;
protected groups: ResourceGroup[];
abstract forEachSlot(callback: any): void;
abstract createGroup(index: number): ResourceGroup;
abstract resizeRanges(currentSlot: any, task: any, resizeStart: boolean, offset?: any): any;
abstract groupSlotByPosition(currentSlot: any, x: number, y: number): any;
registerItem(component: ViewItem): void;
unregisterItem(component: ViewItem, id?: SlotID): void;
registerSlot(slot: SlotDirective): void;
unregisterSlot(slot: SlotDirective): void;
invalidate(): void;
cleanRanges(): void;
protected clearEmptyGroups(): void;
protected itemGroup(item: ViewItem): ResourceGroup;
protected slotGroup(slot: SlotDirective): ResourceGroup;
protected calculateScaleX(): number;
}