import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { AngularSvgIconModule } from 'angular-svg-icon';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import {
  PaButtonModule,
  PaDateTimeModule,
  PaIconModule,
  PaModalModule,
  PaTableModule,
  PaTextFieldModule,
  PaTogglesModule,
} from '@guillotinaweb/pastanaga-angular';
import { BackButtonComponent, CountrySelectComponent, SisProgressModule } from '@nuclia/sistema';
import { STFPipesModule } from '@flaps/core';
import { BillingComponent } from './billing.component';
import { SubscriptionsComponent } from './subscriptions/subscriptions.component';
import { CheckoutComponent } from './checkout/checkout.component';
import { ReviewComponent } from './review/review.component';
import { FeaturesComponent } from './features/features.component';
import { HistoryComponent } from './history/history.component';
import { UsageTableComponent } from './usage/usage-table.component';
import { RedirectComponent } from './redirect.component';
import { MySubscriptionComponent } from './my-subscription/my-subscription.component';
import { UnsubscribeComponent } from './my-subscription/unsubscribe.component';
import { AwsSubscriptionComponent } from './subscriptions/aws-subscription/aws-subscription.component';
import { ManualSubscriptionComponent } from './subscriptions/manual-subscription/manual-subscription.component';
import { BudgetComponent } from './usage/budget.component';

@NgModule({
  imports: [
    CommonModule,
    TranslateModule.forChild(),
    AngularSvgIconModule,
    ReactiveFormsModule,
    RouterModule,
    PaButtonModule,
    PaDateTimeModule,
    PaModalModule,
    PaTextFieldModule,
    PaIconModule,
    PaTableModule,
    PaTogglesModule,
    SisProgressModule,
    CountrySelectComponent,
    BackButtonComponent,
    STFPipesModule,
    BudgetComponent,
  ],
  declarations: [
    BillingComponent,
    SubscriptionsComponent,
    CheckoutComponent,
    ReviewComponent,
    FeaturesComponent,
    HistoryComponent,
    RedirectComponent,
    UsageTableComponent,
    MySubscriptionComponent,
    UnsubscribeComponent,
    AwsSubscriptionComponent,
    ManualSubscriptionComponent,
  ],
})
export class BillingModule {}
