Update more routes and remove modules

This commit is contained in:
Justin McLellan 2023-06-17 08:19:27 -05:00
parent 34fa6d2974
commit d9a130d34a
41 changed files with 54 additions and 764 deletions

View File

@ -1,20 +1,20 @@
import { Route } from '@angular/router';
import { NotfoundComponent } from './demo/components/notfound/notfound.component';
import { AppLayoutComponent } from "./layout/app.layout.component";
import { AppLayoutComponent } from './layout/app.layout.component';
export const APP_ROUTES: Route[] = [
{
path: '', component: AppLayoutComponent,
children: [
{ path: '', loadChildren: () => import('./demo/components/dashboard/dashboard.module').then(m => m.DashboardModule) },
{ path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.module').then(m => m.UIkitModule) },
{ path: '', loadComponent: () => import('./demo/components/dashboard/dashboard.component').then(m => m.DashboardComponent) },
{ path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.routes').then(m => m.UIKIT_ROUTES) },
{ path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.module').then(m => m.UtilitiesModule) },
{ path: 'documentation', loadChildren: () => import('./demo/components/documentation/documentation.module').then(m => m.DocumentationModule) },
{ path: 'blocks', loadChildren: () => import('./demo/components/primeblocks/primeblocks.module').then(m => m.PrimeBlocksModule) },
{ path: 'pages', loadChildren: () => import('./demo/components/pages/pages.module').then(m => m.PagesModule) }
]
},
{ path: 'auth', loadChildren: () => import('./demo/components/auth/auth.module').then(m => m.AuthModule) },
{ path: 'auth', loadChildren: () => import('./demo/components/auth/auth.routes').then(m => m.AUTH_ROUTES) },
{ path: 'landing', loadChildren: () => import('./demo/components/landing/landing.module').then(m => m.LandingModule) },
{ path: 'notfound', component: NotfoundComponent },
{ path: '**', redirectTo: '/notfound' },

View File

@ -1,13 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
@NgModule({
imports: [RouterModule.forChild([
{ path: 'error', loadChildren: () => import('./error/error.module').then(m => m.ErrorModule) },
{ path: 'access', loadChildren: () => import('./access/access.module').then(m => m.AccessModule) },
{ path: 'login', loadChildren: () => import('./login/login.module').then(m => m.LoginModule) },
{ path: '**', redirectTo: '/notfound' }
])],
exports: [RouterModule]
})
export class AuthRoutingModule { }

View File

@ -1,6 +1,6 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AuthRoutingModule } from './auth-routing.module';
import { AuthRoutingModule } from './auth.routes';
@NgModule({
imports: [

View File

@ -0,0 +1,8 @@
import { Route } from '@angular/router';
export const AUTH_ROUTES: Route[] = [
{ path: 'error', loadComponent: () => import('./error/error.component').then(m => m.ErrorComponent) },
{ path: 'access', loadComponent: () => import('./access/access.component').then(m => m.AccessComponent) },
{ path: 'login', loadComponent: () => import('./login/login.component').then(m => m.LoginComponent) },
{ path: '**', redirectTo: '/notfound' }
];

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { DashboardComponent } from './dashboard.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: DashboardComponent }
])],
exports: [RouterModule]
})
export class DashboardsRoutingModule { }

View File

@ -1,27 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { DashboardComponent } from './dashboard.component';
import { ChartModule } from 'primeng/chart';
import { MenuModule } from 'primeng/menu';
import { TableModule } from 'primeng/table';
import { ButtonModule } from 'primeng/button';
import { StyleClassModule } from 'primeng/styleclass';
import { PanelMenuModule } from 'primeng/panelmenu';
import { DashboardsRoutingModule } from './dashboard-routing.module';
@NgModule({
imports: [
CommonModule,
FormsModule,
ChartModule,
MenuModule,
TableModule,
StyleClassModule,
PanelMenuModule,
ButtonModule,
DashboardsRoutingModule,
DashboardComponent
]
})
export class DashboardModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ButtonDemoComponent } from './buttondemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: ButtonDemoComponent }
])],
exports: [RouterModule]
})
export class ButtonDemoRoutingModule { }

