mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-12 04:23:09 +02:00
Upgrading angular to v14 #587
This commit is contained in:
parent
126a7077c3
commit
3fe0c58e9a
@ -1,7 +1,9 @@
|
||||
{
|
||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||
"cli": {
|
||||
"defaultCollection": "@angular-eslint/schematics"
|
||||
"schematicCollections": [
|
||||
"@angular-eslint/schematics"
|
||||
]
|
||||
},
|
||||
"version": 1,
|
||||
"newProjectRoot": "projects",
|
||||
@ -218,6 +220,5 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "pigallery2"
|
||||
}
|
||||
}
|
||||
|
14174
package-lock.json
generated
14174
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
56
package.json
56
package.json
@ -55,27 +55,27 @@
|
||||
"typeorm": "0.3.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-builders/custom-webpack": "13.1.0",
|
||||
"@angular-builders/custom-webpack": "14.1.0",
|
||||
"@angular-devkit/build-optimizer": "0.1302.1",
|
||||
"@angular-eslint/builder": "13.1.0",
|
||||
"@angular-eslint/eslint-plugin": "13.1.0",
|
||||
"@angular-eslint/eslint-plugin-template": "13.1.0",
|
||||
"@angular-eslint/schematics": "13.1.0",
|
||||
"@angular-eslint/template-parser": "13.1.0",
|
||||
"@angular/animations": "13.3.1",
|
||||
"@angular/cli": "13.3.1",
|
||||
"@angular/common": "13.3.1",
|
||||
"@angular/compiler": "13.3.1",
|
||||
"@angular/compiler-cli": "13.3.1",
|
||||
"@angular/core": "13.3.1",
|
||||
"@angular/forms": "13.3.1",
|
||||
"@angular/language-service": "13.3.1",
|
||||
"@angular/localize": "13.3.1",
|
||||
"@angular/platform-browser": "13.3.1",
|
||||
"@angular/platform-browser-dynamic": "13.3.1",
|
||||
"@angular/router": "13.3.1",
|
||||
"@asymmetrik/ngx-leaflet": "13.0.2",
|
||||
"@asymmetrik/ngx-leaflet-markercluster": "13.0.1",
|
||||
"@angular-eslint/builder": "14.4.0",
|
||||
"@angular-eslint/eslint-plugin": "14.4.0",
|
||||
"@angular-eslint/eslint-plugin-template": "14.4.0",
|
||||
"@angular-eslint/schematics": "14.4.0",
|
||||
"@angular-eslint/template-parser": "14.4.0",
|
||||
"@angular/animations": "14.2.12",
|
||||
"@angular/cli": "14.2.10",
|
||||
"@angular/common": "14.2.12",
|
||||
"@angular/compiler": "14.2.12",
|
||||
"@angular/compiler-cli": "14.2.12",
|
||||
"@angular/core": "14.2.12",
|
||||
"@angular/forms": "14.2.12",
|
||||
"@angular/language-service": "14.2.12",
|
||||
"@angular/localize": "14.2.12",
|
||||
"@angular/platform-browser": "14.2.12",
|
||||
"@angular/platform-browser-dynamic": "14.2.12",
|
||||
"@angular/router": "14.2.12",
|
||||
"@asymmetrik/ngx-leaflet": "14.0.1",
|
||||
"@asymmetrik/ngx-leaflet-markercluster": "14.0.1",
|
||||
"@ngx-loading-bar/core": "6.0.2",
|
||||
"@types/archiver": "5.3.1",
|
||||
"@types/bcrypt": "5.0.0",
|
||||
@ -98,8 +98,8 @@
|
||||
"@types/node-geocoder": "3.24.4",
|
||||
"@types/sharp": "0.30.0",
|
||||
"@types/xml2js": "0.4.9",
|
||||
"@typescript-eslint/eslint-plugin": "5.11.0",
|
||||
"@typescript-eslint/parser": "5.11.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.36.2",
|
||||
"@typescript-eslint/parser": "5.36.2",
|
||||
"bootstrap": "5.3.0-alpha1",
|
||||
"chai": "4.3.6",
|
||||
"chai-http": "4.3.0",
|
||||
@ -108,7 +108,7 @@
|
||||
"coveralls": "3.1.1",
|
||||
"deep-equal-in-any-order": "1.1.15",
|
||||
"ejs-loader": "0.5.0",
|
||||
"eslint": "7.32.0",
|
||||
"eslint": "8.23.0",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-json-editor": "2.5.6",
|
||||
"gulp-typescript": "5.0.1",
|
||||
@ -123,12 +123,12 @@
|
||||
"karma-jasmine-html-reporter": "1.7.0",
|
||||
"leaflet": "1.7.1",
|
||||
"leaflet.markercluster": "1.5.3",
|
||||
"mocha": "9.2.2",
|
||||
"ngx-bootstrap": "8.0.0",
|
||||
"mocha": "10.2.0",
|
||||
"ngx-bootstrap": "9.0.0",
|
||||
"ngx-clipboard": "15.1.0",
|
||||
"ngx-cookie-service": "13.1.2",
|
||||
"ngx-device-detector": "3.0.0",
|
||||
"ngx-markdown": "13.1.0",
|
||||
"ngx-cookie-service": "14.0.1",
|
||||
"ngx-device-detector": "4.0.1",
|
||||
"ngx-markdown": "14.0.1",
|
||||
"ngx-toastr": "14.2.2",
|
||||
"nyc": "15.1.0",
|
||||
"open-iconic": "1.1.1",
|
||||
|
@ -12,7 +12,7 @@ import {
|
||||
} from '../../../../../../common/entities/SearchQueryDTO';
|
||||
import {
|
||||
ControlValueAccessor,
|
||||
FormControl,
|
||||
UntypedFormControl,
|
||||
NG_VALIDATORS,
|
||||
NG_VALUE_ACCESSOR,
|
||||
ValidationErrors,
|
||||
@ -75,7 +75,7 @@ export class GallerySearchQueryBuilderComponent
|
||||
this.onChange();
|
||||
}
|
||||
|
||||
validate(control: FormControl): ValidationErrors {
|
||||
validate(control: UntypedFormControl): ValidationErrors {
|
||||
return { required: true };
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import {
|
||||
import { Utils } from '../../../../../../common/Utils';
|
||||
import {
|
||||
ControlValueAccessor,
|
||||
FormControl,
|
||||
UntypedFormControl,
|
||||
NG_VALIDATORS,
|
||||
NG_VALUE_ACCESSOR,
|
||||
ValidationErrors,
|
||||
@ -92,7 +92,7 @@ export class GallerySearchQueryEntryComponent
|
||||
return this.queryEntry as TextSearch;
|
||||
}
|
||||
|
||||
validate(control: FormControl): ValidationErrors {
|
||||
validate(control: UntypedFormControl): ValidationErrors {
|
||||
return { required: true };
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ import {
|
||||
import { Config } from '../../../../../../common/config/public/Config';
|
||||
import {
|
||||
ControlValueAccessor,
|
||||
FormControl,
|
||||
UntypedFormControl,
|
||||
NG_VALIDATORS,
|
||||
NG_VALUE_ACCESSOR,
|
||||
ValidationErrors,
|
||||
@ -249,7 +249,7 @@ export class GallerySearchFieldBaseComponent
|
||||
this.propagateChange(this.rawSearchText);
|
||||
}
|
||||
|
||||
validate(control: FormControl): ValidationErrors {
|
||||
validate(control: UntypedFormControl): ValidationErrors {
|
||||
return { required: true };
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ import {Component, EventEmitter, forwardRef, Input, Output,TemplateRef} from '@a
|
||||
import {Router, RouterLink} from '@angular/router';
|
||||
import {AutoCompleteService} from '../autocomplete.service';
|
||||
import {SearchQueryDTO} from '../../../../../../common/entities/SearchQueryDTO';
|
||||
import {ControlValueAccessor, FormControl, NG_VALIDATORS, NG_VALUE_ACCESSOR, ValidationErrors, Validator,} from '@angular/forms';
|
||||
import {ControlValueAccessor, UntypedFormControl, NG_VALIDATORS, NG_VALUE_ACCESSOR, ValidationErrors, Validator,} from '@angular/forms';
|
||||
import {SearchQueryParserService} from '../search-query-parser.service';
|
||||
import {BsModalRef, BsModalService,} from '../../../../../../../node_modules/ngx-bootstrap/modal';
|
||||
|
||||
@ -76,7 +76,7 @@ export class GallerySearchFieldComponent
|
||||
this.propagateChange(this.searchQueryDTO);
|
||||
}
|
||||
|
||||
validate(control: FormControl): ValidationErrors {
|
||||
validate(control: UntypedFormControl): ValidationErrors {
|
||||
return {required: true};
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ import {WebConfig} from '../../../../../common/config/private/WebConfig';
|
||||
import {JobProgressDTO} from '../../../../../common/entities/job/JobProgressDTO';
|
||||
import {JobDTOUtils} from '../../../../../common/entities/job/JobDTO';
|
||||
import {ScheduledJobsService} from '../scheduled-jobs.service';
|
||||
import {FormControl} from '@angular/forms';
|
||||
import {UntypedFormControl} from '@angular/forms';
|
||||
import {Subscription} from 'rxjs';
|
||||
import {IWebConfigClassPrivate} from '../../../../../../node_modules/typeconfig/src/decorators/class/IWebConfigClass';
|
||||
import {ConfigPriority, TAGS} from '../../../../../common/config/public/ClientConfig';
|
||||
@ -63,7 +63,7 @@ export class TemplateComponent implements OnInit, OnChanges, OnDestroy, ISetting
|
||||
nestedConfigs: { id: string, name: string, visible: () => boolean, icon: string }[] = [];
|
||||
|
||||
@ViewChild('settingsForm', {static: true})
|
||||
form: FormControl;
|
||||
form: UntypedFormControl;
|
||||
|
||||
|
||||
public inProgress = false;
|
||||
|
@ -11,7 +11,7 @@
|
||||
"experimentalDecorators": true,
|
||||
"moduleResolution": "node",
|
||||
"importHelpers": true,
|
||||
"target": "es2017",
|
||||
"target": "es2020",
|
||||
"module": "CommonJS",
|
||||
"lib": [
|
||||
"es2020",
|
||||
|
Loading…
Reference in New Issue
Block a user