import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { GabineteDigitalPage } from './gabinete-digital.page';

const routes: Routes = [
  {
    path: '',
    component: GabineteDigitalPage
  },
  {
    path: 'expediente',
    loadChildren: () => import('./expediente/expediente.module').then( m => m.ExpedientePageModule)
  },
  {
    path: 'event-list',
    loadChildren: () => import('./event-list/event-list.module').then( m => m.EventListPageModule)
  },
  {
    path: 'discart-expedient-modal',
    loadChildren: () => import('./discart-expedient-modal/discart-expedient-modal.module').then( m => m.DiscartExpedientModalPageModule)
  },
  {
    path: 'despachos',
    loadChildren: () => import('./despachos/despachos.module').then( m => m.DespachosPageModule)
  },
  {
    path: 'pedidos',
    loadChildren: () => import('./pedidos/pedidos.module').then( m => m.PedidosPageModule)
  },
  {
    path: 'pendentes',
    loadChildren: () => import('./pendentes/pendentes.module').then( m => m.PendentesPageModule)
  },
  {
    path: 'despachos-pr',
    loadChildren: () => import('./despachos-pr/despachos-pr.module').then( m => m.DespachosPrPageModule)
  },
  {
    path: 'diplomas',
    loadChildren: () => import('./diplomas/diplomas.module').then( m => m.DiplomasPageModule)
  },
  {
    path: 'expedientes-pr',
    loadChildren: () => import('./expedientes-pr/expedientes-pr.module').then( m => m.ExpedientesPrPageModule)
  },
  {
    path: 'diplomas-assinar',
    loadChildren: () => import('./diplomas-assinar/diplomas-assinar.module').then( m => m.DiplomasAssinarPageModule)
  },


];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class GabineteDigitalPageRoutingModule {}
