import { ViewContainerRef } from '@angular/core'; import { ComplexBase, ArrayBase } from '@syncfusion/ej2-ng-base'; /** * `e-views` directive represent a view of the Angular Schedule. * It must be contained in a Schedule component(`ejs-schedule`). * ```html * * * * * * * ``` */ export declare class ViewsModelDirective extends ComplexBase { private viewContainerRef; /** * It is used to allow or disallow the virtual scrolling functionality on Agenda View. This is applicable only on Agenda view. * @default true */ allowVirtualScrolling: any; /** * By default, Schedule follows the date-format as per the default culture assigned to it. It is also possible to manually set * specific date format by using the `dateFormat` property. The format of the date range label in the header bar depends on * the `dateFormat` value or else based on the locale assigned to the Schedule. * It gets applied only to the view objects on which it is defined. * @default null */ dateFormat: any; /** * When the same view is customized with different intervals, this property allows the user to set different display name * for each of the views. * @default null */ displayName: any; /** * It is used to specify the end hour, at which the Schedule ends. It too accepts the time string in a short skeleton format. * @default '24:00' */ endHour: any; /** * Allows to set different resource grouping options on all available schedule view modes. * @default { byDate: false, byGroupID: true, allowGroupEdit: false, resources:[]} */ group: any; /** * It accepts the number value denoting to include the number of days, weeks, workweeks or months on the defined view type. * @default 1 */ interval: any; /** * To denote whether the view name given on the `option` is active or not. * It acts similar to the `currentView` property and defines the active view of Schedule. * @default false */ isSelected: any; /** * It accepts the schedule view name, based on which we can define with its related properties in a single object. * @default null */ option: any; /** * When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events. * By default, it is set to `true`. It gets applied only to the view objects on which it is defined. * @default false */ readonly: any; /** * When set to `false`, it hides the weekend days of a week from the Schedule. * The days which are not defined in the working days collection are usually treated as weekend days. * Note: By default, this option is not applicable on `Work Week` view. * For example, if the working days are defined as [1, 2, 3, 4], then the remaining days of that week will be considered as the * weekend days and will be hidden on all the views. * @default true */ showWeekend: any; /** * It is used to specify the starting hour, from which the Schedule starts to display. * It accepts the time string in a short skeleton format and also, hides the time beyond the specified start time. * @default '00:00' */ startHour: any; /** * Allows to set different timescale configuration on each applicable view modes such as day, week and work week. * @default { enable: true, interval: 60, slotCount: 2, majorSlotTemplate: null, minorSlotTemplate: null } */ timeScale: any; /** * It is used to set the working days on Schedule. The only days that are defined in this collection will be rendered on the * `workWeek` view whereas on other views, it will display all the usual days and simply highlights the working days with different * shade. * @default '[1, 2, 3, 4, 5]' * @asptype int[] */ workDays: any; /** * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the * date header cells. The field that can be accessed via this template is `date`. * It gets applied only to the view objects on which it is defined. * @default null */ dateHeaderTemplate: any; /** * The template option which is used to render the customized work cells on the Schedule. Here, the * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the work cells. * The field accessible via template is `date`. It gets applied only to the view objects on which it is defined. * @default null */ cellTemplate: any; /** * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto * the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code. * It is similar to that of the `template` option available within the `eventSettings` property, * whereas it will get applied only on the events of the view to which it is currently being defined. * @default null */ eventTemplate: any; /** * The template option which is used to render the customized header cells on the Schedule. Here, the * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header cells. * All the resource fields mapped within resources can be accessed within this template code. * It gets applied only to the view objects on which it is defined. * @default null */ resourceHeaderTemplate: any; constructor(viewContainerRef: ViewContainerRef); } /** * ViewsModel Array Directive * @private */ export declare class ViewsDirective extends ArrayBase { constructor(); }