igniteui-react-grids
Version:
Ignite UI React grid components.
85 lines (84 loc) • 3.19 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 PagerVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(PagerVisualModelExport, _super);
function PagerVisualModelExport() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_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;
return _this;
}
PagerVisualModelExport.prototype.j = function () {
var 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 = markType(PagerVisualModelExport, 'PagerVisualModelExport');
return PagerVisualModelExport;
}(Base));
export { PagerVisualModelExport };