import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@ngx-translate/core";
function MsgComponent_p_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "p");
    i0.ɵɵtext(1);
    i0.ɵɵpipe(2, "translate");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.key));
} }
function MsgComponent_p_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "p");
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r1.value);
} }
export class MsgComponent {
    constructor() { }
    ngOnInit() {
    }
    static { this.ɵfac = function MsgComponent_Factory(t) { return new (t || MsgComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MsgComponent, selectors: [["app-msg"]], inputs: { key: "key", value: "value" }, decls: 2, vars: 2, consts: [[4, "ngIf"]], template: function MsgComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, MsgComponent_p_0_Template, 3, 3, "p", 0)(1, MsgComponent_p_1_Template, 2, 1, "p", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("ngIf", ctx.key);
            i0.ɵɵadvance(1);
            i0.ɵɵproperty("ngIf", ctx.value);
        } }, dependencies: [i1.NgIf, i2.TranslatePipe] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MsgComponent, [{
        type: Component,
        args: [{ selector: 'app-msg', template: "<p *ngIf=\"key\">{{key | translate}}</p>\r\n\r\n<p *ngIf=\"value\">{{value}}</p>\r\n" }]
    }], () => [], { key: [{
            type: Input,
            args: ['key']
        }], value: [{
            type: Input,
            args: ['value']
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MsgComponent, { className: "MsgComponent", filePath: "lib\\components\\msg\\msg.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXNnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9tc2cvbXNnLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9tc2cvbXNnLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7OztJQ0F6RCx5QkFBZTtJQUFBLFlBQW1COztJQUFBLGlCQUFJOzs7SUFBdkIsZUFBbUI7SUFBbkIsc0RBQW1COzs7SUFFbEMseUJBQWlCO0lBQUEsWUFBUztJQUFBLGlCQUFJOzs7SUFBYixlQUFTO0lBQVQsa0NBQVM7O0FESzFCLE1BQU0sT0FBTyxZQUFZO0lBTXZCLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOzZFQVRVLFlBQVk7b0VBQVosWUFBWTtZQ1B6Qix5REFBc0MsNENBQUE7O1lBQWxDLDhCQUFTO1lBRVQsZUFBVztZQUFYLGdDQUFXOzs7aUZES0YsWUFBWTtjQUx4QixTQUFTOzJCQUNFLFNBQVM7b0JBTUwsR0FBRztrQkFBaEIsS0FBSzttQkFBQyxLQUFLO1lBRUksS0FBSztrQkFBcEIsS0FBSzttQkFBQyxPQUFPOztrRkFKSCxZQUFZIiwic291cmNlc0Nvbn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