Update to Angular v19

This commit is contained in:
Sercan Yemen 2024-12-29 12:23:56 +03:00
parent 4f0980a8ce
commit 6c16c23e17
277 changed files with 2733 additions and 2279 deletions

4565
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,17 +13,17 @@
"test": "ng test" "test": "ng test"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "18.2.13", "@angular/animations": "19.0.5",
"@angular/cdk": "18.2.14", "@angular/cdk": "18.2.14",
"@angular/common": "18.2.13", "@angular/common": "19.0.5",
"@angular/compiler": "18.2.13", "@angular/compiler": "19.0.5",
"@angular/core": "18.2.13", "@angular/core": "19.0.5",
"@angular/forms": "18.2.13", "@angular/forms": "19.0.5",
"@angular/material": "18.2.14", "@angular/material": "18.2.14",
"@angular/material-luxon-adapter": "18.2.14", "@angular/material-luxon-adapter": "18.2.14",
"@angular/platform-browser": "18.2.13", "@angular/platform-browser": "19.0.5",
"@angular/platform-browser-dynamic": "18.2.13", "@angular/platform-browser-dynamic": "19.0.5",
"@angular/router": "18.2.13", "@angular/router": "19.0.5",
"@ngneat/transloco": "6.0.4", "@ngneat/transloco": "6.0.4",
"apexcharts": "3.49.1", "apexcharts": "3.49.1",
"crypto-js": "4.2.0", "crypto-js": "4.2.0",
@ -36,12 +36,12 @@
"quill": "2.0.2", "quill": "2.0.2",
"rxjs": "7.8.1", "rxjs": "7.8.1",
"tslib": "2.6.3", "tslib": "2.6.3",
"zone.js": "0.14.10" "zone.js": "0.15.0"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "18.2.12", "@angular-devkit/build-angular": "19.0.6",
"@angular/cli": "18.2.12", "@angular/cli": "19.0.6",
"@angular/compiler-cli": "18.2.13", "@angular/compiler-cli": "19.0.5",
"@tailwindcss/typography": "0.5.13", "@tailwindcss/typography": "0.5.13",
"@types/chroma-js": "2.4.4", "@types/chroma-js": "2.4.4",
"@types/crypto-js": "4.2.2", "@types/crypto-js": "4.2.2",

View File

@ -34,7 +34,6 @@ import { Subject, filter, takeUntil } from 'rxjs';
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
animations: fuseAnimations, animations: fuseAnimations,
exportAs: 'fuseAlert', exportAs: 'fuseAlert',
standalone: true,
imports: [MatIconModule, MatButtonModule], imports: [MatIconModule, MatButtonModule],
}) })
export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy { export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy {

View File

@ -18,7 +18,6 @@ import { FuseCardFace } from '@fuse/components/card/card.types';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
animations: fuseAnimations, animations: fuseAnimations,
exportAs: 'fuseCard', exportAs: 'fuseCard',
standalone: true,
imports: [], imports: [],
}) })
export class FuseCardComponent implements OnChanges { export class FuseCardComponent implements OnChanges {

View File

@ -17,7 +17,6 @@ import { MatTooltipModule } from '@angular/material/tooltip';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'fuseFullscreen', exportAs: 'fuseFullscreen',
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatTooltipModule, MatTooltipModule,

View File

@ -25,7 +25,6 @@ import { FuseHighlightService } from '@fuse/components/highlight/highlight.servi
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'fuseHighlight', exportAs: 'fuseHighlight',
standalone: true,
imports: [NgClass], imports: [NgClass],
}) })
export class FuseHighlightComponent implements OnChanges, AfterViewInit { export class FuseHighlightComponent implements OnChanges, AfterViewInit {

View File

@ -20,7 +20,6 @@ import { Subject, takeUntil } from 'rxjs';
styleUrls: ['./loading-bar.component.scss'], styleUrls: ['./loading-bar.component.scss'],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
exportAs: 'fuseLoadingBar', exportAs: 'fuseLoadingBar',
standalone: true,
imports: [MatProgressBarModule], imports: [MatProgressBarModule],
}) })
export class FuseLoadingBarComponent implements OnChanges, OnInit, OnDestroy { export class FuseLoadingBarComponent implements OnChanges, OnInit, OnDestroy {

View File

@ -16,7 +16,6 @@ import { fuseAnimations } from '@fuse/animations';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
animations: fuseAnimations, animations: fuseAnimations,
exportAs: 'fuseMasonry', exportAs: 'fuseMasonry',
standalone: true,
imports: [NgTemplateOutlet], imports: [NgTemplateOutlet],
}) })
export class FuseMasonryComponent implements OnChanges, AfterViewInit { export class FuseMasonryComponent implements OnChanges, AfterViewInit {

View File

@ -26,7 +26,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-horizontal-navigation-basic-item', selector: 'fuse-horizontal-navigation-basic-item',
templateUrl: './basic.component.html', templateUrl: './basic.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
NgClass, NgClass,
RouterLink, RouterLink,

View File

@ -25,7 +25,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-horizontal-navigation-branch-item', selector: 'fuse-horizontal-navigation-branch-item',
templateUrl: './branch.component.html', templateUrl: './branch.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
NgClass, NgClass,
MatMenuModule, MatMenuModule,

View File

@ -17,7 +17,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-horizontal-navigation-divider-item', selector: 'fuse-horizontal-navigation-divider-item',
templateUrl: './divider.component.html', templateUrl: './divider.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [NgClass], imports: [NgClass],
}) })
export class FuseHorizontalNavigationDividerItemComponent export class FuseHorizontalNavigationDividerItemComponent

