|
@@ -28,34 +28,36 @@ import { ProductVariantsTableComponent } from './components/product-variants-tab
|
|
|
import { UpdateProductOptionDialogComponent } from './components/update-product-option-dialog/update-product-option-dialog.component';
|
|
import { UpdateProductOptionDialogComponent } from './components/update-product-option-dialog/update-product-option-dialog.component';
|
|
|
import { VariantPriceDetailComponent } from './components/variant-price-detail/variant-price-detail.component';
|
|
import { VariantPriceDetailComponent } from './components/variant-price-detail/variant-price-detail.component';
|
|
|
|
|
|
|
|
|
|
+const CATALOG_COMPONENTS = [
|
|
|
|
|
+ ProductListComponent,
|
|
|
|
|
+ ProductDetailComponent,
|
|
|
|
|
+ FacetListComponent,
|
|
|
|
|
+ FacetDetailComponent,
|
|
|
|
|
+ GenerateProductVariantsComponent,
|
|
|
|
|
+ ProductVariantsListComponent,
|
|
|
|
|
+ ApplyFacetDialogComponent,
|
|
|
|
|
+ AssetListComponent,
|
|
|
|
|
+ ProductAssetsComponent,
|
|
|
|
|
+ VariantPriceDetailComponent,
|
|
|
|
|
+ CollectionListComponent,
|
|
|
|
|
+ CollectionDetailComponent,
|
|
|
|
|
+ CollectionTreeComponent,
|
|
|
|
|
+ CollectionTreeNodeComponent,
|
|
|
|
|
+ CollectionContentsComponent,
|
|
|
|
|
+ ProductVariantsTableComponent,
|
|
|
|
|
+ ProductSearchInputComponent,
|
|
|
|
|
+ OptionValueInputComponent,
|
|
|
|
|
+ UpdateProductOptionDialogComponent,
|
|
|
|
|
+ ProductVariantsEditorComponent,
|
|
|
|
|
+ AssignProductsToChannelDialogComponent,
|
|
|
|
|
+ AssetDetailComponent,
|
|
|
|
|
+ ConfirmVariantDeletionDialogComponent,
|
|
|
|
|
+ ProductOptionsEditorComponent,
|
|
|
|
|
+];
|
|
|
|
|
+
|
|
|
@NgModule({
|
|
@NgModule({
|
|
|
imports: [SharedModule, RouterModule.forChild(catalogRoutes)],
|
|
imports: [SharedModule, RouterModule.forChild(catalogRoutes)],
|
|
|
- exports: [],
|
|
|
|
|
- declarations: [
|
|
|
|
|
- ProductListComponent,
|
|
|
|
|
- ProductDetailComponent,
|
|
|
|
|
- FacetListComponent,
|
|
|
|
|
- FacetDetailComponent,
|
|
|
|
|
- GenerateProductVariantsComponent,
|
|
|
|
|
- ProductVariantsListComponent,
|
|
|
|
|
- ApplyFacetDialogComponent,
|
|
|
|
|
- AssetListComponent,
|
|
|
|
|
- ProductAssetsComponent,
|
|
|
|
|
- VariantPriceDetailComponent,
|
|
|
|
|
- CollectionListComponent,
|
|
|
|
|
- CollectionDetailComponent,
|
|
|
|
|
- CollectionTreeComponent,
|
|
|
|
|
- CollectionTreeNodeComponent,
|
|
|
|
|
- CollectionContentsComponent,
|
|
|
|
|
- ProductVariantsTableComponent,
|
|
|
|
|
- ProductSearchInputComponent,
|
|
|
|
|
- OptionValueInputComponent,
|
|
|
|
|
- UpdateProductOptionDialogComponent,
|
|
|
|
|
- ProductVariantsEditorComponent,
|
|
|
|
|
- AssignProductsToChannelDialogComponent,
|
|
|
|
|
- AssetDetailComponent,
|
|
|
|
|
- ConfirmVariantDeletionDialogComponent,
|
|
|
|
|
- ProductOptionsEditorComponent,
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ exports: [...CATALOG_COMPONENTS],
|
|
|
|
|
+ declarations: [...CATALOG_COMPONENTS],
|
|
|
})
|
|
})
|
|
|
export class CatalogModule {}
|
|
export class CatalogModule {}
|