(chore) upgraded angular with migrations and cleaned up node packages
This commit is contained in:
1 parent
b57044dbdc
commit
3ebc771cb1
27 files changed
+1814
-1498
No files matched your search
+1
-2
@@ -17,8 +17,7 @@
|
|||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"browser": "src/main.ts",
|
"browser": "src/main.ts",
|
||||||
"polyfills": [
|
"polyfills": [
|
||||||
"zone.js",
|
"zone.js"
|
||||||
"@angular/localize/init"
|
|
||||||
],
|
],
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"assets": [
|
"assets": [
|
||||||
|
|||||||
Generated
+1738
-1442
File diff suppressed because it is too large.
Load diff
+21
-22
@@ -9,39 +9,38 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^21.2.4",
|
"@angular/common": "^22.0.6",
|
||||||
"@angular/common": "^21.2.4",
|
"@angular/compiler": "^22.0.6",
|
||||||
"@angular/compiler": "^21.2.4",
|
"@angular/core": "^22.0.6",
|
||||||
"@angular/core": "^21.2.4",
|
"@angular/forms": "^22.0.6",
|
||||||
"@angular/forms": "^21.2.4",
|
"@angular/platform-browser": "^22.0.6",
|
||||||
"@angular/localize": "^21.2.4",
|
"@angular/router": "^22.0.6",
|
||||||
"@angular/platform-browser": "^21.2.4",
|
|
||||||
"@angular/router": "^21.2.4",
|
|
||||||
"@ngx-translate/core": "^16.0.4",
|
"@ngx-translate/core": "^16.0.4",
|
||||||
"@ngx-translate/http-loader": "^16.0.1",
|
"@ngx-translate/http-loader": "^16.0.1",
|
||||||
"marked": "^17.0.4",
|
"marked": "^17.0.4",
|
||||||
"ngx-markdown": "^21.1.0",
|
"ngx-markdown": "^22.0.0",
|
||||||
"parallax-js": "^3.1.0",
|
"parallax-js": "^3.1.0",
|
||||||
"rxjs": "~7.8.0",
|
"rxjs": "~7.8.0",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"zone.js": "~0.15.0"
|
"zone.js": "~0.15.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/build": "^21.2.2",
|
"@angular/build": "^22.0.6",
|
||||||
"@angular/cli": "^21.2.2",
|
"@angular/cli": "^22.0.6",
|
||||||
"@angular/compiler-cli": "^21.2.4",
|
"@angular/compiler-cli": "^22.0.6",
|
||||||
"@types/node": "^18.18.0",
|
"@types/node": "^26.1.1",
|
||||||
"@types/parallax-js": "^3.1.3",
|
"@types/parallax-js": "^3.1.3",
|
||||||
"typescript": "~5.9.3"
|
"istanbul-lib-instrument": "^6.0.3",
|
||||||
|
"typescript": "~6.0.3"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@modelcontextprotocol/sdk": "^1.26.0",
|
"@babel/core": "^7.29.0",
|
||||||
"tar": "^7.5.7",
|
"esbuild": "^0.28.0"
|
||||||
"hono": "^4.11.7",
|
},
|
||||||
"ajv": "^8.17.1",
|
"allowScripts": {
|
||||||
"ajv-formats": "^3.0.1",
|
"@parcel/watcher@2.5.6": true,
|
||||||
"undici": "^7.23.0",
|
"esbuild@0.28.1": true,
|
||||||
"picomatch": "^4.0.3",
|
"lmdb@3.5.4": true,
|
||||||
"vite": "^7.3.1"
|
"msgpackr-extract@3.0.4": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["config:recommended", "security:only-security-updates"],
|
|
||||||
"dependencyDashboard": true,
|
|
||||||
"labels": ["security", "dependencies"]
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import {AfterViewInit, Component, ElementRef, HostListener, OnInit, ViewChild, ViewEncapsulation} from '@angular/core';
|
import {AfterViewInit, Component, ElementRef, HostListener, OnInit, ViewChild, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../shared/services/viewport.service';
|
import {ViewportService} from '../shared/services/viewport.service';
|
||||||
import {Title} from '@angular/platform-browser';
|
import {Title} from '@angular/platform-browser';
|
||||||
import {TranslatePipe} from '@ngx-translate/core';
|
import {TranslatePipe} from '@ngx-translate/core';
|
||||||
@@ -18,6 +18,7 @@ import {TerminalEmulatorComponent} from '../shared/terminal-emulator/terminal-em
|
|||||||
FormsModule,
|
FormsModule,
|
||||||
TerminalEmulatorComponent
|
TerminalEmulatorComponent
|
||||||
],
|
],
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrls: ['./about.component.css']
|
styleUrls: ['./about.component.css']
|
||||||
})
|
})
|
||||||
export class AboutComponent implements OnInit, AfterViewInit {
|
export class AboutComponent implements OnInit, AfterViewInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnDestroy, OnInit} from '@angular/core';
|
import {Component, OnDestroy, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {Router, RouterLink} from '@angular/router';
|
import {Router, RouterLink} from '@angular/router';
|
||||||
import {ArticleService} from '../shared/services/article.service';
|
import {ArticleService} from '../shared/services/article.service';
|
||||||
import {UserService} from '../shared/services/user.service';
|
import {UserService} from '../shared/services/user.service';
|
||||||
@@ -29,6 +29,7 @@ interface Article {
|
|||||||
selector: 'app-admin',
|
selector: 'app-admin',
|
||||||
templateUrl: './admin.component.html',
|
templateUrl: './admin.component.html',
|
||||||
styleUrls: ['./admin.component.css'],
|
styleUrls: ['./admin.component.css'],
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
imports: [
|
imports: [
|
||||||
FormsModule,
|
FormsModule,
|
||||||
NgStyle,
|
NgStyle,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component} from '@angular/core';
|
import {Component, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import { RouterOutlet} from '@angular/router';
|
import { RouterOutlet} from '@angular/router';
|
||||||
import {TranslateService} from '@ngx-translate/core';
|
import {TranslateService} from '@ngx-translate/core';
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@ import {TranslateService} from '@ngx-translate/core';
|
|||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
imports: [RouterOutlet],
|
imports: [RouterOutlet],
|
||||||
templateUrl: './app.component.html',
|
templateUrl: './app.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './app.component.css',
|
styleUrl: './app.component.css',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {ApplicationConfig, importProvidersFrom, provideZoneChangeDetection} from '@angular/core';
|
import {ApplicationConfig, importProvidersFrom, provideZoneChangeDetection} from '@angular/core';
|
||||||
import {provideRouter, withInMemoryScrolling, withViewTransitions} from '@angular/router';
|
import {provideRouter, withInMemoryScrolling, withViewTransitions} from '@angular/router';
|
||||||
import {routes} from './app.routes';
|
import {routes} from './app.routes';
|
||||||
import {provideClientHydration, withEventReplay} from '@angular/platform-browser';
|
import {provideClientHydration, withEventReplay, withNoIncrementalHydration} from '@angular/platform-browser';
|
||||||
import {HttpClient, provideHttpClient} from '@angular/common/http';
|
import {HttpClient, provideHttpClient, withXhr} from '@angular/common/http';
|
||||||
import {AuthService} from './shared/services/auth.service';
|
import {AuthService} from './shared/services/auth.service';
|
||||||
import {AuthInterceptor} from './auth.interceptor';
|
import {AuthInterceptor} from './auth.interceptor';
|
||||||
import {TranslateHttpLoader} from '@ngx-translate/http-loader';
|
import {TranslateHttpLoader} from '@ngx-translate/http-loader';
|
||||||
@@ -23,8 +23,8 @@ export const appConfig: ApplicationConfig = {
|
|||||||
anchorScrolling: 'enabled'
|
anchorScrolling: 'enabled'
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
provideClientHydration(withEventReplay()),
|
provideClientHydration(withEventReplay(), withNoIncrementalHydration()),
|
||||||
provideHttpClient(),
|
provideHttpClient(withXhr()),
|
||||||
provideMarkdown({
|
provideMarkdown({
|
||||||
markedOptions: {
|
markedOptions: {
|
||||||
provide: MARKED_OPTIONS,
|
provide: MARKED_OPTIONS,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
import {Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {DatePipe, NgClass, NgStyle} from '@angular/common';
|
import {DatePipe, NgClass, NgStyle} from '@angular/common';
|
||||||
import {ArticleService} from '../../shared/services/article.service';
|
import {ArticleService} from '../../shared/services/article.service';
|
||||||
import {ActivatedRoute} from '@angular/router';
|
import {ActivatedRoute} from '@angular/router';
|
||||||
@@ -33,6 +33,7 @@ interface Article {
|
|||||||
NgClass
|
NgClass
|
||||||
],
|
],
|
||||||
templateUrl: './article-page.component.html',
|
templateUrl: './article-page.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './article-page.component.css'
|
styleUrl: './article-page.component.css'
|
||||||
})
|
})
|
||||||
export class ArticlePageComponent implements OnInit {
|
export class ArticlePageComponent implements OnInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../shared/services/viewport.service'
|
import {ViewportService} from '../shared/services/viewport.service'
|
||||||
import {DatePipe, AsyncPipe, SlicePipe, NgStyle, NgClass} from '@angular/common';
|
import {DatePipe, AsyncPipe, SlicePipe, NgStyle, NgClass} from '@angular/common';
|
||||||
import { ArticleService } from '../shared/services/article.service';
|
import { ArticleService } from '../shared/services/article.service';
|
||||||
@@ -20,6 +20,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|||||||
NgClass
|
NgClass
|
||||||
],
|
],
|
||||||
templateUrl: './blog.component.html',
|
templateUrl: './blog.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './blog.component.css'
|
styleUrl: './blog.component.css'
|
||||||
})
|
})
|
||||||
export class BlogComponent implements OnInit {
|
export class BlogComponent implements OnInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {AuthService} from '../shared/services/auth.service';
|
import {AuthService} from '../shared/services/auth.service';
|
||||||
import {Router} from '@angular/router';
|
import {Router} from '@angular/router';
|
||||||
import {FormsModule} from '@angular/forms';
|
import {FormsModule} from '@angular/forms';
|
||||||
@@ -10,6 +10,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
templateUrl: './login.component.html',
|
templateUrl: './login.component.html',
|
||||||
styleUrls: ['./login.component.css'],
|
styleUrls: ['./login.component.css'],
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
imports: [
|
imports: [
|
||||||
FormsModule,
|
FormsModule,
|
||||||
ParallaxComponent
|
ParallaxComponent
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {Title} from '@angular/platform-browser';
|
import {Title} from '@angular/platform-browser';
|
||||||
import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||||
|
|
||||||
@@ -8,6 +8,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|||||||
ParallaxComponent
|
ParallaxComponent
|
||||||
],
|
],
|
||||||
templateUrl: './not-found.component.html',
|
templateUrl: './not-found.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './not-found.component.css',
|
styleUrl: './not-found.component.css',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
animate.leave="modal-leave"
|
animate.leave="modal-leave"
|
||||||
(click)="$event.stopPropagation()"
|
(click)="$event.stopPropagation()"
|
||||||
>
|
>
|
||||||
<img [src]="selectedItem?.src" [alt]="selectedItem?.alt">
|
<img [src]="$safeNavigationMigration(selectedItem?.src)" [alt]="$safeNavigationMigration(selectedItem?.alt)">
|
||||||
<h2>{{ selectedItem?.label }}</h2>
|
<h2>{{ selectedItem?.label }}</h2>
|
||||||
<button (click)="closeModal()">Close</button>
|
<button (click)="closeModal()">Close</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
import {Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../shared/services/viewport.service';
|
import {ViewportService} from '../shared/services/viewport.service';
|
||||||
import { CommonModule, NgStyle } from '@angular/common';
|
import { CommonModule, NgStyle } from '@angular/common';
|
||||||
import {Title} from '@angular/platform-browser';
|
import {Title} from '@angular/platform-browser';
|
||||||
@@ -17,6 +17,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|||||||
ParallaxComponent
|
ParallaxComponent
|
||||||
],
|
],
|
||||||
templateUrl: './portfolio.component.html',
|
templateUrl: './portfolio.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './portfolio.component.css'
|
styleUrl: './portfolio.component.css'
|
||||||
})
|
})
|
||||||
export class PortfolioComponent implements OnInit {
|
export class PortfolioComponent implements OnInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {AfterViewInit, Component, OnInit} from '@angular/core';
|
import {AfterViewInit, Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../shared/services/viewport.service';
|
import {ViewportService} from '../shared/services/viewport.service';
|
||||||
import {Title} from '@angular/platform-browser';
|
import {Title} from '@angular/platform-browser';
|
||||||
import {TranslatePipe} from '@ngx-translate/core';
|
import {TranslatePipe} from '@ngx-translate/core';
|
||||||
@@ -11,6 +11,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|||||||
ParallaxComponent
|
ParallaxComponent
|
||||||
],
|
],
|
||||||
templateUrl: './privacy.component.html',
|
templateUrl: './privacy.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './privacy.component.css'
|
styleUrl: './privacy.component.css'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, AfterViewInit, signal, OnInit} from '@angular/core';
|
import {Component, AfterViewInit, signal, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../services/viewport.service';
|
import {ViewportService} from '../services/viewport.service';
|
||||||
import {NgClass} from '@angular/common';
|
import {NgClass} from '@angular/common';
|
||||||
|
|
||||||
@@ -16,6 +16,7 @@ declare global {
|
|||||||
NgClass
|
NgClass
|
||||||
],
|
],
|
||||||
templateUrl: './audio-player.component.html',
|
templateUrl: './audio-player.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './audio-player.component.css'
|
styleUrl: './audio-player.component.css'
|
||||||
})
|
})
|
||||||
export class AudioPlayerComponent implements AfterViewInit, OnInit {
|
export class AudioPlayerComponent implements AfterViewInit, OnInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component} from '@angular/core';
|
import {Component, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {TranslatePipe} from '@ngx-translate/core';
|
import {TranslatePipe} from '@ngx-translate/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -7,6 +7,7 @@ import {TranslatePipe} from '@ngx-translate/core';
|
|||||||
TranslatePipe
|
TranslatePipe
|
||||||
],
|
],
|
||||||
templateUrl: './footer.component.html',
|
templateUrl: './footer.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './footer.component.css'
|
styleUrl: './footer.component.css'
|
||||||
})
|
})
|
||||||
export class FooterComponent {
|
export class FooterComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, forwardRef, OnInit} from '@angular/core';
|
import {Component, forwardRef, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
||||||
import {MarkdownModule} from 'ngx-markdown';
|
import {MarkdownModule} from 'ngx-markdown';
|
||||||
@@ -9,6 +9,7 @@ import { ViewportService} from '../services/viewport.service';
|
|||||||
imports: [CommonModule, FormsModule, MarkdownModule],
|
imports: [CommonModule, FormsModule, MarkdownModule],
|
||||||
templateUrl: './markdown-editor.component.html',
|
templateUrl: './markdown-editor.component.html',
|
||||||
styleUrl: './markdown-editor.component.css',
|
styleUrl: './markdown-editor.component.css',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: NG_VALUE_ACCESSOR,
|
provide: NG_VALUE_ACCESSOR,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../services/viewport.service';
|
import {ViewportService} from '../services/viewport.service';
|
||||||
|
|
||||||
import {NavigationEnd, Router, RouterLink} from '@angular/router';
|
import {NavigationEnd, Router, RouterLink} from '@angular/router';
|
||||||
@@ -11,6 +11,7 @@ import {TranslatePipe, TranslateService} from '@ngx-translate/core';
|
|||||||
TranslatePipe
|
TranslatePipe
|
||||||
],
|
],
|
||||||
templateUrl: './mobile-navbar.component.html',
|
templateUrl: './mobile-navbar.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './mobile-navbar.component.css'
|
styleUrl: './mobile-navbar.component.css'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-modal',
|
selector: 'app-modal',
|
||||||
templateUrl: './modal.component.html',
|
templateUrl: './modal.component.html',
|
||||||
styleUrls: ['./modal.component.css'],
|
styleUrls: ['./modal.component.css'],
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
imports: []
|
imports: []
|
||||||
})
|
})
|
||||||
export class ModalComponent {
|
export class ModalComponent {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {NavigationEnd, Router, RouterLink} from '@angular/router';
|
import {NavigationEnd, Router, RouterLink} from '@angular/router';
|
||||||
import {ViewportService} from '../services/viewport.service';
|
import {ViewportService} from '../services/viewport.service';
|
||||||
import {filter} from 'rxjs/operators';
|
import {filter} from 'rxjs/operators';
|
||||||
@@ -8,6 +8,7 @@ import {TranslatePipe, TranslateService} from '@ngx-translate/core';
|
|||||||
selector: 'app-navbar',
|
selector: 'app-navbar',
|
||||||
templateUrl: './navbar.component.html',
|
templateUrl: './navbar.component.html',
|
||||||
styleUrls: ['./navbar.component.css'],
|
styleUrls: ['./navbar.component.css'],
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
imports: [
|
imports: [
|
||||||
RouterLink,
|
RouterLink,
|
||||||
TranslatePipe
|
TranslatePipe
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {AfterViewInit, Component, ElementRef, Inject, OnDestroy, OnInit, PLATFORM_ID, ViewChild, Input} from '@angular/core';
|
import {AfterViewInit, Component, ElementRef, Inject, OnDestroy, OnInit, PLATFORM_ID, ViewChild, Input, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ViewportService} from '../services/viewport.service';
|
import {ViewportService} from '../services/viewport.service';
|
||||||
import {isPlatformBrowser} from '@angular/common';
|
import {isPlatformBrowser} from '@angular/common';
|
||||||
import Parallax from 'parallax-js';
|
import Parallax from 'parallax-js';
|
||||||
@@ -7,6 +7,7 @@ import Parallax from 'parallax-js';
|
|||||||
selector: 'app-parallax',
|
selector: 'app-parallax',
|
||||||
imports: [],
|
imports: [],
|
||||||
templateUrl: './parallax.component.html',
|
templateUrl: './parallax.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './parallax.component.css',
|
styleUrl: './parallax.component.css',
|
||||||
})
|
})
|
||||||
export class ParallaxComponent implements OnInit, OnDestroy, AfterViewInit {
|
export class ParallaxComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
|
||||||
import { RouterOutlet } from '@angular/router';
|
import { RouterOutlet } from '@angular/router';
|
||||||
import { NavbarComponent } from '../navbar/navbar.component';
|
import { NavbarComponent } from '../navbar/navbar.component';
|
||||||
import { MobileNavbarComponent } from '../mobile-navbar/mobile-navbar.component';
|
import { MobileNavbarComponent } from '../mobile-navbar/mobile-navbar.component';
|
||||||
@@ -9,6 +9,7 @@ import { ViewportService } from '../services/viewport.service';
|
|||||||
selector: 'app-public-layout',
|
selector: 'app-public-layout',
|
||||||
imports: [RouterOutlet, NavbarComponent, MobileNavbarComponent, FooterComponent],
|
imports: [RouterOutlet, NavbarComponent, MobileNavbarComponent, FooterComponent],
|
||||||
templateUrl: './public-layout.component.html',
|
templateUrl: './public-layout.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './public-layout.component.css',
|
styleUrl: './public-layout.component.css',
|
||||||
})
|
})
|
||||||
export class PublicLayoutComponent implements OnInit {
|
export class PublicLayoutComponent implements OnInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit, Input, Output, EventEmitter} from '@angular/core';
|
import {Component, OnInit, Input, Output, EventEmitter, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {ShortenerService} from '../services/shortener.service';
|
import {ShortenerService} from '../services/shortener.service';
|
||||||
import {FormsModule} from '@angular/forms';
|
import {FormsModule} from '@angular/forms';
|
||||||
import { SlicePipe } from '@angular/common';
|
import { SlicePipe } from '@angular/common';
|
||||||
@@ -11,6 +11,7 @@ import {AuthService} from '../services/auth.service';
|
|||||||
SlicePipe
|
SlicePipe
|
||||||
],
|
],
|
||||||
templateUrl: './shortener.component.html',
|
templateUrl: './shortener.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './shortener.component.css'
|
styleUrl: './shortener.component.css'
|
||||||
})
|
})
|
||||||
export class ShortenerComponent implements OnInit {
|
export class ShortenerComponent implements OnInit {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, ElementRef, Input, OnChanges, OnInit, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation} from '@angular/core';
|
import {Component, ElementRef, Input, OnChanges, OnInit, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import {TranslatePipe} from '@ngx-translate/core';
|
import {TranslatePipe} from '@ngx-translate/core';
|
||||||
@@ -23,6 +23,7 @@ interface TerminalEntry {
|
|||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [FormsModule, TranslatePipe, NgTemplateOutlet],
|
imports: [FormsModule, TranslatePipe, NgTemplateOutlet],
|
||||||
templateUrl: './terminal-emulator.component.html',
|
templateUrl: './terminal-emulator.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './terminal-emulator.component.css'
|
styleUrl: './terminal-emulator.component.css'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||||
import {NgStyle} from '@angular/common';
|
import {NgStyle} from '@angular/common';
|
||||||
import {ViewportService} from '../shared/services/viewport.service';
|
import {ViewportService} from '../shared/services/viewport.service';
|
||||||
import {Title} from '@angular/platform-browser';
|
import {Title} from '@angular/platform-browser';
|
||||||
@@ -13,6 +13,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|||||||
ParallaxComponent
|
ParallaxComponent
|
||||||
],
|
],
|
||||||
templateUrl: './socials.component.html',
|
templateUrl: './socials.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.Eager,
|
||||||
styleUrl: './socials.component.css'
|
styleUrl: './socials.component.css'
|
||||||
})
|
})
|
||||||
export class SocialsComponent implements OnInit {
|
export class SocialsComponent implements OnInit {
|
||||||
|
|||||||
+9
-2
@@ -5,7 +5,6 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/app",
|
"outDir": "./out-tsc/app",
|
||||||
"types": [
|
"types": [
|
||||||
"@angular/localize"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
@@ -13,5 +12,13 @@
|
|||||||
],
|
],
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.d.ts"
|
"src/**/*.d.ts"
|
||||||
]
|
],
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"extendedDiagnostics": {
|
||||||
|
"checks": {
|
||||||
|
"nullishCoalescingNotNullable": "suppress",
|
||||||
|
"optionalChainNotNullable": "suppress"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user