update angular to 14
This commit is contained in:
@@ -109,6 +109,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"defaultProject": "pdb-js"
|
|
||||||
}
|
}
|
||||||
|
|||||||
8828
pdb-js/package-lock.json
generated
8828
pdb-js/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,16 +13,16 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~13.3.0",
|
"@angular/animations": "^14.2.5",
|
||||||
"@angular/cdk": "^13.3.0",
|
"@angular/cdk": "^13.3.0",
|
||||||
"@angular/common": "~13.3.0",
|
"@angular/common": "^14.2.5",
|
||||||
"@angular/compiler": "~13.3.0",
|
"@angular/compiler": "^14.2.5",
|
||||||
"@angular/core": "~13.3.0",
|
"@angular/core": "^14.2.5",
|
||||||
"@angular/forms": "~13.3.0",
|
"@angular/forms": "^14.2.5",
|
||||||
"@angular/material": "^13.3.0",
|
"@angular/material": "^13.3.0",
|
||||||
"@angular/platform-browser": "~13.3.0",
|
"@angular/platform-browser": "^14.2.5",
|
||||||
"@angular/platform-browser-dynamic": "~13.3.0",
|
"@angular/platform-browser-dynamic": "^14.2.5",
|
||||||
"@angular/router": "~13.3.0",
|
"@angular/router": "^14.2.5",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"rxjs": "~7.5.0",
|
"rxjs": "~7.5.0",
|
||||||
"rxjs-compat": "^6.6.7",
|
"rxjs-compat": "^6.6.7",
|
||||||
@@ -30,9 +30,9 @@
|
|||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~13.3.0",
|
"@angular-devkit/build-angular": "^14.2.5",
|
||||||
"@angular/cli": "~13.3.0",
|
"@angular/cli": "^14.2.5",
|
||||||
"@angular/compiler-cli": "~13.3.0",
|
"@angular/compiler-cli": "^14.2.5",
|
||||||
"@types/jasmine": "~3.10.0",
|
"@types/jasmine": "~3.10.0",
|
||||||
"@types/node": "^12.11.1",
|
"@types/node": "^12.11.1",
|
||||||
"jasmine-core": "~3.10.0",
|
"jasmine-core": "~3.10.0",
|
||||||
@@ -43,4 +43,4 @@
|
|||||||
"karma-jasmine-html-reporter": "~1.7.0",
|
"karma-jasmine-html-reporter": "~1.7.0",
|
||||||
"typescript": "~4.6.2"
|
"typescript": "~4.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
||||||
import {FormControl} from '@angular/forms';
|
import {UntypedFormControl} from '@angular/forms';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
import {startWith, map} from 'rxjs/operators';
|
import {startWith, map} from 'rxjs/operators';
|
||||||
import {MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
import {MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
||||||
@@ -12,9 +12,9 @@ import { PlotService, PlotType, AutocompleteResult, Suggestion, ResultMode } fro
|
|||||||
})
|
})
|
||||||
export class QueryAutocompleteComponent implements OnInit {
|
export class QueryAutocompleteComponent implements OnInit {
|
||||||
|
|
||||||
queryField = new FormControl('');
|
queryField = new UntypedFormControl('');
|
||||||
|
|
||||||
suggestions = new FormControl();
|
suggestions = new UntypedFormControl();
|
||||||
|
|
||||||
filteredSuggestions!: Observable<Suggestion[]>;
|
filteredSuggestions!: Observable<Suggestion[]>;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { PlotService, PlotType, PlotRequest, PlotResponse, TagField, FilterDefaults, DataType, YAxisDefinition, AxesTypes } from '../plot.service';
|
import { PlotService, PlotType, PlotRequest, PlotResponse, TagField, FilterDefaults, DataType, YAxisDefinition, AxesTypes } from '../plot.service';
|
||||||
import { FormControl, Validators } from '@angular/forms';
|
import { UntypedFormControl, Validators } from '@angular/forms';
|
||||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||||
import { LimitByComponent } from '../limit-by/limit-by.component';
|
import { LimitByComponent } from '../limit-by/limit-by.component';
|
||||||
import { YAxisDefinitionComponent } from '../y-axis-definition/y-axis-definition.component';
|
import { YAxisDefinitionComponent } from '../y-axis-definition/y-axis-definition.component';
|
||||||
@@ -18,7 +18,7 @@ export class VisualizationPageComponent implements OnInit {
|
|||||||
|
|
||||||
readonly DATE_PATTERN = "YYYY-MM-DD HH:mm:ss"; // for moment-JS
|
readonly DATE_PATTERN = "YYYY-MM-DD HH:mm:ss"; // for moment-JS
|
||||||
|
|
||||||
dateRange = new FormControl('2019-10-05 00:00:00 - 2019-10-11 23:59:59');
|
dateRange = new UntypedFormControl('2019-10-05 00:00:00 - 2019-10-11 23:59:59');
|
||||||
|
|
||||||
selectedPlotType = new Array<PlotType>();
|
selectedPlotType = new Array<PlotType>();
|
||||||
plotTypes: Array<any> = [];
|
plotTypes: Array<any> = [];
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"target": "es2017",
|
"target": "es2020",
|
||||||
"module": "es2020",
|
"module": "es2020",
|
||||||
"lib": [
|
"lib": [
|
||||||
"es2020",
|
"es2020",
|
||||||
|
|||||||
Reference in New Issue
Block a user