View File

@ -1,21 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ButtonDemoRoutingModule } from './buttondemo-routing.module';
import { ButtonDemoComponent } from './buttondemo.component';
import { ButtonModule } from 'primeng/button';
import { RippleModule } from 'primeng/ripple';
import { SplitButtonModule } from 'primeng/splitbutton';
import { ToggleButtonModule } from 'primeng/togglebutton';
@NgModule({
imports: [
CommonModule,
ButtonDemoRoutingModule,
ButtonModule,
RippleModule,
SplitButtonModule,
ToggleButtonModule,
ButtonDemoComponent,
]
})
export class ButtonDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ChartsDemoComponent } from './chartsdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: ChartsDemoComponent }
])],
exports: [RouterModule]
})
export class ChartsDemoRoutingModule { }

View File

@ -1,15 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ChartsDemoRoutingModule } from './chartsdemo-routing.module';
import { ChartModule } from 'primeng/chart'
import { ChartsDemoComponent } from './chartsdemo.component';
@NgModule({
imports: [
CommonModule,
ChartsDemoRoutingModule,
ChartModule,
ChartsDemoComponent
]
})
export class ChartsDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FileDemoComponent } from './filedemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: FileDemoComponent }
])],
exports: [RouterModule]
})
export class FileDemoRoutingModule { }

View File

@ -1,18 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { FileUploadModule } from 'primeng/fileupload';
import { FileDemoRoutingModule } from './filedemo-routing.module';
import { FileDemoComponent } from './filedemo.component';
@NgModule({
imports: [
CommonModule,
FormsModule,
FileDemoRoutingModule,
FileUploadModule,
FileDemoComponent
],
})
export class FileDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FloatLabelDemoComponent } from './floatlabeldemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: FloatLabelDemoComponent }
])],
exports: [RouterModule]
})
export class FloatlabelDemoRoutingModule { }

View File

@ -1,35 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { FloatLabelDemoComponent } from './floatlabeldemo.component';
import { FloatlabelDemoRoutingModule } from './floatlabeldemo-routing.module';
import { AutoCompleteModule } from "primeng/autocomplete";
import { CalendarModule } from "primeng/calendar";
import { ChipsModule } from "primeng/chips";
import { DropdownModule } from "primeng/dropdown";
import { InputMaskModule } from "primeng/inputmask";
import { InputNumberModule } from "primeng/inputnumber";
import { CascadeSelectModule } from "primeng/cascadeselect";
import { MultiSelectModule } from "primeng/multiselect";
import { InputTextareaModule } from "primeng/inputtextarea";
import { InputTextModule } from "primeng/inputtext";
@NgModule({
imports: [
CommonModule,
FormsModule,
FloatlabelDemoRoutingModule,
AutoCompleteModule,
CalendarModule,
ChipsModule,
DropdownModule,
InputMaskModule,
InputNumberModule,
CascadeSelectModule,
MultiSelectModule,
InputTextareaModule,
InputTextModule,
FloatLabelDemoComponent
]
})
export class FloatlabelDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FormLayoutDemoComponent } from './formlayoutdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: FormLayoutDemoComponent }
])],
exports: [RouterModule]
})
export class FormLayoutDemoRoutingModule { }

View File

@ -1,35 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { FormLayoutDemoComponent } from './formlayoutdemo.component';
import { FormLayoutDemoRoutingModule } from './formlayoutdemo-routing.module';
import { AutoCompleteModule } from "primeng/autocomplete";
import { CalendarModule } from "primeng/calendar";
import { ChipsModule } from "primeng/chips";
import { DropdownModule } from "primeng/dropdown";
import { InputMaskModule } from "primeng/inputmask";
import { InputNumberModule } from "primeng/inputnumber";
import { CascadeSelectModule } from "primeng/cascadeselect";
import { MultiSelectModule } from "primeng/multiselect";
import { InputTextareaModule } from "primeng/inputtextarea";
import { InputTextModule } from "primeng/inputtext";
@NgModule({
imports: [
CommonModule,
FormsModule,
FormLayoutDemoRoutingModule,
AutoCompleteModule,
CalendarModule,
ChipsModule,
DropdownModule,
InputMaskModule,
InputNumberModule,
CascadeSelectModule,
MultiSelectModule,
InputTextareaModule,
InputTextModule,
FormLayoutDemoComponent
]
})
export class FormLayoutDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { InputDemoComponent } from './inputdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: InputDemoComponent }
])],
exports: [RouterModule]
})
export class InputDemoRoutingModule { }

