UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

152 lines (151 loc) 6.2 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 { VirtualDataSource } from "./VirtualDataSource"; import { IExternalDataSource_$type } from "./IExternalDataSource"; import { GenericInternalVirtualDataProvider } from "./GenericInternalVirtualDataProvider"; import { runOn, delegateCombine, markType } from "./type"; /** * @hidden */ var GenericInternalVirtualDataSource = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GenericInternalVirtualDataSource, _super); function GenericInternalVirtualDataSource() { var _this = _super.call(this) || this; _this._isAggregationSupported = false; _this.pageRequested = null; _this._isClone = false; _this.externalDataSource = _this; return _this; } Object.defineProperty(GenericInternalVirtualDataSource.prototype, "isSortingSupportedOverride", { get: function () { return true; }, enumerable: false, configurable: true }); Object.defineProperty(GenericInternalVirtualDataSource.prototype, "isFilteringSupportedOverride", { get: function () { return false; }, enumerable: false, configurable: true }); Object.defineProperty(GenericInternalVirtualDataSource.prototype, "isGroupingSupportedOverride", { get: function () { return this.isAggregationSupported; }, enumerable: false, configurable: true }); Object.defineProperty(GenericInternalVirtualDataSource.prototype, "isAggregationSupported", { get: function () { return this._isAggregationSupported; }, set: function (a) { this._isAggregationSupported = a; }, enumerable: false, configurable: true }); Object.defineProperty(GenericInternalVirtualDataSource.prototype, "e4", { get: function () { return this.actualDataProvider; }, enumerable: false, configurable: true }); Object.defineProperty(GenericInternalVirtualDataSource.prototype, "isClone", { get: function () { return this._isClone; }, set: function (a) { this._isClone = a; }, enumerable: false, configurable: true }); GenericInternalVirtualDataSource.prototype.resolveDataProvider = function () { var a = new GenericInternalVirtualDataProvider(); a.pageRequested = delegateCombine(a.pageRequested, runOn(this, this.fr)); return a; }; GenericInternalVirtualDataSource.prototype.fr = function (a, b) { if (this.pageRequested != null) { this.pageRequested(this, b); } }; GenericInternalVirtualDataSource.prototype.fillPageStart = function (a) { this.e4.a7(a); }; GenericInternalVirtualDataSource.prototype.fillPageEnd = function () { this.e4.a6(); }; GenericInternalVirtualDataSource.prototype.fillCount = function (a) { this.e4.ay(a); }; GenericInternalVirtualDataSource.prototype.fillColumnBool = function (a, b) { this.e4.at(a, b); }; GenericInternalVirtualDataSource.prototype.fillColumnInt = function (a, b) { this.e4.aw(a, b); }; GenericInternalVirtualDataSource.prototype.fillColumnDouble = function (a, b) { this.e4.av(a, b); }; GenericInternalVirtualDataSource.prototype.fillColumnString = function (a, b) { this.e4.ax(a, b); }; GenericInternalVirtualDataSource.prototype.fillColumnDate = function (a, b) { this.e4.au(a, b); }; GenericInternalVirtualDataSource.prototype.addSchemaProperty = function (a, b) { this.e4.an(a, b); }; GenericInternalVirtualDataSource.prototype.fillGroupStart = function (a, b) { this.e4.a0(a, b); }; GenericInternalVirtualDataSource.prototype.fillGroupEnd = function () { this.e4.az(); }; GenericInternalVirtualDataSource.prototype.fillGroupValueInt = function (a, b) { this.e4.a4(a, b); }; GenericInternalVirtualDataSource.prototype.fillGroupValueDouble = function (a, b) { this.e4.a3(a, b); }; GenericInternalVirtualDataSource.prototype.fillGroupValueString = function (a, b) { this.e4.a5(a, b); }; GenericInternalVirtualDataSource.prototype.fillGroupValueDate = function (a, b) { this.e4.a2(a, b); }; GenericInternalVirtualDataSource.prototype.addSummaryInt = function (a, b, c) { this.e4.ar(a, b, c); }; GenericInternalVirtualDataSource.prototype.addSummaryDouble = function (a, b, c) { this.e4.aq(a, b, c); }; GenericInternalVirtualDataSource.prototype.addSummaryString = function (a, b, c) { this.e4.as(a, b, c); }; GenericInternalVirtualDataSource.prototype.addSummaryDate = function (a, b, c) { this.e4.ap(a, b, c); }; GenericInternalVirtualDataSource.prototype.clone = function () { var a = new GenericInternalVirtualDataSource(); a.isClone = true; a.isAggregationSupported = this.isAggregationSupported; a.pageRequested = delegateCombine(a.pageRequested, this.pageRequested); this.cloneProperties(a); return a; }; GenericInternalVirtualDataSource.$t = markType(GenericInternalVirtualDataSource, 'GenericInternalVirtualDataSource', VirtualDataSource.$, [IExternalDataSource_$type]); return GenericInternalVirtualDataSource; }(VirtualDataSource)); export { GenericInternalVirtualDataSource };