define(["require", "exports", "../core/constants"], function (require, exports, constants_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var IconController = /** @class */ (function () {
        function IconController() {
        }
        Object.defineProperty(IconController.prototype, "iconUrl", {
            get: function () {
                if (this.name) {
                    if (this.iconset) {
                        var iconPrefix = (this.iconset === 'pom') ? 'ICO_' : '';
                        return constants_1.BASE_PATH + "icons/" + this.iconset + "/" + iconPrefix + this.name + ".svg";
                    }
                    else {
                        return constants_1.BASE_PATH + "icons/icon54/" + this.name + ".svg";
                    }
                }
            },
            enumerable: true,
            configurable: true
        });
        return IconController;
    }());
    exports.IconController = IconController;
});
//# sourceMappingURL=icon.controller.js.map