View File

@ -1,59 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { InputDemoComponent } from './inputdemo.component';
import { InputDemoRoutingModule } from './inputdemo-routing.module';
import { AutoCompleteModule } from "primeng/autocomplete";
import { CalendarModule } from "primeng/calendar";
import { ChipsModule } from "primeng/chips";
import { ChipModule } from "primeng/chip";
import { DropdownModule } from "primeng/dropdown";
import { InputMaskModule } from "primeng/inputmask";
import { InputNumberModule } from "primeng/inputnumber";
import { CascadeSelectModule } from "primeng/cascadeselect";
import { MultiSelectModule } from "primeng/multiselect";
import { InputTextareaModule } from "primeng/inputtextarea";
import { InputTextModule } from "primeng/inputtext";
import { RatingModule } from 'primeng/rating';
import { KnobModule } from 'primeng/knob';
import { ListboxModule } from 'primeng/listbox';
import { SelectButtonModule } from 'primeng/selectbutton';
import { CheckboxModule } from 'primeng/checkbox';
import { ButtonModule } from 'primeng/button';
import { InputSwitchModule } from 'primeng/inputswitch';
import { RadioButtonModule } from 'primeng/radiobutton';
import { ColorPickerModule } from 'primeng/colorpicker';
import { ToggleButtonModule } from 'primeng/togglebutton';
import { SliderModule } from 'primeng/slider';
@NgModule({
imports: [
CommonModule,
FormsModule,
InputDemoRoutingModule,
AutoCompleteModule,
CalendarModule,
ChipsModule,
DropdownModule,
InputMaskModule,
InputNumberModule,
ColorPickerModule,
CascadeSelectModule,
MultiSelectModule,
ToggleButtonModule,
SliderModule,
InputTextareaModule,
RadioButtonModule,
InputTextModule,
RatingModule,
ChipModule,
KnobModule,
InputSwitchModule,
ListboxModule,
SelectButtonModule,
CheckboxModule,
ButtonModule,
InputDemoComponent
]
})
export class InputDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { InvalidStateDemoComponent } from './invalidstatedemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: InvalidStateDemoComponent }
])],
exports: [RouterModule]
})
export class InvalidStateDemoRoutingModule { }

View File

@ -1,37 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { InvalidStateDemoComponent } from './invalidstatedemo.component';
import { InvalidStateDemoRoutingModule } from './invalidstatedemo-routing.module';
import { AutoCompleteModule } from "primeng/autocomplete";
import { CalendarModule } from "primeng/calendar";
import { ChipsModule } from "primeng/chips";
import { DropdownModule } from "primeng/dropdown";
import { InputMaskModule } from "primeng/inputmask";
import { InputNumberModule } from "primeng/inputnumber";
import { CascadeSelectModule } from "primeng/cascadeselect";
import { MultiSelectModule } from "primeng/multiselect";
import { InputTextareaModule } from "primeng/inputtextarea";
import { InputTextModule } from "primeng/inputtext";
import { PasswordModule } from "primeng/password";
@NgModule({
imports: [
CommonModule,
FormsModule,
InvalidStateDemoRoutingModule,
AutoCompleteModule,
CalendarModule,
ChipsModule,
DropdownModule,
InputMaskModule,
InputNumberModule,
CascadeSelectModule,
MultiSelectModule,
PasswordModule,
InputTextareaModule,
InputTextModule,
InvalidStateDemoComponent
]
})
export class InvalidStateDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ListDemoComponent } from './listdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: ListDemoComponent }
])],
exports: [RouterModule]
})
export class ListDemoRoutingModule { }

View File

