UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

83 lines (82 loc) 3.21 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-react-core"; import { StringBuilder } from "igniteui-react-core"; import { stringIsNullOrEmpty } from "igniteui-react-core"; import { isNaN_ } from "igniteui-react-core"; /** * @hidden */ export let PagerVisualModelExport = /*@__PURE__*/ (() => { class PagerVisualModelExport extends Base { constructor() { super(...arguments); this.a = null; this.b = null; this.n = null; this.o = null; this.p = null; this.g = 0; this.l = null; this.m = null; this.h = 0; this.i = 0; this.k = null; this.c = null; this.f = null; this.e = null; this.d = null; } j() { let a = new StringBuilder(0); a.l("{"); if (this.a != null) { a.l("actualBackgroundColor : " + this.a.serialize() + ", "); } if (this.b != null) { a.l("actualBorderColor : " + this.b.serialize() + ", "); } if (!stringIsNullOrEmpty(this.n)) { a.l("textStyleFontStyle : \"" + this.n + "\", "); } if (!stringIsNullOrEmpty(this.o)) { a.l("textStyleFontVariant : \"" + this.o + "\", "); } if (!stringIsNullOrEmpty(this.p)) { a.l("textStyleFontWeight : \"" + this.p + "\", "); } if (!stringIsNullOrEmpty(this.l)) { a.l("textStyleFontFamily : \"" + this.l + "\", "); } if (!stringIsNullOrEmpty(this.m)) { a.l("textStyleFontStretch : \"" + this.m + "\", "); } if (!isNaN_(this.g)) { a.l("textStyleFontSize : " + this.g + ", "); } a.l("text : '" + this.k + "', "); a.l("currentPage : " + this.h + ", "); a.l("pageCount : " + this.i + ", "); if (this.c != null) { a.l("firstPageButton : " + this.c.serialize() + ", "); } if (this.f != null) { a.l("previousPageButton : " + this.f.serialize() + ", "); } if (this.e != null) { a.l("nextPageButton : " + this.e.serialize() + ", "); } if (this.d != null) { a.l("lastPageButton : " + this.d.serialize() + ", "); } a.l("}"); return a.toString(); } } PagerVisualModelExport.$t = /*@__PURE__*/ markType(PagerVisualModelExport, 'PagerVisualModelExport'); return PagerVisualModelExport; })();