import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ionic/angular";
import * as i2 from "primeng/api";
import * as i3 from "primeng/dialog";
import * as i4 from "@ngx-translate/core";
function WeeklyWorkPerformedPopupComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
    const _r2 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "ion-button", 3);
    i0.ɵɵlistener("click", function WeeklyWorkPerformedPopupComponent_ng_template_7_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
    i0.ɵɵtext(1, "Ok");
    i0.ɵɵelementEnd();
} }
const _c0 = () => ({ width: "30vw" });
const _c1 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
export class WeeklyWorkPerformedPopupComponent {
    ngOnInit() {
    }
    close() {
        this.showWeeklyWorkPerformedPopup = false;
    }
    static { this.ɵfac = function WeeklyWorkPerformedPopupComponent_Factory(t) { return new (t || WeeklyWorkPerformedPopupComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WeeklyWorkPerformedPopupComponent, selectors: [["app-weekly-work-performed-popup"]], inputs: { showWeeklyWorkPerformedPopup: "showWeeklyWorkPerformedPopup" }, decls: 8, vars: 16, consts: [["appendTo", "body", "position", "center", "appendTo", "body", "closeOnEscape", "false", 3, "visible", "modal", "breakpoints", "baseZIndex", "draggable", "resizable"], [1, "heading"], ["pTemplate", "footer"], ["shape", "round", "fill", "outline", "type", "reset", 3, "click"]], template: function WeeklyWorkPerformedPopupComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "p-dialog", 0)(1, "h4", 1);
            i0.ɵɵtext(2);
            i0.ɵɵpipe(3, "translate");
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(4, "ion-label");
            i0.ɵɵtext(5);
            i0.ɵɵpipe(6, "translate");
            i0.ɵɵelementEnd();
            i0.ɵɵtemplate(7, WeeklyWorkPerformedPopupComponent_ng_template_7_Template, 2, 0, "ng-template", 2);
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵstyleMap(i0.ɵɵpureFunction0(14, _c0));
            i0.ɵɵproperty("visible", ctx.showWeeklyWorkPerformedPopup)("modal", true)("breakpoints", i0.ɵɵpureFunction0(15, _c1))("baseZIndex", 5000)("draggable", false)("resizable", false);
            i0.ɵɵadvance(2);
            i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 10, "weekly.work.performed.popup.header"));
            i0.ɵɵadvance(3);
            i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 12, "weekly.work.performed.popup.message"));
        } }, dependencies: [i1.IonButton, i1.IonLabel, i2.PrimeTemplate, i3.Dialog, i4.TranslatePipe] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WeeklyWorkPerformedPopupComponent, [{
        type: Component,
        args: [{ selector: 'app-weekly-work-performed-popup', template: "<p-dialog [visible]=\"showWeeklyWorkPerformedPopup\" [modal]=\"true\"\r\nappendTo=\"body\" position=\"center\"\r\n[breakpoints]=\"{'1200px': '660px', '992px': '660px', '768px': '660px', '576px': '100vw'}\"\r\n[style]=\"{width: '30vw'}\" [baseZIndex]=\"5000\" [draggable]=\"false\"\r\n[resizable]=\"false\" appendTo=\"body\" closeOnEscape=\"false\">\r\n    <h4 class=\"heading\">{{'weekly.work.performed.popup.header'|translate}}</h4>\r\n    <ion-label>{{'weekly.work.performed.popup.message'|translate}}</ion-label>\r\n    <ng-template pTemplate=\"footer\">  \r\n        <ion-button shape=\"round\" fill=\"outline\" type=\"reset\" (click)=\"close()\">Ok</ion-button>\r\n    </ng-template>\r\n</p-dialog>\r\n" }]
    }], null, { showWeeklyWorkPerformedPopup: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WeeklyWorkPerformedPopupComponent, { className: "WeeklyWorkPerformedPopupComponent", filePath: "lib\\components\\weekly-work-performed-popup\\weekly-work-performed-popup.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2Vla2x5LXdvcmstcGVyZm9ybWVkLXBvcHVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy93ZWVrbHktd29yay1wZXJmb3JtZWQtcG9wdXAvd2Vla2x5LXdvcmstcGVyZm9ybWVkLXBvcHVwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy93ZWVrbHktd29yay1wZXJmb3JtZWQtcG9wdXAvd2Vla2x5LXdvcmstcGVyZm9ybWVkLXBvcHVwLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7Ozs7OztJQ1FqRCxxQ0FBd0U7SUFBbEIsMExBQVMsZUFBQSxjQUFPLENBQUEsSUFBQztJQUFDLGtCQUFFO0lBQUEsaUJBQWE7Ozs7QUREL0YsTUFBTSxPQUFPLGlDQUFpQztJQUk1QyxRQUFRO0lBQ1IsQ0FBQztJQUVELEtBQUs7UUFDSCxJQUFJLENBQUMsNEJBQTRCLEdBQUcsS0FBSyxDQUFDO0lBQzVDLENBQUM7a0dBVFUsaUNBQWlDO29FQUFqQyxpQ0FBaUM7WUNQOUMsbUNBSTBELFlBQUE7WUFDbEMsWUFBa0Q7O1lBQUEsaUJBQUs7WUFDM0UsaUNBQVc7WUFBQSxZQUFtRDs7WUFBQSxpQ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