igniteui-react-grids
Version:
Ignite UI React grid components.
232 lines (231 loc) • 8.94 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-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
*/
export let VisualModelExport = /*@__PURE__*/ (() => {
class VisualModelExport extends Base {
constructor() {
super();
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;
}
a7() {
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);
}
a6() {
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();
}
a5() {
let 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 (let b = 0; b < this.ap.count; b++) {
let 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) {
let 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 = /*@__PURE__*/ markType(VisualModelExport, 'VisualModelExport');
return VisualModelExport;
})();