feat(deps): update to Angular 22 and adopt APIs (#2468)

This commit is contained in:
Alex
2026-09-04 07:44:41 +01:00
committed by GitHub
parent a1a4ee167c
commit 3cc29fcc29
41 changed files with 2444 additions and 2499 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { provideHttpClient, withInterceptors, withXhr } from '@angular/common/http';
import { ErrorHandler, inject, isDevMode, provideAppInitializer, provideZonelessChangeDetection } from '@angular/core';
import { DialogService } from '@openng/optimus-ui/dynamicdialog';
import { ConfirmationService, MessageService } from '@openng/optimus-ui/api';
@@ -43,7 +43,7 @@ bootstrapApplication(AppComponent, {
const startup = inject(StartupService);
return Promise.resolve(initializeAuth()).then(() => startup.load());
}),
provideHttpClient(withInterceptors([AuthInterceptorService])),
provideHttpClient(withXhr(), withInterceptors([AuthInterceptorService])),
provideRouter(routes),
DialogService,
MessageService,