
import { NgModule } 						from '@angular/core'
import { FormsModule } 						from '@angular/forms'
import { MatPaginatorModule } 				from '@angular/material/paginator'

// ---- Routes
import { CategoryRouting } 					from './rte.category'


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

// ---- Directives


// ---- Components
import { ViewComponent } 					from '@k-core/modules/category/components/view/cmp.view'
// import { CategoryOverviewComponent }        from '@k-core/modules/catalog/components/category-overview/cmp.category-overview'
// import { CategoryOverviewItemComponent }    from '@k-core/modules/catalog/components/category-overview/item/cmp.category-overview__item'



// ---- Templates (Views)
// import { CategoryOverviewView }             from '@k-core/modules/catalog/templates/category-overview/view.category-overview'

// ---- Services
import { ProductService }           		from '@k-core/services/svc.product'
import { CategoryService }          		from '@k-services/svc.category'
import { CategoriesListComponent } 			from '@k-core/modules/category/components/categories/cmp.categories'


@NgModule({
	imports: [
		MatPaginatorModule,
		SharedModule,
		SearchPartialModule,
		FormsModule,
		CategoryRouting,
	],
	exports: [
	],
	declarations: [
		ViewComponent,
		// CategoryOverviewComponent,
		// CategoryOverviewItemComponent,
		// CategoryOverviewView,
		CategoriesListComponent,
	],
	providers: [

		ProductService,
		CategoryService
	]
})

export class CategoryModule {}