/*! * devextreme-angular-test * Version: 17.2.8 * Build date: Mon Feb 05 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ import { ElementRef, NgZone, OnDestroy, Injector, EventEmitter, OnChanges, DoCheck, SimpleChanges, QueryList } from '@angular/core'; import DevExpress from 'devextreme/bundles/dx.all'; import DxScheduler from 'devextreme/ui/scheduler'; import { DxComponent } from '../core/component'; import { DxTemplateHost } from '../core/template-host'; import { NestedOptionHost } from '../core/nested-option'; import { WatcherHelper } from '../core/watcher-helper'; import { IterableDifferHelper } from '../core/iterable-differ-helper'; import { DxiResourceComponent } from './nested/resource-dxi'; import { DxiViewComponent } from './nested/view-dxi'; /** * The Scheduler is a widget that represents scheduled data and allows a user to manage and edit it. */ export declare class DxSchedulerComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck { private _watcherHelper; private _idh; instance: DxScheduler; /** * Specifies the shortcut key that sets focus on the widget. */ accessKey: string; /** * Specifies the name of the data source item field whose value defines whether or not the corresponding appointment is an all-day appointment. */ allDayExpr: string; /** * The template to be used for rendering appointments. */ appointmentTemplate: any; /** * The template to be used for rendering an appointment tooltip. */ appointmentTooltipTemplate: any; /** * Specifies cell duration in minutes. */ cellDuration: number; /** * Specifies whether or not an end-user can scroll the view in both directions at the same time. */ crossScrollingEnabled: boolean; /** * Specifies a date displayed on the current scheduler view by default. */ currentDate: Date | number | string; /** * Specifies the currently displayed view. Accepts the view's name or type. */ currentView: string; /** * The template to be used for rendering table cells. */ dataCellTemplate: any; /** * Specifies the origin of data for the widget. */ dataSource: DevExpress.data.DataSource | DevExpress.data.DataSourceOptions | string | Array; /** * The template used for rendering day scale items. */ dateCellTemplate: any; /** * Specifies the date-time values' serialization format. Use it only if you do not specify the dataSource at design time. */ dateSerializationFormat: string; /** * Specifies the name of the data source item field whose value holds the description of the corresponding appointment. */ descriptionExpr: string; /** * Specifies whether the widget responds to user interaction. */ disabled: boolean; /** * The template to be used for rendering appointments in the appointment collector's drop-down list. */ dropDownAppointmentTemplate: any; /** * Specifies which editing operations an end-user can perform on appointments. */ editing: boolean | { allowAdding?: boolean; allowDeleting?: boolean; allowDragging?: boolean; allowResizing?: boolean; allowUpdating?: boolean; }; /** * Specifies the attributes to be attached to the widget's root element. */ elementAttr: any; /** * Specifies the name of the data source item field that defines the ending of an appointment. */ endDateExpr: string; /** * Specifies the name of the data source item field that defines the timezone of the appointment end date. */ endDateTimeZoneExpr: string; /** * Specifies an end hour in the scheduler view's time interval. */ endDayHour: number; /** * Specifies the first day of a week. */ firstDayOfWeek: number | string; /** * Specifies whether the widget can be focused using keyboard navigation. */ focusStateEnabled: boolean; /** * Specifies the resource kinds by which the scheduler's appointments are grouped in a timetable. */ groups: Array; /** * Specifies the widget's height. */ height: number | Function | string; /** * Specifies text for a hint that appears when a user pauses on the widget. */ hint: string; horizontalScrollingEnabled: any; /** * Specifies the time interval between when the date-time indicator changes its position, in milliseconds. */ indicatorUpdateInterval: number; /** * The latest date the widget allows you to select. */ max: Date | number | string; /** * Specifies the limit of full-sized appointments displayed per cell. In the "day", "week" and "workweek" views, this option applies only to all-day appointments. */ maxAppointmentsPerCell: number | string; /** * The earliest date the widget allows you to select. */ min: Date | number | string; /** * The text or HTML markup displayed by the widget if the item collection is empty. Available for the Agenda view only. */ noDataText: string; /** * Specifies the edit mode for recurring appointments. */ recurrenceEditMode: string; /** * Specifies the name of the data source item field that defines exceptions for the current recurring appointment. */ recurrenceExceptionExpr: string; /** * Specifies the name of the data source item field that defines a recurrence rule for generating recurring appointments. */ recurrenceRuleExpr: string; /** * Specifies whether filtering is performed on the server or client side. */ remoteFiltering: boolean; /** * The template to be used for rendering resource headers. */ resourceCellTemplate: any; /** * Specifies an array of resources available in the scheduler. */ resources: Array; displayExpr?: Function | string; field?: string; fieldExpr?: string; label?: string; mainColor?: boolean; useColorAsDefault?: boolean; valueExpr?: Function | string; }>; /** * Switches the widget to a right-to-left representation. */ rtlEnabled: boolean; /** * Specifies whether to apply shading to cover the timetable up to the current time. */ shadeUntilCurrentTime: boolean; /** * Specifies the "All-day" panel's visibility. Setting this option to false hides the panel along with the all-day appointments. */ showAllDayPanel: boolean; /** * Specifies the current date-time indicator's visibility. */ showCurrentTimeIndicator: boolean; /** * Specifies the name of the data source item field that defines the start of an appointment. */ startDateExpr: string; /** * Specifies the name of the data source item field that defines the timezone of the appointment start date. */ startDateTimeZoneExpr: string; /** * Specifies a start hour in the scheduler view's time interval. */ startDayHour: number; /** * Specifies the number of the element when the Tab key is used for navigating. */ tabIndex: number; /** * Specifies the name of the data source item field that holds the subject of an appointment. */ textExpr: string; /** * The template to be used for rendering time scale items. */ timeCellTemplate: any; /** * Specifies the timezone of the widget. */ timeZone: string; /** * Specifies whether a user can switch views using tabs or a drop-down menu. */ useDropDownViewSwitcher: boolean; /** * Configures individual views. */ views: string | Array; intervalCount?: number; maxAppointmentsPerCell?: number | string; name?: string; resourceCellTemplate?: any; startDate?: Date | number | string; startDayHour?: number; timeCellTemplate?: any; type?: string; }>; /** * Specifies whether the widget is visible. */ visible: boolean; /** * Specifies the widget's width. */ width: number | Function | string; /** * A handler for the appointmentAdded event. */ onAppointmentAdded: EventEmitter; /** * A handler for the AppointmentAdding event. */ onAppointmentAdding: EventEmitter; /** * A handler for the appointmentClick event. */ onAppointmentClick: EventEmitter; /** * A handler for the appointmentDblClick event. */ onAppointmentDblClick: EventEmitter; /** * A handler for the appointmentDeleted event. */ onAppointmentDeleted: EventEmitter; /** * A handler for the AppointmentDeleting event. */ onAppointmentDeleting: EventEmitter; /** * A handler for the appointmentFormCreated event. */ onAppointmentFormCreated: EventEmitter; /** * A handler for the appointmentRendered event. */ onAppointmentRendered: EventEmitter; /** * A handler for the appointmentUpdated event. */ onAppointmentUpdated: EventEmitter; /** * A handler for the AppointmentUpdating event. */ onAppointmentUpdating: EventEmitter; /** * A handler for the cellClick event. */ onCellClick: EventEmitter; /** * A handler for the contentReady event. Executed when the widget's content is ready. This handler may be executed multiple times during the widget's lifetime depending on the number of times its content changes. */ onContentReady: EventEmitter; /** * A handler for the disposing event. Executed when the widget is removed from the DOM using the remove(), empty(), or html() jQuery methods only. */ onDisposing: EventEmitter; /** * A handler for the initialized event. Executed only once, after the widget is initialized. */ onInitialized: EventEmitter; /** * A handler for the optionChanged event. Executed after an option of the widget is changed. */ onOptionChanged: EventEmitter; /** * A handler for the accessKeyChange event. */ accessKeyChange: EventEmitter; /** * A handler for the allDayExprChange event. */ allDayExprChange: EventEmitter; /** * A handler for the appointmentTemplateChange event. */ appointmentTemplateChange: EventEmitter; /** * A handler for the appointmentTooltipTemplateChange event. */ appointmentTooltipTemplateChange: EventEmitter; /** * A handler for the cellDurationChange event. */ cellDurationChange: EventEmitter; /** * A handler for the crossScrollingEnabledChange event. */ crossScrollingEnabledChange: EventEmitter; /** * A handler for the currentDateChange event. */ currentDateChange: EventEmitter; /** * A handler for the currentViewChange event. */ currentViewChange: EventEmitter; /** * A handler for the dataCellTemplateChange event. */ dataCellTemplateChange: EventEmitter; /** * A handler for the dataSourceChange event. */ dataSourceChange: EventEmitter>; /** * A handler for the dateCellTemplateChange event. */ dateCellTemplateChange: EventEmitter; /** * A handler for the dateSerializationFormatChange event. */ dateSerializationFormatChange: EventEmitter; /** * A handler for the descriptionExprChange event. */ descriptionExprChange: EventEmitter; /** * A handler for the disabledChange event. */ disabledChange: EventEmitter; /** * A handler for the dropDownAppointmentTemplateChange event. */ dropDownAppointmentTemplateChange: EventEmitter; /** * A handler for the editingChange event. */ editingChange: EventEmitter; /** * A handler for the elementAttrChange event. */ elementAttrChange: EventEmitter; /** * A handler for the endDateExprChange event. */ endDateExprChange: EventEmitter; /** * A handler for the endDateTimeZoneExprChange event. */ endDateTimeZoneExprChange: EventEmitter; /** * A handler for the endDayHourChange event. */ endDayHourChange: EventEmitter; /** * A handler for the firstDayOfWeekChange event. */ firstDayOfWeekChange: EventEmitter; /** * A handler for the focusStateEnabledChange event. */ focusStateEnabledChange: EventEmitter; /** * A handler for the groupsChange event. */ groupsChange: EventEmitter>; /** * A handler for the heightChange event. */ heightChange: EventEmitter; /** * A handler for the hintChange event. */ hintChange: EventEmitter; /** * A handler for the horizontalScrollingEnabledChange event. */ horizontalScrollingEnabledChange: EventEmitter; /** * A handler for the indicatorUpdateIntervalChange event. */ indicatorUpdateIntervalChange: EventEmitter; /** * A handler for the maxChange event. */ maxChange: EventEmitter; /** * A handler for the maxAppointmentsPerCellChange event. */ maxAppointmentsPerCellChange: EventEmitter; /** * A handler for the minChange event. */ minChange: EventEmitter; /** * A handler for the noDataTextChange event. */ noDataTextChange: EventEmitter; /** * A handler for the recurrenceEditModeChange event. */ recurrenceEditModeChange: EventEmitter; /** * A handler for the recurrenceExceptionExprChange event. */ recurrenceExceptionExprChange: EventEmitter; /** * A handler for the recurrenceRuleExprChange event. */ recurrenceRuleExprChange: EventEmitter; /** * A handler for the remoteFilteringChange event. */ remoteFilteringChange: EventEmitter; /** * A handler for the resourceCellTemplateChange event. */ resourceCellTemplateChange: EventEmitter; /** * A handler for the resourcesChange event. */ resourcesChange: EventEmitter; displayExpr?: Function | string; field?: string; fieldExpr?: string; label?: string; mainColor?: boolean; useColorAsDefault?: boolean; valueExpr?: Function | string; }>>; /** * A handler for the rtlEnabledChange event. */ rtlEnabledChange: EventEmitter; /** * A handler for the shadeUntilCurrentTimeChange event. */ shadeUntilCurrentTimeChange: EventEmitter; /** * A handler for the showAllDayPanelChange event. */ showAllDayPanelChange: EventEmitter; /** * A handler for the showCurrentTimeIndicatorChange event. */ showCurrentTimeIndicatorChange: EventEmitter; /** * A handler for the startDateExprChange event. */ startDateExprChange: EventEmitter; /** * A handler for the startDateTimeZoneExprChange event. */ startDateTimeZoneExprChange: EventEmitter; /** * A handler for the startDayHourChange event. */ startDayHourChange: EventEmitter; /** * A handler for the tabIndexChange event. */ tabIndexChange: EventEmitter; /** * A handler for the textExprChange event. */ textExprChange: EventEmitter; /** * A handler for the timeCellTemplateChange event. */ timeCellTemplateChange: EventEmitter; /** * A handler for the timeZoneChange event. */ timeZoneChange: EventEmitter; /** * A handler for the useDropDownViewSwitcherChange event. */ useDropDownViewSwitcherChange: EventEmitter; /** * A handler for the viewsChange event. */ viewsChange: EventEmitter; intervalCount?: number; maxAppointmentsPerCell?: number | string; name?: string; resourceCellTemplate?: any; startDate?: Date | number | string; startDayHour?: number; timeCellTemplate?: any; type?: string; }>>; /** * A handler for the visibleChange event. */ visibleChange: EventEmitter; /** * A handler for the widthChange event. */ widthChange: EventEmitter; resourcesChildren: QueryList; viewsChildren: QueryList; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, injector: Injector, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, optionHost: NestedOptionHost); protected _createInstance(element: any, options: any): DxScheduler; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; setupChanges(prop: string, changes: SimpleChanges): void; ngDoCheck(): void; _setOption(name: string, value: any): void; } export declare class DxSchedulerModule { }