UNPKG

@syncfusion/ej2-schedule

Version:

Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.

47 lines (46 loc) 1.46 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { VerticalView } from './vertical-view'; /** * work week view */ var WorkWeek = /** @class */ (function (_super) { __extends(WorkWeek, _super); /** * Constructor for work week view * * @param {Schedule} parent Accepts the schedule instance */ function WorkWeek(parent) { var _this = _super.call(this, parent) || this; _this.viewClass = 'e-work-week-view'; return _this; } WorkWeek.prototype.startDate = function () { return this.getViewStartDate(); }; WorkWeek.prototype.endDate = function () { return this.getViewEndDate(); }; /** * Get module name. * * @returns {string} Returns the module name. */ WorkWeek.prototype.getModuleName = function () { return 'workWeek'; }; return WorkWeek; }(VerticalView)); export { WorkWeek };