igniteui-react-core
Version:
Ignite UI React Core.
83 lines (82 loc) • 2.81 kB
JavaScript
/*
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 { __extends } from "tslib";
import { Description } from "./Description";
import { markType } from "./type";
/**
* @hidden
*/
var CalendarDateDescription = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(CalendarDateDescription, _super);
function CalendarDateDescription() {
var _this = _super.call(this) || this;
_this.o = new Date();
_this.i = false;
_this.k = false;
_this.j = false;
return _this;
}
CalendarDateDescription.prototype.get_type = function () {
return "CalendarDate";
};
Object.defineProperty(CalendarDateDescription.prototype, "type", {
get: function () {
return this.get_type();
},
enumerable: false,
configurable: true
});
Object.defineProperty(CalendarDateDescription.prototype, "date", {
get: function () {
return this.o;
},
set: function (a) {
this.o = a;
this.g("Date");
},
enumerable: false,
configurable: true
});
Object.defineProperty(CalendarDateDescription.prototype, "isCurrentMonth", {
get: function () {
return this.i;
},
set: function (a) {
this.i = a;
this.g("IsCurrentMonth");
},
enumerable: false,
configurable: true
});
Object.defineProperty(CalendarDateDescription.prototype, "isPrevMonth", {
get: function () {
return this.k;
},
set: function (a) {
this.k = a;
this.g("IsPrevMonth");
},
enumerable: false,
configurable: true
});
Object.defineProperty(CalendarDateDescription.prototype, "isNextMonth", {
get: function () {
return this.j;
},
set: function (a) {
this.j = a;
this.g("IsNextMonth");
},
enumerable: false,
configurable: true
});
CalendarDateDescription.$t = markType(CalendarDateDescription, 'CalendarDateDescription', Description.$);
CalendarDateDescription.__marshalByValue = true;
CalendarDateDescription.__marshalByValueAlias = "CalendarDate";
return CalendarDateDescription;
}(Description));
export { CalendarDateDescription };