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

import { CustomerTypeSelectorComponent } from './customer-type-selector/customer-type-selector.component';
import { UiFormControlModule } from '@ui/form-control';
import { UiInputModule } from '@ui/input';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { UiSelectModule } from '@ui/select';
import { CustomerCreateBranchComponent } from './customer-create-branch.component';
import { CustomerCreateGuestComponent } from './customer-create-guest.component';
import { CustomerCreateOnlineComponent } from './customer-create-online.component';
import { CustomerCreateB2BComponent } from './customer-create-b2b.component';
import { AddressSelectionModalModule } from '../modals/address-selection-modal/address-selection-modal.module';
import { CantAddCustomerToCartModalModule } from '../modals/cant-add-customer-to-cart-modal/cant-add-customer-to-cart.module';
import { UiIconModule } from '@ui/icon';
import { UiCheckboxModule } from '@ui/checkbox';
import { UiSpinnerModule } from '@ui/spinner';

@NgModule({
  imports: [
    CommonModule,
    UiFormControlModule,
    UiInputModule,
    FormsModule,
    ReactiveFormsModule,
    RouterModule,
    UiSelectModule,
    UiIconModule,
    AddressSelectionModalModule,
    CantAddCustomerToCartModalModule,
    UiCheckboxModule,
    UiSpinnerModule,
  ],
  exports: [CustomerCreateBranchComponent, CustomerCreateGuestComponent, CustomerCreateOnlineComponent, CustomerCreateB2BComponent],
  declarations: [
    CustomerCreateBranchComponent,
    CustomerTypeSelectorComponent,
    CustomerCreateGuestComponent,
    CustomerCreateOnlineComponent,
    CustomerCreateB2BComponent,
  ],
})
export class CustomerCreateModule {}
