update Angular to latest Version
This commit is contained in:
Generated
+1681
-1198
File diff suppressed because it is too large
Load Diff
+14
-13
@@ -12,15 +12,15 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^21.2.4",
|
"@angular/animations": "^22.0.1",
|
||||||
"@angular/common": "^21.2.4",
|
"@angular/common": "^22.0.1",
|
||||||
"@angular/compiler": "^21.2.4",
|
"@angular/compiler": "^22.0.1",
|
||||||
"@angular/core": "^21.2.4",
|
"@angular/core": "^22.0.1",
|
||||||
"@angular/forms": "^21.2.4",
|
"@angular/forms": "^22.0.1",
|
||||||
"@angular/localize": "^21.2.4",
|
"@angular/localize": "^22.0.1",
|
||||||
"@angular/platform-browser": "^21.2.4",
|
"@angular/platform-browser": "^22.0.1",
|
||||||
"@angular/platform-browser-dynamic": "^21.2.4",
|
"@angular/platform-browser-dynamic": "^22.0.1",
|
||||||
"@angular/router": "^21.2.4",
|
"@angular/router": "^22.0.1",
|
||||||
"@auth0/angular-jwt": "^5.2.0",
|
"@auth0/angular-jwt": "^5.2.0",
|
||||||
"bootstrap": "^5.3.8",
|
"bootstrap": "^5.3.8",
|
||||||
"bootstrap-icons": "^1.13.1",
|
"bootstrap-icons": "^1.13.1",
|
||||||
@@ -29,10 +29,11 @@
|
|||||||
"zone.js": "~0.15.0"
|
"zone.js": "~0.15.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/build": "^21.2.2",
|
"@angular/build": "^22.0.0",
|
||||||
"@angular/cli": "^21.2.2",
|
"@angular/cli": "^22.0.0",
|
||||||
"@angular/compiler-cli": "^21.2.4",
|
"@angular/compiler-cli": "^22.0.1",
|
||||||
"@types/jasmine": "~5.1.0",
|
"@types/jasmine": "~5.1.0",
|
||||||
|
"istanbul-lib-instrument": "^6.0.3",
|
||||||
"jasmine-core": "~5.2.0",
|
"jasmine-core": "~5.2.0",
|
||||||
"karma": "~6.4.0",
|
"karma": "~6.4.0",
|
||||||
"karma-chrome-launcher": "~3.2.0",
|
"karma-chrome-launcher": "~3.2.0",
|
||||||
@@ -41,6 +42,6 @@
|
|||||||
"karma-jasmine": "~5.1.0",
|
"karma-jasmine": "~5.1.0",
|
||||||
"karma-jasmine-html-reporter": "~2.1.0",
|
"karma-jasmine-html-reporter": "~2.1.0",
|
||||||
"puppeteer": "^24.43.0",
|
"puppeteer": "^24.43.0",
|
||||||
"typescript": "~5.9.3"
|
"typescript": "~6.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import { RouterOutlet } from '@angular/router';
|
import { RouterOutlet } from '@angular/router';
|
||||||
import {FooterComponent} from "./presentation/components/footer/footer.component";
|
import {FooterComponent} from "./presentation/components/footer/footer.component";
|
||||||
import {ToastComponent} from "./presentation/shared/toast/toast.component";
|
import {ToastComponent} from "./presentation/shared/toast/toast.component";
|
||||||
@@ -10,6 +10,7 @@ import {DarkModeService} from "./infrastructure/services/dark-mode.service";
|
|||||||
imports: [RouterOutlet, FooterComponent, ToastComponent, HeaderComponent],
|
imports: [RouterOutlet, FooterComponent, ToastComponent, HeaderComponent],
|
||||||
templateUrl: './app.component.html',
|
templateUrl: './app.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './app.component.scss'
|
styleUrl: './app.component.scss'
|
||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ import { provideRouter } from '@angular/router';
|
|||||||
import { routes } from './app.routes';
|
import { routes } from './app.routes';
|
||||||
import {provideHttpClient, withFetch, withInterceptors} from "@angular/common/http";
|
import {provideHttpClient, withFetch, withInterceptors} from "@angular/common/http";
|
||||||
import {tokenInterceptor} from "./presentation/interceptors/token.interceptor";
|
import {tokenInterceptor} from "./presentation/interceptors/token.interceptor";
|
||||||
import {provideClientHydration, withEventReplay} from "@angular/platform-browser";
|
import {provideClientHydration, withEventReplay, withNoIncrementalHydration} from "@angular/platform-browser";
|
||||||
|
|
||||||
export const appConfig: ApplicationConfig = {
|
export const appConfig: ApplicationConfig = {
|
||||||
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes),
|
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes),
|
||||||
provideHttpClient(withFetch(), withInterceptors([tokenInterceptor
|
provideHttpClient(withFetch(), withInterceptors([tokenInterceptor
|
||||||
])), provideClientHydration(withEventReplay())]
|
])), provideClientHydration(withEventReplay(), withNoIncrementalHydration())]
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {TestBed} from '@angular/core/testing';
|
import {TestBed} from '@angular/core/testing';
|
||||||
import {provideHttpClient} from '@angular/common/http';
|
import {provideHttpClient, withXhr} from '@angular/common/http';
|
||||||
import {AuthService} from './auth-service';
|
import {AuthService} from './auth-service';
|
||||||
|
|
||||||
describe('AuthService', () => {
|
describe('AuthService', () => {
|
||||||
@@ -8,7 +8,7 @@ describe('AuthService', () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
providers: [provideHttpClient()]
|
providers: [provideHttpClient(withXhr())]
|
||||||
});
|
});
|
||||||
service = TestBed.inject(AuthService);
|
service = TestBed.inject(AuthService);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {TestBed} from '@angular/core/testing';
|
import {TestBed} from '@angular/core/testing';
|
||||||
import {provideHttpClient} from '@angular/common/http';
|
import {provideHttpClient, withXhr} from '@angular/common/http';
|
||||||
import {HttpTestingController, provideHttpClientTesting} from '@angular/common/http/testing';
|
import {HttpTestingController, provideHttpClientTesting} from '@angular/common/http/testing';
|
||||||
import {ResetPasswordService} from './reset-password.service';
|
import {ResetPasswordService} from './reset-password.service';
|
||||||
import {environment} from '../../../environments/environment.development';
|
import {environment} from '../../../environments/environment.development';
|
||||||
@@ -11,7 +11,7 @@ describe('ResetPasswordService', () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
providers: [
|
providers: [
|
||||||
provideHttpClient(),
|
provideHttpClient(withXhr()),
|
||||||
provideHttpClientTesting(),
|
provideHttpClientTesting(),
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {TestBed} from '@angular/core/testing';
|
import {TestBed} from '@angular/core/testing';
|
||||||
import {provideHttpClient} from '@angular/common/http';
|
import {provideHttpClient, withXhr} from '@angular/common/http';
|
||||||
import {HttpTestingController, provideHttpClientTesting} from '@angular/common/http/testing';
|
import {HttpTestingController, provideHttpClientTesting} from '@angular/common/http/testing';
|
||||||
import {UserService} from './user.service';
|
import {UserService} from './user.service';
|
||||||
import {environment} from '../../../environments/environment.development';
|
import {environment} from '../../../environments/environment.development';
|
||||||
@@ -11,7 +11,7 @@ describe('UserService', () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
providers: [
|
providers: [
|
||||||
provideHttpClient(),
|
provideHttpClient(withXhr()),
|
||||||
provideHttpClientTesting(),
|
provideHttpClientTesting(),
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
import {Component, EventEmitter, inject, Output} from '@angular/core';
|
import {Component, EventEmitter, inject, Output, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {FormsModule} from "@angular/forms";
|
import {FormsModule} from "@angular/forms";
|
||||||
import {ResetPasswordService} from "../../../infrastructure/services/reset-password.service";
|
import {ResetPasswordService} from "../../../infrastructure/services/reset-password.service";
|
||||||
import {ToastService} from "../../../infrastructure/services/toast.service";
|
import {ToastService} from "../../../infrastructure/services/toast.service";
|
||||||
@@ -10,6 +10,7 @@ import {LoadingService} from "../../../infrastructure/services/loading.service";
|
|||||||
FormsModule
|
FormsModule
|
||||||
],
|
],
|
||||||
templateUrl: './forget-password-popup.component.html',
|
templateUrl: './forget-password-popup.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './forget-password-popup.component.scss'
|
styleUrl: './forget-password-popup.component.scss'
|
||||||
})
|
})
|
||||||
export class ForgetPasswordPopupComponent {
|
export class ForgetPasswordPopupComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||||
import {Router, RouterLink} from "@angular/router";
|
import {Router, RouterLink} from "@angular/router";
|
||||||
import ValidateForm from "../../../infrastructure/utilities/validate-form";
|
import ValidateForm from "../../../infrastructure/utilities/validate-form";
|
||||||
@@ -18,6 +18,7 @@ import {Title} from "@angular/platform-browser";
|
|||||||
],
|
],
|
||||||
templateUrl: './login.component.html',
|
templateUrl: './login.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './login.component.scss'
|
styleUrl: './login.component.scss'
|
||||||
})
|
})
|
||||||
export class LoginComponent {
|
export class LoginComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {Router, RouterLink} from "@angular/router";
|
import {Router, RouterLink} from "@angular/router";
|
||||||
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||||
|
|
||||||
@@ -17,6 +17,7 @@ import {Title} from "@angular/platform-browser";
|
|||||||
],
|
],
|
||||||
templateUrl: './register.component.html',
|
templateUrl: './register.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './register.component.scss'
|
styleUrl: './register.component.scss'
|
||||||
})
|
})
|
||||||
export class RegisterComponent {
|
export class RegisterComponent {
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject, OnInit} from '@angular/core';
|
import {Component, inject, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||||
import {ResetPasswordService} from "../../../infrastructure/services/reset-password.service";
|
import {ResetPasswordService} from "../../../infrastructure/services/reset-password.service";
|
||||||
import {ActivatedRoute, Router} from "@angular/router";
|
import {ActivatedRoute, Router} from "@angular/router";
|
||||||
@@ -15,6 +15,7 @@ import {PasswordValidator} from "../../../infrastructure/utilities/password-vali
|
|||||||
ReactiveFormsModule
|
ReactiveFormsModule
|
||||||
],
|
],
|
||||||
templateUrl: './reset-password.component.html',
|
templateUrl: './reset-password.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './reset-password.component.scss'
|
styleUrl: './reset-password.component.scss'
|
||||||
})
|
})
|
||||||
export class ResetPasswordComponent implements OnInit {
|
export class ResetPasswordComponent implements OnInit {
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||||
import {RouterLink} from "@angular/router";
|
import {RouterLink} from "@angular/router";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -8,6 +8,7 @@ import {RouterLink} from "@angular/router";
|
|||||||
],
|
],
|
||||||
templateUrl: './admin-dashboard.component.html',
|
templateUrl: './admin-dashboard.component.html',
|
||||||
styleUrl: './admin-dashboard.component.scss',
|
styleUrl: './admin-dashboard.component.scss',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
standalone: true
|
standalone: true
|
||||||
})
|
})
|
||||||
export class AdminDashboardComponent {
|
export class AdminDashboardComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component} from '@angular/core';
|
import {Component, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {RouterLink} from "@angular/router";
|
import {RouterLink} from "@angular/router";
|
||||||
import {appVersion} from "../../../../environments/version";
|
import {appVersion} from "../../../../environments/version";
|
||||||
|
|
||||||
@@ -7,6 +7,7 @@ import {appVersion} from "../../../../environments/version";
|
|||||||
imports: [RouterLink],
|
imports: [RouterLink],
|
||||||
templateUrl: './footer.component.html',
|
templateUrl: './footer.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './footer.component.scss'
|
styleUrl: './footer.component.scss'
|
||||||
})
|
})
|
||||||
export class FooterComponent {
|
export class FooterComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject, OnInit} from '@angular/core';
|
import {Component, inject, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {DarkModeService} from '../../../infrastructure/services/dark-mode.service';
|
import {DarkModeService} from '../../../infrastructure/services/dark-mode.service';
|
||||||
import {FormsModule} from "@angular/forms";
|
import {FormsModule} from "@angular/forms";
|
||||||
import {ActivatedRoute, NavigationEnd, Router, RouterLink} from "@angular/router";
|
import {ActivatedRoute, NavigationEnd, Router, RouterLink} from "@angular/router";
|
||||||
@@ -14,6 +14,7 @@ import {filter} from "rxjs/operators";
|
|||||||
],
|
],
|
||||||
templateUrl: './header.component.html',
|
templateUrl: './header.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './header.component.scss'
|
styleUrl: './header.component.scss'
|
||||||
})
|
})
|
||||||
export class HeaderComponent implements OnInit {
|
export class HeaderComponent implements OnInit {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-startpage',
|
selector: 'app-startpage',
|
||||||
imports: [],
|
imports: [],
|
||||||
templateUrl: './startpage.component.html',
|
templateUrl: './startpage.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './startpage.component.scss',
|
styleUrl: './startpage.component.scss',
|
||||||
})
|
})
|
||||||
export class StartpageComponent {
|
export class StartpageComponent {
|
||||||
|
|||||||
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-unauthorized',
|
selector: 'app-unauthorized',
|
||||||
imports: [],
|
imports: [],
|
||||||
templateUrl: './unauthorized.component.html',
|
templateUrl: './unauthorized.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './unauthorized.component.scss',
|
styleUrl: './unauthorized.component.scss',
|
||||||
})
|
})
|
||||||
export class UnauthorizedComponent {
|
export class UnauthorizedComponent {
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {Title} from "@angular/platform-browser";
|
import {Title} from "@angular/platform-browser";
|
||||||
import {UserStoreService} from "../../../infrastructure/services/user-store.service";
|
import {UserStoreService} from "../../../infrastructure/services/user-store.service";
|
||||||
import {AuthService} from "../../../infrastructure/services/auth-service";
|
import {AuthService} from "../../../infrastructure/services/auth-service";
|
||||||
@@ -7,6 +7,7 @@ import {AuthService} from "../../../infrastructure/services/auth-service";
|
|||||||
selector: 'app-user-dashboard',
|
selector: 'app-user-dashboard',
|
||||||
imports: [],
|
imports: [],
|
||||||
templateUrl: './user-dashboard.component.html',
|
templateUrl: './user-dashboard.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './user-dashboard.component.scss',
|
styleUrl: './user-dashboard.component.scss',
|
||||||
})
|
})
|
||||||
export class UserDashboardComponent {
|
export class UserDashboardComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {User} from "../../../domain/entities/user";
|
import {User} from "../../../domain/entities/user";
|
||||||
import {UserService} from "../../../infrastructure/services/user.service";
|
import {UserService} from "../../../infrastructure/services/user.service";
|
||||||
import {ToastService} from "../../../infrastructure/services/toast.service";
|
import {ToastService} from "../../../infrastructure/services/toast.service";
|
||||||
@@ -15,6 +15,7 @@ import {DatePipe, NgClass} from "@angular/common";
|
|||||||
],
|
],
|
||||||
templateUrl: './user-table.component.html',
|
templateUrl: './user-table.component.html',
|
||||||
styleUrl: './user-table.component.scss',
|
styleUrl: './user-table.component.scss',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
standalone: true
|
standalone: true
|
||||||
})
|
})
|
||||||
export class UserTableComponent {
|
export class UserTableComponent {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {TestBed} from '@angular/core/testing';
|
import {TestBed} from '@angular/core/testing';
|
||||||
import {HttpClient, HttpInterceptorFn, provideHttpClient, withInterceptors} from '@angular/common/http';
|
import {HttpClient, HttpInterceptorFn, provideHttpClient, withInterceptors, withXhr} from '@angular/common/http';
|
||||||
import {HttpTestingController, provideHttpClientTesting} from '@angular/common/http/testing';
|
import {HttpTestingController, provideHttpClientTesting} from '@angular/common/http/testing';
|
||||||
import {tokenInterceptor} from './token.interceptor';
|
import {tokenInterceptor} from './token.interceptor';
|
||||||
import {AuthService} from '../../infrastructure/services/auth-service';
|
import {AuthService} from '../../infrastructure/services/auth-service';
|
||||||
@@ -15,7 +15,7 @@ describe('tokenInterceptor', () => {
|
|||||||
|
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
providers: [
|
providers: [
|
||||||
provideHttpClient(withInterceptors([tokenInterceptor])),
|
provideHttpClient(withXhr(), withInterceptors([tokenInterceptor])),
|
||||||
provideHttpClientTesting(),
|
provideHttpClientTesting(),
|
||||||
{provide: AuthService, useValue: authService},
|
{provide: AuthService, useValue: authService},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, EventEmitter, Input, Output} from '@angular/core';
|
import {Component, EventEmitter, Input, Output, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {NgClass} from "@angular/common";
|
import {NgClass} from "@angular/common";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -8,6 +8,7 @@ import {NgClass} from "@angular/common";
|
|||||||
],
|
],
|
||||||
templateUrl: './popup-modal.component.html',
|
templateUrl: './popup-modal.component.html',
|
||||||
styleUrl: './popup-modal.component.scss',
|
styleUrl: './popup-modal.component.scss',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
standalone: true
|
standalone: true
|
||||||
})
|
})
|
||||||
export class PopupModalComponent {
|
export class PopupModalComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ToastService} from "../../../infrastructure/services/toast.service";
|
import {ToastService} from "../../../infrastructure/services/toast.service";
|
||||||
|
|
||||||
|
|
||||||
@@ -7,6 +7,7 @@ import {ToastService} from "../../../infrastructure/services/toast.service";
|
|||||||
imports: [],
|
imports: [],
|
||||||
templateUrl: './toast.component.html',
|
templateUrl: './toast.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrls: ['./toast.component.scss']
|
styleUrls: ['./toast.component.scss']
|
||||||
})
|
})
|
||||||
export class ToastComponent {
|
export class ToastComponent {
|
||||||
|
|||||||
@@ -11,5 +11,13 @@
|
|||||||
],
|
],
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.d.ts"
|
"src/**/*.d.ts"
|
||||||
]
|
],
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"extendedDiagnostics": {
|
||||||
|
"checks": {
|
||||||
|
"nullishCoalescingNotNullable": "suppress",
|
||||||
|
"optionalChainNotNullable": "suppress"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,5 +11,13 @@
|
|||||||
"include": [
|
"include": [
|
||||||
"src/**/*.spec.ts",
|
"src/**/*.spec.ts",
|
||||||
"src/**/*.d.ts"
|
"src/**/*.d.ts"
|
||||||
]
|
],
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"extendedDiagnostics": {
|
||||||
|
"checks": {
|
||||||
|
"nullishCoalescingNotNullable": "suppress",
|
||||||
|
"optionalChainNotNullable": "suppress"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user