From 38574a958f48367e674e293101509380c09e36f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Thu, 23 Dec 2021 10:03:33 +0300 Subject: [PATCH] update steps and tabmenu --- src/app/app-routing.module.ts | 13 ++++++++- src/app/app.module.ts | 10 ++++++- .../view/menu/confirmationdemo.component.ts | 15 ++++++++++ .../demo/view/menu/paymentdemo.component.ts | 15 ++++++++++ .../demo/view/menu/personaldemo.component.ts | 15 ++++++++++ src/app/demo/view/menu/seatdemo.component.ts | 15 ++++++++++ src/app/demo/view/menusdemo.component.html | 6 ++-- src/app/demo/view/menusdemo.component.ts | 29 +++++-------------- 8 files changed, 93 insertions(+), 25 deletions(-) create mode 100644 src/app/demo/view/menu/confirmationdemo.component.ts create mode 100644 src/app/demo/view/menu/paymentdemo.component.ts create mode 100644 src/app/demo/view/menu/personaldemo.component.ts create mode 100644 src/app/demo/view/menu/seatdemo.component.ts diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 7af8497..5a0d5fc 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -24,6 +24,10 @@ import {InvalidStateDemoComponent} from './demo/view/invalidstatedemo.component' import {AppTimelineDemoComponent} from './pages/app.timelinedemo.component'; import {IconsDemoComponent} from './demo/view/iconsdemo.component'; +import {SeatDemoComponent} from './demo/view/menu/seatdemo.component'; +import {PersonalDemoComponent} from './demo/view/menu/personaldemo.component'; +import {ConfirmationDemoComponent} from './demo/view/menu/confirmationdemo.component'; +import {PaymentDemoComponent} from './demo/view/menu/paymentdemo.component'; @NgModule({ imports: [ RouterModule.forRoot([ @@ -41,7 +45,14 @@ import {IconsDemoComponent} from './demo/view/iconsdemo.component'; {path: 'uikit/tree', component: TreeDemoComponent}, {path: 'uikit/panel', component: PanelsDemoComponent}, {path: 'uikit/overlay', component: OverlaysDemoComponent}, - {path: 'uikit/menu', component: MenusDemoComponent}, + {path: 'uikit/menu', component: MenusDemoComponent, + children: [ + {path:'', component: PersonalDemoComponent }, + {path:'seat', component: SeatDemoComponent }, + {path:'payment', component: PaymentDemoComponent }, + {path:'confirmation', component: ConfirmationDemoComponent }, + ] + }, {path: 'uikit/message', component: MessagesDemoComponent}, {path: 'uikit/misc', component: MiscDemoComponent}, {path: 'uikit/charts', component: ChartsDemoComponent}, diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 0e93817..42acb76 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -119,6 +119,10 @@ import {AppCrudComponent} from './pages/app.crud.component'; import {AppTimelineDemoComponent} from './pages/app.timelinedemo.component'; import {IconsDemoComponent} from './demo/view/iconsdemo.component'; import {AppBlocksDemoComponent} from './demo/view/app.blocksdemo.component'; +import {SeatDemoComponent} from './demo/view/menu/seatdemo.component'; +import {PaymentDemoComponent} from './demo/view/menu/paymentdemo.component'; +import {PersonalDemoComponent} from './demo/view/menu/personaldemo.component'; +import {ConfirmationDemoComponent} from './demo/view/menu/confirmationdemo.component'; import {CountryService} from './demo/service/countryservice'; import {CustomerService} from './demo/service/customerservice'; @@ -260,7 +264,11 @@ FullCalendarModule.registerPlugins([ AppCrudComponent, AppTimelineDemoComponent, AppBlocksDemoComponent, - BlockViewer + BlockViewer, + SeatDemoComponent, + PaymentDemoComponent, + PersonalDemoComponent, + ConfirmationDemoComponent ], providers: [ {provide: LocationStrategy, useClass: HashLocationStrategy}, diff --git a/src/app/demo/view/menu/confirmationdemo.component.ts b/src/app/demo/view/menu/confirmationdemo.component.ts new file mode 100644 index 0000000..e4a809d --- /dev/null +++ b/src/app/demo/view/menu/confirmationdemo.component.ts @@ -0,0 +1,15 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-confirmationdemo', + template: ` +
Confirmation Component Content via Child Route
+Payment Component Content via Child Route
+Personal Component Content via Child Route
+Seat Component Content via Child Route
+