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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,9 @@
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import {
ENVIRONMENT_INITIALIZER,
EnvironmentProviders,
Provider,
inject,
provideEnvironmentInitializer,
} from '@angular/core';
import { authInterceptor } from 'app/core/auth/auth.interceptor';
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> => {
return [
provideHttpClient(withInterceptors([authInterceptor])),
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => inject(AuthService),
multi: true,
},
provideEnvironmentInitializer(() => inject(AuthService)),
];
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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