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 \" > \r\n\r\n  <ion-content>\r\n\r\n      <div class=\"d-flex\">\r\n        <ion-icon class=\"m-icon\" (click)=\"dismissModal()\" name=\"close\"></ion-icon>\r\n      </div>\r\n\r\n    <div  class=\"modal-img\">\r\n      <div class=\"d-flex-center\">\r\n        <ion-img  src=\"../../../../assets/img/error.png\"></ion-img>\r\n      </div>\r\n\r\n      <div class=\"m-title\">Error</div>\r\n\r\n      <div class=\"m-section\">\r\n          <ion-text class=\"m-text\">\r\n            <p>\r\n              {{description}}\r\n            </p>\r\n          </ion-text>\r\n        \r\n        <div class=\"m-button\">\r\n            <ion-button size=\"small large\" (click)=\"dismissModal()\" color=\"success\" >Volver</ion-button>\r\n        </div>\r\n      </div>\r\n\r\n    </div>\r\n    \r\n  </ion-content>\r\n\r\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", "form", "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 \" > \r\n\r\n  <ion-content>\r\n\r\n      <div class=\"d-flex\">\r\n        <ion-icon class=\"m-icon\" (click)=\"dismissModal()\" name=\"close\"></ion-icon>\r\n      </div>\r\n\r\n    <div  class=\"modal-img\">\r\n      <div class=\"d-flex-center\">\r\n        <ion-img  src=\"../../../../assets/img/error.png\"></ion-img>\r\n      </div>\r\n\r\n      <div class=\"m-title\">Error</div>\r\n\r\n      <div class=\"m-section\">\r\n          <ion-text class=\"m-text\">\r\n            <p>\r\n              {{description}}\r\n            </p>\r\n          </ion-text>\r\n        \r\n        <div class=\"m-button\">\r\n            <ion-button size=\"small large\" (click)=\"dismissModal()\" color=\"success\" >Volver</ion-button>\r\n        </div>\r\n      </div>\r\n\r\n    </div>\r\n    \r\n  </ion-content>\r\n\r\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaW5mb3JtYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi91aS9tb2RhbC1pbmZvcm1hdGlvbi9tb2RhbC1pbmZvcm1hdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL3VpL21vZGFsLWluZm9ybWF0aW9uL21vZGFsLWluZm9ybWF0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBU2pELE1BQU0sT0FBTyx5QkFBeUI7SUFJcEMsWUFBcUIsU0FBMEI7UUFBMUIsY0FBUyxHQUFULFNBQVMsQ0FBaUI7SUFBSSxDQUFDO0lBRXBELFFBQVEsS0FBSSxDQUFDO0lBRWIsWUFBWTtRQUNWLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxFQUFFLENBQUM7SUFDM0IsQ0FBQzs7c0hBVlUseUJBQXlCOz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