UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

82 lines (81 loc) 2.53 kB
import { FunnelDataContext as FunnelDataContext_internal } from "./FunnelDataContext"; /** * Represents contextual data for the funnel chart. */ var IgrFunnelDataContext = /** @class */ /*@__PURE__*/ (function () { function IgrFunnelDataContext() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrFunnelDataContext.prototype.createImplementation = function () { return new FunnelDataContext_internal(); }; Object.defineProperty(IgrFunnelDataContext.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrFunnelDataContext.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrFunnelDataContext.prototype.onImplementationCreated = function () { }; IgrFunnelDataContext.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrFunnelDataContext.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(IgrFunnelDataContext.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 }); IgrFunnelDataContext.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgrFunnelDataContext; }()); export { IgrFunnelDataContext };