import { Component, EventEmitter, Input, Output } from '@angular/core';
import { TierSubscriptionRepresentation } from '@aztrix/sdk';
import * as i0 from "@angular/core";
import * as i1 from "@aztrix/components/button";
import * as i2 from "@aztrix/helpers";
export class ConfirmTierSubscriptionComponent {
    constructor() {
        this.confirm = new EventEmitter();
        this.cancel = new EventEmitter();
    }
}
ConfirmTierSubscriptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ConfirmTierSubscriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ConfirmTierSubscriptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ConfirmTierSubscriptionComponent, selector: "ax-confirm-tier-subscription", inputs: { newTierSubscription: "newTierSubscription" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "{{\n  'tiers.upgrade-downgrade.modal.downgrade.message.1'\n    | translate: {nextTier: newTierSubscription.tier}\n}}\n\n<div class=\"btn-wrapper\">\n  <button class=\"button\" axButton (click)=\"confirm.next()\" filled fullWidth color=\"primary\">\n    {{ 'tiers.upgrade-downgrade.modal.downgrade.confirm.free' | translate }}\n  </button>\n  <button axButton (click)=\"cancel.next()\" color=\"danger\">\n    {{ 'label.cancel' | translate }}\n  </button>\n</div>\n", styles: [":host{display:block;padding:1rem}.btn-wrapper{margin-top:1rem;display:flex;flex-direction:column;gap:1rem}\n"], dependencies: [{ kind: "directive", type: i1.ButtonDirective, selector: "[axButton]", inputs: ["color", "labelHideMobile", "smallButton", "bigButton", "fullWidth", "filled", "outline", "icon-button", "hoverLabel", "hover", "lowercase", "disabled"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ConfirmTierSubscriptionComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-confirm-tier-subscription', template: "{{\n  'tiers.upgrade-downgrade.modal.downgrade.message.1'\n    | translate: {nextTier: newTierSubscription.tier}\n}}\n\n<div class=\"btn-wrapper\">\n  <button class=\"button\" axButton (click)=\"confirm.next()\" filled fullWidth color=\"primary\">\n    {{ 'tiers.upgrade-downgrade.modal.downgrade.confirm.free' | translate }}\n  </button>\n  <button axButton (click)=\"cancel.next()\" color=\"danger\">\n    {{ 'label.cancel' | translate }}\n  </button>\n</div>\n", styles: [":host{display:block;padding:1rem}.btn-wrapper{margin-top:1rem;display:flex;flex-direction:column;gap:1rem}\n"] }]
        }], propDecorators: { newTierSubscription: [{
                type: Input
            }], confirm: [{
                type: Output
            }], cancel: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS10aWVyLXN1YnNjcmlwdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGllcnMvY29uZmlybS10aWVyLXN1YnNjcmlwdGlvbi9jb25maXJtLXRpZXItc3Vic2NyaXB0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90aWVycy9jb25maXJtLXRpZXItc3Vic2NyaXB0aW9uL2NvbmZpcm0tdGllci1zdWJzY3JpcHRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNyRSxPQUFPLEVBQUMsOEJBQThCLEVBQUMsTUFBTSxhQUFhLENBQUM7Ozs7QUFPM0QsTUFBTSxPQUFPLGdDQUFnQztJQUw3QztRQU9ZLFlBQU8sR0FBRyxJQUFJLFlBQVksRUFBUSxDQUFDO1FBQ25DLFdBQU0sR0FBRyxJQUFJL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