/**
 * @since Mon Feb 05 2018
 * @author Charles Gouldmann - Klean
 * 
 * Description:
 * Block module is used for groups of content. 
 * The content should be unique-ish, meaning that the module should not be used for 
 * content that is repeating across the site eg. a newsletter signup above the
 */


import { NgModule }                 from '@angular/core'

// ---- Router
import { BlockRouting }             from './rte.block'


// ---- Shared Modules
import { SharedModule }                     from '@k-core/modules/shared/mod.shared'


// ---- Components
// Core
import { BlockSliderComponent }             from '@k-core/modules/block/components/slider/cmp.slider'
import { BlockTeaserComponent }             from '@k-core/modules/block/components/teaser/cmp.teaser'
import { BlockImageGridComponent }          from '@k-core/modules/block/components/image-grid/cmp.image-grid'
import { BlockDefaultComponent }            from '@k-core/modules/block/components/default/cmp.default'

// Site
import { Gardinbuscom_BlockTextComponent }               from './components/text/cmp.text'
import { Gardinbuscom_BannerImageComponent }             from './components/banner-image/cmp.banner-image'
import { Gardinbuscom_BlockImageTextandButtonComponent } from './components/image-text-and-button/cmp.image-text-and-button'


// ---- Views
import { Gardinbuscom_BlockView }                from './template/view.block'

// ---- Services
import { BlockService }             from '@k-core/modules/block/services/svc.block'



@NgModule({
    imports: [ 
        SharedModule,
    ],
    exports: [
        Gardinbuscom_BlockView,
    ],
    declarations: [
        // Components
        Gardinbuscom_BlockTextComponent,
        Gardinbuscom_BannerImageComponent,
        BlockSliderComponent,
        BlockTeaserComponent,
        BlockImageGridComponent,
        Gardinbuscom_BlockImageTextandButtonComponent,
        BlockDefaultComponent,

        // Views
        Gardinbuscom_BlockView,
    ],
    providers: [
        BlockService,
    ]
})

export class BlockModule {}
