import { CommonModule } from '@angular/common';
import { Input, Component, ViewEncapsulation, NgModule } from '@angular/core';

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([
        Input()
    ], NtLabelComponent.prototype, "color", void 0);
    __decorate([
        Input()
    ], NtLabelComponent.prototype, "class", void 0);
    NtLabelComponent = __decorate([
        Component({
            selector: 'nt-label, [nt-label]',
            template: "<ng-content></ng-content>",
            encapsulation: 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([
        NgModule({
            imports: [CommonModule],
            declarations: [NtLabelComponent],
            exports: [NtLabelComponent]
        })
    ], NtLabelModule);
    return NtLabelModule;
}());

export { NtLabelComponent, NtLabelModule };
//# sourceMappingURL=label.js.map
