UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

85 lines (84 loc) 3.16 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, String_$type, markType } from "./type"; import { IDataSourcePage_$type } from "./IDataSourcePage"; import { List$1 } from "./List$1"; import { Dictionary$2 } from "./Dictionary$2"; import { stringReplace } from "./string"; /** * @hidden */ var GenericDataSourcePage = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GenericDataSourcePage, _super); function GenericDataSourcePage(a, b, c, d, e) { var _this = _super.call(this) || this; _this.g = 0; _this.c = null; _this.b = null; _this.a = null; _this.f = null; _this.d = null; _this.e = false; _this.h = 0; _this.f = a; _this.c = b; _this.a = c; _this.b = d; _this.g = e; return _this; } GenericDataSourcePage.prototype.count = function () { return this.f != null ? this.f.count : 0; }; GenericDataSourcePage.prototype.getGroupInformation = function () { return this.a; }; GenericDataSourcePage.prototype.k = function (a) { this.a = a; }; GenericDataSourcePage.prototype.getItemAtIndex = function (a) { return this.f._inner[a]; }; GenericDataSourcePage.prototype.getItemValueAtIndex = function (a, b) { var c = this.f._inner[a]; var d = stringReplace(stringReplace(b, "[", ""), "]", ""); if (c.containsKey(d)) { return c.item(d); } return null; }; GenericDataSourcePage.prototype.getSummaryInformation = function () { return this.b; }; GenericDataSourcePage.prototype.m = function (a) { this.b = a; }; GenericDataSourcePage.prototype.pageIndex = function () { return this.g; }; GenericDataSourcePage.prototype.schema = function () { return this.c; }; GenericDataSourcePage.prototype.l = function (a) { this.c = a; }; GenericDataSourcePage.prototype.i = function (a) { }; GenericDataSourcePage.prototype.j = function (a, b, c) { if (this.f == null) { this.f = new List$1(Dictionary$2.$.specialize(String_$type, Base.$), 0); } for (var d = this.f.count; d <= a; d++) { this.f.add(new Dictionary$2(String_$type, Base.$, 0)); } this.f._inner[a].item(b, c); }; GenericDataSourcePage.$t = markType(GenericDataSourcePage, 'GenericDataSourcePage', Base.$, [IDataSourcePage_$type]); return GenericDataSourcePage; }(Base)); export { GenericDataSourcePage };