Update to angular 15 & related frontend packages

This commit is contained in:
Michael Shamoon 2023-01-11 23:10:16 -08:00
parent 9e33344808
commit 4b4111ec03
8 changed files with 4121 additions and 5745 deletions

View File

@ -1,18 +0,0 @@
# 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
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line.
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

View File

@ -193,5 +193,13 @@
"schematicCollections": [ "schematicCollections": [
"@angular-eslint/schematics" "@angular-eslint/schematics"
] ]
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
} }
} }

9773
src-ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,46 +13,46 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/common": "~14.2.8", "@angular/common": "~15.1.0",
"@angular/compiler": "~14.2.8", "@angular/compiler": "~15.1.0",
"@angular/core": "~14.2.8", "@angular/core": "~15.1.0",
"@angular/forms": "~14.2.8", "@angular/forms": "~15.1.0",
"@angular/localize": "~14.2.8", "@angular/localize": "~15.1.0",
"@angular/platform-browser": "~14.2.8", "@angular/platform-browser": "~15.1.0",
"@angular/platform-browser-dynamic": "~14.2.8", "@angular/platform-browser-dynamic": "~15.1.0",
"@angular/router": "~14.2.8", "@angular/router": "~15.1.0",
"@ng-bootstrap/ng-bootstrap": "^13.0.0", "@ng-bootstrap/ng-bootstrap": "^14.0.1",
"@ng-select/ng-select": "^9.0.2", "@ng-select/ng-select": "^10.0.1",
"@ngneat/dirty-check-forms": "^3.0.3", "@ngneat/dirty-check-forms": "^3.0.3",
"@popperjs/core": "^2.11.6", "@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.1", "bootstrap": "^5.2.3",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"ng2-pdf-viewer": "^9.1.2", "ng2-pdf-viewer": "^9.1.2",
"ngx-color": "^8.0.3", "ngx-color": "^8.0.3",
"ngx-cookie-service": "^14.0.1", "ngx-cookie-service": "^15.0.0",
"ngx-file-drop": "^14.0.2", "ngx-file-drop": "^14.0.2",
"ngx-ui-tour-ng-bootstrap": "^11.1.0", "ngx-ui-tour-ng-bootstrap": "^12.0.0",
"rxjs": "~7.5.7", "rxjs": "^7.8.0",
"tslib": "^2.4.1", "tslib": "^2.4.1",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"zone.js": "~0.11.8" "zone.js": "~0.11.8"
}, },
"devDependencies": { "devDependencies": {
"@angular-builders/jest": "14.1.0", "@angular-builders/jest": "15.0.0",
"@angular-devkit/build-angular": "~14.2.7", "@angular-devkit/build-angular": "~15.1.0",
"@angular-eslint/builder": "14.4.0", "@angular-eslint/builder": "15.1.0",
"@angular-eslint/eslint-plugin": "14.4.0", "@angular-eslint/eslint-plugin": "15.1.0",
"@angular-eslint/eslint-plugin-template": "14.4.0", "@angular-eslint/eslint-plugin-template": "15.1.0",
"@angular-eslint/schematics": "14.4.0", "@angular-eslint/schematics": "15.1.0",
"@angular-eslint/template-parser": "14.4.0", "@angular-eslint/template-parser": "15.1.0",
"@angular/cli": "~14.2.7", "@angular/cli": "~15.1.0",
"@angular/compiler-cli": "~14.2.8", "@angular/compiler-cli": "~15.1.0",
"@types/jest": "28.1.6", "@types/jest": "28.1.6",
"@types/node": "^18.7.23", "@types/node": "^18.7.23",
"@typescript-eslint/eslint-plugin": "5.47.1", "@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "5.47.1", "@typescript-eslint/parser": "^5.43.0",
"concurrently": "7.4.0", "concurrently": "7.4.0",
"eslint": "^8.28.0", "eslint": "^8.31.0",
"jest": "28.1.3", "jest": "28.1.3",
"jest-environment-jsdom": "^29.2.2", "jest-environment-jsdom": "^29.2.2",
"jest-preset-angular": "^12.2.3", "jest-preset-angular": "^12.2.3",

View File

@ -61,7 +61,7 @@ const routes: Routes = [
] ]
@NgModule({ @NgModule({
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })], imports: [RouterModule.forRoot(routes)],
exports: [RouterModule], exports: [RouterModule],
}) })
export class AppRoutingModule {} export class AppRoutingModule {}

View File

@ -200,7 +200,7 @@ function initializeApp(settings: SettingsService) {
PdfViewerModule, PdfViewerModule,
NgSelectModule, NgSelectModule,
ColorSliderModule, ColorSliderModule,
TourNgBootstrapModule.forRoot(), TourNgBootstrapModule,
], ],
providers: [ providers: [
{ {

View File

@ -509,6 +509,10 @@ table.table {
.progress { .progress {
background-color: var(--bs-body-bg); background-color: var(--bs-body-bg);
.text-bg-primary {
background-color: var(--bs-primary) !important;
}
} }
.ngb-dp-header, .ngb-dp-header,

View File

@ -10,12 +10,13 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
"target": "es2015", "target": "ES2022",
"module": "es2020", "module": "es2020",
"lib": [ "lib": [
"es2018", "es2020",
"dom" "dom"
] ],
"useDefineForClassFields": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false, "enableI18nLegacyMessageIdFormat": false,