2024-08-16 14:21:01 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
import { ChatPage } from './chat.page';
|
|
|
|
|
const routes: Routes = [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
component: ChatPage,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'new-group',
|
|
|
|
|
loadChildren: () => import('./modal/new-group/new-group.module').then( m => m.NewGroupPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'group-messages',
|
|
|
|
|
loadChildren: () => import('./modal/group-messages/group-messages.module').then( m => m.GroupMessagesPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'messages',
|
|
|
|
|
outlet:'message',
|
|
|
|
|
loadChildren: () => import('./modal/messages/messages.module').then( m => m.MessagesPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'edit-group',
|
|
|
|
|
loadChildren: () => import('./modal/edit-group/edit-group.module').then( m => m.EditGroupPageModule)
|
2024-08-16 17:45:45 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'chat-options-popover',
|
|
|
|
|
loadChildren:() => import('./modal/chat-options-popover/chat-options-popover.module').then( m => m.ChatOptionsPopoverPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'chat-debugging',
|
|
|
|
|
loadChildren: () => import('./modal/chat-debugging/chat-debugging.module').then( m => m.ChatDebuggingPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'chat-message-debugging',
|
|
|
|
|
loadChildren: () => import('./modal/chat-message-debugging/chat-message-debugging.module').then( m => m.ChatMessageDebuggingPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'add-user',
|
|
|
|
|
loadChildren: () => import('./component/add-user/add-user.module').then( m => m.AddUserPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'empty-chat',
|
|
|
|
|
loadChildren: () => import('./component/empty-chat/empty-chat.module').then( m => m.EmptyChatPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'edit-group',
|
|
|
|
|
loadChildren: () => import('./component/edit-group/edit-group.module').then( m => m.EditGroupPageModule)
|
|
|
|
|
},
|
2024-08-18 13:27:57 +01:00
|
|
|
{
|
|
|
|
|
path: 'set-room-owner',
|
|
|
|
|
loadChildren: () => import('./modal/set-room-owner/set-room-owner.module').then( m => m.SetRoomOwnerPageModule)
|
|
|
|
|
},
|
2024-08-19 16:01:58 +01:00
|
|
|
{
|
|
|
|
|
path: 'contacts',
|
|
|
|
|
loadChildren: () => import('./component/contacts/contacts.module').then( m => m.ContactsPageModule)
|
|
|
|
|
},
|
2024-08-22 12:27:57 +01:00
|
|
|
{
|
|
|
|
|
path: 'view-onces',
|
|
|
|
|
loadChildren: () => import('./modal/view-onces/view-onces.module').then( m => m.ViewOncesPageModule)
|
|
|
|
|
},
|
2024-08-16 14:21:01 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
|
exports: [RouterModule],
|
|
|
|
|
})
|
|
|
|
|
export class ChatPageRoutingModule {}
|