(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core')) :
    typeof define === 'function' && define.amd ? define('@ng-tangram/components/label', ['exports', '@angular/common', '@angular/core'], factory) :
    (global = global || self, factory((global.nt = global.nt || {}, global.nt.components = global.nt.components || {}, global.nt.components.label = {}), global.ng.common, global.ng.core));
}(this, (function (exports, common, core) { 'use strict';

    var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
        var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
        if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
        else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
        return c > 3 && r && Object.defineProperty(target, key, r), r;
    };
    var NtLabelComponent = (function () {
        function NtLabelComponent() {
            this.color = '';
            this.class = '';
        }
        __decorate([
            core.Input()
        ], NtLabelComponent.prototype, "color", void 0);
        __decorate([
            core.Input()
        ], NtLabelComponent.prototype, "class", void 0);
        NtLabelComponent = __decorate([
            core.Component({
                selector: 'nt-label, [nt-label]',
                template: "<ng-content></ng-content>",
                encapsulation: core.ViewEncapsulation.None,
                host: {
                    '[class]': '["label", color, class].join(" ")'
                }
            })
        ], NtLabelComponent);
        return NtLabelComponent;
    }());

    var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
        var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
        if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
        else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
        return c > 3 && r && Object.defineProperty(target, key, r), r;
    };
    var NtLabelModule = (function () {
        function NtLabelModule() {
        }
        NtLabelModule = __decorate$1([
            core.NgModule({
                imports: [common.CommonModule],
                declarations: [NtLabelComponent],
                exports: [NtLabelComponent]
            })
        ], NtLabelModule);
        return NtLabelModule;
    }());

    exports.NtLabelComponent = NtLabelComponent;
    exports.NtLabelModule = NtLabelModule;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
//# sourceMappingURL=label.umd.js.map
