/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Injectable } from '@angular/core';
var IgxIconService = /** @class */ (function () {
    function IgxIconService() {
        this.fontSet = 'material-icons';
        this.fontSetAliases = new Map();
    }
    Object.defineProperty(IgxIconService.prototype, "defaultFontSet", {
        get: /**
         * @return {?}
         */
        function () {
            return this.fontSet;
        },
        set: /**
         * @param {?} className
         * @return {?}
         */
        function (className) {
            this.fontSet = className;
        },
        enumerable: true,
        configurable: true
    });
    /**
     * @param {?} alias
     * @param {?=} className
     * @return {?}
     */
    IgxIconService.prototype.registerFontSetAlias = /**
     * @param {?} alias
     * @param {?=} className
     * @return {?}
     */
    function (alias, className) {
        if (className === void 0) { className = alias; }
        this.fontSetAliases.set(alias, className);
        return this;
    };
    /**
     * @param {?} alias
     * @return {?}
     */
    IgxIconService.prototype.fontSetClassName = /**
     * @param {?} alias
     * @return {?}
     */
    function (alias) {
        return this.fontSetAliases.get(alias) || alias;
    };
    IgxIconService.decorators = [
        { type: Injectable },
    ];
    return IgxIconService;
}());
export { IgxIconService };
function IgxIconService_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    IgxIconService.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    IgxIconService.ctorParameters;
    /** @type {?} */
    IgxIconService.prototype.fontSet;
    /** @type {?} */
    IgxIconService.prototype.fontSetAliases;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vaWduaXRldWktYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9pY29uL2ljb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUs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