UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

231 lines (230 loc) 7.04 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 { RowPath } from "./RowPath"; import { markType } from "igniteui-react-core"; /** * @hidden */ export let CellPath = /*@__PURE__*/ (() => { class CellPath extends RowPath { get a5() { return this.a3; } set a5(a) { this.a3 = a; this.ad(); } get bb() { return this.a4; } set bb(a) { this.a4 = a; } get af() { return this.ae; } set af(a) { this.ae = a; this.ad(); } ad() { super.ad(); this.a2 = (this.a5 * 100000000) + super.getHashCode() + this.af; } constructor(a, ..._rest) { a = (a == void 0) ? 0 : a; switch (a) { case 0: { let c = _rest[0]; let d = _rest[1]; let e = _rest[2]; let f = _rest[3]; let g = [d, e, f]; { let i = g[0]; let j = g[1]; let k = g[2]; super(j, k); this.a3 = 0; this.a4 = 0; this.ae = 1; this.a2 = -1; this.ax = false; this.ah = false; this.ag = false; this.au = false; this.ai = false; this.a3 = i; this.ad(); } this.b = c; this.ad(); } break; case 1: { let c = _rest[0]; let d = _rest[1]; let e = _rest[2]; super(d, e); this.a3 = 0; this.a4 = 0; this.ae = 1; this.a2 = -1; this.ax = false; this.ah = false; this.ag = false; this.au = false; this.ai = false; this.a3 = c; this.ad(); } break; case 2: { let c = _rest[0]; let d = _rest[1]; super(0, d); this.a3 = 0; this.a4 = 0; this.ae = 1; this.a2 = -1; this.ax = false; this.ah = false; this.ag = false; this.au = false; this.ai = false; this.a3 = c; this.ad(); } break; case 3: { let c = _rest[0]; let d = _rest[1]; let e = _rest[2]; super(0, d); this.a3 = 0; this.a4 = 0; this.ae = 1; this.a2 = -1; this.ax = false; this.ah = false; this.ag = false; this.au = false; this.ai = false; this.a3 = c; this.ae = e; this.ad(); } break; } } getHashCode() { return this.a2; } equals(a) { if (!super.equals(a)) { return false; } let b = a; if (a == null) { return false; } if (this.a3 != b.a3) { return false; } if (this.az != b.az) { return false; } if (this.aw != b.aw) { return false; } if (this.af != b.af) { return false; } return true; } toString() { return this.a3 + "." + super.toString(); } ab() { let a = new CellPath(0, this.b, this.a3, this.y, this.x); a.bb = this.bb; a.az = this.az; a.aw = this.aw; a.i = this.i; a.o = this.o; a.d = this.d; a.au = this.au; a.ai = this.ai; a.ax = this.ax; a.af = this.af; return a; } get ay() { return (this.a3 == -300); } get aj() { return ((this.a3 >= 0 || this.a3 == -800 || this.a3 == -400) && this.x >= 0 && this.x >= 0); } get a0() { return this.a3 == -400 || this.a3 == -401 || this.a3 == -402; } get an() { return this.g && !this.ay; } get av() { return this.x == -102 && this.a3 == -400; } get aq() { return (this.x == -103 || this.x == -104) && this.a5 == -500; } get as() { return (this.x == -103 || this.x == -104) && this.a5 == -501; } get ap() { return this.x == -100 && this.a5 == -500; } get ar() { return this.x == -100 && this.a5 == -501; } get at() { return this.x == -104; } get az() { return this.ah; } set az(a) { this.ah = a; } get aw() { return this.ag; } set aw(a) { this.ag = a; } get a1() { return this.az || this.aw; } get ak() { return this.af == 2; } get al() { return this.af == 3; } get ao() { return this.af == 4; } get am() { return this.af == 5; } } CellPath.$t = /*@__PURE__*/ markType(CellPath, 'CellPath', RowPath.$); return CellPath; })();