UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

117 lines (116 loc) 4.57 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, markType } from "igniteui-angular-core"; import { SyncableObservableCollection$2 } from "igniteui-angular-core"; import { ChartSummaryDescription } from "./ChartSummaryDescription"; import { SummaryDescription } from "igniteui-angular-core"; /** * @hidden */ var ChartSummaryDescriptionCollection = /** @class */ /*@__PURE__*/ (function (_super) { __extends(ChartSummaryDescriptionCollection, _super); function ChartSummaryDescriptionCollection() { var _this = _super.call(this) || this; _this.f = new SyncableObservableCollection$2(ChartSummaryDescription.$, SummaryDescription.$, 0); _this.d = null; var a = _this.f; a.compare = function (b, c) { return b.p == c.propertyName && b.c == c.operand && b.f == c.calculator && b.n == c.alias && b.h == c; }; a.createFrom = function (b) { var c = new ChartSummaryDescription(1, b.propertyName); c.c = b.operand; c.f = b.calculator; c.n = b.alias; c.h = b; return c; }; a.createTo = function (b) { var c = new SummaryDescription(1, b.p); c.operand = b.c; c.calculator = b.f; c.alias = b.n; b.h = c; return c; }; return _this; } Object.defineProperty(ChartSummaryDescriptionCollection.prototype, "i", { get: function () { return this.f.shouldDetachOnTargetChange; }, set: function (a) { this.f.shouldDetachOnTargetChange = a; }, enumerable: false, configurable: true }); ChartSummaryDescriptionCollection.prototype.n = function (a) { this.f.addOneWayTarget(a.g()); }; ChartSummaryDescriptionCollection.prototype.r = function (a) { this.f.removeOneWayTarget(a.g()); }; Object.defineProperty(ChartSummaryDescriptionCollection.prototype, "e", { get: function () { return this.d; }, set: function (a) { if (a == null) { this.f.syncTarget = null; this.d = null; return; } this.d = a; this.f.syncTarget = this.d.g(); }, enumerable: false, configurable: true }); ChartSummaryDescriptionCollection.prototype.g = function (a) { return this.f.add(a); }; ChartSummaryDescriptionCollection.prototype.p = function (a, b) { this.f.add1(a, b); }; ChartSummaryDescriptionCollection.prototype.o = function () { this.f.clear(); }; ChartSummaryDescriptionCollection.prototype.get = function (a) { return this.f.get(a); }; ChartSummaryDescriptionCollection.prototype.k = function (a) { return this.f.indexOf(a); }; ChartSummaryDescriptionCollection.prototype.h = function (a) { return this.f.remove1(a); }; ChartSummaryDescriptionCollection.prototype.b = function (a) { return this.f.remove(a); }; ChartSummaryDescriptionCollection.prototype.set = function (a, b) { return this.f.set(a, b); }; ChartSummaryDescriptionCollection.prototype.size = function () { return this.f.size(); }; ChartSummaryDescriptionCollection.prototype.m = function (a) { this.f.addListener(a); }; ChartSummaryDescriptionCollection.prototype.q = function (a) { this.f.removeListener(a); }; Object.defineProperty(ChartSummaryDescriptionCollection.prototype, "j", { get: function () { return this.f.all; }, enumerable: false, configurable: true }); ChartSummaryDescriptionCollection.$t = markType(ChartSummaryDescriptionCollection, 'ChartSummaryDescriptionCollection'); return ChartSummaryDescriptionCollection; }(Base)); export { ChartSummaryDescriptionCollection };