import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
function TerminatingTagComponent_aui_tag_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "aui-tag", 1);
    i0.ɵɵtext(1);
    i0.ɵɵpipe(2, "translate");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    i0.ɵɵproperty("border", true);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "deleting"), "\n");
} }
export class TerminatingTagComponent {
}
TerminatingTagComponent.ɵfac = function TerminatingTagComponent_Factory(t) { return new (t || TerminatingTagComponent)(); };
TerminatingTagComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminatingTagComponent, selectors: [["acl-deleting-tag"]], inputs: { resource: "resource" }, decls: 1, vars: 1, consts: [["type", "error", "size", "mini", 3, "border", 4, "ngIf"], ["type", "error", "size", "mini", 3, "border"]], template: function TerminatingTagComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵtemplate(0, TerminatingTagComponent_aui_tag_0_Template, 3, 4, "aui-tag", 0);
    } if (rf & 2) {
        i0.ɵɵproperty("ngIf", ctx.resource == null ? null : ctx.resource.metadata == null ? null : ctx.resource.metadata.deletionTimestamp);
    } }, styles: ["aui-tag[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;vertical-align:2px}"], changeDetection: 0 });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminatingTagComponent, [{
        type: Component,
        args: [{ selector: 'acl-deleting-tag', changeDetection: ChangeDetectionStrategy.OnPush, template: "<aui-tag\n  *ngIf=\"resource?.metadata?.deletionTimestamp\"\n  type=\"error\"\n  size=\"mini\"\n  [border]=\"true\"\n>\n  {{ 'deleting' | translate }}\n</aui-tag>\n", styles: ["aui-tag{display:inline-block;margin-left:8px;vertical-align:2px}\n"] }]
    }], null, { resource: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application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