import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@aztrix/components/success-icon";
import * as i3 from "@aztrix/components/button";
import * as i4 from "@aztrix/helpers";
export class ActionFinishedComponent {
    constructor() {
        this.bodyIconClass = 'check';
        this.bodyIconColorClass = 'green' || 'red' || 'orange';
        this.buttonLabel = 'label.ok';
        this.showButton = true;
        this.showIcon = true;
        this.didClickButton = new EventEmitter();
    }
}
ActionFinishedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ActionFinishedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ActionFinishedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ActionFinishedComponent, selector: "ax-action-finished", inputs: { bodyIconClass: "bodyIconClass", bodyIconColorClass: "bodyIconColorClass", bodyTitle: "bodyTitle", bodyExplanation: "bodyExplanation", buttonLabel: "buttonLabel", showButton: "showButton", showIcon: "showIcon" }, outputs: { didClickButton: "didClickButton" }, ngImport: i0, template: "<ax-success-icon\n  *ngIf=\"showIcon\"\n  [color]=\"bodyIconColorClass\"\n  [name]=\"bodyIconClass\"\n></ax-success-icon>\n<h3 *ngIf=\"bodyTitle\">{{ bodyTitle | translate }}</h3>\n<span>{{ bodyExplanation | translate }}</span>\n<div *ngIf=\"showButton\" class=\"h-button-wrapper h-button-wrapper--center\">\n  <button axButton (click)=\"didClickButton.emit()\" color=\"primary\">\n    {{ buttonLabel | translate }}\n  </button>\n</div>\n", styles: [":host{padding:1rem;text-align:center;background-color:#fff;position:relative;display:block}span{display:block}.h-button-wrapper{padding-top:1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.SuccessIconComponent, selector: "ax-success-icon", inputs: ["name", "color"] }, { kind: "directive", type: i3.ButtonDirective, selector: "[axButton]", inputs: ["color", "labelHideMobile", "smallButton", "bigButton", "fullWidth", "filled", "outline", "icon-button", "hoverLabel", "hover", "lowercase", "disabled"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ActionFinishedComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-action-finished', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-success-icon\n  *ngIf=\"showIcon\"\n  [color]=\"bodyIconColorClass\"\n  [name]=\"bodyIconClass\"\n></ax-success-icon>\n<h3 *ngIf=\"bodyTitle\">{{ bodyTitle | translate }}</h3>\n<span>{{ bodyExplanation | translate }}</span>\n<div *ngIf=\"showButton\" class=\"h-button-wrapper h-button-wrapper--center\">\n  <button axButton (click)=\"didClickButton.emit()\" color=\"primary\">\n    {{ buttonLabel | translate }}\n  </button>\n</div>\n", styles: [":host{padding:1rem;text-align:center;background-color:#fff;position:relative;display:block}span{display:block}.h-button-wrapper{padding-top:1rem}\n"] }]
        }], propDecorators: { bodyIconClass: [{
                type: Input
            }], bodyIconColorClass: [{
                type: Input
            }], bodyTitle: [{
                type: Input
            }], bodyExplanation: [{
                type: Input
            }], buttonLabel: [{
                type: Input
            }], showButton: [{
                type: Input
            }], showIcon: [{
                type: Input
            }], didClickButton: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLWZpbmlzaGVkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tZmluaXNoZWQvYWN0aW9uLWZpbmlzaGVkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tZmlua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