Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
X-tee
X-Road-catalogue
Commits
58381432
Commit
58381432
authored
Aug 07, 2019
by
Vitali Stupin
Browse files
Updating to angular 8
parent
645d0025
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
src/
browserslist
→
browserslist
View file @
58381432
File moved
package-lock.json
View file @
58381432
This diff is collapsed.
Click to expand it.
package.json
View file @
58381432
{
"name"
:
"xtss-catalogue"
,
"version"
:
"0.
2
.0"
,
"version"
:
"0.
3
.0"
,
"scripts"
:
{
"ng"
:
"ng"
,
"start"
:
"ng serve"
,
...
...
@@ -14,31 +14,31 @@
},
"private"
:
true
,
"dependencies"
:
{
"
@angular/animations
"
:
"
^
7
.2.
13
"
,
"
@angular/common
"
:
"
^
7
.2.
13
"
,
"
@angular/compiler
"
:
"
^
7
.2.
13
"
,
"
@angular/core
"
:
"
^
7
.2.
13
"
,
"
@angular/forms
"
:
"
^
7
.2.
13
"
,
"
@angular/platform-browser
"
:
"
^
7
.2.
13
"
,
"
@angular/platform-browser-dynamic
"
:
"
^
7
.2.
13
"
,
"
@angular/router
"
:
"
^
7
.2.
13
"
,
"
@angular/animations
"
:
"
^
8
.2.
0
"
,
"
@angular/common
"
:
"
^
8
.2.
0
"
,
"
@angular/compiler
"
:
"
^
8
.2.
0
"
,
"
@angular/core
"
:
"
^
8
.2.
0
"
,
"
@angular/forms
"
:
"
^
8
.2.
0
"
,
"
@angular/platform-browser
"
:
"
^
8
.2.
0
"
,
"
@angular/platform-browser-dynamic
"
:
"
^
8
.2.
0
"
,
"
@angular/router
"
:
"
^
8
.2.
0
"
,
"
@ngx-translate/core
"
:
"
^11.0.1
"
,
"
@ngx-translate/http-loader
"
:
"
^4.0.0
"
,
"
bootstrap
"
:
"
^4.3.1
"
,
"
core-js
"
:
"
^2.5.4
"
,
"
rxjs
"
:
"
~6.
4.0
"
,
"
rxjs
"
:
"
~6.
5.2
"
,
"
tslib
"
:
"
^1.9.0
"
,
"
zone.js
"
:
"
~0.
8.26
"
"
zone.js
"
:
"
~0.
9.1
"
},
"devDependencies"
:
{
"
@angular-devkit/build-angular
"
:
"
^
0.
13.8
"
,
"
@angular/cli
"
:
"
~
7.3.8
"
,
"
@angular/compiler-cli
"
:
"
^
7
.2.
13
"
,
"
@angular/language-service
"
:
"
^
7
.2.
13
"
,
"
@angular-devkit/build-angular
"
:
"
~
0.
802.0
"
,
"
@angular/cli
"
:
"
~
8.2.0
"
,
"
@angular/compiler-cli
"
:
"
^
8
.2.
0
"
,
"
@angular/language-service
"
:
"
^
8
.2.
0
"
,
"
@types/jasmine
"
:
"
~2.8.8
"
,
"
@types/jasminewd2
"
:
"
~2.0.3
"
,
"
@types/node
"
:
"
~8.9.4
"
,
"
codelyzer
"
:
"
~4.
5.0
"
,
"
codelyzer
"
:
"
^
5.0
.1
"
,
"
jasmine-core
"
:
"
~2.99.1
"
,
"
jasmine-spec-reporter
"
:
"
~4.2.1
"
,
"
karma
"
:
"
^4.0.1
"
,
...
...
@@ -50,6 +50,6 @@
"
sonar-scanner
"
:
"
^3.1.0
"
,
"
ts-node
"
:
"
~7.0.0
"
,
"
tslint
"
:
"
~5.11.0
"
,
"
typescript
"
:
"
~3.
2.2
"
"
typescript
"
:
"
~3.
5.3
"
}
}
src/app/subsystem-list/subsystem-list.component.ts
View file @
58381432
...
...
@@ -23,7 +23,7 @@ export class SubsystemListComponent implements OnInit, AfterViewInit, OnDestroy
instanceVersions
:
BehaviorSubject
<
InstanceVersion
[]
>
;
instanceVersion
:
string
;
@
ViewChild
(
SearchComponent
)
search
;
@
ViewChild
(
SearchComponent
,
{
static
:
true
}
)
search
;
constructor
(
private
subsystemsService
:
SubsystemsService
,
...
...
src/polyfills.ts
View file @
58381432
...
...
@@ -43,7 +43,7 @@
*
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
* (window as any).__zone_symbol__
BLACK_LIST
ED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
* (window as any).__zone_symbol__
UNPATCH
ED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
...
...
tsconfig.json
View file @
58381432
...
...
@@ -2,15 +2,16 @@
"compileOnSave"
:
false
,
"compilerOptions"
:
{
"baseUrl"
:
"./"
,
"downlevelIteration"
:
true
,
"outDir"
:
"./dist/out-tsc"
,
"sourceMap"
:
true
,
"declaration"
:
false
,
"module"
:
"es
2015
"
,
"module"
:
"es
next
"
,
"moduleResolution"
:
"node"
,
"emitDecoratorMetadata"
:
true
,
"experimentalDecorators"
:
true
,
"importHelpers"
:
true
,
"target"
:
"es5"
,
"target"
:
"es
201
5"
,
"typeRoots"
:
[
"node_modules/@types"
],
...
...
tslint.json
View file @
58381432
...
...
@@ -62,12 +62,12 @@
],
"trailing-comma"
:
false
,
"no-output-on-prefix"
:
true
,
"
use
-input
-property-decorator
"
:
true
,
"
use
-output
-property-decorator
"
:
true
,
"
use
-host-
property-decorator
"
:
true
,
"
no
-input
s-metadata-property
"
:
true
,
"
no
-output
s-metadata-property
"
:
true
,
"
no
-host-
metadata-property
"
:
true
,
"no-input-rename"
:
true
,
"no-output-rename"
:
true
,
"use-life
-
cycle-interface"
:
true
,
"use-lifecycle-interface"
:
true
,
"use-pipe-transform-interface"
:
true
,
"component-class-suffix"
:
true
,
"directive-class-suffix"
:
true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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