import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { OverlayService } from '@aztrix/components/overlay';
import * as i0 from "@angular/core";
import * as i1 from "@aztrix/components/overlay";
import * as i2 from "@aztrix/components/action-finished";
export class SimpleMessageModalComponent {
    constructor(_overlay) {
        this._overlay = _overlay;
        this.buttonLabel = 'label.ok';
    }
    clicked() {
        this._overlay.closeModal();
    }
}
SimpleMessageModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SimpleMessageModalComponent, deps: [{ token: i1.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
SimpleMessageModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: SimpleMessageModalComponent, selector: "ax-simple-message-modal", inputs: { text: "text", buttonLabel: "buttonLabel", icon: "icon" }, ngImport: i0, template: "<ax-action-finished\n  class=\"action-finished\"\n  [bodyExplanation]=\"text\"\n  [showIcon]=\"!!icon\"\n  [bodyIconClass]=\"icon\"\n  [buttonLabel]=\"buttonLabel\"\n  [showButton]=\"!!buttonLabel\"\n  (didClickButton)=\"clicked()\"\n></ax-action-finished>\n", styles: [".action-finished{padding:0;padding-top:1rem}\n"], dependencies: [{ kind: "component", type: i2.ActionFinishedComponent, selector: "ax-action-finished", inputs: ["bodyIconClass", "bodyIconColorClass", "bodyTitle", "bodyExplanation", "buttonLabel", "showButton", "showIcon"], outputs: ["didClickButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SimpleMessageModalComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-simple-message-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-action-finished\n  class=\"action-finished\"\n  [bodyExplanation]=\"text\"\n  [showIcon]=\"!!icon\"\n  [bodyIconClass]=\"icon\"\n  [buttonLabel]=\"buttonLabel\"\n  [showButton]=\"!!buttonLabel\"\n  (didClickButton)=\"clicked()\"\n></ax-action-finished>\n", styles: [".action-finished{padding:0;padding-top:1rem}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.OverlayService }]; }, propDecorators: { text: [{
                type: Input
            }], buttonLabel: [{
                type: Input
            }], icon: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLW1lc3NhZ2UtbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NpbXBsZS1tZXNzYWdlLW1vZGFsL3NpbXBsZS1tZXNzYWdlLW1vZGFsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zaW1wbGUtbWVzc2FnZS1tb2RhbC9zaW1wbGUtbWVzc2FnZS1tb2RhbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sNEJBQTRCLENBQUM7Ozs7QUFRMUQsTUFBTSxPQUFPLDJCQUEyQjtJQUt0QyxZQUFvQixRQUF3QjtRQUF4QixhQUFRLEdBQVIsUUFBUSxDQUFnQjtRQUhuQyxnQkFBVyxHQUFHLFVBQVUsQ0FBQztJQUdhLENBQUM7SUFFaEQsT0FBTztRQUNMLElBQUksQ0FBQyxRQUFRLENBQUMsVUFBVSxFQUFFLENBQUM7SUFDN0IsQ0FBQzs7d0hBVFUsMkJBQTJCOzRHQUEzQiwyQkFBMkIsbUlDVHhDLG9RQVNBOzJGREFhLDJCQUEyQjtrQkFOdkMsU0FBUzsrQkFDRSx5QkFBeUIsbUJBR2xCLHVCQUF1Qix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