Updated versions

This commit is contained in:
Finn 2019-07-02 16:46:20 +01:00
parent e7d2038041
commit 0c43962f47
No known key found for this signature in database
GPG Key ID: 7455B4B17685B598
10 changed files with 5981 additions and 7796 deletions

12
browserslist Normal file
View File

@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.

13662
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,51 +18,51 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@agm/core": "1.0.0-beta.3", "@agm/core": "1.0.0-beta.6",
"@agm/js-marker-clusterer": "1.0.0-beta.3", "@agm/js-marker-clusterer": "1.0.0-beta.6",
"@angular/common": "6.0.3", "@angular/common": "8.0.3",
"@angular/compiler": "6.0.3", "@angular/compiler": "8.0.3",
"@angular/core": "6.0.3", "@angular/core": "8.0.3",
"@angular/forms": "6.0.3", "@angular/forms": "8.0.3",
"@angular/platform-browser": "6.0.3", "@angular/platform-browser": "8.0.3",
"@angular/platform-browser-dynamic": "6.0.3", "@angular/platform-browser-dynamic": "8.0.3",
"@angular/router": "6.0.3", "@angular/router": "8.0.3",
"@angular/upgrade": "6.0.3", "@angular/upgrade": "8.0.3",
"@types/moment": "2.13.0", "@types/moment": "2.13.0",
"chart.js": "^2.7.2", "chart.js": "^2.8.0",
"core-js": "^2.5.7", "core-js": "^2.6.9",
"jasmine": "^3.1.0", "jasmine": "^3.4.0",
"js-marker-clusterer": "1.0.0", "js-marker-clusterer": "1.0.0",
"moment": "^2.22.2", "moment": "^2.24.0",
"ng2-charts": "1.6.0", "ng2-charts": "1.6.0",
"ng2-validation-manager": "0.5.3", "ng2-validation-manager": "0.5.3",
"ngx-bootstrap": "^2.0.5", "ngx-bootstrap": "^2.0.5",
"ngx-pagination": "^3.1.1", "ngx-pagination": "^3.3.1",
"rxjs": "6.2.0", "rxjs": "6.5.2",
"rxjs-compat": "^6.2.0",
"ts-helpers": "1.1.2", "ts-helpers": "1.1.2",
"webpack-dev-server": "^3.1.4", "tslib": "^1.9.0",
"zone.js": "0.8.26" "webpack-dev-server": "^3.7.2",
"zone.js": "~0.9.1"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.6.6", "@angular-devkit/build-angular": "~0.800.6",
"@angular/cli": "^6.0.7", "@angular/cli": "^8.0.6",
"@angular/compiler-cli": "6.0.3", "@angular/compiler-cli": "8.0.3",
"@types/jasmine": "2.8.2", "@types/jasmine": "2.8.2",
"@types/jasminewd2": "2.0.3", "@types/jasminewd2": "2.0.3",
"@types/node": "8.0.52", "@types/node": "8.0.52",
"codelyzer": "^4.3.0", "codelyzer": "^5.0.1",
"jasmine-core": "^3.1.0", "jasmine-core": "^3.4.0",
"jasmine-spec-reporter": "4.2.1", "jasmine-spec-reporter": "4.2.1",
"karma": "^2.0.2", "karma": "^4.1.0",
"karma-chrome-launcher": "2.2.0", "karma-chrome-launcher": "2.2.0",
"karma-cli": "1.0.1", "karma-cli": "1.0.1",
"karma-coverage-istanbul-reporter": "^2.0.1", "karma-coverage-istanbul-reporter": "^2.0.5",
"karma-jasmine": "^1.1.2", "karma-jasmine": "^1.1.2",
"karma-jasmine-html-reporter": "^1.1.0", "karma-jasmine-html-reporter": "^1.4.2",
"protractor": "^5.3.2", "protractor": "^5.4.2",
"ts-node": "^6.1.0", "ts-node": "^6.2.0",
"tslint": "^5.10.0", "tslint": "^5.18.0",
"typescript": "2.7.2" "typescript": "3.4.5"
} }
} }

View File

@ -9,7 +9,7 @@ import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
templateUrl: 'map.component.html', templateUrl: 'map.component.html',
}) })
export class MapComponent implements OnInit, AfterViewInit { export class MapComponent implements OnInit, AfterViewInit {
@ViewChild('statusModal') myStatusModal: ModalDirective; @ViewChild('statusModal', { static: true }) myStatusModal: ModalDirective;
lat: number = 54.0466; lat: number = 54.0466;
lng: number = -2.8007; lng: number = -2.8007;
zoom: number = 12; zoom: number = 12;

View File

@ -9,7 +9,7 @@ import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
templateUrl: 'trail-map.component.html', templateUrl: 'trail-map.component.html',
}) })
export class TrailMapComponent implements OnInit, AfterViewInit { export class TrailMapComponent implements OnInit, AfterViewInit {
@ViewChild('statusModal') myStatusModal: ModalDirective; @ViewChild('statusModal', { static: true }) myStatusModal: ModalDirective;
lat: number = 54.0466; lat: number = 54.0466;
lng: number = -2.8007; lng: number = -2.8007;
zoom: number = 12; zoom: number = 12;

View File

@ -11,27 +11,13 @@
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
* *
* Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html * Learn more in https://angular.io/guide/browser-support
*/ */
/*************************************************************************************************** /***************************************************************************************************
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/set';
import 'core-js/es6/reflect'; import 'core-js/es6/reflect';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
@ -43,7 +29,6 @@ import 'core-js/es6/reflect';
/** Evergreen browsers require these. **/ /** Evergreen browsers require these. **/
import 'core-js/es6/reflect'; import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
/** ALL Firefox browsers require the following to support `@angular/animation`. **/ /** ALL Firefox browsers require the following to support `@angular/animation`. **/

View File

@ -2,7 +2,6 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"module": "es2015",
"baseUrl": "", "baseUrl": "",
"types": [] "types": []
}, },

View File

@ -2,8 +2,6 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/spec", "outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"baseUrl": "", "baseUrl": "",
"types": [ "types": [
"jasmine", "jasmine",

View File

@ -1,6 +1,9 @@
{ {
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
"module": "esnext",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"baseUrl": "src", "baseUrl": "src",
"sourceMap": true, "sourceMap": true,
@ -8,7 +11,7 @@
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es5", "target": "es2015",
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],

View File

@ -100,12 +100,12 @@
"directive-selector": [true, "attribute", "app", "camelCase"], "directive-selector": [true, "attribute", "app", "camelCase"],
"component-selector": [true, "element", ["app", "widget", "snippet", "panel"], "kebab-case"], "component-selector": [true, "element", ["app", "widget", "snippet", "panel"], "kebab-case"],
"use-input-property-decorator": true, "no-inputs-metadata-property": true,
"use-output-property-decorator": true, "no-outputs-metadata-property": true,
"use-host-property-decorator": true, "no-host-metadata-property": true,
"no-input-rename": true, "no-input-rename": true,
"no-output-rename": true, "no-output-rename": true,
"use-life-cycle-interface": true, "use-lifecycle-interface": true,
"use-pipe-transform-interface": true, "use-pipe-transform-interface": true,
"component-class-suffix": [true, "Component", "Widget", "Panel"], "component-class-suffix": [true, "Component", "Widget", "Panel"],
"directive-class-suffix": true, "directive-class-suffix": true,