UNPKG

igniteui-webcomponents-inputs

Version:

Ignite UI Web Components inputs components.

69 lines (68 loc) 2.77 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 { Base, markType } from "igniteui-webcomponents-core"; import { StringBuilder } from "igniteui-webcomponents-core"; import { stringIsNullOrEmpty } from "igniteui-webcomponents-core"; import { isNaN_ } from "igniteui-webcomponents-core"; let DatePickerVisualModelExport = /*@__PURE__*/ (() => { class DatePickerVisualModelExport extends Base { constructor() { super(...arguments); 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; } g() { let 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 + ", "); } let b = "popupModel"; a.l(b + ": " + this.c.f() + ", "); let c = "inputGroupModel"; a.l(c + ": " + this.b.y() + ", "); let d = "calendarModel"; if (this.c.d) { a.l(d + ": " + this.a.o() + ", "); } else { a.l(d + ":{}, "); } a.l("}"); return a.toString(); } } DatePickerVisualModelExport.$t = /*@__PURE__*/ markType(DatePickerVisualModelExport, 'DatePickerVisualModelExport'); return DatePickerVisualModelExport; })(); export { DatePickerVisualModelExport };