View File

@ -17,7 +17,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-horizontal-navigation-spacer-item', selector: 'fuse-horizontal-navigation-spacer-item',
templateUrl: './spacer.component.html', templateUrl: './spacer.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [NgClass], imports: [NgClass],
}) })
export class FuseHorizontalNavigationSpacerItemComponent export class FuseHorizontalNavigationSpacerItemComponent

View File

@ -27,7 +27,6 @@ import { FuseHorizontalNavigationSpacerItemComponent } from './components/spacer
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'fuseHorizontalNavigation', exportAs: 'fuseHorizontalNavigation',
standalone: true,
imports: [ imports: [
FuseHorizontalNavigationBasicItemComponent, FuseHorizontalNavigationBasicItemComponent,
FuseHorizontalNavigationBranchItemComponent, FuseHorizontalNavigationBranchItemComponent,

View File

@ -28,7 +28,6 @@ import { Subject, filter, takeUntil } from 'rxjs';
selector: 'fuse-vertical-navigation-aside-item', selector: 'fuse-vertical-navigation-aside-item',
templateUrl: './aside.component.html', templateUrl: './aside.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
NgClass, NgClass,
MatTooltipModule, MatTooltipModule,

View File

@ -25,7 +25,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-vertical-navigation-basic-item', selector: 'fuse-vertical-navigation-basic-item',
templateUrl: './basic.component.html', templateUrl: './basic.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
NgClass, NgClass,
RouterLink, RouterLink,

View File

@ -29,7 +29,6 @@ import { Subject, filter, takeUntil } from 'rxjs';
templateUrl: './collapsable.component.html', templateUrl: './collapsable.component.html',
animations: fuseAnimations, animations: fuseAnimations,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
NgClass, NgClass,
MatTooltipModule, MatTooltipModule,

View File

@ -17,7 +17,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-vertical-navigation-divider-item', selector: 'fuse-vertical-navigation-divider-item',
templateUrl: './divider.component.html', templateUrl: './divider.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [NgClass], imports: [NgClass],
}) })
export class FuseVerticalNavigationDividerItemComponent export class FuseVerticalNavigationDividerItemComponent

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-vertical-navigation-group-item', selector: 'fuse-vertical-navigation-group-item',
templateUrl: './group.component.html', templateUrl: './group.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
NgClass, NgClass,
MatIconModule, MatIconModule,

View File

@ -17,7 +17,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'fuse-vertical-navigation-spacer-item', selector: 'fuse-vertical-navigation-spacer-item',
templateUrl: './spacer.component.html', templateUrl: './spacer.component.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [NgClass], imports: [NgClass],
}) })
export class FuseVerticalNavigationSpacerItemComponent export class FuseVerticalNavigationSpacerItemComponent

View File

