Replaces usage of AuthService.isAuthenticated and interval with OAuthService.hasValidAccessToken() and timer for checking authentication status. Also injects EnvironmentService to access OAuth configuration and updates logic to check responseType before waiting for authentication.
Introduced asyncAuthGuard and asyncAbpOAuthGuard to enable asynchronous authentication checks, particularly for OAuth flows involving code exchange. Updated app routes and OAuth module provider to use the new async guards where appropriate.
Added AsyncPipe to the imports array of several Angular components to support async data binding in templates. This change improves template handling of observables and aligns with Angular best practices.
Replaced CommonModule and RouterModule imports with more granular standalone Angular feature imports (NgClass, NgStyle, NgIf, NgTemplateOutlet, RouterLink, etc.) across multiple shared components. This change improves tree-shaking and aligns with Angular's standalone component best practices.
Imported and applied the collapseWithMargin animation from @abp/ng.theme.shared to the AccountLayoutComponent. This enhances the component with collapse animation capabilities.
Updated MockPermissionService and MockRestService to call their super constructors without arguments, aligning with possible changes in the base class constructors. This simplifies the instantiation logic and removes unnecessary dependencies from the mock implementations.
Eliminated unused imports from several components and directives to improve code clarity and reduce bundle size. Added an explicit constructor to DateParserFormatter for consistency. No functional changes were made.
Updated PageToolbarComponent and LazyStyleHandler initialization to remove the unused Injector parameter from their constructors and factory functions. This simplifies instantiation and aligns with recent refactoring.
Updated the LocaleId class to use Angular's inject() function for obtaining the LocalizationService instead of constructor injection. Removed the deps array from the LocaleProvider as it is no longer needed.
Eliminated unused injections of RestService, Router, and ViewContainerRef from MultiTenancyService, LoaderBarComponent, and LoadingDirective respectively to clean up the code and improve maintainability.