@ -1,29 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { ListDemoComponent } from './listdemo.component';
import { ListDemoRoutingModule } from './listdemo-routing.module';
import { DataViewModule } from 'primeng/dataview';
import { PickListModule } from 'primeng/picklist';
import { OrderListModule } from 'primeng/orderlist';
import { InputTextModule } from 'primeng/inputtext';
import { DropdownModule } from 'primeng/dropdown';
import { RatingModule } from 'primeng/rating';
import { ButtonModule } from 'primeng/button';
@NgModule({
imports: [
CommonModule,
FormsModule,
ListDemoRoutingModule,
DataViewModule,
PickListModule,
OrderListModule,
InputTextModule,
DropdownModule,
RatingModule,
ButtonModule,
ListDemoComponent
]
})
export class ListDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MediaDemoComponent } from './mediademo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: MediaDemoComponent }
])],
exports: [RouterModule]
})
export class MediaDemoRoutingModule { }

View File

@ -1,21 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MediaDemoComponent } from './mediademo.component';
import { MediaDemoRoutingModule } from './mediademo-routing.module';
import { ButtonModule } from 'primeng/button';
import { ImageModule } from 'primeng/image';
import { GalleriaModule } from 'primeng/galleria';
import { CarouselModule } from 'primeng/carousel';
@NgModule({
imports: [
CommonModule,
MediaDemoRoutingModule,
ButtonModule,
ImageModule,
GalleriaModule,
CarouselModule,
MediaDemoComponent
]
})
export class MediaDemoModule { }

View File

@ -1,49 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { MenusComponent } from './menus.component';
import { PaymentComponent } from './payment.component';
import { SeatComponent } from './seat.component';
import { PersonalComponent } from './personal.component';
import { ConfirmationComponent } from './confirmation.component';
import { BreadcrumbModule } from 'primeng/breadcrumb';
import { MenubarModule } from 'primeng/menubar';
import { TabMenuModule } from 'primeng/tabmenu';
import { StepsModule } from 'primeng/steps';
import { TieredMenuModule } from 'primeng/tieredmenu';
import { MenuModule } from 'primeng/menu';
import { ButtonModule } from 'primeng/button';
import { ContextMenuModule } from 'primeng/contextmenu';
import { MegaMenuModule } from 'primeng/megamenu';
import { PanelMenuModule } from 'primeng/panelmenu';
import { InputTextModule } from 'primeng/inputtext';
@NgModule({
imports: [
CommonModule,
BreadcrumbModule,
MenubarModule,
TabMenuModule,
StepsModule,
TieredMenuModule,
MenuModule,
ButtonModule,
ContextMenuModule,
MegaMenuModule,
PanelMenuModule,
InputTextModule,
RouterModule.forChild([
{
path: '', component: MenusComponent, children: [
{ path: '', redirectTo: 'personal', pathMatch: 'full' },
{ path: 'personal', component: PersonalComponent },
{ path: 'confirmation', component: ConfirmationComponent },
{ path: 'seat', component: SeatComponent },
{ path: 'payment', component: PaymentComponent }
]
}
]),
MenusComponent
],
exports: [RouterModule]
})
export class MenusModule { }

View File

@ -0,0 +1,20 @@
import { Route } from '@angular/router';
import { MenusComponent } from './menus.component';
import { PersonalComponent } from './personal.component';
import { ConfirmationComponent } from './confirmation.component';
import { SeatComponent } from './seat.component';
import { PaymentComponent } from './payment.component';
export const MENUS_ROUTES: Route[] = [
{
path: '',
component: MenusComponent,
children: [
{ path: '', redirectTo: 'personal', pathMatch: 'full' },
{ path: 'personal', component: PersonalComponent },
{ path: 'confirmation', component: ConfirmationComponent },
{ path: 'seat', component: SeatComponent },
{ path: 'payment', component: PaymentComponent },
],
},
];

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MessagesDemoComponent } from './messagesdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: MessagesDemoComponent }
])],
exports: [RouterModule]
})
export class MessagesDemoRoutingModule { }

View File