@ -64,7 +64,6 @@ import {
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'fuseVerticalNavigation', exportAs: 'fuseVerticalNavigation',
standalone: true,
imports: [ imports: [
FuseScrollbarDirective, FuseScrollbarDirective,
FuseVerticalNavigationAsideItemComponent, FuseVerticalNavigationAsideItemComponent,

View File

@ -1,11 +1,11 @@
import { provideHttpClient, withInterceptors } from '@angular/common/http'; import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { import {
APP_INITIALIZER,
ENVIRONMENT_INITIALIZER,
EnvironmentProviders, EnvironmentProviders,
Provider, Provider,
importProvidersFrom, importProvidersFrom,
inject, inject,
provideAppInitializer,
provideEnvironmentInitializer,
} from '@angular/core'; } from '@angular/core';
import { MATERIAL_SANITY_CHECKS } from '@angular/material/core'; import { MATERIAL_SANITY_CHECKS } from '@angular/material/core';
import { MatDialogModule } from '@angular/material/dialog'; import { MatDialogModule } from '@angular/material/dialog';
@ -29,7 +29,7 @@ import { FuseUtilsService } from '@fuse/services/utils';
export type FuseProviderConfig = { export type FuseProviderConfig = {
mockApi?: { mockApi?: {
delay?: number; delay?: number;
services?: any[]; service?: any;
}; };
fuse?: FuseConfig; fuse?: FuseConfig;
}; };
@ -68,51 +68,24 @@ export const provideFuse = (
}, },
importProvidersFrom(MatDialogModule), importProvidersFrom(MatDialogModule),
{ provideEnvironmentInitializer(() => inject(FuseConfirmationService)),
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(FuseConfirmationService),
multi: true,
},
provideHttpClient(withInterceptors([fuseLoadingInterceptor])), provideHttpClient(withInterceptors([fuseLoadingInterceptor])),
{ provideEnvironmentInitializer(() => inject(FuseLoadingService)),
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(FuseLoadingService),
multi: true,
},
{ provideEnvironmentInitializer(() => inject(FuseMediaWatcherService)),
provide: ENVIRONMENT_INITIALIZER, provideEnvironmentInitializer(() => inject(FusePlatformService)),
useValue: () => inject(FuseMediaWatcherService), provideEnvironmentInitializer(() => inject(FuseSplashScreenService)),
multi: true, provideEnvironmentInitializer(() => inject(FuseUtilsService)),
},
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(FusePlatformService),
multi: true,
},
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(FuseSplashScreenService),
multi: true,
},
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(FuseUtilsService),
multi: true,
},
]; ];
// Mock Api services // Mock Api services
if (config?.mockApi?.services) { if (config?.mockApi?.service) {
providers.push( providers.push(
provideHttpClient(withInterceptors([mockApiInterceptor])), provideHttpClient(withInterceptors([mockApiInterceptor])),
{ provideAppInitializer(() => {
provide: APP_INITIALIZER, const mockApiService = inject(config.mockApi.service);
deps: [...config.mockApi.services], })
useFactory: () => (): any => null,
multi: true,
}
); );
} }

View File

