Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-client
Commits
c89f7a64
Commit
c89f7a64
authored
Nov 10, 2020
by
Tifenn Guillas
Browse files
WIP: Add header comments
parent
3c06b5bc
Changes
185
Hide whitespace changes
Inline
Side-by-side
src/app/app-routing.module.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
Routes
,
RouterModule
,
PreloadAllModules
}
from
'
@angular/router
'
;
...
...
src/app/app.reducer.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
ActionReducerMap
,
ActionReducer
,
MetaReducer
}
from
'
@ngrx/store
'
;
import
*
as
fromRouter
from
'
@ngrx/router-store
'
;
...
...
src/app/core/containers/not-found-page.component.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Component
}
from
'
@angular/core
'
;
@
Component
({
...
...
src/app/core/core.module.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
NgModule
,
Optional
,
SkipSelf
}
from
'
@angular/core
'
;
import
{
CommonModule
}
from
'
@angular/common
'
;
import
{
RouterModule
}
from
'
@angular/router
'
;
...
...
src/app/core/navigation.guard.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Injectable
}
from
'
@angular/core
'
;
import
{
ActivatedRouteSnapshot
,
CanActivate
,
RouterStateSnapshot
,
UrlTree
}
from
'
@angular/router
'
;
...
...
src/app/detail/components/default-object.component.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Component
,
Input
,
ChangeDetectionStrategy
}
from
'
@angular/core
'
;
import
{
Attribute
,
Category
,
Family
}
from
'
../../metamodel/model
'
;
...
...
src/app/detail/components/object-data.component.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Component
,
Input
,
ChangeDetectionStrategy
}
from
'
@angular/core
'
;
import
{
Attribute
,
Category
,
Family
}
from
'
../../metamodel/model
'
;
...
...
src/app/detail/components/spectra/spectra-graph/point.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export
interface
Point
{
x
:
number
,
y
:
number
...
...
src/app/detail/components/spectra/spectra-graph/rays.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export
const
emissionLines
=
[
{
name
:
'
SII
'
,
wavelength
:
10320
},
{
name
:
'
HeI
'
,
wavelength
:
7065.2
},
...
...
src/app/detail/components/spectra/spectra-graph/spectra-graph.component.css
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
.titles
text
{
fill
:
#5a5a5a
;
font-size
:
24px
;
...
...
src/app/detail/components/spectra/spectra-graph/spectra-graph.component.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Component
,
ChangeDetectionStrategy
,
ViewEncapsulation
,
OnInit
,
Input
}
from
'
@angular/core
'
;
import
*
as
d3
from
'
d3
'
;
...
...
src/app/detail/components/spectra/spectra-graph/spectra-type.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export
type
SpectraType
=
"
x
"
|
"
Flux
"
;
\ No newline at end of file
src/app/detail/components/spectra/spectra-object.component.css
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
.dl-btn
{
height
:
80px
;
display
:
inline-block
;
...
...
src/app/detail/components/spectra/spectra-object.component.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Component
,
Input
,
ChangeDetectionStrategy
,
Output
,
EventEmitter
,
OnInit
}
from
'
@angular/core
'
;
import
{
Attribute
,
Category
,
Family
}
from
'
../../../metamodel/model
'
;
...
...
src/app/detail/containers/detail.component.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Component
,
OnInit
,
OnDestroy
}
from
'
@angular/core
'
;
import
{
Location
}
from
'
@angular/common
'
;
...
...
src/app/detail/detail-routing.module.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
Routes
,
RouterModule
}
from
'
@angular/router
'
;
...
...
src/app/detail/detail.module.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
StoreModule
}
from
'
@ngrx/store
'
;
...
...
src/app/detail/store/detail.action.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Action
}
from
'
@ngrx/store
'
;
export
const
INIT_DETAIL
=
'
[Detail] Init Detail
'
;
...
...
src/app/detail/store/detail.effects.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
{
Injectable
}
from
'
@angular/core
'
;
import
{
Action
,
Store
}
from
'
@ngrx/store
'
;
...
...
src/app/detail/store/detail.reducer.ts
View file @
c89f7a64
/*
* This file is part of Anis Client.
*
* (c) Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import
*
as
actions
from
'
./detail.action
'
;
export
interface
State
{
...
...
Prev
1
2
3
4
5
…
10
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment