import { __extends } from "tslib";
import { IgxDataContext } from "igniteui-angular-core";
import { FunnelSliceDataContext as FunnelSliceDataContext_internal } from "./FunnelSliceDataContext";
import { brushToString, stringToBrush } from "igniteui-angular-core";
/**
 * Represents the funnel slice data currently in context.
*/
var IgxFunnelSliceDataContext = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(IgxFunnelSliceDataContext, _super);
    function IgxFunnelSliceDataContext() {
        return _super.call(this) || this;
    }
    IgxFunnelSliceDataContext.prototype.createImplementation = function () {
        return new FunnelSliceDataContext_internal();
    };
    Object.defineProperty(IgxFunnelSliceDataContext.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxFunnelSliceDataContext.prototype, "itemOutline", {
        /**
         * Gets or sets the Outline to use to color the item.
        */
        get: function () {
            return brushToString(this.i.itemOutline);
        },
        set: function (v) {
            this.i.itemOutline = stringToBrush(v);
        },
        enumerable: false,
        configurable: true
    });
    return IgxFunnelSliceDataContext;
}(IgxDataContext));
export { IgxFunnelSliceDataContext };
//# sourceMappingURL=igx-funnel-slice-data-context.js.map
