import { Component, Input, ViewEncapsulation } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "monkey-style-guide";
import * as i2 from "@angular/common";
import * as i3 from "@ngx-translate/core";
export class VersionChangedComponent {
    constructor() {
        this.config = null;
    }
    onClose() {
        document.location.reload();
    }
}
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n  <div class=\"d-flex flex-column justify-content-center align-items-center\">\n    <span class=\"h2\">\n      {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n    </span>\n    <span class=\"information-title mt-4\">\n      {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n    </span>\n    <span class=\"information mt-3\">\n      {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n    </span>\n  </div>\n  <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n    <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n      {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n    </monkey-button>\n  </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedComponent, decorators: [{
            type: Component,
            args: [{ selector: 'monkeyecx-version-changed', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n  <div class=\"d-flex flex-column justify-content-center align-items-center\">\n    <span class=\"h2\">\n      {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n    </span>\n    <span class=\"information-title mt-4\">\n      {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n    </span>\n    <span class=\"information mt-3\">\n      {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n    </span>\n  </div>\n  <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n    <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n      {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n    </monkey-button>\n  </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
        }], propDecorators: { config: [{
                type: Input
            }], modalRef: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi1jaGFuZ2VkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy92ZXJzaW9uLWNoYW5nZWQvdmVyc2lvbi1jaGFuZ2VkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy92ZXJzaW9uLWNoYW5nZWQvdmVyc2lvbi1jaGFuZ2VkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQVNwRSxNQUFNLE9BQU8sdUJBQXVCO0lBTnBDO1FBT1csV0FBTSxHQUE2QixJQUFJLENBQUM7S0FPbEQ7SUFIQyxPQUFPO1FBQ0wsUUFBUSxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUUsQ0FBQztJQUM3QixDQUFDOztvSEFQVSx1QkFBdUI7d0dBQXZCLHVCQUF1QixxSENUcEMsa3hCQWlCZTsyRkRSRix1QkFBdUI7a0JBTm5DLFNBQVM7K0JBQ0UsMkJBQTJCLGlCQUd0QixpQkFBa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