igniteui-react-inputs
Version:
Ignite UI React input components.
73 lines (72 loc) • 2.76 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 { Base, markType } from "igniteui-react-core";
import { StringBuilder } from "igniteui-react-core";
import { stringIsNullOrEmpty } from "igniteui-react-core";
import { isNaN_ } from "igniteui-react-core";
/**
* @hidden
*/
var DatePickerVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(DatePickerVisualModelExport, _super);
function DatePickerVisualModelExport() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.e = 0;
_this.d = 0;
_this.j = null;
_this.k = null;
_this.l = null;
_this.f = 0;
_this.h = null;
_this.i = null;
_this.c = null;
_this.b = null;
_this.a = null;
return _this;
}
DatePickerVisualModelExport.prototype.g = function () {
var a = new StringBuilder(0);
a.l("{");
a.l("density : " + this.e + ", ");
a.l("baseTheme : " + this.d + ", ");
if (!stringIsNullOrEmpty(this.j)) {
a.l("textStyleFontStyle : \"" + this.j + "\", ");
}
if (!stringIsNullOrEmpty(this.k)) {
a.l("textStyleFontVariant : \"" + this.k + "\", ");
}
if (!stringIsNullOrEmpty(this.l)) {
a.l("textStyleFontWeight : \"" + this.l + "\", ");
}
if (!stringIsNullOrEmpty(this.h)) {
a.l("textStyleFontFamily : \"" + this.h + "\", ");
}
if (!stringIsNullOrEmpty(this.i)) {
a.l("textStyleFontStretch : \"" + this.i + "\", ");
}
if (!isNaN_(this.f)) {
a.l("textStyleFontSize : " + this.f + ", ");
}
var b = "popupModel";
a.l(b + ": " + this.c.f() + ", ");
var c = "inputGroupModel";
a.l(c + ": " + this.b.y() + ", ");
var d = "calendarModel";
if (this.c.d) {
a.l(d + ": " + this.a.o() + ", ");
}
else {
a.l(d + ":{}, ");
}
a.l("}");
return a.toString();
};
DatePickerVisualModelExport.$t = markType(DatePickerVisualModelExport, 'DatePickerVisualModelExport');
return DatePickerVisualModelExport;
}(Base));
export { DatePickerVisualModelExport };