igniteui-react-inputs
Version:
Ignite UI React input components.
67 lines (66 loc) • 2.62 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 TextBlockVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(TextBlockVisualModelExport, _super);
function TextBlockVisualModelExport() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.c = 0;
_this.e = 0;
_this.f = 0;
_this.b = 0;
_this.a = null;
_this.k = null;
_this.l = null;
_this.m = null;
_this.d = 0;
_this.i = null;
_this.j = null;
_this.h = null;
return _this;
}
TextBlockVisualModelExport.prototype.g = function () {
var a = new StringBuilder(0);
a.l("{");
a.l("left: " + this.c + ", ");
a.l("top: " + this.e + ", ");
a.l("width: " + this.f + ", ");
a.l("height: " + this.b + ", ");
a.l("text : \"" + this.h + "\", ");
a.l("actualTextColor: " + this.a.serialize() + ", ");
if (!stringIsNullOrEmpty(this.k)) {
a.l("textStyleFontStyle: \"" + this.k + "\", ");
}
if (!stringIsNullOrEmpty(this.l)) {
a.l("textStyleFontVariant: \"" + this.l + "\", ");
}
if (!stringIsNullOrEmpty(this.m)) {
a.l("textStyleFontWeight: \"" + this.m + "\", ");
}
if (!stringIsNullOrEmpty(this.i)) {
a.l("textStyleFontFamily: \"" + this.i + "\", ");
}
if (!stringIsNullOrEmpty(this.j)) {
a.l("textStyleFontStretch: \"" + this.j + "\", ");
}
if (!isNaN_(this.d)) {
a.l("textStyleFontSize: " + this.d + ", ");
}
a.l("}");
return a.toString();
};
TextBlockVisualModelExport.$t = markType(TextBlockVisualModelExport, 'TextBlockVisualModelExport');
return TextBlockVisualModelExport;
}(Base));
export { TextBlockVisualModelExport };