Commit 507260c0 authored by prumde's avatar prumde

Added training/variants and reviewscreen component.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174487 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a270464a
...@@ -37,6 +37,7 @@ import { EcmOutingComponent } from './ecm-product-details/ecm-template/ecm-outin ...@@ -37,6 +37,7 @@ import { EcmOutingComponent } from './ecm-product-details/ecm-template/ecm-outin
import { EcmFoodComponent } from './ecm-product-details/ecm-template/ecm-food.component'; import { EcmFoodComponent } from './ecm-product-details/ecm-template/ecm-food.component';
import { EcmHandicraftComponent } from './ecm-product-details/ecm-template/ecm-handicraft.component'; import { EcmHandicraftComponent } from './ecm-product-details/ecm-template/ecm-handicraft.component';
import { EcmCelebrationComponent } from './ecm-product-details/ecm-template/ecm-celebration.component'; import { EcmCelebrationComponent } from './ecm-product-details/ecm-template/ecm-celebration.component';
import { EcmTrainingComponent } from './ecm-product-details/ecm-template/ecm-training.component';
import { EcmCategoryComponent } from './ecm-view/ecm-category/ecm-category.component'; import { EcmCategoryComponent } from './ecm-view/ecm-category/ecm-category.component';
import { EcmSubCategoryComponent } from './ecm-view/ecm-sub-category/ecm-sub-category.component'; import { EcmSubCategoryComponent } from './ecm-view/ecm-sub-category/ecm-sub-category.component';
...@@ -64,6 +65,7 @@ import { EcmSubCategoryService } from './ecm-view/ecm-sub-category/ecm-sub-categ ...@@ -64,6 +65,7 @@ import { EcmSubCategoryService } from './ecm-view/ecm-sub-category/ecm-sub-categ
import { EcmProductService } from './ecm-view/ecm-product/ecm-product.service'; import { EcmProductService } from './ecm-view/ecm-product/ecm-product.service';
import { EcmProductDetailService } from './ecm-product-details/ecm-product-detail.service'; import { EcmProductDetailService } from './ecm-product-details/ecm-product-detail.service';
import { EcmLocationService } from './ecm-search/ecm-location.service'; import { EcmLocationService } from './ecm-search/ecm-location.service';
import { Breadcrumbs } from './ecm-breadcrumbs/ecm-breadcrumbs.component';
import reducer from './ecm-store/reducers'; import reducer from './ecm-store/reducers';
import {CartActions, CategoryActions, SubCategoryActions, ItemActions, LocationActions, WishListActions, MenuActions,ProfileActions, AdressAction, ReviewAction, SavedCardAction} from './ecm-store/actions'; import {CartActions, CategoryActions, SubCategoryActions, ItemActions, LocationActions, WishListActions, MenuActions,ProfileActions, AdressAction, ReviewAction, SavedCardAction} from './ecm-store/actions';
...@@ -78,6 +80,8 @@ import { MyProfileComponent } from './my-profile/my-profile.component'; ...@@ -78,6 +80,8 @@ import { MyProfileComponent } from './my-profile/my-profile.component';
import { ChangePasswordComponent } from './change-password/change-password.component'; import { ChangePasswordComponent } from './change-password/change-password.component';
import { MaterialModule } from './module'; import { MaterialModule } from './module';
import { EcmOrderComponent } from './ecm-order/ecm-order.component';
import { EcmVariantsComponent } from './ecm-view/ecm-variants/ecm-variants.component';
//Changes by Prajyot //Changes by Prajyot
const appRoutes: Routes = [ const appRoutes: Routes = [
...@@ -92,6 +96,7 @@ const appRoutes: Routes = [ ...@@ -92,6 +96,7 @@ const appRoutes: Routes = [
{ path: 'cart', component: EcmCartComponent}, { path: 'cart', component: EcmCartComponent},
{ path: 'checkout', component: EcmCheckoutComponent}, { path: 'checkout', component: EcmCheckoutComponent},
{ path: 'wishlist', component: EcmWishListComponent}, { path: 'wishlist', component: EcmWishListComponent},
{ path: 'myOrder', component: EcmOrderComponent},
{ path: 'myprofile', component: MyProfileComponent, children: [ { path: 'myprofile', component: MyProfileComponent, children: [
{ path: 'userprofile', component: UserProfileComponent, outlet: 'profile' }, { path: 'userprofile', component: UserProfileComponent, outlet: 'profile' },
{ path: 'useraddress', component: UserAddressComponent, outlet: 'profile' }, { path: 'useraddress', component: UserAddressComponent, outlet: 'profile' },
...@@ -124,6 +129,7 @@ const appRoutes: Routes = [ ...@@ -124,6 +129,7 @@ const appRoutes: Routes = [
EcmFoodComponent, EcmFoodComponent,
EcmHandicraftComponent, EcmHandicraftComponent,
EcmCelebrationComponent, EcmCelebrationComponent,
EcmTrainingComponent,
EcmCategoryComponent, EcmCategoryComponent,
EcmSubCategoryComponent, EcmSubCategoryComponent,
EcmProductComponent, EcmProductComponent,
...@@ -155,7 +161,9 @@ const appRoutes: Routes = [ ...@@ -155,7 +161,9 @@ const appRoutes: Routes = [
CardEditor, CardEditor,
CardScreenComponent, CardScreenComponent,
ReviewEditor, ReviewEditor,
ReviewScreenComponent ReviewScreenComponent,
EcmOrderComponent,
EcmVariantsComponent
], ],
imports: [ imports: [
BrowserModule, BrowserModule,
...@@ -204,13 +212,15 @@ const appRoutes: Routes = [ ...@@ -204,13 +212,15 @@ const appRoutes: Routes = [
WishListActions, WishListActions,
MenuActions, MenuActions,
ProfileActions, ProfileActions,
AdressAction, ReviewAction, SavedCardAction AdressAction, ReviewAction, SavedCardAction,
Breadcrumbs
], ],
entryComponents: [ entryComponents: [
EcmOutingComponent, EcmOutingComponent,
EcmFoodComponent, EcmFoodComponent,
EcmHandicraftComponent, EcmHandicraftComponent,
EcmCelebrationComponent, EcmCelebrationComponent,
EcmTrainingComponent,
ECMConfirmDialog, ECMConfirmDialog,
ECMWriteReviewDialog, ECMWriteReviewDialog,
ECMDialog ECMDialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment