igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
108 lines (107 loc) • 4.05 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 { Base, markType } from "igniteui-angular-core";
import { IVisualData_$type } from "igniteui-angular-core";
import { StringBuilder } from "igniteui-angular-core";
import { stringIsNullOrEmpty } from "igniteui-angular-core";
import { isNaN_ } from "igniteui-angular-core";
/**
* @hidden
*/
export class ButtonVisualModelExport extends Base {
constructor() {
super(...arguments);
this.s = 0;
this.q = 0;
this.p = 0;
this.t = 0;
this.h = 0;
this.i = 0;
this.c = null;
this.g = null;
this.d = null;
this.a = null;
this.u = 0;
this.e = null;
this.ag = null;
this.b = null;
this.j = 0;
this.f = null;
this.o = 0;
this.ad = null;
this.ae = null;
this.af = null;
this.r = 0;
this.ab = null;
this.ac = null;
this.x = null;
this.y = null;
this.z = null;
this.w = null;
this.v = null;
this.aa = null;
this.m = false;
this.k = false;
this.n = false;
this.l = false;
}
static { this.$t = markType(ButtonVisualModelExport, 'ButtonVisualModelExport', Base.$, [IVisualData_$type]); }
serialize() {
let a = new StringBuilder(0);
a.m("{");
a.m("top : " + this.s + ", ");
a.m("left : " + this.q + ", ");
a.m("height : " + this.p + ", ");
a.m("width : " + this.t + ", ");
a.m("baseTheme : " + this.h + ", ");
a.m("actualDensity : " + this.i + ", ");
a.m("actualBorderColor : " + this.c.serialize() + ", ");
a.m("actualUmbraShadowColor : " + this.g.serialize() + ", ");
a.m("actualPenumbraShadowColor : " + this.d.serialize() + ", ");
a.m("actualAmbientShadowColor : " + this.a.serialize() + ", ");
a.m("actualRestingElevation : " + this.u + ", ");
if (this.e != null) {
a.m("actualRippleColor : " + this.e.serialize() + ", ");
}
a.m("actualBackgroundColor : " + this.b.serialize() + ", ");
a.m("actualElevationMode : " + this.j + ", ");
a.m("actualTextColor : " + this.f.serialize() + ", ");
a.m("actualBorderWidth : " + this.o + ", ");
if (!stringIsNullOrEmpty(this.ad)) {
a.m("textStyleFontStyle : \"" + this.ad + "\", ");
}
if (!stringIsNullOrEmpty(this.ae)) {
a.m("textStyleFontVariant : \"" + this.ae + "\", ");
}
if (!stringIsNullOrEmpty(this.af)) {
a.m("textStyleFontWeight : \"" + this.af + "\", ");
}
if (!stringIsNullOrEmpty(this.ab)) {
a.m("textStyleFontFamily : \"" + this.ab + "\", ");
}
if (!stringIsNullOrEmpty(this.ac)) {
a.m("textStyleFontStretch : \"" + this.ac + "\", ");
}
if (!isNaN_(this.r)) {
a.m("textStyleFontSize : " + this.r + ", ");
}
a.m("display : \"" + this.x + "\", ");
a.m("flexDirection : \"" + this.y + "\", ");
a.m("flexGrow : \"" + this.z + "\", ");
a.m("alignItems : \"" + this.w + "\", ");
if (this.v != null) {
a.m("value : \"" + this.v.toString() + "\", ");
}
a.m("name : \"" + this.aa + "\", ");
a.m("isFocused : " + this.m + ", ");
a.m("actualDisableRipple : " + this.k + ", ");
a.m("isHover : " + this.n + ", ");
a.m("isDisabled : " + this.l + ", ");
a.m("}");
return a.toString();
}
}