UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

149 lines (148 loc) 4.17 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, enumGetBox, markType } from "igniteui-react-core"; import { FixedCellPositions_$type } from "./FixedCellPositions"; /** * @hidden */ var RowPath = /** @class */ /*@__PURE__*/ (function (_super) { __extends(RowPath, _super); function RowPath(a, b) { var _this = _super.call(this) || this; _this.n = 0; _this.m = 0; _this.a = 0; _this.c = 0; _this.l = -1; _this.e = false; _this.k = -1; _this.b = 0; _this.d = 0; _this.n = a; _this.m = b; _this.ad(); return _this; } Object.defineProperty(RowPath.prototype, "y", { get: function () { return this.n; }, set: function (a) { this.n = a; this.ad(); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "x", { get: function () { return this.m; }, set: function (a) { this.m = a; this.ad(); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "b", { get: function () { return this.a; }, set: function (a) { this.a = a; this.ad(); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "d", { get: function () { return this.c; }, set: function (a) { this.c = a; this.ad(); }, enumerable: false, configurable: true }); RowPath.prototype.ad = function () { this.l = this.m * 1000000; }; RowPath.prototype.getHashCode = function () { return this.l; }; RowPath.prototype.equals = function (a) { var b = a; if (this.a != b.a) { return false; } if (this.n != b.n) { return false; } if (this.m != b.m) { return false; } return true; }; RowPath.prototype.toString = function () { return "F" + enumGetBox(FixedCellPositions_$type, this.a) + "." + this.n + "." + this.m; }; Object.defineProperty(RowPath.prototype, "g", { get: function () { return ((this.m == -100 || this.m == -101) && this.n == -100); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "h", { get: function () { return this.m == -101; }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "j", { get: function () { return (this.m == -200 || this.m == -201); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "i", { get: function () { return this.e; }, set: function (a) { this.e = a; }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "o", { get: function () { return this.k; }, set: function (a) { this.k = a; }, enumerable: false, configurable: true }); RowPath.prototype.ab = function () { var a = new RowPath(this.y, this.x); a.b = this.b; a.i = this.i; a.o = this.o; return a; }; RowPath.$t = markType(RowPath, 'RowPath'); return RowPath; }(Base)); export { RowPath };