import { CommonModule } from '@angular/common';
import { Component, EventEmitter, Output } from '@angular/core';
import { ButtonModule } from '@aztrix/components/button';
import { TranslatePipe } from '@aztrix/translate';
import * as i0 from "@angular/core";
import * as i1 from "@aztrix/components/button";
export class CancelTierSubscriptionComponent {
    constructor() {
        this.confirmClicked = new EventEmitter();
    }
    confirm() {
        this.confirmClicked.emit();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CancelTierSubscriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CancelTierSubscriptionComponent, isStandalone: true, selector: "ax-cancel-tier-subscription", outputs: { confirmClicked: "confirmClicked" }, ngImport: i0, template: "{{ 'cancel.subscription.explanation' | translate }}\n\n<button class=\"button\" axButton (click)=\"confirm()\" filled fullWidth color=\"primary\">\n  {{ 'cancel.subscription' | translate }}\n</button>\n", styles: [":host{display:block;padding:1rem}.button{margin-top:1rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[axButton]", inputs: ["color", "labelHideMobile", "smallButton", "bigButton", "fullWidth", "filled", "outline", "icon-button", "hoverLabel", "hover", "lowercase", "disabled"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CancelTierSubscriptionComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-cancel-tier-subscription', standalone: true, imports: [CommonModule, ButtonModule, TranslatePipe], template: "{{ 'cancel.subscription.explanation' | translate }}\n\n<button class=\"button\" axButton (click)=\"confirm()\" filled fullWidth color=\"primary\">\n  {{ 'cancel.subscription' | translate }}\n</button>\n", styles: [":host{display:block;padding:1rem}.button{margin-top:1rem}\n"] }]
        }], propDecorators: { confirmClicked: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FuY2VsLXRpZXItc3Vic2NyaXB0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90aWVycy9jYW5jZWwtdGllci1zdWJzY3JpcHRpb24vY2FuY2VsLXRpZXItc3Vic2NyaXB0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90aWVycy9jYW5jZWwtdGllci1zdWJzY3JpcHRpb24vY2FuY2VsLXRpZXItc3Vic2NyaXB0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQ3ZELE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQzs7O0FBU2hELE1BQU0sT0FBTywrQkFBK0I7SUFQNUM7UUFRWSxtQkFBYyxHQUFHLElBQUksWUFBWSxFQUFRLENBQUM7S0FLckQ7SUFIQyxPQUFPO1FBQ0wsSUFBSSxDQUFDLGNBQWMsQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUM3QixDQUFDOytHQUxVLCtCQUErQjttR0FBL0IsK0JBQStCLHNJQ1o1Qyw0TUFLQSxvSERLWSxZQUFZLDhCQUFFLFlBQVksc1FBQUUsYUFBYTs7NEZBRXhDLCtCQUErQjtrQkFQM0MsU0FBUzsrQkFDRSw2QkFBNkIsY0FHM0IsSU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