feat: update environment configuration and ngsw settings; refactor input handling and layout components for improved functionality

This commit is contained in:
2026-05-16 21:17:51 +03:30
parent 29c5c50d62
commit 5098c26c96
10 changed files with 40 additions and 28 deletions
+5 -5
View File
@@ -19,7 +19,7 @@ import {
withEnabledBlockingInitialNavigation,
withInMemoryScrolling,
} from '@angular/router';
import { provideServiceWorker } from '@angular/service-worker';
// import { provideServiceWorker } from '@angular/service-worker';
// Use the consolidated preset that includes our custom variables
import { ConfirmationService, MessageService } from 'primeng/api';
import { providePrimeNG } from 'primeng/config';
@@ -74,9 +74,9 @@ export const appConfig: ApplicationConfig = {
withInterceptors([loggingInterceptor, authInterceptor, errorInterceptor, dedupInterceptor]),
withInterceptorsFromDi(),
),
provideServiceWorker('ngsw-worker.js', {
enabled: !isDevMode(),
registrationStrategy: 'registerWhenStable:30000',
}),
// provideServiceWorker('ngsw-worker.js', {
// enabled: !isDevMode(),
// registrationStrategy: 'registerWhenStable:30000',
// }),
],
};