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