/**
 * This is the base module file. Copy the file into your site folder
 * under modules/*module-name* to extend this module and its components
 */

import { NgModule }                     from '@angular/core'
import { SharedModule }                 from '@k-core/modules/shared/mod.shared'
import { SendCartRouting }              from '@k-core/modules/send-cart/rte.send-cart'

// Specific Components
import { BAUHAUS_ShippingComponent } from './components/shipping/cmp.shipping'

// Base Components
import { AddressComponent } from '@k-core/modules/send-cart/components/address/cmp.address'
import { AddressBlockComponent } from '@k-core/modules/send-cart/components/addressBlock/cmp.addressBlock'
import { BusblockComponent } from '@k-core/modules/send-cart/components/busblock/cmp.busblock'
import { SalesRepComponent } from '@k-core/modules/send-cart/components/sales-rep/cmp.sales-rep'
import { SummaryComponent } from '@k-core/modules/send-cart/components/summary/cmp.summary'
import { DiscountComponent } from '@k-core/modules/send-cart/components/discount/cmp.discount'
import { CommentComponent } from '@k-core/modules/send-cart/components/comment/cmp.comment'
import { SubmitComponent } from '@k-core/modules/send-cart/components/submit/cmp.submit'
import { MessageComponent } from '@k-core/modules/send-cart/components/message/cmp.message'
import { MutualAgreementComponent } from '@k-core/modules/send-cart/components/mutualAgreement/cmp.mutualAgreement'

// Views
import { SendCartView } from '@k-core/modules/send-cart/partial/view.send-cart'

// Services
import { SendCartConfiguration } from '@k-core/modules/send-cart/services/cnf.send-cart'
import { SendCartService } from '@k-core/modules/send-cart/services/svc.send-cart'
import { SendCartFactory } from '@k-core/modules/send-cart/services/fac.send-cart'

// Common
import { CommonDiscountServices } from '@k-common/discount/com.discount-services'
import { MatCheckboxModule } from '@angular/material'

@NgModule({
    imports: [ 
        SharedModule,
        MatCheckboxModule,
        CommonDiscountServices,
        SendCartRouting
    ],
    exports: [
        // *Add your exports here*
    ],
    declarations: [
        // Components
        AddressComponent,
        AddressBlockComponent,
        BAUHAUS_ShippingComponent,
        BusblockComponent,
        SalesRepComponent,
        SummaryComponent,
        DiscountComponent,
        CommentComponent,
        SubmitComponent,
        MessageComponent,
        MutualAgreementComponent,

        // Directives
        // *Add your directives here*

        // Views
        SendCartView,
    ],
    providers: [
        // Services
        SendCartConfiguration,
        SendCartService,
        SendCartFactory
    ]
})

export class SendCartModule {}