@ -1,23 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MessagesDemoComponent } from './messagesdemo.component';
import { MessagesDemoRoutingModule } from './messagesdemo-routing.module';
import { MessagesModule } from 'primeng/messages';
import { MessageModule } from 'primeng/message';
import { ButtonModule } from 'primeng/button';
import { ToastModule } from 'primeng/toast';
import { InputTextModule } from 'primeng/inputtext';
@NgModule({
imports: [
CommonModule,
MessagesDemoRoutingModule,
MessagesModule,
MessageModule,
ButtonModule,
ToastModule,
InputTextModule,
MessagesDemoComponent
]
})
export class MessagesDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MiscDemoComponent } from './miscdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: MiscDemoComponent }
])],
exports: [RouterModule]
})
export class MiscDemoRoutingModule { }

View File

@ -1,33 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MiscDemoComponent } from './miscdemo.component';
import { MiscDemoRoutingModule } from './miscdemo-routing.module';
import { ProgressBarModule } from 'primeng/progressbar';
import { BadgeModule } from 'primeng/badge';
import { AvatarModule } from 'primeng/avatar';
import { ScrollPanelModule } from 'primeng/scrollpanel';
import { TagModule } from 'primeng/tag';
import { ChipModule } from 'primeng/chip';
import { SkeletonModule } from 'primeng/skeleton';
import { ButtonModule } from 'primeng/button';
import { AvatarGroupModule } from 'primeng/avatargroup';
import { ScrollTopModule } from 'primeng/scrolltop';
@NgModule({
imports: [
CommonModule,
MiscDemoRoutingModule,
ProgressBarModule,
BadgeModule,
AvatarModule,
ScrollPanelModule,
TagModule,
ChipModule,
ButtonModule,
SkeletonModule,
AvatarGroupModule,
ScrollTopModule,
MiscDemoComponent
]
})
export class MiscDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { OverlaysDemoComponent } from './overlaysdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: OverlaysDemoComponent }
])],
exports: [RouterModule]
})
export class OverlaysDemoRoutingModule { }

View File

@ -1,36 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { OverlaysDemoComponent } from './overlaysdemo.component';
import { OverlaysDemoRoutingModule } from './overlaysdemo-routing.module';
import { ToastModule } from 'primeng/toast';
import { DialogModule } from 'primeng/dialog';
import { ButtonModule } from 'primeng/button';
import { OverlayPanelModule } from 'primeng/overlaypanel';
import { TableModule } from 'primeng/table';
import { ConfirmDialogModule } from 'primeng/confirmdialog';
import { SidebarModule } from 'primeng/sidebar';
import { RippleModule } from 'primeng/ripple';
import { ConfirmPopupModule } from 'primeng/confirmpopup';
import { TooltipModule } from 'primeng/tooltip';
import { InputTextModule } from 'primeng/inputtext';
@NgModule({
imports: [
CommonModule,
OverlaysDemoRoutingModule,
ToastModule,
DialogModule,
FormsModule,
TooltipModule,
InputTextModule,
ButtonModule,
OverlayPanelModule,
TableModule,
ConfirmDialogModule,
SidebarModule,
RippleModule,
ConfirmPopupModule,
OverlaysDemoComponent
]
})
export class OverlaysDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { PanelsDemoComponent } from './panelsdemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: PanelsDemoComponent }
])],
exports: [RouterModule]
})
export class PanelsDemoRoutingModule { }

View File

@ -1,39 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { PanelsDemoComponent } from './panelsdemo.component';
import { PanelsDemoRoutingModule } from './panelsdemo-routing.module';
import { ToolbarModule } from 'primeng/toolbar';
import { ButtonModule } from 'primeng/button';
import { RippleModule } from 'primeng/ripple';
import { SplitButtonModule } from 'primeng/splitbutton';
import { AccordionModule } from 'primeng/accordion';
import { TabViewModule } from 'primeng/tabview';
import { FieldsetModule } from 'primeng/fieldset';
import { MenuModule } from 'primeng/menu';
import { InputTextModule } from 'primeng/inputtext';
import { DividerModule } from 'primeng/divider';
import { SplitterModule } from 'primeng/splitter';
import { PanelModule } from 'primeng/panel';
@NgModule({
imports: [
CommonModule,
FormsModule,
PanelsDemoRoutingModule,
ToolbarModule,
ButtonModule,
RippleModule,
SplitButtonModule,
AccordionModule,
TabViewModule,
FieldsetModule,
MenuModule,
InputTextModule,
DividerModule,
SplitterModule,
PanelModule,
PanelsDemoComponent
]
})
export class PanelsDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { TableDemoComponent } from './tabledemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: TableDemoComponent }
])],
exports: [RouterModule]
})
export class TableDemoRoutingModule { }

