Back to home page

EIC code displayed by LXR

 
 

    


Warning, /firebird/packages/firebird-ng/src/lib/firebird-routes.ts is written in an unsupported language. File is not indexed.

0001 import type { Routes } from '@angular/router';
0002 
0003 /**
0004  * The routes of Firebird's pages, each loaded lazily from the display entry:
0005  * `display` (the event display), `split-window` (the quad projection view)
0006  * and `config` (data and pipeline settings). The display chrome's navigation
0007  * links to `/display` and `/config`.
0008  *
0009  * ```ts
0010  * provideRouter([
0011  *   { path: '', redirectTo: '/display', pathMatch: 'full' },
0012  *   ...firebirdRoutes(),
0013  * ])
0014  * ```
0015  */
0016 export function firebirdRoutes(): Routes {
0017   return [
0018     {
0019       path: 'display',
0020       loadComponent: () => import('@dexvis/firebird-ng/display').then(m => m.MainDisplayComponent),
0021     },
0022     {
0023       path: 'split-window',
0024       loadComponent: () => import('@dexvis/firebird-ng/display').then(m => m.SplitWindowComponent),
0025     },
0026     {
0027       path: 'config',
0028       loadComponent: () => import('@dexvis/firebird-ng/display').then(m => m.InputConfigComponent),
0029     },
0030   ];
0031 }