import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { CreateB2BCustomerComponent } from './create-b2b-customer.component';
import { OrganisationFormBlockModule } from '../../components/form-blocks/organisation';
import { NameFormBlockModule } from '../../components/form-blocks/name';
import { AddressFormBlockModule } from '../../components/form-blocks/address';
import { CustomerTypeSelectorModule } from '../../components/customer-type-selector';
import { DeviatingAddressFormBlockComponentModule, EmailFormBlockModule } from '../../components/form-blocks';
import { PhoneNumbersFormBlockModule } from '../../components/form-blocks/phone-numbers/phone-numbers-form-block.module';
import { UiSpinnerModule } from '@ui/spinner';

@NgModule({
  imports: [
    CommonModule,
    OrganisationFormBlockModule,
    NameFormBlockModule,
    AddressFormBlockModule,
    DeviatingAddressFormBlockComponentModule,
    CustomerTypeSelectorModule,
    EmailFormBlockModule,
    PhoneNumbersFormBlockModule,
    UiSpinnerModule,
  ],
  exports: [CreateB2BCustomerComponent],
  declarations: [CreateB2BCustomerComponent],
})
export class CreateB2BCustomerModule {}