@ -24,7 +24,6 @@ import { FuseConfirmationConfig } from '@fuse/services/confirmation/confirmation
`, `,
], ],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatButtonModule, MatDialogModule, MatIconModule, NgClass], imports: [MatButtonModule, MatDialogModule, MatIconModule, NgClass],
}) })
export class FuseConfirmationDialogComponent { export class FuseConfirmationDialogComponent {

View File

@ -5,7 +5,6 @@ import { RouterOutlet } from '@angular/router';
selector: 'app-root', selector: 'app-root',
templateUrl: './app.component.html', templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'], styleUrls: ['./app.component.scss'],
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class AppComponent { export class AppComponent {

View File

@ -1,5 +1,10 @@
import { provideHttpClient } from '@angular/common/http'; import { provideHttpClient } from '@angular/common/http';
import { APP_INITIALIZER, ApplicationConfig, inject } from '@angular/core'; import {
ApplicationConfig,
inject,
isDevMode,
provideAppInitializer,
} from '@angular/core';
import { LuxonDateAdapter } from '@angular/material-luxon-adapter'; import { LuxonDateAdapter } from '@angular/material-luxon-adapter';
import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core'; import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
import { provideAnimations } from '@angular/platform-browser/animations'; import { provideAnimations } from '@angular/platform-browser/animations';
@ -9,7 +14,7 @@ import { TranslocoService, provideTransloco } from '@ngneat/transloco';
import { appRoutes } from 'app/app.routes'; import { appRoutes } from 'app/app.routes';
import { provideAuth } from 'app/core/auth/auth.provider'; import { provideAuth } from 'app/core/auth/auth.provider';
import { provideIcons } from 'app/core/icons/icons.provider'; import { provideIcons } from 'app/core/icons/icons.provider';
import { mockApiServices } from 'app/mock-api'; import { MockApiService } from 'app/mock-api';
import { firstValueFrom } from 'rxjs'; import { firstValueFrom } from 'rxjs';
import { TranslocoHttpLoader } from './core/transloco/transloco.http-loader'; import { TranslocoHttpLoader } from './core/transloco/transloco.http-loader';
@ -58,22 +63,17 @@ export const appConfig: ApplicationConfig = {
defaultLang: 'en', defaultLang: 'en',
fallbackLang: 'en', fallbackLang: 'en',
reRenderOnLangChange: true, reRenderOnLangChange: true,
prodMode: true, prodMode: !isDevMode(),
}, },
loader: TranslocoHttpLoader, loader: TranslocoHttpLoader,
}), }),
{ provideAppInitializer(() => {
// Preload the default language before the app starts to prevent empty/jumping content const translocoService = inject(TranslocoService);
provide: APP_INITIALIZER, const defaultLang = translocoService.getDefaultLang();
useFactory: () => { translocoService.setActiveLang(defaultLang);
const translocoService = inject(TranslocoService);
const defaultLang = translocoService.getDefaultLang();
translocoService.setActiveLang(defaultLang);
return () => firstValueFrom(translocoService.load(defaultLang)); return firstValueFrom(translocoService.load(defaultLang));
}, }),
multi: true,
},
// Fuse // Fuse
provideAuth(), provideAuth(),
@ -81,7 +81,7 @@ export const appConfig: ApplicationConfig = {
provideFuse({ provideFuse({
mockApi: { mockApi: {
delay: 0, delay: 0,
services: mockApiServices, service: MockApiService,
}, },
fuse: { fuse: {
layout: 'classy', layout: 'classy',

View File

@ -1,9 +1,9 @@
import { provideHttpClient, withInterceptors } from '@angular/common/http'; import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { import {
ENVIRONMENT_INITIALIZER,
EnvironmentProviders, EnvironmentProviders,
Provider, Provider,
inject, inject,
provideEnvironmentInitializer,
} from '@angular/core'; } from '@angular/core';
import { authInterceptor } from 'app/core/auth/auth.interceptor'; import { authInterceptor } from 'app/core/auth/auth.interceptor';
import { AuthService } from 'app/core/auth/auth.service'; import { AuthService } from 'app/core/auth/auth.service';
@ -11,10 +11,6 @@ import { AuthService } from 'app/core/auth/auth.service';
export const provideAuth = (): Array<Provider | EnvironmentProviders> => { export const provideAuth = (): Array<Provider | EnvironmentProviders> => {
return [ return [
provideHttpClient(withInterceptors([authInterceptor])), provideHttpClient(withInterceptors([authInterceptor])),
{ provideEnvironmentInitializer(() => inject(AuthService)),
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(AuthService),
multi: true,
},
]; ];
}; };

View File

@ -1,17 +1,11 @@
import { import {
ENVIRONMENT_INITIALIZER,
EnvironmentProviders, EnvironmentProviders,
inject, inject,
provideEnvironmentInitializer,
Provider, Provider,
} from '@angular/core'; } from '@angular/core';
import { IconsService } from 'app/core/icons/icons.service'; import { IconsService } from 'app/core/icons/icons.service';
export const provideIcons = (): Array<Provider | EnvironmentProviders> => { export const provideIcons = (): Array<Provider | EnvironmentProviders> => {
return [ return [provideEnvironmentInitializer(() => inject(IconsService))];
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(IconsService),
multi: true,
},
];
}; };

View File

@ -22,7 +22,6 @@ import { take } from 'rxjs';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'languages', exportAs: 'languages',
standalone: true,
imports: [MatButtonModule, MatMenuModule, NgTemplateOutlet], imports: [MatButtonModule, MatMenuModule, NgTemplateOutlet],
}) })
export class LanguagesComponent implements OnInit, OnDestroy { export class LanguagesComponent implements OnInit, OnDestroy {

View File

@ -26,7 +26,6 @@ import { Subject, takeUntil } from 'rxjs';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'messages', exportAs: 'messages',
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -26,7 +26,6 @@ import { Subject, takeUntil } from 'rxjs';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'notifications', exportAs: 'notifications',
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -30,7 +30,6 @@ import { Subject, takeUntil } from 'rxjs';
styleUrls: ['./quick-chat.component.scss'], styleUrls: ['./quick-chat.component.scss'],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
exportAs: 'quickChat', exportAs: 'quickChat',
standalone: true,
imports: [ imports: [
NgClass, NgClass,
MatIconModule, MatIconModule,

View File

@ -42,7 +42,6 @@ import { Subject, debounceTime, filter, map, takeUntil } from 'rxjs';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
exportAs: 'fuseSearch', exportAs: 'fuseSearch',
animations: fuseAnimations, animations: fuseAnimations,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -35,7 +35,6 @@ import { Subject, takeUntil } from 'rxjs';
`, `,
], ],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
MatIconModule, MatIconModule,
FuseDrawerComponent, FuseDrawerComponent,

View File

@ -36,7 +36,6 @@ import { Subject, takeUntil } from 'rxjs';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'shortcuts', exportAs: 'shortcuts',
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
exportAs: 'user', exportAs: 'user',
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatMenuModule, MatMenuModule,

View File

@ -31,7 +31,6 @@ import { ThinLayoutComponent } from './layouts/vertical/thin/thin.component';
templateUrl: './layout.component.html', templateUrl: './layout.component.html',
styleUrls: ['./layout.component.scss'], styleUrls: ['./layout.component.scss'],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
EmptyLayoutComponent, EmptyLayoutComponent,
CenteredLayoutComponent, CenteredLayoutComponent,

View File

@ -7,7 +7,6 @@ import { Subject } from 'rxjs';
selector: 'empty-layout', selector: 'empty-layout',
templateUrl: './empty.component.html', templateUrl: './empty.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [FuseLoadingBarComponent, RouterOutlet], imports: [FuseLoadingBarComponent, RouterOutlet],
}) })
export class EmptyLayoutComponent implements OnDestroy { export class EmptyLayoutComponent implements OnDestroy {

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'centered-layout', selector: 'centered-layout',
templateUrl: './centered.component.html', templateUrl: './centered.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -25,7 +25,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'enterprise-layout', selector: 'enterprise-layout',
templateUrl: './enterprise.component.html', templateUrl: './enterprise.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'material-layout', selector: 'material-layout',
templateUrl: './material.component.html', templateUrl: './material.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -25,7 +25,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'modern-layout', selector: 'modern-layout',
templateUrl: './modern.component.html', templateUrl: './modern.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'classic-layout', selector: 'classic-layout',
templateUrl: './classic.component.html', templateUrl: './classic.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -26,7 +26,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'classy-layout', selector: 'classy-layout',
templateUrl: './classy.component.html', templateUrl: './classy.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'compact-layout', selector: 'compact-layout',
templateUrl: './compact.component.html', templateUrl: './compact.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
MatButtonModule, MatButtonModule,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'dense-layout', selector: 'dense-layout',
templateUrl: './dense.component.html', templateUrl: './dense.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -26,7 +26,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'futuristic-layout', selector: 'futuristic-layout',
templateUrl: './futuristic.component.html', templateUrl: './futuristic.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'thin-layout', selector: 'thin-layout',
templateUrl: './thin.component.html', templateUrl: './thin.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
FuseLoadingBarComponent, FuseLoadingBarComponent,
FuseVerticalNavigationComponent, FuseVerticalNavigationComponent,

View File

@ -1,3 +1,4 @@
import { inject, Injectable } from '@angular/core';
import { AcademyMockApi } from 'app/mock-api/apps/academy/api'; import { AcademyMockApi } from 'app/mock-api/apps/academy/api';
import { ChatMockApi } from 'app/mock-api/apps/chat/api'; import { ChatMockApi } from 'app/mock-api/apps/chat/api';
import { ContactsMockApi } from 'app/mock-api/apps/contacts/api'; import { ContactsMockApi } from 'app/mock-api/apps/contacts/api';
@ -22,28 +23,29 @@ import { ProjectMockApi } from 'app/mock-api/dashboards/project/api';
import { ActivitiesMockApi } from 'app/mock-api/pages/activities/api'; import { ActivitiesMockApi } from 'app/mock-api/pages/activities/api';
import { IconsMockApi } from 'app/mock-api/ui/icons/api'; import { IconsMockApi } from 'app/mock-api/ui/icons/api';
export const mockApiServices = [ @Injectable({ providedIn: 'root' })
AcademyMockApi, export class MockApiService {
ActivitiesMockApi, academyMockApi = inject(AcademyMockApi);
AnalyticsMockApi, activitiesMockApi = inject(ActivitiesMockApi);
AuthMockApi, analyticsMockApi = inject(AnalyticsMockApi);
ChatMockApi, authMockApi = inject(AuthMockApi);
ContactsMockApi, chatMockApi = inject(ChatMockApi);
CryptoMockApi, contactsMockApi = inject(ContactsMockApi);
ECommerceInventoryMockApi, cryptoMockApi = inject(CryptoMockApi);
FileManagerMockApi, eCommerceInventoryMockApi = inject(ECommerceInventoryMockApi);
FinanceMockApi, fileManagerMockApi = inject(FileManagerMockApi);
HelpCenterMockApi, financeMockApi = inject(FinanceMockApi);
IconsMockApi, helpCenterMockApi = inject(HelpCenterMockApi);
MailboxMockApi, iconsMockApi = inject(IconsMockApi);
MessagesMockApi, mailboxMockApi = inject(MailboxMockApi);
NavigationMockApi, messagesMockApi = inject(MessagesMockApi);
NotesMockApi, navigationMockApi = inject(NavigationMockApi);
NotificationsMockApi, notesMockApi = inject(NotesMockApi);
ProjectMockApi, notificationsMockApi = inject(NotificationsMockApi);
SearchMockApi, projectMockApi = inject(ProjectMockApi);
ScrumboardMockApi, searchMockApi = inject(SearchMockApi);
ShortcutsMockApi, scrumboardMockApi = inject(ScrumboardMockApi);
TasksMockApi, shortcutsMockApi = inject(ShortcutsMockApi);
UserMockApi, tasksMockApi = inject(TasksMockApi);
]; userMockApi = inject(UserMockApi);
}

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './academy.component.html', templateUrl: './academy.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class AcademyComponent { export class AcademyComponent {

View File

@ -28,7 +28,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
RouterLink, RouterLink,

View File

@ -31,7 +31,6 @@ import { BehaviorSubject, Subject, combineLatest, takeUntil } from 'rxjs';
templateUrl: './list.component.html', templateUrl: './list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
CdkScrollable, CdkScrollable,
MatFormFieldModule, MatFormFieldModule,

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './chat.component.html', templateUrl: './chat.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class ChatComponent { export class ChatComponent {

View File

@ -25,7 +25,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './chats.component.html', templateUrl: './chats.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
NewChatComponent, NewChatComponent,

View File

@ -14,7 +14,6 @@ import { Chat } from 'app/modules/admin/apps/chat/chat.types';
templateUrl: './contact-info.component.html', templateUrl: './contact-info.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [MatButtonModule, MatIconModule], imports: [MatButtonModule, MatIconModule],
}) })
export class ContactInfoComponent { export class ContactInfoComponent {

View File

@ -30,7 +30,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './conversation.component.html', templateUrl: './conversation.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
ContactInfoComponent, ContactInfoComponent,

View File

@ -10,7 +10,6 @@ import { MatIconModule } from '@angular/material/icon';
templateUrl: './empty-conversation.component.html', templateUrl: './empty-conversation.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [MatIconModule], imports: [MatIconModule],
}) })
export class EmptyConversationComponent { export class EmptyConversationComponent {

View File

@ -18,7 +18,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './new-chat.component.html', templateUrl: './new-chat.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [MatButtonModule, MatIconModule], imports: [MatButtonModule, MatIconModule],
}) })
export class NewChatComponent implements OnInit, OnDestroy { export class NewChatComponent implements OnInit, OnDestroy {

View File

@ -21,7 +21,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './profile.component.html', templateUrl: './profile.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './contacts.component.html', templateUrl: './contacts.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class ContactsComponent { export class ContactsComponent {

View File

@ -50,7 +50,6 @@ import { Subject, debounceTime, takeUntil } from 'rxjs';
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatTooltipModule, MatTooltipModule,

View File

@ -45,7 +45,6 @@ import {
templateUrl: './list.component.html', templateUrl: './list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
RouterOutlet, RouterOutlet,

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './inventory.component.html', templateUrl: './inventory.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class InventoryComponent { export class InventoryComponent {

View File

@ -83,7 +83,6 @@ import {
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
animations: fuseAnimations, animations: fuseAnimations,
standalone: true,
imports: [ imports: [
MatProgressBarModule, MatProgressBarModule,
MatFormFieldModule, MatFormFieldModule,

View File

@ -20,7 +20,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [MatButtonModule, RouterLink, MatIconModule], imports: [MatButtonModule, RouterLink, MatIconModule],
}) })
export class FileManagerDetailsComponent implements OnInit, OnDestroy { export class FileManagerDetailsComponent implements OnInit, OnDestroy {

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './file-manager.component.html', templateUrl: './file-manager.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class FileManagerComponent { export class FileManagerComponent {

View File

@ -30,7 +30,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './list.component.html', templateUrl: './list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
RouterOutlet, RouterOutlet,

View File

@ -11,7 +11,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'help-center-faqs', selector: 'help-center-faqs',
templateUrl: './faqs.component.html', templateUrl: './faqs.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatButtonModule, RouterLink, MatIconModule, MatExpansionModule], imports: [MatButtonModule, RouterLink, MatIconModule, MatExpansionModule],
}) })
export class HelpCenterFaqsComponent implements OnInit, OnDestroy { export class HelpCenterFaqsComponent implements OnInit, OnDestroy {

View File

@ -10,7 +10,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'help-center-guides-category', selector: 'help-center-guides-category',
templateUrl: './category.component.html', templateUrl: './category.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatButtonModule, RouterLink, MatIconModule], imports: [MatButtonModule, RouterLink, MatIconModule],
}) })
export class HelpCenterGuidesCategoryComponent implements OnInit, OnDestroy { export class HelpCenterGuidesCategoryComponent implements OnInit, OnDestroy {

View File

@ -10,7 +10,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'help-center-guides-guide', selector: 'help-center-guides-guide',
templateUrl: './guide.component.html', templateUrl: './guide.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatButtonModule, RouterLink, MatIconModule], imports: [MatButtonModule, RouterLink, MatIconModule],
}) })
export class HelpCenterGuidesGuideComponent implements OnInit, OnDestroy { export class HelpCenterGuidesGuideComponent implements OnInit, OnDestroy {

View File

@ -10,7 +10,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'help-center-guides', selector: 'help-center-guides',
templateUrl: './guides.component.html', templateUrl: './guides.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatButtonModule, RouterLink, MatIconModule], imports: [MatButtonModule, RouterLink, MatIconModule],
}) })
export class HelpCenterGuidesComponent implements OnInit, OnDestroy { export class HelpCenterGuidesComponent implements OnInit, OnDestroy {

View File

@ -12,7 +12,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'help-center', selector: 'help-center',
templateUrl: './help-center.component.html', templateUrl: './help-center.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
MatFormFieldModule, MatFormFieldModule,
MatInputModule, MatInputModule,

View File

@ -23,7 +23,6 @@ import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-cente
templateUrl: './support.component.html', templateUrl: './support.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
animations: fuseAnimations, animations: fuseAnimations,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
RouterLink, RouterLink,

View File

@ -17,7 +17,6 @@ import { QuillEditorComponent } from 'ngx-quill';
selector: 'mailbox-compose', selector: 'mailbox-compose',
templateUrl: './compose.component.html', templateUrl: './compose.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -40,7 +40,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'mailbox-details', selector: 'mailbox-details',
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
RouterLink, RouterLink,

View File

@ -5,7 +5,6 @@ import { MatIconModule } from '@angular/material/icon';
selector: 'mailbox-empty-details', selector: 'mailbox-empty-details',
templateUrl: './empty-details.component.html', templateUrl: './empty-details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatIconModule], imports: [MatIconModule],
}) })
export class MailboxEmptyDetailsComponent { export class MailboxEmptyDetailsComponent {

View File

@ -23,7 +23,6 @@ import { Subject, takeUntil } from 'rxjs';
selector: 'mailbox-list', selector: 'mailbox-list',
templateUrl: './list.component.html', templateUrl: './list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -15,7 +15,6 @@ import { MailboxSidebarComponent } from './sidebar/sidebar.component';
selector: 'mailbox', selector: 'mailbox',
templateUrl: './mailbox.component.html', templateUrl: './mailbox.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatSidenavModule, MailboxSidebarComponent, RouterOutlet], imports: [MatSidenavModule, MailboxSidebarComponent, RouterOutlet],
}) })
export class MailboxComponent implements OnInit, OnDestroy { export class MailboxComponent implements OnInit, OnDestroy {

View File

@ -27,7 +27,6 @@ import { debounceTime, take } from 'rxjs';
selector: 'mailbox-settings', selector: 'mailbox-settings',
templateUrl: './settings.component.html', templateUrl: './settings.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -22,7 +22,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './sidebar.component.html', templateUrl: './sidebar.component.html',
styleUrls: ['./sidebar.component.scss'], styleUrls: ['./sidebar.component.scss'],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [MatButtonModule, MatIconModule, FuseVerticalNavigationComponent], imports: [MatButtonModule, MatIconModule, FuseVerticalNavigationComponent],
}) })
export class MailboxSidebarComponent implements OnInit, OnDestroy { export class MailboxSidebarComponent implements OnInit, OnDestroy {

View File

@ -37,7 +37,6 @@ import {
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -29,7 +29,6 @@ import {
templateUrl: './labels.component.html', templateUrl: './labels.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatDialogModule, MatDialogModule,

View File

@ -36,7 +36,6 @@ import {
templateUrl: './list.component.html', templateUrl: './list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
MatRippleModule, MatRippleModule,

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './notes.component.html', templateUrl: './notes.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class NotesComponent { export class NotesComponent {

View File

@ -26,7 +26,6 @@ import { MatIconModule } from '@angular/material/icon';
templateUrl: './add-card.component.html', templateUrl: './add-card.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
NgClass, NgClass,

View File

@ -25,7 +25,6 @@ import { MatIconModule } from '@angular/material/icon';
templateUrl: './add-list.component.html', templateUrl: './add-list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
NgClass, NgClass,

View File

@ -40,7 +40,6 @@ import { ScrumboardBoardAddListComponent } from './add-list/add-list.component';
styleUrls: ['./board.component.scss'], styleUrls: ['./board.component.scss'],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
RouterLink, RouterLink,

View File

@ -20,7 +20,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './boards.component.html', templateUrl: './boards.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [CdkScrollable, RouterLink, MatIconModule], imports: [CdkScrollable, RouterLink, MatIconModule],
}) })
export class ScrumboardBoardsComponent implements OnInit, OnDestroy { export class ScrumboardBoardsComponent implements OnInit, OnDestroy {

View File

@ -42,7 +42,6 @@ import { Subject, debounceTime, takeUntil, tap } from 'rxjs';
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -52,7 +52,6 @@ import { Subject, debounceTime, filter, takeUntil, tap } from 'rxjs';
templateUrl: './details.component.html', templateUrl: './details.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
FormsModule, FormsModule,
ReactiveFormsModule, ReactiveFormsModule,

View File

@ -41,7 +41,6 @@ import { Subject, filter, fromEvent, takeUntil } from 'rxjs';
templateUrl: './list.component.html', templateUrl: './list.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
RouterOutlet, RouterOutlet,

View File

@ -10,7 +10,6 @@ import { RouterOutlet } from '@angular/router';
templateUrl: './tasks.component.html', templateUrl: './tasks.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
}) })
export class TasksComponent { export class TasksComponent {

View File

@ -21,7 +21,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './analytics.component.html', templateUrl: './analytics.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -32,7 +32,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './crypto.component.html', templateUrl: './crypto.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatSidenavModule, MatSidenavModule,
MatIconModule, MatIconModule,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './finance.component.html', templateUrl: './finance.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
MatButtonModule, MatButtonModule,
MatIconModule, MatIconModule,

View File

@ -24,7 +24,6 @@ import { Subject, takeUntil } from 'rxjs';
templateUrl: './project.component.html', templateUrl: './project.component.html',
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [ imports: [
TranslocoModule, TranslocoModule,
MatIconModule, MatIconModule,

View File

@ -4,7 +4,6 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
selector: 'changelog', selector: 'changelog',
templateUrl: './changelog.html', templateUrl: './changelog.html',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [], imports: [],
}) })
export class ChangelogComponent { export class ChangelogComponent {

View File

@ -6,7 +6,6 @@ import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component'
@Component({ @Component({
selector: 'jwt', selector: 'jwt',
templateUrl: './jwt.html', templateUrl: './jwt.html',
standalone: true,
imports: [MatIconModule, MatButtonModule], imports: [MatIconModule, MatButtonModule],
}) })
export class JwtComponent { export class JwtComponent {

View File

@ -7,7 +7,6 @@ import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component'
@Component({ @Component({
selector: 'component-theming', selector: 'component-theming',
templateUrl: './component-theming.html', templateUrl: './component-theming.html',
standalone: true,
imports: [MatIconModule, MatButtonModule, FuseHighlightComponent], imports: [MatIconModule, MatButtonModule, FuseHighlightComponent],
}) })
export class ComponentThemingComponent { export class ComponentThemingComponent {

View File

@ -6,7 +6,6 @@ import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component'
@Component({ @Component({
selector: 'multi-language', selector: 'multi-language',
templateUrl: './multi-language.html', templateUrl: './multi-language.html',
standalone: true,
imports: [MatIconModule, MatButtonModule], imports: [MatIconModule, MatButtonModule],
}) })
export class MultiLanguageCustomizationComponent { export class MultiLanguageCustomizationComponent {

View File

@ -6,7 +6,6 @@ import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component'
@Component({ @Component({
selector: 'page-layouts', selector: 'page-layouts',
templateUrl: './page-layouts.html', templateUrl: './page-layouts.html',
standalone: true,
imports: [MatIconModule, MatButtonModule], imports: [MatIconModule, MatButtonModule],
}) })
export class PageLayoutsComponent { export class PageLayoutsComponent {

View File

@ -8,7 +8,6 @@ import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component'
@Component({ @Component({
selector: 'splash-screen', selector: 'splash-screen',
templateUrl: './splash-screen.html', templateUrl: './splash-screen.html',
standalone: true,
imports: [ imports: [
MatIconModule, MatIconModule,
MatButtonModule, MatButtonModule,

Some files were not shown because too many files have changed in this diff Show More