UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

61 lines (60 loc) 1.99 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { Description } from "./Description"; import { markType } from "./type"; /** * @hidden */ export let CalendarDateDescription = /*@__PURE__*/ (() => { class CalendarDateDescription extends Description { constructor() { super(); this.m = new Date(); this.g = false; this.i = false; this.h = false; } get_type() { return "CalendarDate"; } get type() { return this.get_type(); } get date() { return this.m; } set date(a) { this.m = a; this.e("Date"); } get isCurrentMonth() { return this.g; } set isCurrentMonth(a) { this.g = a; this.e("IsCurrentMonth"); } get isPrevMonth() { return this.i; } set isPrevMonth(a) { this.i = a; this.e("IsPrevMonth"); } get isNextMonth() { return this.h; } set isNextMonth(a) { this.h = a; this.e("IsNextMonth"); } } CalendarDateDescription.$t = markType(CalendarDateDescription, 'CalendarDateDescription', Description.$); CalendarDateDescription.__marshalByValue = true; CalendarDateDescription.__marshalByValueAlias = "CalendarDate"; return CalendarDateDescription; })();