UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

39 lines (38 loc) 1.33 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 { Base, markType } from "igniteui-react-core"; /** * @hidden */ export let RowRange = /*@__PURE__*/ (() => { class RowRange extends Base { constructor() { super(...arguments); this.f = 0; this.d = 0; } get e() { return (this.d - this.f) + 1; } c(a) { return a.f >= this.f && a.f <= this.d || a.d >= this.f && a.d <= this.d; } b(a) { return a >= this.f && a <= this.d; } static a(a, b) { for (let c = 0; c < a.count; c++) { if (a._inner[c].b(b)) { return a._inner[c]; } } return null; } } RowRange.$t = /*@__PURE__*/ markType(RowRange, 'RowRange'); return RowRange; })();