igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
235 lines (234 loc) • 7.25 kB
JavaScript
import { __extends } from "tslib";
import { IgxFormatSpecifier } from "./igx-format-specifier";
import { DateTimeFormatSpecifier as DateTimeFormatSpecifier_internal } from "./DateTimeFormatSpecifier";
var IgxDateTimeFormatSpecifier = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgxDateTimeFormatSpecifier, _super);
function IgxDateTimeFormatSpecifier() {
return _super.call(this) || this;
}
IgxDateTimeFormatSpecifier.prototype.createImplementation = function () {
return new DateTimeFormatSpecifier_internal();
};
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "locale", {
get: function () {
return this.i.locale;
},
set: function (v) {
this.i.locale = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "dateStyle", {
get: function () {
return this.i.dateStyle;
},
set: function (v) {
this.i.dateStyle = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "timeStyle", {
get: function () {
return this.i.timeStyle;
},
set: function (v) {
this.i.timeStyle = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "fractionalSecondDigits", {
get: function () {
return this.i.fractionalSecondDigits;
},
set: function (v) {
this.i.fractionalSecondDigits = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "calendar", {
get: function () {
return this.i.calendar;
},
set: function (v) {
this.i.calendar = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "dayPeriod", {
get: function () {
return this.i.dayPeriod;
},
set: function (v) {
this.i.dayPeriod = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "numberingSystem", {
get: function () {
return this.i.numberingSystem;
},
set: function (v) {
this.i.numberingSystem = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "localeMatcher", {
get: function () {
return this.i.localeMatcher;
},
set: function (v) {
this.i.localeMatcher = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "timeZone", {
get: function () {
return this.i.timeZone;
},
set: function (v) {
this.i.timeZone = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "hour12", {
get: function () {
return this.i.hour12;
},
set: function (v) {
this.i.hour12 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "hourCycle", {
get: function () {
return this.i.hourCycle;
},
set: function (v) {
this.i.hourCycle = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "formatMatcher", {
get: function () {
return this.i.formatMatcher;
},
set: function (v) {
this.i.formatMatcher = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "weekDay", {
get: function () {
return this.i.weekDay;
},
set: function (v) {
this.i.weekDay = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "era", {
get: function () {
return this.i.era;
},
set: function (v) {
this.i.era = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "year", {
get: function () {
return this.i.year;
},
set: function (v) {
this.i.year = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "month", {
get: function () {
return this.i.month;
},
set: function (v) {
this.i.month = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "day", {
get: function () {
return this.i.day;
},
set: function (v) {
this.i.day = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "hour", {
get: function () {
return this.i.hour;
},
set: function (v) {
this.i.hour = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "minute", {
get: function () {
return this.i.minute;
},
set: function (v) {
this.i.minute = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "second", {
get: function () {
return this.i.second;
},
set: function (v) {
this.i.second = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDateTimeFormatSpecifier.prototype, "timeZoneName", {
get: function () {
return this.i.timeZoneName;
},
set: function (v) {
this.i.timeZoneName = v;
},
enumerable: false,
configurable: true
});
return IgxDateTimeFormatSpecifier;
}(IgxFormatSpecifier));
export { IgxDateTimeFormatSpecifier };