UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

234 lines (233 loc) 8.45 kB
/* 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 { RectData } from "igniteui-react-core"; import { GridLayerExport } from "./GridLayerExport"; import { List$1 } from "igniteui-react-core"; import { StringBuilder } from "igniteui-react-core"; /** * @hidden */ var VisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) { __extends(VisualModelExport, _super); function VisualModelExport() { var _this = _super.call(this) || this; _this.ao = null; _this.ar = 0; _this.aq = 0; _this.ax = 0; _this.aw = 0; _this.au = 0; _this.av = 0; _this.as = 0; _this.a0 = 0; _this.a1 = 0; _this.a2 = 0; _this.az = 0; _this.ay = 0; _this.a3 = 0; _this.ae = null; _this.a = null; _this.ah = null; _this.b = null; _this.t = null; _this.r = null; _this.u = null; _this.i = null; _this.c = null; _this.l = null; _this.g = null; _this.h = null; _this.ad = null; _this.w = null; _this.v = null; _this.x = null; _this.ag = null; _this.af = null; _this.p = null; _this.o = null; _this.aj = null; _this.ai = null; _this.k = null; _this.j = null; _this.e = null; _this.d = null; _this.n = null; _this.m = null; _this.ak = null; _this.q = null; _this.f = null; _this.s = null; _this.y = null; _this.aa = null; _this.ab = null; _this.ac = null; _this.z = null; _this.am = null; _this.al = null; _this.an = null; _this.at = 0; _this.ap = null; _this.a4 = 0; _this.ao = RectData.empty; _this.ae = new GridLayerExport("SubContentLayer"); _this.a = new GridLayerExport("ContentLayer"); _this.ah = new GridLayerExport("SuperContentLayer"); _this.b = new GridLayerExport("DecoratorLayer"); _this.t = new GridLayerExport("PinnedRowsSubLayer"); _this.r = new GridLayerExport("PinnedRowsLayer"); _this.u = new GridLayerExport("PinnedRowsSuperLayer"); _this.i = new GridLayerExport("FixedSubContentLayer"); _this.c = new GridLayerExport("FixedContentLayer"); _this.l = new GridLayerExport("FixedSuperContentLayer"); _this.g = new GridLayerExport("FixedPinnedRowsLayer"); _this.h = new GridLayerExport("FixedSeparatorLayer"); _this.ad = new GridLayerExport("SectionLayer"); _this.w = new GridLayerExport("PinnedSectionSubLayer"); _this.v = new GridLayerExport("PinnedSectionLayer"); _this.x = new GridLayerExport("PinnedSectionSuperLayer"); _this.ag = new GridLayerExport("SubHeaderLayer"); _this.af = new GridLayerExport("SubHeaderDecoratorLayer"); _this.p = new GridLayerExport("HeaderLayer"); _this.o = new GridLayerExport("HeaderDecoratorLayer"); _this.aj = new GridLayerExport("SuperHeaderLayer"); _this.ai = new GridLayerExport("SuperHeaderDecoratorLayer"); _this.k = new GridLayerExport("FixedSubHeaderLayer"); _this.j = new GridLayerExport("FixedSubHeaderDecoratorLayer"); _this.e = new GridLayerExport("FixedHeaderLayer"); _this.d = new GridLayerExport("FixedHeaderDecoratorLayer"); _this.n = new GridLayerExport("FixedSuperHeaderLayer"); _this.m = new GridLayerExport("FixedSuperHeaderDecoratorLayer"); _this.ak = new GridLayerExport("VerticalSeparatorLayer"); _this.q = new GridLayerExport("HiddenLayer"); _this.f = new GridLayerExport("FixedMergedCellsLayer"); _this.s = new GridLayerExport("PinnedRowsMergedCellsLayer"); _this.y = new GridLayerExport("RowSeparatorContentLayer"); _this.aa = new GridLayerExport("RowSeparatorPinnedSectionLayer"); _this.ab = new GridLayerExport("RowSeparatorPinnedSectionSuperLayer"); _this.ac = new GridLayerExport("RowSeparatorSectionLayer"); _this.z = new GridLayerExport("RowSeparatorFixedPinnedRowsLayer"); _this.at = 1; return _this; } VisualModelExport.prototype.a7 = function () { this.ap = new List$1(GridLayerExport.$, 0); this.ap.add(this.ae); this.ap.add(this.a); this.ap.add(this.y); this.ap.add(this.ah); this.ap.add(this.b); this.ap.add(this.t); this.ap.add(this.r); this.ap.add(this.u); this.ap.add(this.i); this.ap.add(this.c); this.ap.add(this.l); this.ap.add(this.g); this.ap.add(this.z); this.ap.add(this.s); this.ap.add(this.f); this.ap.add(this.h); this.ap.add(this.ad); this.ap.add(this.ac); this.ap.add(this.w); this.ap.add(this.v); this.ap.add(this.aa); this.ap.add(this.x); this.ap.add(this.ab); this.ap.add(this.ag); this.ap.add(this.af); this.ap.add(this.p); this.ap.add(this.o); this.ap.add(this.aj); this.ap.add(this.ai); this.ap.add(this.k); this.ap.add(this.j); this.ap.add(this.e); this.ap.add(this.d); this.ap.add(this.n); this.ap.add(this.m); this.ap.add(this.ak); }; VisualModelExport.prototype.a6 = function () { this.ae.f(); this.a.f(); this.ah.f(); this.b.f(); this.t.f(); this.r.f(); this.u.f(); this.i.f(); this.c.f(); this.l.f(); this.g.f(); this.h.f(); this.ad.f(); this.w.f(); this.v.f(); this.x.f(); this.ag.f(); this.af.f(); this.p.f(); this.o.f(); this.aj.f(); this.ai.f(); this.k.f(); this.j.f(); this.e.f(); this.d.f(); this.n.f(); this.m.f(); this.ak.f(); this.s.f(); this.f.f(); this.y.f(); this.z.f(); this.ac.f(); this.aa.f(); this.ab.f(); }; VisualModelExport.prototype.a5 = function () { var a = new StringBuilder(0); a.l("{"); a.l("top : " + this.a2 + ", "); a.l("left : " + this.az + ", "); a.l("height : " + this.ay + ", "); a.l("width : " + this.a3 + ", "); a.l("absoluteWidth : " + this.ar + ", "); a.l("absoluteHeight : " + this.aq + ", "); a.l("headerHeight : " + this.ax + ", "); a.l("fixedRowHeight : " + this.aw + ", "); a.l("fixedColumnWidthLeft : " + this.au + ", "); a.l("fixedColumnWidthRight : " + this.av + ", "); a.l("dipScalingRatio: " + this.at + ", "); a.l("columnSpacing : " + this.as + ", "); a.l("separatorLeft : " + this.a0 + ", "); a.l("separatorRight : " + this.a1 + ", "); for (var b = 0; b < this.ap.count; b++) { var c = this.ap._inner[b].c.charAt(0).toString().toLowerCase() + this.ap._inner[b].c.substr(1); a.l(c + ": " + this.ap._inner[b].d() + ", "); } if (this.am != null) { var d = "ColumnGroupingArea"; a.l(d + ": " + this.am.serialize() + ", "); } if (this.al != null) { a.l("pager : " + this.al.j() + ", "); } if (this.an != null) { a.l("toolbar : " + this.an.serialize() + ", "); } a.l("actualVisibleRegion: { left: " + this.ao.left + ", top: " + this.ao.top + ", width: " + this.ao.width + ", height: " + this.ao.height + "}"); a.l("}"); return a.toString(); }; VisualModelExport.$t = markType(VisualModelExport, 'VisualModelExport'); return VisualModelExport; }(Base)); export { VisualModelExport };