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

import { CreateWebshopCustomerComponent } from './create-webshop-customer.component';
import { AddressFormBlockModule } from '../../components/form-blocks/address';
import { BirthDateFormBlockModule } from '../../components/form-blocks/birth-date';
import { NameFormBlockModule } from '../../components/form-blocks/name';
import { OrganisationFormBlockModule } from '../../components/form-blocks/organisation';
import { CustomerTypeSelectorModule } from '../../components/customer-type-selector';
import {
  DeviatingAddressFormBlockComponentModule,
  EmailFormBlockModule,
  PhoneNumbersFormBlockModule,
} from '../../components/form-blocks';
import { UiSpinnerModule } from '@ui/spinner';

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