import { Component, Input, ViewEncapsulation } from '@angular/core';
import { ModalController } from '@ionic/angular';
import * as i0 from "@angular/core";
import * as i1 from "@ionic/angular";
export class ModalInformationComponent {
    constructor(modalCtrl) {
        this.modalCtrl = modalCtrl;
    }
    ngOnInit() { }
    dismissModal() {
        this.modalCtrl.dismiss();
    }
}
ModalInformationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ModalInformationComponent, deps: [{ token: i1.ModalController }], target: i0.ɵɵFactoryTarget.Component });
ModalInformationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ModalInformationComponent, selector: "app-modal-information", inputs: { description: "description" }, ngImport: i0, template: "<div class=\"modal-body \" > \n\n  <ion-content>\n\n      <div class=\"d-flex\">\n        <ion-icon class=\"m-icon\" (click)=\"dismissModal()\" name=\"close\"></ion-icon>\n      </div>\n\n    <div  class=\"modal-img\">\n      <div class=\"d-flex-center\">\n        <ion-img  src=\"../../../../assets/img/error.png\"></ion-img>\n      </div>\n\n      <div class=\"m-title\">Error</div>\n\n      <div class=\"m-section\">\n          <ion-text class=\"m-text\">\n            <p>\n              {{description}}\n            </p>\n          </ion-text>\n        \n        <div class=\"m-button\">\n            <ion-button size=\"small large\" (click)=\"dismissModal()\" color=\"success\" >Volver</ion-button>\n        </div>\n      </div>\n\n    </div>\n    \n  </ion-content>\n\n</div>", styles: ["app-modal-information .modal-body{height:100%;width:100%}app-modal-information .d-flex{display:flex;justify-content:flex-end}app-modal-information .d-flex .m-icon{padding:10px 15px 10px 10px;font-size:21px;cursor:pointer}app-modal-information .d-flex-center{display:flex;justify-content:center}app-modal-information .m-title{display:flex;justify-content:center;font-weight:900;padding:2px 0 0}app-modal-information .m-section .m-text{text-align:center}app-modal-information .m-section .m-button{display:flex;justify-content:center;align-items:center}app-modal-information .m-section .m-button ion-button{width:115px;--width: 115px }app-modal-information .modal-img{padding:10px 20px 20px}app-modal-information ion-header:after{background-image:none}\n"], components: [{ type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { type: i1.IonImg, selector: "ion-img", inputs: ["alt", "src"] }, { type: i1.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }], encapsulation: i0.ViewEncapsulation.None });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ModalInformationComponent, decorators: [{
            type: Component,
            args: [{ selector: 'app-modal-information', encapsulation: ViewEncapsulation.None, template: "<div class=\"modal-body \" > \n\n  <ion-content>\n\n      <div class=\"d-flex\">\n        <ion-icon class=\"m-icon\" (click)=\"dismissModal()\" name=\"close\"></ion-icon>\n      </div>\n\n    <div  class=\"modal-img\">\n      <div class=\"d-flex-center\">\n        <ion-img  src=\"../../../../assets/img/error.png\"></ion-img>\n      </div>\n\n      <div class=\"m-title\">Error</div>\n\n      <div class=\"m-section\">\n          <ion-text class=\"m-text\">\n            <p>\n              {{description}}\n            </p>\n          </ion-text>\n        \n        <div class=\"m-button\">\n            <ion-button size=\"small large\" (click)=\"dismissModal()\" color=\"success\" >Volver</ion-button>\n        </div>\n      </div>\n\n    </div>\n    \n  </ion-content>\n\n</div>", styles: ["app-modal-information .modal-body{height:100%;width:100%}app-modal-information .d-flex{display:flex;justify-content:flex-end}app-modal-information .d-flex .m-icon{padding:10px 15px 10px 10px;font-size:21px;cursor:pointer}app-modal-information .d-flex-center{display:flex;justify-content:center}app-modal-information .m-title{display:flex;justify-content:center;font-weight:900;padding:2px 0 0}app-modal-information .m-section .m-text{text-align:center}app-modal-information .m-section .m-button{display:flex;justify-content:center;align-items:center}app-modal-information .m-section .m-button ion-button{width:115px;--width: 115px }app-modal-information .modal-img{padding:10px 20px 20px}app-modal-information ion-header:after{background-image:none}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.ModalController }]; }, propDecorators: { description: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaW5mb3JtYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi91aS9tb2RhbC1pbmZvcm1hdGlvbi9tb2RhbC1pbmZvcm1hdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL3VpL21vZGFsLWluZm9ybWF0aW9uL21vZGFsLWluZm9ybWF0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBU2pELE1BQU0sT0FBTyx5QkFBeUI7SUFJcEMsWUFBcUIsU0FBMEI7UUFBMUIsY0FBUyxHQUFULFNBQVMsQ0FBaUI7SUFBSSxDQUFDO0lBRXBELFFBQVEsS0FBSSxDQUFDO0lBRWIsWUFBWTtRQUNWLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxFQUFFLENBQUM7SUFDM0IsQ0FBQzs7c0hBVlUseUJBQXlCOzBHQUF6Qix5QkFBeUIscUdDVnRDLCt3QkErQk07MkZEckJPLHlCQUF5QjtrQkFOckMsU0FBUzsrQkFDRSx1QkFBdUIsaUJBR2xCLGlCQUFpQixDQUFDLElBQUk7c0dBSTVCLFdB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