UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

108 lines (107 loc) 4.26 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 { DependencyObject } from "./DependencyObject"; import { INotifyPropertyChanged_$type, PropertyChangedEventArgs, runOn, markType } from "./type"; import { DataSourceSortDescriptionCollection } from "./DataSourceSortDescriptionCollection"; import { DataSourceGroupDescriptionCollection } from "./DataSourceGroupDescriptionCollection"; import { DataSourceSummaryDescriptionCollection } from "./DataSourceSummaryDescriptionCollection"; import { FilterExpressionCollection } from "./FilterExpressionCollection"; import { DataSourceExecutionContext } from "./DataSourceExecutionContext"; /** * @hidden */ var BaseGenericDataSource = /** @class */ /*@__PURE__*/ (function (_super) { __extends(BaseGenericDataSource, _super); function BaseGenericDataSource() { var _this = _super.call(this) || this; _this.s = null; _this.l = null; _this.j = null; _this.n = null; _this.p = null; _this.propertyChanged = null; _this.t = new DataSourceExecutionContext(); _this.l = new DataSourceSortDescriptionCollection(); _this.l.m(runOn(_this, _this.ab)); _this.j = new DataSourceGroupDescriptionCollection(); _this.j.l(runOn(_this, _this.w)); _this.n = new DataSourceSummaryDescriptionCollection(); _this.n.m(runOn(_this, _this.ac)); _this.p = new FilterExpressionCollection(); _this.p.n(runOn(_this, _this.v)); return _this; } Object.defineProperty(BaseGenericDataSource.prototype, "t", { get: function () { return this.s; }, set: function (a) { var b = this.s; this.s = a; if (this.s != b) { this.onPropertyUpdated("ExecutionContext", b, this.s); } }, enumerable: false, configurable: true }); Object.defineProperty(BaseGenericDataSource.prototype, "m", { get: function () { return this.l; }, enumerable: false, configurable: true }); Object.defineProperty(BaseGenericDataSource.prototype, "k", { get: function () { return this.j; }, enumerable: false, configurable: true }); Object.defineProperty(BaseGenericDataSource.prototype, "o", { get: function () { return this.n; }, enumerable: false, configurable: true }); Object.defineProperty(BaseGenericDataSource.prototype, "q", { get: function () { return this.p; }, enumerable: false, configurable: true }); BaseGenericDataSource.prototype.ab = function (a, b) { this.z(); }; BaseGenericDataSource.prototype.w = function (a, b) { this.z(); }; BaseGenericDataSource.prototype.ac = function (a, b) { this.z(); }; BaseGenericDataSource.prototype.v = function (a, b) { this.z(); }; BaseGenericDataSource.prototype.onPropertyUpdated = function (a, b, c) { if (this.propertyChanged != null) { this.propertyChanged(this, new PropertyChangedEventArgs(a)); } this.propertyUpdatedOverride(a, b, c); }; BaseGenericDataSource.prototype.propertyUpdatedOverride = function (a, b, c) { }; BaseGenericDataSource.prototype.z = function () { this.aa(); }; BaseGenericDataSource.$t = markType(BaseGenericDataSource, 'BaseGenericDataSource', DependencyObject.$, [INotifyPropertyChanged_$type]); return BaseGenericDataSource; }(DependencyObject)); export { BaseGenericDataSource };