igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
78 lines (77 loc) • 2.8 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 { StringBuilder } from "igniteui-angular-core";
import { stringIsNullOrEmpty } from "igniteui-angular-core";
import { isNaN_ } from "igniteui-angular-core";
/**
* @hidden
*/
export class InputVisualModelExport extends Base {
constructor() {
super(...arguments);
this.i = 0;
this.g = 0;
this.j = 0;
this.f = 0;
this.b = 0;
this.c = 0;
this.l = null;
this.o = null;
this.d = false;
this.a = null;
this.s = null;
this.t = null;
this.u = null;
this.h = 0;
this.q = null;
this.r = null;
this.k = null;
this.n = null;
this.e = false;
this.v = null;
this.m = null;
}
static { this.$t = markType(InputVisualModelExport, 'InputVisualModelExport'); }
p() {
let a = new StringBuilder(0);
a.m("{");
a.m("top : " + this.i + ", ");
a.m("left : " + this.g + ", ");
a.m("shiftType : " + this.b + ", ");
a.m("actualDensity : " + this.c + ", ");
a.m("mask : \"" + this.l + "\", ");
a.m("promptChar : \"" + this.o + "\", ");
a.m("includeLiterals : " + this.d + ", ");
a.m("actualTextColor : " + this.a.serialize() + ", ");
if (!stringIsNullOrEmpty(this.s)) {
a.m("textStyleFontStyle : \"" + this.s + "\", ");
}
if (!stringIsNullOrEmpty(this.t)) {
a.m("textStyleFontVariant : \"" + this.t + "\", ");
}
if (!stringIsNullOrEmpty(this.u)) {
a.m("textStyleFontWeight : \"" + this.u + "\", ");
}
if (!stringIsNullOrEmpty(this.q)) {
a.m("textStyleFontFamily : \"" + this.q + "\", ");
}
if (!stringIsNullOrEmpty(this.r)) {
a.m("textStyleFontStretch : \"" + this.r + "\", ");
}
if (!isNaN_(this.h)) {
a.m("textStyleFontSize : " + this.h + ", ");
}
a.m("inputType : \"" + this.k + "\", ");
a.m("placeholder : \"" + this.n + "\", ");
a.m("isHover : " + this.e + ", ");
a.m("value : \"" + this.v + "\", ");
a.m("name : \"" + this.m + "\", ");
a.m("}");
return a.toString();
}
}