UNPKG

igniteui-react-charts

Version:

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

59 lines (58 loc) 1.99 kB
import { PieSliceOthersContext as PieSliceOthersContext_internal } from "./PieSliceOthersContext"; /** * Represents the selected data contained inside the Others slice. */ var IgrPieSliceOthersContext = /** @class */ /*@__PURE__*/ (function () { function IgrPieSliceOthersContext() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrPieSliceOthersContext.prototype.createImplementation = function () { return new PieSliceOthersContext_internal(); }; Object.defineProperty(IgrPieSliceOthersContext.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrPieSliceOthersContext.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrPieSliceOthersContext.prototype.onImplementationCreated = function () { }; IgrPieSliceOthersContext.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; /** * The underlying data contained by the Others pie slice. */ IgrPieSliceOthersContext.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgrPieSliceOthersContext; }()); export { IgrPieSliceOthersContext };