UNPKG

igniteui-angular-charts

Version:

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

71 lines (70 loc) 2.24 kB
import { FunnelDataContext as FunnelDataContext_internal } from "./FunnelDataContext"; /** * Represents contextual data for the funnel chart. */ var IgxFunnelDataContext = /** @class */ /*@__PURE__*/ (function () { function IgxFunnelDataContext() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgxFunnelDataContext.prototype.createImplementation = function () { return new FunnelDataContext_internal(); }; Object.defineProperty(IgxFunnelDataContext.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxFunnelDataContext.prototype.onImplementationCreated = function () { }; IgxFunnelDataContext.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxFunnelDataContext.prototype, "item", { /** * The data item that is in context. */ get: function () { return this.i.item; }, set: function (v) { this.i.item = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxFunnelDataContext.prototype, "index", { /** * The index of the data item that is in context. */ get: function () { return this.i.b; }, set: function (v) { this.i.b = +v; }, enumerable: false, configurable: true }); IgxFunnelDataContext.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgxFunnelDataContext; }()); export { IgxFunnelDataContext };