/**
 * @fileoverview added by tsickle
 * Generated from: lib/tag/tag.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation } from '@angular/core';
var BbTag = /** @class */ (function () {
    function BbTag() {
        // Outputs.
        this.onClose = new EventEmitter();
    }
    BbTag.decorators = [
        { type: Component, args: [{
                    selector: 'bb-tag',
                    template: "<ng-content></ng-content>\r\n\r\n<button *ngIf=\"onClose?.observers?.length > 0\"\r\n        (click)=\"onClose.emit()\"\r\n        type=\"button\">\r\n    Close\r\n</button>",
                    changeDetection: ChangeDetectionStrategy.OnPush,
                    encapsulation: ViewEncapsulation.None,
                    preserveWhitespaces: false,
                    host: { 'class': 'bb-tag' },
                    styles: [".bb-tag{cursor:default;padding:0 7px;font-size:12px;list-style:none;line-height:20px;border-radius:4px;white-space:nowrap;display:inline-block;color:rgba(0,0,0,.65);border:1px solid #d9d9d9;background-color:#fafafa;font-variant:tabular-nums;font-feature-settings:\"tnum\"}.bb-tag:not(:last-child){margin-right:8px}"]
                }] }
    ];
    BbTag.propDecorators = {
        onClose: [{ type: Output }]
    };
    return BbTag;
}());
export { BbTag };
if (false) {
    /** @type {?} */
    BbTag.prototype.onClose;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BicmF2b2JpdC9iYi1mb3VuZGF0aW9uL2VsZW1lbnRzLyIsInNvdXJjZXMiOlsibGliL3RhZy90YWcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRTFHO0lBQUE7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