igniteui-react-inputs
Version:
Ignite UI React input components.
102 lines (101 loc) • 3.6 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 IconVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IconVisualModelExport, _super);
function IconVisualModelExport() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.i = 0;
_this.g = 0;
_this.f = 0;
_this.j = 0;
_this.a = null;
_this.b = null;
_this.d = null;
_this.c = null;
_this.e = 0;
_this._svgPath = null;
_this._svg = null;
_this.k = null;
_this.q = null;
_this.r = null;
_this.s = null;
_this.h = 0;
_this.o = null;
_this.p = null;
return _this;
}
Object.defineProperty(IconVisualModelExport.prototype, "svgPath", {
get: function () {
return this._svgPath;
},
set: function (a) {
this._svgPath = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IconVisualModelExport.prototype, "svg", {
get: function () {
return this._svg;
},
set: function (a) {
this._svg = a;
},
enumerable: false,
configurable: true
});
IconVisualModelExport.prototype.l = function () {
var a = new StringBuilder(0);
a.l("{");
a.l("shapes: [");
if (this.a != null && this.a.length > 0) {
for (var b = 0; b < this.a.length; b++) {
var c = this.a[b].serialize();
a = b < this.a.length - 1 ? a.l(c + ", ") : a.l(c);
}
}
a.u("], ");
a.l("top : " + this.i + ", ");
a.l("left : " + this.g + ", ");
a.l("height : " + this.f + ", ");
a.l("width : " + this.j + ", ");
a.l("svg : \"" + this.svg + "\", ");
a.l("svgPath : \"" + this.svgPath + "\", ");
a.l("dataURL : \"" + this.k + "\", ");
if (!stringIsNullOrEmpty(this.q)) {
a.l("textStyleFontStyle : \"" + this.q + "\", ");
}
if (!stringIsNullOrEmpty(this.r)) {
a.l("textStyleFontVariant : \"" + this.r + "\", ");
}
if (!stringIsNullOrEmpty(this.s)) {
a.l("textStyleFontWeight : \"" + this.s + "\", ");
}
if (!stringIsNullOrEmpty(this.o)) {
a.l("textStyleFontFamily : \"" + this.o + "\", ");
}
if (!stringIsNullOrEmpty(this.p)) {
a.l("textStyleFontStretch : \"" + this.p + "\", ");
}
if (!isNaN_(this.h)) {
a.l("textStyleFontSize : " + this.h + ", ");
}
a.l("}");
return a.toString();
};
IconVisualModelExport.$t = markType(IconVisualModelExport, 'IconVisualModelExport');
return IconVisualModelExport;
}(Base));
export { IconVisualModelExport };