Skip to content
This repository was archived by the owner on Jul 27, 2020. It is now read-only.

Commit b6dd283

Browse files
committed
Update application to angular + cli 8.x
1 parent 718c266 commit b6dd283

8 files changed

Lines changed: 1924 additions & 2299 deletions

package-lock.json

Lines changed: 1892 additions & 2268 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,42 +25,42 @@
2525
},
2626
"private": true,
2727
"dependencies": {
28-
"@angular/animations": "7.2.9",
29-
"@angular/common": "7.2.9",
30-
"@angular/compiler": "7.2.9",
31-
"@angular/core": "7.2.9",
32-
"@angular/forms": "7.2.9",
28+
"@angular/animations": "8.0.2",
29+
"@angular/common": "8.0.2",
30+
"@angular/compiler": "8.0.2",
31+
"@angular/core": "8.0.2",
32+
"@angular/forms": "8.0.2",
3333
"@angular/http": "7.2.9",
34-
"@angular/platform-browser": "7.2.9",
35-
"@angular/platform-browser-dynamic": "7.2.9",
36-
"@angular/router": "7.2.9",
34+
"@angular/platform-browser": "8.0.2",
35+
"@angular/platform-browser-dynamic": "8.0.2",
36+
"@angular/router": "8.0.2",
3737
"bootstrap": "4.3.1",
3838
"core-js": "2.6.5",
3939
"lodash": "4.17.11",
4040
"marked": "0.6.1",
4141
"ngx-bootstrap": "3.2.0",
42-
"rxjs": "6.4.0",
43-
"zone.js": "0.8.29"
42+
"rxjs": "6.5.2",
43+
"zone.js": "0.9.1"
4444
},
4545
"devDependencies": {
46-
"@angular-devkit/build-angular": "0.13.6",
47-
"@angular-devkit/build-ng-packagr": "0.13.6",
48-
"@angular/cli": "7.3.6",
49-
"@angular/compiler-cli": "7.2.9",
50-
"@angular/language-service": "7.2.9",
46+
"@angular-devkit/build-angular": "0.800.3",
47+
"@angular-devkit/build-ng-packagr": "0.800.3",
48+
"@angular/cli": "8.0.3",
49+
"@angular/compiler-cli": "8.0.2",
50+
"@angular/language-service": "8.0.2",
5151
"@types/node": "10.12.3",
5252
"codelyzer": "4.5.0",
5353
"concurrently": "4.0.1",
5454
"cpx": "1.5.0",
5555
"cypress": "3.2.0",
5656
"http-server": "0.11.1",
57-
"ng-packagr": "4.4.0",
57+
"ng-packagr": "5.3.0",
5858
"npm-run-all": "4.1.3",
5959
"ts-node": "7.0.1",
60-
"tsickle": "0.33.1",
61-
"tslib": "1.9.3",
60+
"tsickle": "0.35.0",
61+
"tslib": "1.10.0",
6262
"tslint": "5.11.0",
63-
"typescript": "3.2.4",
63+
"typescript": "3.4.5",
6464
"webpack-bundle-analyzer": "3.1.0"
6565
}
6666
}

src_app/app/component/examples/classAccess.route.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import { AComponent } from './AComponent';
6363
</div>`
6464
})
6565
export class ClassAccessComponent extends AComponent implements AfterViewInit {
66-
@ViewChild(SplitComponent) splitEl: SplitComponent
66+
@ViewChild(SplitComponent, {static: false}) splitEl: SplitComponent
6767
@ViewChildren(SplitAreaDirective) areasEl: QueryList<SplitAreaDirective>
6868

6969
ngAfterViewInit() {

src_app/app/component/examples/geekDemo.route.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ import { AComponent } from './AComponent';
141141
</div>`
142142
})
143143
export class GeekDemoComponent extends AComponent {
144-
@ViewChild(SortableComponent) sortableComponent: SortableComponent
144+
@ViewChild(SortableComponent, {static: false}) sortableComponent: SortableComponent
145145

146146
d = {
147147
dir: 'horizontal',

src_app/app/component/examples/gutterClick.route.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ export class GutterClickComponent extends AComponent implements AfterViewInit, O
110110
]
111111
sub: Subscription
112112

113-
@ViewChild('mySplit') mySplitEl: SplitComponent
114-
@ViewChild('logs') logsEl: ElementRef
113+
@ViewChild('mySplit', {static: false}) mySplitEl: SplitComponent
114+
@ViewChild('logs', {static: false}) logsEl: ElementRef
115115

116116
ngAfterViewInit() {
117117
this.sub = this.mySplitEl.dragProgress$.subscribe(data => {

src_app/app/component/examples/simple.route.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ import { AComponent } from './AComponent';
6565
})
6666
export class SimpleComponent extends AComponent {
6767

68-
@ViewChild('split') split: SplitComponent;
69-
@ViewChild('area1') area1: SplitAreaDirective;
70-
@ViewChild('area2') area2: SplitAreaDirective;
68+
@ViewChild('split', {static: false}) split: SplitComponent;
69+
@ViewChild('area1', {static: false}) area1: SplitAreaDirective;
70+
@ViewChild('area2', {static: false}) area2: SplitAreaDirective;
7171

7272
direction: string = 'horizontal'
7373
sizes = {

src_app/app/component/examples/sync.route.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ import { formatDate } from '../../service/utils';
4646
</div>`
4747
})
4848
export class SyncComponent extends AComponent implements AfterViewInit, OnDestroy {
49-
@ViewChild('mySplitA') mySplitAEl: SplitComponent
50-
@ViewChild('mySplitB') mySplitBEl: SplitComponent
51-
@ViewChild('mySplitC') mySplitCEl: SplitComponent
49+
@ViewChild('mySplitA', {static: false}) mySplitAEl: SplitComponent
50+
@ViewChild('mySplitB', {static: false}) mySplitBEl: SplitComponent
51+
@ViewChild('mySplitC', {static: false}) mySplitCEl: SplitComponent
5252

5353
sizes = [25, 75]
5454
sub: Subscription

src_app/app/component/examples/transitions.route.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ import { formatDate } from '../../service/utils';
6767
width: 100%;
6868
}
6969
70-
:host .ex2 /deep/ .as-transition.as-init:not(.as-dragging) >.as-split-area, :host /deep/ .as-transition.as-init:not(.as-dragging) > .as-split-gutter {
70+
:host .ex2 ::ng-deep .as-transition.as-init:not(.as-dragging) >.as-split-area,
71+
:host ::ng-deep .as-transition.as-init:not(.as-dragging) > .as-split-gutter {
7172
transition: flex-basis 1s !important;
7273
}
7374
`],
@@ -216,7 +217,7 @@ export class TransitionsComponent extends AComponent {
216217
}
217218
logMessages: Array<{type: string, text: string}> = []
218219

219-
@ViewChild('logs') logsEl: ElementRef
220+
@ViewChild('logs', {static: false}) logsEl: ElementRef
220221

221222
log(e) {
222223
this.logMessages.push({type: 'transitionEnd', text: `${ formatDate(new Date()) } > transitionEnd event > ${ e }`});

0 commit comments

Comments
 (0)