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

import { CreateStoreCustomerComponent } from './create-store-customer.component';
import { AddressFormBlockModule } from '../../components/form-blocks/address';
import { NameFormBlockModule } from '../../components/form-blocks/name';
import { OrganisationFormBlockModule } from '../../components/form-blocks/organisation';
import { BirthDateFormBlockModule } from '../../components/form-blocks/birth-date';
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: [CreateStoreCustomerComponent],
  declarations: [CreateStoreCustomerComponent],
})
export class CreateStoreCustomerModule {}
