import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ionic/angular";
import * as i2 from "@angular/common";
import * as i3 from "@ngx-translate/core";
function CardComponent_ion_card_header_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "ion-card-header")(1, "ion-card-title")(2, "ion-label", 1);
    i0.ɵɵtext(3);
    i0.ɵɵpipe(4, "translate");
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵclassMap(ctx_r0.headerClass);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 3, ctx_r0.title));
} }
const _c0 = ["*"];
export class CardComponent {
    constructor() {
        this.class = 'app-box';
        this.headerClass = 'ion-padding';
    }
    ngOnInit() {
    }
    static { this.ɵfac = function CardComponent_Factory(t) { return new (t || CardComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["app-card"]], inputs: { title: "title", class: "class", headerClass: "headerClass" }, ngContentSelectors: _c0, decls: 6, vars: 3, consts: [[3, "class", 4, "ngIf"], ["color", "dark"]], template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵprojectionDef();
            i0.ɵɵelementStart(0, "ion-card");
            i0.ɵɵtemplate(1, CardComponent_ion_card_header_1_Template, 5, 5, "ion-card-header", 0);
            i0.ɵɵelementStart(2, "ion-card-content");
            i0.ɵɵelement(3, "br");
            i0.ɵɵelementStart(4, "div");
            i0.ɵɵprojection(5);
            i0.ɵɵelementEnd()()();
        } if (rf & 2) {
            i0.ɵɵclassMap(ctx.class);
            i0.ɵɵadvance(1);
            i0.ɵɵproperty("ngIf", ctx.title);
        } }, dependencies: [i1.IonCard, i1.IonCardContent, i1.IonCardHeader, i1.IonCardTitle, i1.IonLabel, i2.NgIf, i3.TranslatePipe] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardComponent, [{
        type: Component,
        args: [{ selector: 'app-card', template: "<ion-card [class]=\"class\">\r\n    <ion-card-header [class]=\"headerClass\" *ngIf=\"title\">\r\n        <ion-card-title><ion-label color=\"dark\">{{title | translate}}</ion-label></ion-card-title>\r\n    </ion-card-header>\r\n    <ion-card-content>\r\n        <br/>\r\n        <div>\r\n        <ng-content></ng-content>\r\n        </div>\r\n    </ion-card-content>\r\n</ion-card>\r\n  " }]
    }], () => [], { title: [{
            type: Input,
            args: ['title']
        }], class: [{
            type: Input,
            args: ['class']
        }], headerClass: [{
            type: Input,
            args: ['headerClass']
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardComponent, { className: "CardComponent", filePath: "lib\\components\\card\\card.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC9jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9jYXJkL2NhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7Ozs7OztJQ0NyRCx1Q0FBcUQscUJBQUEsbUJBQUE7SUFDVCxZQUFxQjs7SUFBQSxpQkFBWSxFQUFBLEVBQUE7OztJQUQ1RCxpQ0FBcUI7SUFDTSxlQUFxQjtJQUFyQix3REFBcUI7OztBREtyRSxNQUFNLE9BQU8sYUFBYTtJQVF4QjtRQUpnQix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