View File

@ -1,37 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { TableDemoComponent } from './tabledemo.component';
import { TableDemoRoutingModule } from './tabledemo-routing.module';
import { TableModule } from 'primeng/table';
import { ButtonModule } from 'primeng/button';
import { InputTextModule } from 'primeng/inputtext';
import { ToggleButtonModule } from 'primeng/togglebutton';
import { RippleModule } from 'primeng/ripple';
import { MultiSelectModule } from 'primeng/multiselect';
import { DropdownModule } from 'primeng/dropdown';
import { ProgressBarModule } from 'primeng/progressbar';
import { ToastModule } from 'primeng/toast';
import { SliderModule } from 'primeng/slider';
import { RatingModule } from 'primeng/rating';
@NgModule({
imports: [
CommonModule,
TableDemoRoutingModule,
FormsModule,
TableModule,
RatingModule,
ButtonModule,
SliderModule,
InputTextModule,
ToggleButtonModule,
RippleModule,
MultiSelectModule,
DropdownModule,
ProgressBarModule,
ToastModule,
TableDemoComponent
]
})
export class TableDemoModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { TreeDemoComponent } from './treedemo.component';
@NgModule({
imports: [RouterModule.forChild([
{ path: '', component: TreeDemoComponent }
])],
exports: [RouterModule]
})
export class TreeDemoRoutingModule { }

View File

@ -1,19 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { TreeDemoComponent } from './treedemo.component';
import { TreeDemoRoutingModule } from './treedemo-routing.module';
import { TreeModule } from 'primeng/tree';
import { TreeTableModule } from 'primeng/treetable';
@NgModule({
imports: [
CommonModule,
TreeDemoRoutingModule,
FormsModule,
TreeModule,
TreeTableModule,
TreeDemoComponent
],
})
export class TreeDemoModule { }

View File

@ -1,26 +0,0 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
@NgModule({
imports: [RouterModule.forChild([
{ path: 'button', data: { breadcrumb: 'Button' }, loadChildren: () => import('./button/buttondemo.module').then(m => m.ButtonDemoModule) },
{ path: 'charts', data: { breadcrumb: 'Charts' }, loadChildren: () => import('./charts/chartsdemo.module').then(m => m.ChartsDemoModule) },
{ path: 'file', data: { breadcrumb: 'File' }, loadChildren: () => import('./file/filedemo.module').then(m => m.FileDemoModule) },
{ path: 'floatlabel', data: { breadcrumb: 'Float Label' }, loadChildren: () => import('./floatlabel/floatlabeldemo.module').then(m => m.FloatlabelDemoModule) },
{ path: 'formlayout', data: { breadcrumb: 'Form Layout' }, loadChildren: () => import('./formlayout/formlayoutdemo.module').then(m => m.FormLayoutDemoModule) },
{ path: 'input', data: { breadcrumb: 'Input' }, loadChildren: () => import('./input/inputdemo.module').then(m => m.InputDemoModule) },
{ path: 'invalidstate', data: { breadcrumb: 'Invalid State' }, loadChildren: () => import('./invalid/invalidstatedemo.module').then(m => m.InvalidStateDemoModule) },
{ path: 'list', data: { breadcrumb: 'List' }, loadChildren: () => import('./list/listdemo.module').then(m => m.ListDemoModule) },
{ path: 'media', data: { breadcrumb: 'Media' }, loadChildren: () => import('./media/mediademo.module').then(m => m.MediaDemoModule) },
{ path: 'message', data: { breadcrumb: 'Message' }, loadChildren: () => import('./messages/messagesdemo.module').then(m => m.MessagesDemoModule) },
{ path: 'misc', data: { breadcrumb: 'Misc' }, loadChildren: () => import('./misc/miscdemo.module').then(m => m.MiscDemoModule) },
{ path: 'overlay', data: { breadcrumb: 'Overlay' }, loadChildren: () => import('./overlays/overlaysdemo.module').then(m => m.OverlaysDemoModule) },
{ path: 'panel', data: { breadcrumb: 'Panel' }, loadChildren: () => import('./panels/panelsdemo.module').then(m => m.PanelsDemoModule) },
{ path: 'table', data: { breadcrumb: 'Table' }, loadChildren: () => import('./table/tabledemo.module').then(m => m.TableDemoModule) },
{ path: 'tree', data: { breadcrumb: 'Tree' }, loadChildren: () => import('./tree/treedemo.module').then(m => m.TreeDemoModule) },
{ path: 'menu', data: { breadcrumb: 'Menu' }, loadChildren: () => import('./menus/menus.module').then(m => m.MenusModule) },
{ path: '**', redirectTo: '/notfound' }
])],
exports: [RouterModule]
})
export class UIkitRoutingModule { }

View File

@ -1,11 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UIkitRoutingModule } from './uikit-routing.module';
@NgModule({
imports: [
CommonModule,
UIkitRoutingModule
]
})
export class UIkitModule { }

View File

@ -0,0 +1,21 @@
import { Route } from '@angular/router';
export const UIKIT_ROUTES: Route[] = [
{ path: 'button', data: { breadcrumb: 'Button' }, loadComponent: () => import('./button/buttondemo.component').then(m => m.ButtonDemoComponent) },
{ path: 'charts', data: { breadcrumb: 'Charts' }, loadComponent: () => import('./charts/chartsdemo.component').then(m => m.ChartsDemoComponent) },
{ path: 'file', data: { breadcrumb: 'File' }, loadComponent: () => import('./file/filedemo.component').then(m => m.FileDemoComponent) },
{ path: 'floatlabel', data: { breadcrumb: 'Float Label' }, loadComponent: () => import('./floatlabel/floatlabeldemo.component').then(m => m.FloatLabelDemoComponent) },
{ path: 'formlayout', data: { breadcrumb: 'Form Layout' }, loadComponent: () => import('./formlayout/formlayoutdemo.component').then(m => m.FormLayoutDemoComponent) },
{ path: 'input', data: { breadcrumb: 'Input' }, loadComponent: () => import('./input/inputdemo.component').then(m => m.InputDemoComponent) },
{ path: 'invalidstate', data: { breadcrumb: 'Invalid State' }, loadComponent: () => import('./invalid/invalidstatedemo.component').then(m => m.InvalidStateDemoComponent) },
{ path: 'list', data: { breadcrumb: 'List' }, loadComponent: () => import('./list/listdemo.component').then(m => m.ListDemoComponent) },
{ path: 'media', data: { breadcrumb: 'Media' }, loadComponent: () => import('./media/mediademo.component').then(m => m.MediaDemoComponent) },
{ path: 'message', data: { breadcrumb: 'Message' }, loadComponent: () => import('./messages/messagesdemo.component').then(m => m.MessagesDemoComponent) },
{ path: 'misc', data: { breadcrumb: 'Misc' }, loadComponent: () => import('./misc/miscdemo.component').then(m => m.MiscDemoComponent) },
{ path: 'overlay', data: { breadcrumb: 'Overlay' }, loadComponent: () => import('./overlays/overlaysdemo.component').then(m => m.OverlaysDemoComponent) },
{ path: 'panel', data: { breadcrumb: 'Panel' }, loadComponent: () => import('./panels/panelsdemo.component').then(m => m.PanelsDemoComponent) },
{ path: 'table', data: { breadcrumb: 'Table' }, loadComponent: () => import('./table/tabledemo.component').then(m => m.TableDemoComponent) },
{ path: 'tree', data: { breadcrumb: 'Tree' }, loadComponent: () => import('./tree/treedemo.component').then(m => m.TreeDemoComponent) },
{ path: 'menu', data: { breadcrumb: 'Menu' }, loadChildren: () => import('./menus/menus.routes').then(m => m.MENUS_ROUTES) },
{ path: '**', redirectTo: '/notfound' }
];