diff --git a/eslint/eslint-ts-rules-extra.mjs b/eslint/eslint-ts-rules-extra.mjs index e7f5387b995..571fb6c9be9 100644 --- a/eslint/eslint-ts-rules-extra.mjs +++ b/eslint/eslint-ts-rules-extra.mjs @@ -113,6 +113,10 @@ export const extraRules = { "importNames": ["NgIf"], "message": "Use built-in control flow syntax instead" }, + { + "name": "@angular/core", + "importNames": ["CUSTOM_ELEMENTS_SCHEMA"], + }, { "name": "@angular/common", "importNames": ["CommonModule"], diff --git a/src/app/modules/buttons/mobile-back-button/mobile-back-button.component.ts b/src/app/modules/buttons/mobile-back-button/mobile-back-button.component.ts index fbd1dfaa74c..ab385d073af 100644 --- a/src/app/modules/buttons/mobile-back-button/mobile-back-button.component.ts +++ b/src/app/modules/buttons/mobile-back-button/mobile-back-button.component.ts @@ -1,7 +1,6 @@ import { Component, output, ChangeDetectionStrategy, } from '@angular/core'; -import { MatButton } from '@angular/material/button'; import { TranslateModule } from '@ngx-translate/core'; import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { TestDirective } from 'app/modules/test-id/test.directive'; @@ -10,7 +9,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - MatButton, IxIconComponent, TranslateModule, TestDirective, diff --git a/src/app/modules/dialog/components/confirm-dialog/confirm-dialog.component.ts b/src/app/modules/dialog/components/confirm-dialog/confirm-dialog.component.ts index 5155b4bb57b..2ee4e9e5a2e 100644 --- a/src/app/modules/dialog/components/confirm-dialog/confirm-dialog.component.ts +++ b/src/app/modules/dialog/components/confirm-dialog/confirm-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, @@ -22,7 +21,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, MatCheckbox, ReactiveFormsModule, diff --git a/src/app/modules/dialog/components/error-dialog/error-dialog.component.ts b/src/app/modules/dialog/components/error-dialog/error-dialog.component.ts index 8618adc9ef7..005bf572d83 100644 --- a/src/app/modules/dialog/components/error-dialog/error-dialog.component.ts +++ b/src/app/modules/dialog/components/error-dialog/error-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { HttpErrorResponse } from '@angular/common/http'; import { ChangeDetectionStrategy, Component, ElementRef, ViewChild, @@ -28,7 +27,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; imports: [ MatDialogTitle, IxIconComponent, - CdkScrollable, MatDialogContent, CopyButtonComponent, MatDialogActions, diff --git a/src/app/modules/dialog/components/general-dialog/general-dialog.component.ts b/src/app/modules/dialog/components/general-dialog/general-dialog.component.ts index 556d9850759..53adfab64cd 100644 --- a/src/app/modules/dialog/components/general-dialog/general-dialog.component.ts +++ b/src/app/modules/dialog/components/general-dialog/general-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { @@ -35,7 +34,6 @@ export interface GeneralDialogConfig { imports: [ MatDialogTitle, IxIconComponent, - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/modules/dialog/components/info-dialog/info-dialog.component.ts b/src/app/modules/dialog/components/info-dialog/info-dialog.component.ts index e7627815a2b..dcb13ef2286 100644 --- a/src/app/modules/dialog/components/info-dialog/info-dialog.component.ts +++ b/src/app/modules/dialog/components/info-dialog/info-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { @@ -17,7 +16,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; imports: [ MatDialogTitle, IxIconComponent, - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/modules/dialog/components/job-progress/job-progress-dialog.component.ts b/src/app/modules/dialog/components/job-progress/job-progress-dialog.component.ts index 75383c6c0fe..44e7a5e8e7a 100644 --- a/src/app/modules/dialog/components/job-progress/job-progress-dialog.component.ts +++ b/src/app/modules/dialog/components/job-progress/job-progress-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { DecimalPipe } from '@angular/common'; import { AfterViewChecked, ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, output, @@ -53,7 +52,6 @@ export interface JobProgressDialogConfig { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, MatProgressBar, MatDialogActions, diff --git a/src/app/modules/dialog/components/multi-error-dialog/multi-error-dialog.component.ts b/src/app/modules/dialog/components/multi-error-dialog/multi-error-dialog.component.ts index e4e21733030..164ea98ff45 100644 --- a/src/app/modules/dialog/components/multi-error-dialog/multi-error-dialog.component.ts +++ b/src/app/modules/dialog/components/multi-error-dialog/multi-error-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { @@ -18,7 +17,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, ErrorTemplateComponent, MatDivider, diff --git a/src/app/modules/dialog/components/redirect-dialog/redirect-dialog.component.ts b/src/app/modules/dialog/components/redirect-dialog/redirect-dialog.component.ts index 285073c6467..008bab379ec 100644 --- a/src/app/modules/dialog/components/redirect-dialog/redirect-dialog.component.ts +++ b/src/app/modules/dialog/components/redirect-dialog/redirect-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, ElementRef, Inject, ViewChild, } from '@angular/core'; @@ -20,7 +19,6 @@ import { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/modules/dialog/components/session-expiring-dialog/session-expiring-dialog.component.ts b/src/app/modules/dialog/components/session-expiring-dialog/session-expiring-dialog.component.ts index 208316d7f62..ba5e980d2df 100644 --- a/src/app/modules/dialog/components/session-expiring-dialog/session-expiring-dialog.component.ts +++ b/src/app/modules/dialog/components/session-expiring-dialog/session-expiring-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, @@ -20,7 +19,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/modules/dialog/components/start-service-dialog/start-service-dialog.component.ts b/src/app/modules/dialog/components/start-service-dialog/start-service-dialog.component.ts index f2b34c972ff..53fdc241b8a 100644 --- a/src/app/modules/dialog/components/start-service-dialog/start-service-dialog.component.ts +++ b/src/app/modules/dialog/components/start-service-dialog/start-service-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, } from '@angular/core'; @@ -37,7 +36,6 @@ export interface StartServiceDialogResult { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxSlideToggleComponent, ReactiveFormsModule, diff --git a/src/app/modules/dialog/components/update-dialog/update-dialog.component.ts b/src/app/modules/dialog/components/update-dialog/update-dialog.component.ts index 431765ad522..73dd16083eb 100644 --- a/src/app/modules/dialog/components/update-dialog/update-dialog.component.ts +++ b/src/app/modules/dialog/components/update-dialog/update-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { AsyncPipe } from '@angular/common'; import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatDialogContent, MatDialogTitle } from '@angular/material/dialog'; @@ -18,7 +17,6 @@ import { selectUpdateJob } from 'app/modules/jobs/store/job.selectors'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, MatDialogTitle, TranslateModule, diff --git a/src/app/modules/feedback/components/file-review/file-review.component.ts b/src/app/modules/feedback/components/file-review/file-review.component.ts index 91cbb1e3a16..08d69aaad06 100644 --- a/src/app/modules/feedback/components/file-review/file-review.component.ts +++ b/src/app/modules/feedback/components/file-review/file-review.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { AsyncPipe } from '@angular/common'; import { ChangeDetectionStrategy, Component, Input, output, @@ -36,7 +35,6 @@ export const maxFileSizeBytes = 5 * MiB; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, ReactiveFormsModule, IxStarRatingComponent, diff --git a/src/app/modules/feedback/components/file-ticket-licensed/file-ticket-licensed.component.ts b/src/app/modules/feedback/components/file-ticket-licensed/file-ticket-licensed.component.ts index eda2441b060..45cdc5c1e37 100644 --- a/src/app/modules/feedback/components/file-ticket-licensed/file-ticket-licensed.component.ts +++ b/src/app/modules/feedback/components/file-ticket-licensed/file-ticket-licensed.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, Input, output, @@ -47,7 +46,6 @@ import { ApiService } from 'app/services/api.service'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, ReactiveFormsModule, IxInputComponent, diff --git a/src/app/modules/feedback/components/file-ticket/file-ticket.component.ts b/src/app/modules/feedback/components/file-ticket/file-ticket.component.ts index 9a5c002d42c..f447ab7c7e4 100644 --- a/src/app/modules/feedback/components/file-ticket/file-ticket.component.ts +++ b/src/app/modules/feedback/components/file-ticket/file-ticket.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Input, output, @@ -34,7 +33,6 @@ import { ApiService } from 'app/services/api.service'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, ReactiveFormsModule, IxInputComponent, diff --git a/src/app/modules/forms/ix-forms/components/ix-explorer/create-dataset-dialog/create-dataset-dialog.component.ts b/src/app/modules/forms/ix-forms/components/ix-explorer/create-dataset-dialog/create-dataset-dialog.component.ts index d5e6c5c625b..2adff7a7fcb 100644 --- a/src/app/modules/forms/ix-forms/components/ix-explorer/create-dataset-dialog/create-dataset-dialog.component.ts +++ b/src/app/modules/forms/ix-forms/components/ix-explorer/create-dataset-dialog/create-dataset-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { AsyncPipe } from '@angular/common'; import { Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef, OnInit, @@ -6,7 +5,7 @@ import { import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButton } from '@angular/material/button'; import { - MatDialogRef, MAT_DIALOG_DATA, MatDialogTitle, MatDialogContent, MatDialogActions, MatDialogClose, + MatDialogRef, MAT_DIALOG_DATA, MatDialogTitle, MatDialogActions, MatDialogClose, } from '@angular/material/dialog'; import { MatProgressBar } from '@angular/material/progress-bar'; import { FormBuilder } from '@ngneat/reactive-forms'; @@ -37,8 +36,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; imports: [ MatDialogTitle, MatProgressBar, - CdkScrollable, - MatDialogContent, FormsModule, ReactiveFormsModule, IxInputComponent, diff --git a/src/app/modules/forms/ix-forms/components/ix-fieldset/ix-fieldset.component.ts b/src/app/modules/forms/ix-forms/components/ix-fieldset/ix-fieldset.component.ts index c6e7e127a19..b6007d8413e 100644 --- a/src/app/modules/forms/ix-forms/components/ix-fieldset/ix-fieldset.component.ts +++ b/src/app/modules/forms/ix-forms/components/ix-fieldset/ix-fieldset.component.ts @@ -1,7 +1,6 @@ import { ChangeDetectionStrategy, Component, input, } from '@angular/core'; -import { MatDivider } from '@angular/material/divider'; import { TranslateModule } from '@ngx-translate/core'; import { TooltipComponent } from 'app/modules/tooltip/tooltip.component'; @@ -13,7 +12,6 @@ import { TooltipComponent } from 'app/modules/tooltip/tooltip.component'; standalone: true, imports: [ TooltipComponent, - MatDivider, TranslateModule, ], }) diff --git a/src/app/modules/jobs/components/jobs-panel/jobs-panel.component.ts b/src/app/modules/jobs/components/jobs-panel/jobs-panel.component.ts index bb79017cea7..39dc5aa8c44 100644 --- a/src/app/modules/jobs/components/jobs-panel/jobs-panel.component.ts +++ b/src/app/modules/jobs/components/jobs-panel/jobs-panel.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { AsyncPipe } from '@angular/common'; import { Component, ChangeDetectionStrategy, @@ -40,7 +39,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, MatTooltip, IxIconComponent, diff --git a/src/app/modules/layout/admin-layout/admin-layout.component.ts b/src/app/modules/layout/admin-layout/admin-layout.component.ts index e4ee841623f..72ab7175fff 100644 --- a/src/app/modules/layout/admin-layout/admin-layout.component.ts +++ b/src/app/modules/layout/admin-layout/admin-layout.component.ts @@ -1,4 +1,4 @@ -import { NgClass, AsyncPipe, LowerCasePipe } from '@angular/common'; +import { AsyncPipe } from '@angular/common'; import { AfterViewInit, ChangeDetectionStrategy, @@ -31,7 +31,6 @@ import { NavigationComponent } from 'app/modules/layout/navigation/navigation.co import { SecondaryMenuComponent } from 'app/modules/layout/secondary-menu/secondary-menu.component'; import { TopbarComponent } from 'app/modules/layout/topbar/topbar.component'; import { DefaultPageHeaderComponent } from 'app/modules/page-header/default-page-header/default-page-header.component'; -import { MapValuePipe } from 'app/modules/pipes/map-value/map-value.pipe'; import { ChainedSlideInComponent } from 'app/modules/slide-ins/components/chained-slide-in/chained-slide-in.component'; import { SlideInComponent } from 'app/modules/slide-ins/slide-in.component'; import { TestDirective } from 'app/modules/test-id/test.directive'; @@ -56,7 +55,6 @@ import { imports: [ MatSidenavContainer, MatSidenav, - NgClass, RouterLink, IxIconComponent, NavigationComponent, @@ -72,9 +70,7 @@ import { SlideInComponent, ChainedSlideInComponent, AsyncPipe, - LowerCasePipe, TranslateModule, - MapValuePipe, TestDirective, ], }) diff --git a/src/app/modules/layout/console-footer/console-panel/console-panel-dialog.component.ts b/src/app/modules/layout/console-footer/console-panel/console-panel-dialog.component.ts index 48bfabd71bc..b71e38f497b 100644 --- a/src/app/modules/layout/console-footer/console-panel/console-panel-dialog.component.ts +++ b/src/app/modules/layout/console-footer/console-panel/console-panel-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { AsyncPipe } from '@angular/common'; import { ChangeDetectionStrategy, Component, ElementRef, OnInit, ViewChild, @@ -18,7 +17,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/modules/layout/topbar/about-dialog/about-dialog.component.ts b/src/app/modules/layout/topbar/about-dialog/about-dialog.component.ts index 6d749107e31..7561cdb47c7 100644 --- a/src/app/modules/layout/topbar/about-dialog/about-dialog.component.ts +++ b/src/app/modules/layout/topbar/about-dialog/about-dialog.component.ts @@ -6,11 +6,9 @@ import { MatDialogRef, MatDialogContent, MatDialogActions } from '@angular/mater import { Store } from '@ngrx/store'; import { TranslateModule } from '@ngx-translate/core'; import { map } from 'rxjs'; -import { LetDirective } from 'app/directives/app-let.directive'; import { helptextAbout } from 'app/helptext/about'; import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { CopyrightLineComponent } from 'app/modules/layout/copyright-line/copyright-line.component'; -import { MapValuePipe } from 'app/modules/pipes/map-value/map-value.pipe'; import { TestDirective } from 'app/modules/test-id/test.directive'; import { AppState } from 'app/store'; import { selectIsEnterprise, selectSystemInfoState } from 'app/store/system-info/system-info.selectors'; @@ -28,8 +26,6 @@ import { selectIsEnterprise, selectSystemInfoState } from 'app/store/system-info CopyrightLineComponent, MatButton, TranslateModule, - MapValuePipe, - LetDirective, TestDirective, AsyncPipe, ], diff --git a/src/app/modules/layout/topbar/directory-services-indicator/directory-services-monitor/directory-services-monitor.component.ts b/src/app/modules/layout/topbar/directory-services-indicator/directory-services-monitor/directory-services-monitor.component.ts index 4f057e4985f..ae0283f0198 100644 --- a/src/app/modules/layout/topbar/directory-services-indicator/directory-services-monitor/directory-services-monitor.component.ts +++ b/src/app/modules/layout/topbar/directory-services-indicator/directory-services-monitor/directory-services-monitor.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, OnInit, signal, @@ -25,7 +24,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, MatIconButton, IxIconComponent, diff --git a/src/app/modules/layout/topbar/resilvering-indicator/resilver-progress/resilver-progress.component.ts b/src/app/modules/layout/topbar/resilvering-indicator/resilver-progress/resilver-progress.component.ts index 74c11c5d325..c528c165c0b 100644 --- a/src/app/modules/layout/topbar/resilvering-indicator/resilver-progress/resilver-progress.component.ts +++ b/src/app/modules/layout/topbar/resilvering-indicator/resilver-progress/resilver-progress.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { DecimalPipe } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnInit, @@ -25,7 +24,6 @@ import { ApiService } from 'app/services/api.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, MatProgressBar, MatDialogActions, diff --git a/src/app/modules/lists/dual-listbox/dual-listbox.component.ts b/src/app/modules/lists/dual-listbox/dual-listbox.component.ts index 5cced10135e..09380cd2fe6 100644 --- a/src/app/modules/lists/dual-listbox/dual-listbox.component.ts +++ b/src/app/modules/lists/dual-listbox/dual-listbox.component.ts @@ -1,6 +1,6 @@ import { NgClass, NgStyle } from '@angular/common'; import { Component, ChangeDetectionStrategy, input } from '@angular/core'; -import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatIconButton } from '@angular/material/button'; import { MatListModule } from '@angular/material/list'; import { MatTooltip } from '@angular/material/tooltip'; import { TranslateModule } from '@ngx-translate/core'; @@ -18,7 +18,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; imports: [ NgClass, NgStyle, - MatButton, AngularDualListBoxModule, IxIconComponent, MatIconButton, diff --git a/src/app/modules/loader/components/app-loader/app-loader.component.ts b/src/app/modules/loader/components/app-loader/app-loader.component.ts index 4d9199021eb..03a4b893403 100644 --- a/src/app/modules/loader/components/app-loader/app-loader.component.ts +++ b/src/app/modules/loader/components/app-loader/app-loader.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { Component, Input, ChangeDetectionStrategy, } from '@angular/core'; @@ -13,7 +12,6 @@ import { TranslateModule } from '@ngx-translate/core'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, MatProgressSpinner, TranslateModule, diff --git a/src/app/modules/terminal/components/copy-paste-message/copy-paste-message.component.ts b/src/app/modules/terminal/components/copy-paste-message/copy-paste-message.component.ts index 1bdb69c656c..8b39730699f 100644 --- a/src/app/modules/terminal/components/copy-paste-message/copy-paste-message.component.ts +++ b/src/app/modules/terminal/components/copy-paste-message/copy-paste-message.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { @@ -15,7 +14,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/modules/truecommand/components/truecommand-connect-modal/truecommand-connect-modal.component.ts b/src/app/modules/truecommand/components/truecommand-connect-modal/truecommand-connect-modal.component.ts index c06dd9f9bb1..2ab8539b3b0 100644 --- a/src/app/modules/truecommand/components/truecommand-connect-modal/truecommand-connect-modal.component.ts +++ b/src/app/modules/truecommand/components/truecommand-connect-modal/truecommand-connect-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, } from '@angular/core'; @@ -38,7 +37,6 @@ export type TruecommandSignupModalResult = boolean | { deregistered: boolean }; imports: [ MatDialogTitle, ReactiveFormsModule, - CdkScrollable, MatDialogContent, IxInputComponent, IxCheckboxComponent, diff --git a/src/app/modules/truecommand/components/truecommand-signup-modal/truecommand-signup-modal.component.ts b/src/app/modules/truecommand/components/truecommand-signup-modal/truecommand-signup-modal.component.ts index dcaf104a98b..d93cbd2b9c4 100644 --- a/src/app/modules/truecommand/components/truecommand-signup-modal/truecommand-signup-modal.component.ts +++ b/src/app/modules/truecommand/components/truecommand-signup-modal/truecommand-signup-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -22,7 +21,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, FormActionsComponent, MatDialogActions, diff --git a/src/app/modules/truecommand/components/truecommand-status-modal/truecommand-status-modal.component.ts b/src/app/modules/truecommand/components/truecommand-status-modal/truecommand-status-modal.component.ts index 6fcd4c0514d..40beba54266 100644 --- a/src/app/modules/truecommand/components/truecommand-status-modal/truecommand-status-modal.component.ts +++ b/src/app/modules/truecommand/components/truecommand-status-modal/truecommand-status-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, } from '@angular/core'; @@ -28,7 +27,6 @@ import { TruecommandButtonComponent } from 'app/modules/truecommand/truecommand- imports: [ MatDialogTitle, MatDivider, - CdkScrollable, MatDialogContent, IxIconComponent, MatDialogActions, diff --git a/src/app/pages/apps/components/docker-images/docker-images-list/docker-images-list.component.ts b/src/app/pages/apps/components/docker-images/docker-images-list/docker-images-list.component.ts index 90fa9a8a855..73c20def5e9 100644 --- a/src/app/pages/apps/components/docker-images/docker-images-list/docker-images-list.component.ts +++ b/src/app/pages/apps/components/docker-images/docker-images-list/docker-images-list.component.ts @@ -51,7 +51,6 @@ export interface ContainerImageUi extends ContainerImage { standalone: true, imports: [ TranslateModule, - FileSizePipe, PageHeaderComponent, SearchInput1Component, MatButton, diff --git a/src/app/pages/apps/components/installed-apps/app-details-panel/app-details-panel.component.ts b/src/app/pages/apps/components/installed-apps/app-details-panel/app-details-panel.component.ts index b1adf97ff00..db15d162a9b 100644 --- a/src/app/pages/apps/components/installed-apps/app-details-panel/app-details-panel.component.ts +++ b/src/app/pages/apps/components/installed-apps/app-details-panel/app-details-panel.component.ts @@ -4,7 +4,6 @@ import { import { TranslateModule } from '@ngx-translate/core'; import { App } from 'app/interfaces/app.interface'; import { MobileBackButtonComponent } from 'app/modules/buttons/mobile-back-button/mobile-back-button.component'; -import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { AppInfoCardComponent } from 'app/pages/apps/components/installed-apps/app-info-card/app-info-card.component'; import { AppMetadataCardComponent } from 'app/pages/apps/components/installed-apps/app-metadata-card/app-metadata-card.component'; import { AppNotesCardComponent } from 'app/pages/apps/components/installed-apps/app-notes-card/app-notes-card.component'; @@ -20,7 +19,6 @@ import { AppWorkloadsCardComponent } from 'app/pages/apps/components/installed-a TranslateModule, AppInfoCardComponent, AppWorkloadsCardComponent, - IxIconComponent, AppNotesCardComponent, MobileBackButtonComponent, AppMetadataCardComponent, diff --git a/src/app/pages/apps/components/installed-apps/app-row/app-row.component.ts b/src/app/pages/apps/components/installed-apps/app-row/app-row.component.ts index 509077db82a..eefa6e48c99 100644 --- a/src/app/pages/apps/components/installed-apps/app-row/app-row.component.ts +++ b/src/app/pages/apps/components/installed-apps/app-row/app-row.component.ts @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, computed, input, output, } from '@angular/core'; -import { MatButton, MatIconButton } from '@angular/material/button'; +import { MatIconButton } from '@angular/material/button'; import { MatCheckbox } from '@angular/material/checkbox'; import { MatTooltip } from '@angular/material/tooltip'; import { TranslateModule } from '@ngx-translate/core'; @@ -37,7 +37,6 @@ import { AppUpdateCellComponent } from 'app/pages/apps/components/installed-apps FileSizePipe, AppUpdateCellComponent, RequiresRolesDirective, - MatButton, MatIconButton, IxIconComponent, ], diff --git a/src/app/pages/apps/components/installed-apps/app-update-cell/app-update-cell.component.ts b/src/app/pages/apps/components/installed-apps/app-update-cell/app-update-cell.component.ts index a27c7010fa1..a86e9b28344 100644 --- a/src/app/pages/apps/components/installed-apps/app-update-cell/app-update-cell.component.ts +++ b/src/app/pages/apps/components/installed-apps/app-update-cell/app-update-cell.component.ts @@ -8,7 +8,6 @@ import { MatTooltipModule } from '@angular/material/tooltip'; import { TranslateModule } from '@ngx-translate/core'; import { App } from 'app/interfaces/app.interface'; import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; -import { MapValuePipe } from 'app/modules/pipes/map-value/map-value.pipe'; import { AppVersionPipe } from 'app/pages/dashboard/widgets/apps/common/utils/app-version.pipe'; @Component({ @@ -17,7 +16,7 @@ import { AppVersionPipe } from 'app/pages/dashboard/widgets/apps/common/utils/ap styleUrls: ['./app-update-cell.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, - imports: [TranslateModule, MapValuePipe, MatTooltipModule, IxIconComponent, AppVersionPipe], + imports: [TranslateModule, MatTooltipModule, IxIconComponent, AppVersionPipe], }) export class AppUpdateCellComponent { app = input.required(); diff --git a/src/app/pages/audit/components/log-details-panel/log-details-panel.component.ts b/src/app/pages/audit/components/log-details-panel/log-details-panel.component.ts index e24688e1fc1..2794f662080 100644 --- a/src/app/pages/audit/components/log-details-panel/log-details-panel.component.ts +++ b/src/app/pages/audit/components/log-details-panel/log-details-panel.component.ts @@ -4,8 +4,6 @@ import { import { TranslateModule } from '@ngx-translate/core'; import { AuditEntry } from 'app/interfaces/audit/audit.interface'; import { MobileBackButtonComponent } from 'app/modules/buttons/mobile-back-button/mobile-back-button.component'; -import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; -import { TestDirective } from 'app/modules/test-id/test.directive'; import { EventDataDetailsCardComponent, } from 'app/pages/audit/components/event-data-details-card/event-data-details-card.component'; @@ -21,10 +19,8 @@ import { changeDetection: ChangeDetectionStrategy.OnPush, imports: [ EventDataDetailsCardComponent, - IxIconComponent, MetadataDetailsCardComponent, TranslateModule, - TestDirective, MobileBackButtonComponent, ], }) diff --git a/src/app/pages/credentials/groups/group-details-row/delete-group-dialog/delete-group-dialog.component.ts b/src/app/pages/credentials/groups/group-details-row/delete-group-dialog/delete-group-dialog.component.ts index ae0265d6ca5..4fbcde12d42 100644 --- a/src/app/pages/credentials/groups/group-details-row/delete-group-dialog/delete-group-dialog.component.ts +++ b/src/app/pages/credentials/groups/group-details-row/delete-group-dialog/delete-group-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -30,7 +29,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxCheckboxComponent, ReactiveFormsModule, diff --git a/src/app/pages/credentials/groups/group-members/group-members.component.ts b/src/app/pages/credentials/groups/group-members/group-members.component.ts index 963bf90a7bd..b19c1ac02d5 100644 --- a/src/app/pages/credentials/groups/group-members/group-members.component.ts +++ b/src/app/pages/credentials/groups/group-members/group-members.component.ts @@ -6,7 +6,6 @@ import { MatButton } from '@angular/material/button'; import { MatCard, MatCardTitle, MatCardContent, MatCardActions, } from '@angular/material/card'; -import { MatListItemIcon, MatListItemLine } from '@angular/material/list'; import { MatProgressBar } from '@angular/material/progress-bar'; import { ActivatedRoute, Router } from '@angular/router'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; @@ -20,7 +19,6 @@ import { User } from 'app/interfaces/user.interface'; import { DialogService } from 'app/modules/dialog/dialog.service'; import { ReadOnlyComponent } from 'app/modules/forms/ix-forms/components/readonly-badge/readonly-badge.component'; import { iconMarker } from 'app/modules/ix-icon/icon-marker.util'; -import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { DualListBoxComponent } from 'app/modules/lists/dual-listbox/dual-listbox.component'; import { TestDirective } from 'app/modules/test-id/test.directive'; import { ApiService } from 'app/services/api.service'; @@ -42,9 +40,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; ReadOnlyComponent, MatCardContent, DualListBoxComponent, - IxIconComponent, - MatListItemIcon, - MatListItemLine, MatCardActions, RequiresRolesDirective, MatButton, diff --git a/src/app/pages/credentials/users/user-api-keys/components/key-created-dialog/key-created-dialog.component.ts b/src/app/pages/credentials/users/user-api-keys/components/key-created-dialog/key-created-dialog.component.ts index 66b9ab0969f..a7779139283 100644 --- a/src/app/pages/credentials/users/user-api-keys/components/key-created-dialog/key-created-dialog.component.ts +++ b/src/app/pages/credentials/users/user-api-keys/components/key-created-dialog/key-created-dialog.component.ts @@ -1,5 +1,4 @@ import { Clipboard } from '@angular/cdk/clipboard'; -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, inject, signal, } from '@angular/core'; @@ -23,7 +22,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; imports: [ ReactiveFormsModule, MatDialogTitle, - CdkScrollable, MatDialogContent, FormActionsComponent, MatDialogActions, diff --git a/src/app/pages/credentials/users/user-api-keys/user-api-keys.component.ts b/src/app/pages/credentials/users/user-api-keys/user-api-keys.component.ts index bead7c15470..ac30cb7e76c 100644 --- a/src/app/pages/credentials/users/user-api-keys/user-api-keys.component.ts +++ b/src/app/pages/credentials/users/user-api-keys/user-api-keys.component.ts @@ -32,7 +32,6 @@ import { yesNoColumn } from 'app/modules/ix-table/components/ix-table-body/cells import { IxTableBodyComponent } from 'app/modules/ix-table/components/ix-table-body/ix-table-body.component'; import { IxTableHeadComponent } from 'app/modules/ix-table/components/ix-table-head/ix-table-head.component'; import { IxTablePagerComponent } from 'app/modules/ix-table/components/ix-table-pager/ix-table-pager.component'; -import { IxTableDetailsRowDirective } from 'app/modules/ix-table/directives/ix-table-details-row.directive'; import { IxTableEmptyDirective } from 'app/modules/ix-table/directives/ix-table-empty.directive'; import { SortDirection } from 'app/modules/ix-table/enums/sort-direction.enum'; import { TablePagination } from 'app/modules/ix-table/interfaces/table-pagination.interface'; @@ -64,7 +63,6 @@ import { SlideInService } from 'app/services/slide-in.service'; IxTableEmptyDirective, IxTableHeadComponent, IxTableBodyComponent, - IxTableDetailsRowDirective, IxTablePagerComponent, TranslateModule, AsyncPipe, diff --git a/src/app/pages/credentials/users/user-details-row/delete-user-dialog/delete-user-dialog.component.ts b/src/app/pages/credentials/users/user-details-row/delete-user-dialog/delete-user-dialog.component.ts index 3a45d68edad..5a4f521776a 100644 --- a/src/app/pages/credentials/users/user-details-row/delete-user-dialog/delete-user-dialog.component.ts +++ b/src/app/pages/credentials/users/user-details-row/delete-user-dialog/delete-user-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, } from '@angular/core'; @@ -31,7 +30,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxCheckboxComponent, TestOverrideDirective, diff --git a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.spec.ts b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.spec.ts index 7cc5046001d..77603dfcbb0 100644 --- a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.spec.ts +++ b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.spec.ts @@ -1,4 +1,3 @@ -import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { Spectator, createComponentFactory } from '@ngneat/spectator/jest'; import { mockAuth } from 'app/core/testing/utils/mock-auth.utils'; import { BackupTaskEmptyComponent } from './backup-task-empty.component'; @@ -7,7 +6,6 @@ describe('BackupTaskEmptyComponent', () => { let spectator: Spectator; const createComponent = createComponentFactory({ component: BackupTaskEmptyComponent, - schemas: [CUSTOM_ELEMENTS_SCHEMA], providers: [ mockAuth(), ], diff --git a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.ts b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.ts index 06fdbbfd02f..4682bf751ca 100644 --- a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.ts +++ b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-empty/backup-task-empty.component.ts @@ -20,11 +20,11 @@ import { BackupTaskActionsComponent } from 'app/pages/dashboard/widgets/backup/w standalone: true, imports: [ IxIconComponent, - NgTemplateOutlet, RequiresRolesDirective, TestDirective, NgxSkeletonLoaderModule, TranslateModule, + NgTemplateOutlet, ], }) export class BackupTaskEmptyComponent { diff --git a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.ts b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.ts index 2abb464cb68..b25c15cb35e 100644 --- a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.ts +++ b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.ts @@ -15,10 +15,10 @@ import { BackupTaskActionsComponent } from 'app/pages/dashboard/widgets/backup/w changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - NgTemplateOutlet, IxIconComponent, TranslateModule, FormatDateTimePipe, + NgTemplateOutlet, ], }) export class BackupTaskTileComponent { diff --git a/src/app/pages/dashboard/widgets/backup/widget-backup/widget-backup.component.ts b/src/app/pages/dashboard/widgets/backup/widget-backup/widget-backup.component.ts index 4e6518b22f3..5988564a332 100644 --- a/src/app/pages/dashboard/widgets/backup/widget-backup/widget-backup.component.ts +++ b/src/app/pages/dashboard/widgets/backup/widget-backup/widget-backup.component.ts @@ -62,10 +62,10 @@ interface BackupRow { MatGridList, MatGridTile, BackupTaskTileComponent, - NgTemplateOutlet, BackupTaskEmptyComponent, BackupTaskActionsComponent, TranslateModule, + NgTemplateOutlet, ], }) export class WidgetBackupComponent implements OnInit { diff --git a/src/app/pages/data-protection/cloud-backup/cloud-backup-details/cloud-backup-details.component.ts b/src/app/pages/data-protection/cloud-backup/cloud-backup-details/cloud-backup-details.component.ts index a4dd8a1aadb..4e0e0841e2f 100644 --- a/src/app/pages/data-protection/cloud-backup/cloud-backup-details/cloud-backup-details.component.ts +++ b/src/app/pages/data-protection/cloud-backup/cloud-backup-details/cloud-backup-details.component.ts @@ -4,8 +4,6 @@ import { import { TranslateModule } from '@ngx-translate/core'; import { CloudBackup } from 'app/interfaces/cloud-backup.interface'; import { MobileBackButtonComponent } from 'app/modules/buttons/mobile-back-button/mobile-back-button.component'; -import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; -import { TestDirective } from 'app/modules/test-id/test.directive'; import { CloudBackupExcludedPathsComponent } from './cloud-backup-excluded-paths/cloud-backup-excluded-paths.component'; import { CloudBackupScheduleComponent } from './cloud-backup-schedule/cloud-backup-schedule.component'; import { CloudBackupSnapshotsComponent } from './cloud-backup-snapshots/cloud-backup-snapshots.component'; @@ -18,8 +16,6 @@ import { CloudBackupStatsComponent } from './cloud-backup-stats/cloud-backup-sta changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - TestDirective, - IxIconComponent, CloudBackupScheduleComponent, CloudBackupStatsComponent, CloudBackupExcludedPathsComponent, diff --git a/src/app/pages/data-protection/cloudsync/create-storj-bucket-dialog/create-storj-bucket-dialog.component.ts b/src/app/pages/data-protection/cloudsync/create-storj-bucket-dialog/create-storj-bucket-dialog.component.ts index c3935fce6e0..bc5cfd839fd 100644 --- a/src/app/pages/data-protection/cloudsync/create-storj-bucket-dialog/create-storj-bucket-dialog.component.ts +++ b/src/app/pages/data-protection/cloudsync/create-storj-bucket-dialog/create-storj-bucket-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, Optional, } from '@angular/core'; @@ -28,7 +27,6 @@ import { ApiService } from 'app/services/api.service'; imports: [ MatDialogTitle, ReactiveFormsModule, - CdkScrollable, MatDialogContent, IxInputComponent, FormActionsComponent, diff --git a/src/app/pages/datasets/components/dataset-details-panel/dataset-details-panel.component.ts b/src/app/pages/datasets/components/dataset-details-panel/dataset-details-panel.component.ts index 5d51706c76b..85e1c5d7e71 100644 --- a/src/app/pages/datasets/components/dataset-details-panel/dataset-details-panel.component.ts +++ b/src/app/pages/datasets/components/dataset-details-panel/dataset-details-panel.component.ts @@ -14,7 +14,6 @@ import { DatasetType } from 'app/enums/dataset.enum'; import { Role } from 'app/enums/role.enum'; import { DatasetDetails } from 'app/interfaces/dataset.interface'; import { MobileBackButtonComponent } from 'app/modules/buttons/mobile-back-button/mobile-back-button.component'; -import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { SlideInRef } from 'app/modules/slide-ins/slide-in-ref'; import { TestDirective } from 'app/modules/test-id/test.directive'; import { DataProtectionCardComponent } from 'app/pages/datasets/components/data-protection-card/data-protection-card.component'; @@ -42,7 +41,6 @@ import { SlideInService } from 'app/services/slide-in.service'; TestDirective, AsyncPipe, MobileBackButtonComponent, - IxIconComponent, TranslateModule, DatasetIconComponent, MatTooltip, diff --git a/src/app/pages/datasets/modules/permissions/components/save-as-preset-modal/save-as-preset-modal.component.ts b/src/app/pages/datasets/modules/permissions/components/save-as-preset-modal/save-as-preset-modal.component.ts index 34dc2d9dba0..8e691ab610a 100644 --- a/src/app/pages/datasets/modules/permissions/components/save-as-preset-modal/save-as-preset-modal.component.ts +++ b/src/app/pages/datasets/modules/permissions/components/save-as-preset-modal/save-as-preset-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, @@ -43,7 +42,6 @@ import { UserService } from 'app/services/user.service'; imports: [ MatDialogTitle, ReactiveFormsModule, - CdkScrollable, MatDialogContent, NgClass, MatIconButton, diff --git a/src/app/pages/datasets/modules/permissions/components/select-preset-modal/select-preset-modal.component.ts b/src/app/pages/datasets/modules/permissions/components/select-preset-modal/select-preset-modal.component.ts index 334033c165d..908efdf5754 100644 --- a/src/app/pages/datasets/modules/permissions/components/select-preset-modal/select-preset-modal.component.ts +++ b/src/app/pages/datasets/modules/permissions/components/select-preset-modal/select-preset-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, OnInit, } from '@angular/core'; @@ -36,7 +35,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, ReactiveFormsModule, IxRadioGroupComponent, diff --git a/src/app/pages/datasets/modules/permissions/components/strip-acl-modal/strip-acl-modal.component.ts b/src/app/pages/datasets/modules/permissions/components/strip-acl-modal/strip-acl-modal.component.ts index 4f015d90f72..ace41427c19 100644 --- a/src/app/pages/datasets/modules/permissions/components/strip-acl-modal/strip-acl-modal.component.ts +++ b/src/app/pages/datasets/modules/permissions/components/strip-acl-modal/strip-acl-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -30,7 +29,6 @@ export interface StripAclModalData { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxCheckboxComponent, ReactiveFormsModule, diff --git a/src/app/pages/network/components/default-gateway-dialog/default-gateway-dialog.component.ts b/src/app/pages/network/components/default-gateway-dialog/default-gateway-dialog.component.ts index 7959036257d..ae0193ab91c 100644 --- a/src/app/pages/network/components/default-gateway-dialog/default-gateway-dialog.component.ts +++ b/src/app/pages/network/components/default-gateway-dialog/default-gateway-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core'; import { FormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatButton } from '@angular/material/button'; @@ -34,7 +33,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, WithLoadingStateDirective, ReactiveFormsModule, diff --git a/src/app/pages/network/components/ipmi-card/ipmi-events-dialog/ipmi-events-dialog.component.ts b/src/app/pages/network/components/ipmi-card/ipmi-events-dialog/ipmi-events-dialog.component.ts index 1f16ecdad3c..a57f65b002a 100644 --- a/src/app/pages/network/components/ipmi-card/ipmi-events-dialog/ipmi-events-dialog.component.ts +++ b/src/app/pages/network/components/ipmi-card/ipmi-events-dialog/ipmi-events-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnInit, } from '@angular/core'; @@ -32,7 +31,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; imports: [ FakeProgressBarComponent, MatDialogTitle, - CdkScrollable, MatDialogContent, EmptyComponent, FormActionsComponent, diff --git a/src/app/pages/network/components/static-route-delete-dialog/static-route-delete-dialog.component.ts b/src/app/pages/network/components/static-route-delete-dialog/static-route-delete-dialog.component.ts index b1f11743011..5456c73ac26 100644 --- a/src/app/pages/network/components/static-route-delete-dialog/static-route-delete-dialog.component.ts +++ b/src/app/pages/network/components/static-route-delete-dialog/static-route-delete-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -27,7 +26,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, FormActionsComponent, MatDialogActions, diff --git a/src/app/pages/reports-dashboard/components/reports-global-controls/netdata-dialog/netdata-dialog.component.ts b/src/app/pages/reports-dashboard/components/reports-global-controls/netdata-dialog/netdata-dialog.component.ts index af48c535ca7..9f7555cc5f8 100644 --- a/src/app/pages/reports-dashboard/components/reports-global-controls/netdata-dialog/netdata-dialog.component.ts +++ b/src/app/pages/reports-dashboard/components/reports-global-controls/netdata-dialog/netdata-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, OnInit, } from '@angular/core'; @@ -33,7 +32,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; MatDialogClose, TestDirective, IxIconComponent, - CdkScrollable, MatDialogContent, IxInputComponent, ReactiveFormsModule, diff --git a/src/app/pages/services/components/service-nfs/service-nfs.component.ts b/src/app/pages/services/components/service-nfs/service-nfs.component.ts index aff8c19d51b..838d5a113d8 100644 --- a/src/app/pages/services/components/service-nfs/service-nfs.component.ts +++ b/src/app/pages/services/components/service-nfs/service-nfs.component.ts @@ -1,4 +1,3 @@ -import { AsyncPipe } from '@angular/common'; import { ChangeDetectionStrategy, Component, OnInit, signal, } from '@angular/core'; @@ -65,7 +64,7 @@ import { selectIsEnterprise } from 'app/store/system-info/system-info.selectors' TestDirective, TooltipComponent, TranslateModule, - AsyncPipe, + ], }) export class ServiceNfsComponent implements OnInit { diff --git a/src/app/pages/sharing/iscsi/extent/extent-list/delete-extent-dialog/delete-extent-dialog.component.ts b/src/app/pages/sharing/iscsi/extent/extent-list/delete-extent-dialog/delete-extent-dialog.component.ts index 9df28205bf7..f1c33168c71 100644 --- a/src/app/pages/sharing/iscsi/extent/extent-list/delete-extent-dialog/delete-extent-dialog.component.ts +++ b/src/app/pages/sharing/iscsi/extent/extent-list/delete-extent-dialog/delete-extent-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -29,7 +28,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, ReactiveFormsModule, IxCheckboxComponent, diff --git a/src/app/pages/sharing/iscsi/initiator/initiator-form/initiator-form.component.ts b/src/app/pages/sharing/iscsi/initiator/initiator-form/initiator-form.component.ts index d31d10dcf4a..c5f4e4ab600 100644 --- a/src/app/pages/sharing/iscsi/initiator/initiator-form/initiator-form.component.ts +++ b/src/app/pages/sharing/iscsi/initiator/initiator-form/initiator-form.component.ts @@ -5,7 +5,6 @@ import { import { ReactiveFormsModule } from '@angular/forms'; import { MatButton } from '@angular/material/button'; import { MatCard, MatCardContent, MatCardActions } from '@angular/material/card'; -import { MatListItemLine } from '@angular/material/list'; import { MatProgressBar } from '@angular/material/progress-bar'; import { ActivatedRoute, Router } from '@angular/router'; import { FormBuilder } from '@ngneat/reactive-forms'; @@ -50,7 +49,6 @@ interface InitiatorItem { MatButton, TestDirective, IxIconComponent, - MatListItemLine, MatCardActions, RequiresRolesDirective, TranslateModule, diff --git a/src/app/pages/sharing/smb/smb-form/restart-smb-dialog/restart-smb-dialog.component.ts b/src/app/pages/sharing/smb/smb-form/restart-smb-dialog/restart-smb-dialog.component.ts index 4331f09074b..3ae379c1b22 100644 --- a/src/app/pages/sharing/smb/smb-form/restart-smb-dialog/restart-smb-dialog.component.ts +++ b/src/app/pages/sharing/smb/smb-form/restart-smb-dialog/restart-smb-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { @@ -24,7 +23,6 @@ interface RestartDialogData { changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/pages/signin/set-admin-password-form/set-admin-password-form.component.ts b/src/app/pages/signin/set-admin-password-form/set-admin-password-form.component.ts index 6f6031842d9..b144a8adbb7 100644 --- a/src/app/pages/signin/set-admin-password-form/set-admin-password-form.component.ts +++ b/src/app/pages/signin/set-admin-password-form/set-admin-password-form.component.ts @@ -11,7 +11,6 @@ import { TranslateService, TranslateModule } from '@ngx-translate/core'; import { switchMap } from 'rxjs/operators'; import { LoginResult } from 'app/enums/login-result.enum'; import { IxInputComponent } from 'app/modules/forms/ix-forms/components/ix-input/ix-input.component'; -import { IxRadioGroupComponent } from 'app/modules/forms/ix-forms/components/ix-radio-group/ix-radio-group.component'; import { FormErrorHandlerService } from 'app/modules/forms/ix-forms/services/form-error-handler.service'; import { matchOthersFgValidator } from 'app/modules/forms/ix-forms/validators/password-validation/password-validation'; import { TestDirective } from 'app/modules/test-id/test.directive'; @@ -35,7 +34,6 @@ const adminUsername = 'truenas_admin'; AsyncPipe, TranslateModule, IxInputComponent, - IxRadioGroupComponent, TestDirective, ], }) diff --git a/src/app/pages/signin/signin-form/signin-form.component.ts b/src/app/pages/signin/signin-form/signin-form.component.ts index 55fe80db58a..cb82a54c643 100644 --- a/src/app/pages/signin/signin-form/signin-form.component.ts +++ b/src/app/pages/signin/signin-form/signin-form.component.ts @@ -1,4 +1,3 @@ -import { AsyncPipe } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, computed, effect, Inject, input, OnInit, } from '@angular/core'; @@ -38,7 +37,6 @@ import { AuthService } from 'app/services/auth/auth.service'; ReactiveFormsModule, InsecureConnectionComponent, MatButton, - AsyncPipe, TranslateModule, IxInputComponent, AutofocusDirective, diff --git a/src/app/pages/signin/signin.component.ts b/src/app/pages/signin/signin.component.ts index 109f2926c31..655043c4c58 100644 --- a/src/app/pages/signin/signin.component.ts +++ b/src/app/pages/signin/signin.component.ts @@ -7,7 +7,6 @@ import { MatCard, MatCardContent } from '@angular/material/card'; import { MatFormField } from '@angular/material/form-field'; import { MatInput } from '@angular/material/input'; import { MatProgressBar } from '@angular/material/progress-bar'; -import { MatProgressSpinner } from '@angular/material/progress-spinner'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule } from '@ngx-translate/core'; import { combineLatest, Observable, of } from 'rxjs'; @@ -40,7 +39,6 @@ import { WebSocketConnectionService } from 'app/services/websocket-connection.se imports: [ MatFormField, MatInput, - MatProgressSpinner, MatProgressBar, MatCard, MatCardContent, diff --git a/src/app/pages/storage/components/dashboard-pool/export-disconnect-modal/export-disconnect-modal.component.ts b/src/app/pages/storage/components/dashboard-pool/export-disconnect-modal/export-disconnect-modal.component.ts index a9c507c0ca6..00d62d6233f 100644 --- a/src/app/pages/storage/components/dashboard-pool/export-disconnect-modal/export-disconnect-modal.component.ts +++ b/src/app/pages/storage/components/dashboard-pool/export-disconnect-modal/export-disconnect-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, } from '@angular/core'; @@ -49,7 +48,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; MatDialogTitle, MatProgressBar, ReactiveFormsModule, - CdkScrollable, MatDialogContent, IxFieldsetComponent, IxCheckboxComponent, diff --git a/src/app/pages/storage/components/unused-resources/unused-disk-card/manage-unused-disk-dialog/manage-unused-disk-dialog.component.ts b/src/app/pages/storage/components/unused-resources/unused-disk-card/manage-unused-disk-dialog/manage-unused-disk-dialog.component.ts index 325d05c696f..3982b1d03a6 100644 --- a/src/app/pages/storage/components/unused-resources/unused-disk-card/manage-unused-disk-dialog/manage-unused-disk-dialog.component.ts +++ b/src/app/pages/storage/components/unused-resources/unused-disk-card/manage-unused-disk-dialog/manage-unused-disk-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, } from '@angular/core'; @@ -37,7 +36,6 @@ import { AddToPoolType, ManageUnusedDiskDialogResource } from 'app/pages/storage imports: [ MatDialogTitle, ReactiveFormsModule, - CdkScrollable, MatDialogContent, WarningComponent, IxFieldsetComponent, diff --git a/src/app/pages/storage/modules/devices/components/disk-details-panel/disk-details-panel.component.ts b/src/app/pages/storage/modules/devices/components/disk-details-panel/disk-details-panel.component.ts index 33aca2c3742..2e28c000040 100644 --- a/src/app/pages/storage/modules/devices/components/disk-details-panel/disk-details-panel.component.ts +++ b/src/app/pages/storage/modules/devices/components/disk-details-panel/disk-details-panel.component.ts @@ -9,9 +9,7 @@ import { VdevType } from 'app/enums/v-dev-type.enum'; import { Disk } from 'app/interfaces/disk.interface'; import { isTopologyDisk, TopologyItem } from 'app/interfaces/storage.interface'; import { MobileBackButtonComponent } from 'app/modules/buttons/mobile-back-button/mobile-back-button.component'; -import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { CastPipe } from 'app/modules/pipes/cast/cast.pipe'; -import { TestDirective } from 'app/modules/test-id/test.directive'; import { DiskInfoCardComponent } from 'app/pages/storage/modules/devices/components/disk-info-card/disk-info-card.component'; import { HardwareDiskEncryptionComponent } from 'app/pages/storage/modules/devices/components/hardware-disk-encryption/hardware-disk-encryption.component'; import { SmartInfoCardComponent } from 'app/pages/storage/modules/devices/components/smart-info-card/smart-info-card.component'; @@ -25,8 +23,6 @@ import { ZfsInfoCardComponent } from 'app/pages/storage/modules/devices/componen changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - TestDirective, - IxIconComponent, MatTooltip, TopologyItemIconComponent, ZfsInfoCardComponent, diff --git a/src/app/pages/storage/modules/disks/components/manual-test-dialog/manual-test-dialog.component.ts b/src/app/pages/storage/modules/disks/components/manual-test-dialog/manual-test-dialog.component.ts index 5db4ea2ad20..23af716c9e1 100644 --- a/src/app/pages/storage/modules/disks/components/manual-test-dialog/manual-test-dialog.component.ts +++ b/src/app/pages/storage/modules/disks/components/manual-test-dialog/manual-test-dialog.component.ts @@ -1,4 +1,3 @@ -import { PercentPipe } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, signal, @@ -8,7 +7,6 @@ import { MatButton } from '@angular/material/button'; import { MAT_DIALOG_DATA, MatDialogRef, MatDialogTitle, MatDialogClose, } from '@angular/material/dialog'; -import { MatProgressBar } from '@angular/material/progress-bar'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateService, TranslateModule } from '@ngx-translate/core'; import { of } from 'rxjs'; @@ -18,7 +16,6 @@ import { SmartTestType } from 'app/enums/smart-test-type.enum'; import { Disk } from 'app/interfaces/disk.interface'; import { FormActionsComponent } from 'app/modules/forms/ix-forms/components/form-actions/form-actions.component'; import { IxSelectComponent } from 'app/modules/forms/ix-forms/components/ix-select/ix-select.component'; -import { FormatDateTimePipe } from 'app/modules/pipes/format-date-time/format-datetime.pipe'; import { TestDirective } from 'app/modules/test-id/test.directive'; import { TestProgressRowComponent } from 'app/pages/storage/modules/disks/components/manual-test-dialog/test-progress-row/test-progress-row.component'; import { ApiService } from 'app/services/api.service'; @@ -44,10 +41,7 @@ export interface ManualTestDialogParams { TestDirective, MatDialogClose, RequiresRolesDirective, - MatProgressBar, TranslateModule, - FormatDateTimePipe, - PercentPipe, TestProgressRowComponent, ], }) diff --git a/src/app/pages/storage/modules/pool-manager/components/download-key-dialog/download-key-dialog.component.ts b/src/app/pages/storage/modules/pool-manager/components/download-key-dialog/download-key-dialog.component.ts index f8efc4b2761..e75901b6eb9 100644 --- a/src/app/pages/storage/modules/pool-manager/components/download-key-dialog/download-key-dialog.component.ts +++ b/src/app/pages/storage/modules/pool-manager/components/download-key-dialog/download-key-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { HttpErrorResponse } from '@angular/common/http'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, @@ -35,7 +34,6 @@ export interface DownloadKeyDialogParams { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, FormActionsComponent, MatButton, diff --git a/src/app/pages/storage/modules/pool-manager/components/pool-manager-wizard/pool-manager-wizard.component.ts b/src/app/pages/storage/modules/pool-manager/components/pool-manager-wizard/pool-manager-wizard.component.ts index e0466b1c08f..9f0038ef3e1 100644 --- a/src/app/pages/storage/modules/pool-manager/components/pool-manager-wizard/pool-manager-wizard.component.ts +++ b/src/app/pages/storage/modules/pool-manager/components/pool-manager-wizard/pool-manager-wizard.component.ts @@ -7,7 +7,7 @@ import { ReactiveFormsModule } from '@angular/forms'; import { MatCard } from '@angular/material/card'; import { MatDialog } from '@angular/material/dialog'; import { - MatStepper, MatStep, MatStepLabel, MatStepperIcon, + MatStepper, MatStep, MatStepLabel, } from '@angular/material/stepper'; import { MatTooltip } from '@angular/material/tooltip'; import { Router } from '@angular/router'; @@ -79,7 +79,6 @@ import { ReviewWizardStepComponent } from './steps/9-review-wizard-step/review-w ReviewWizardStepComponent, TranslateModule, AsyncPipe, - MatStepperIcon, UseIxIconsInStepperComponent, ], providers: [ diff --git a/src/app/pages/system/advanced/cron/cron-delete-dialog/cron-delete-dialog.component.ts b/src/app/pages/system/advanced/cron/cron-delete-dialog/cron-delete-dialog.component.ts index 95fc5de8830..7326b2dfe2a 100644 --- a/src/app/pages/system/advanced/cron/cron-delete-dialog/cron-delete-dialog.component.ts +++ b/src/app/pages/system/advanced/cron/cron-delete-dialog/cron-delete-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -27,7 +26,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, FormActionsComponent, MatDialogActions, diff --git a/src/app/pages/system/general-settings/support/set-production-status-dialog/set-production-status-dialog.component.ts b/src/app/pages/system/general-settings/support/set-production-status-dialog/set-production-status-dialog.component.ts index 0a8583c698c..fdddac200fb 100644 --- a/src/app/pages/system/general-settings/support/set-production-status-dialog/set-production-status-dialog.component.ts +++ b/src/app/pages/system/general-settings/support/set-production-status-dialog/set-production-status-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component } from '@angular/core'; import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { MatButton } from '@angular/material/button'; @@ -26,7 +25,6 @@ export interface SetProductionStatusDialogResult { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxCheckboxComponent, ReactiveFormsModule, diff --git a/src/app/pages/system/general-settings/support/support-card/support-card.component.ts b/src/app/pages/system/general-settings/support/support-card/support-card.component.ts index 0770dc16b3e..943f3bf6455 100644 --- a/src/app/pages/system/general-settings/support/support-card/support-card.component.ts +++ b/src/app/pages/system/general-settings/support/support-card/support-card.component.ts @@ -5,7 +5,6 @@ import { import { ReactiveFormsModule, FormsModule, FormControl } from '@angular/forms'; import { MatButton } from '@angular/material/button'; import { MatCard, MatCardContent } from '@angular/material/card'; -import { MatCheckbox } from '@angular/material/checkbox'; import { MatDialog } from '@angular/material/dialog'; import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu'; import { MatToolbarRow } from '@angular/material/toolbar'; @@ -63,7 +62,6 @@ import { waitForSystemInfo } from 'app/store/system-info/system-info.selectors'; MatCardContent, SysInfoComponent, RequiresRolesDirective, - MatCheckbox, TestDirective, ReactiveFormsModule, FormsModule, diff --git a/src/app/pages/virtualization/components/all-instances/all-instances-header/all-instances-header.component.ts b/src/app/pages/virtualization/components/all-instances/all-instances-header/all-instances-header.component.ts index 10a1d620d72..ae9b4581f81 100644 --- a/src/app/pages/virtualization/components/all-instances/all-instances-header/all-instances-header.component.ts +++ b/src/app/pages/virtualization/components/all-instances/all-instances-header/all-instances-header.component.ts @@ -1,8 +1,5 @@ import { ChangeDetectionStrategy, Component, computed } from '@angular/core'; import { MatAnchor, MatButton } from '@angular/material/button'; -import { - MatCard, MatCardContent, MatCardHeader, MatCardTitle, -} from '@angular/material/card'; import { RouterLink } from '@angular/router'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule } from '@ngx-translate/core'; @@ -27,10 +24,6 @@ import { ChainedSlideInService } from 'app/services/chained-slide-in.service'; standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ - MatCard, - MatCardContent, - MatCardHeader, - MatCardTitle, TranslateModule, MatButton, TestDirective, diff --git a/src/app/pages/virtualization/components/all-instances/all-instances-header/global-config-form/global-config-form.component.ts b/src/app/pages/virtualization/components/all-instances/all-instances-header/global-config-form/global-config-form.component.ts index dcd57b2ce37..8f9f0e919ca 100644 --- a/src/app/pages/virtualization/components/all-instances/all-instances-header/global-config-form/global-config-form.component.ts +++ b/src/app/pages/virtualization/components/all-instances/all-instances-header/global-config-form/global-config-form.component.ts @@ -13,7 +13,6 @@ import { DialogService } from 'app/modules/dialog/dialog.service'; import { FormActionsComponent } from 'app/modules/forms/ix-forms/components/form-actions/form-actions.component'; import { IxFieldsetComponent } from 'app/modules/forms/ix-forms/components/ix-fieldset/ix-fieldset.component'; import { IxIpInputWithNetmaskComponent } from 'app/modules/forms/ix-forms/components/ix-ip-input-with-netmask/ix-ip-input-with-netmask.component'; -import { IxRadioGroupComponent } from 'app/modules/forms/ix-forms/components/ix-radio-group/ix-radio-group.component'; import { IxSelectComponent } from 'app/modules/forms/ix-forms/components/ix-select/ix-select.component'; import { ChainedRef } from 'app/modules/slide-ins/chained-component-ref'; import { @@ -36,7 +35,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; MatButton, MatCard, MatCardContent, - IxRadioGroupComponent, ReactiveFormsModule, RequiresRolesDirective, TestDirective, diff --git a/src/app/pages/virtualization/components/all-instances/instance-details/instance-details.component.ts b/src/app/pages/virtualization/components/all-instances/instance-details/instance-details.component.ts index 827cbbcc4be..49a9ab8e78e 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-details/instance-details.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-details/instance-details.component.ts @@ -3,7 +3,6 @@ import { } from '@angular/core'; import { TranslateModule } from '@ngx-translate/core'; import { VirtualizationInstance } from 'app/interfaces/virtualization.interface'; -import { MobileBackButtonComponent } from 'app/modules/buttons/mobile-back-button/mobile-back-button.component'; import { InstanceDevicesComponent, } from 'app/pages/virtualization/components/all-instances/instance-details/instance-devices/instance-devices.component'; @@ -25,7 +24,6 @@ import { VirtualizationInstancesStore } from 'app/pages/virtualization/stores/vi TranslateModule, InstanceDevicesComponent, InstanceGeneralInfoComponent, - MobileBackButtonComponent, InstanceProxiesComponent, ], }) diff --git a/src/app/pages/virtualization/components/all-instances/instance-details/instance-devices/instance-devices.component.ts b/src/app/pages/virtualization/components/all-instances/instance-details/instance-devices/instance-devices.component.ts index 5198c4f8a44..9bded42e6bc 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-details/instance-devices/instance-devices.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-details/instance-devices/instance-devices.component.ts @@ -16,7 +16,6 @@ import { import { DialogService } from 'app/modules/dialog/dialog.service'; import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; import { AppLoaderService } from 'app/modules/loader/app-loader.service'; -import { MapValuePipe } from 'app/modules/pipes/map-value/map-value.pipe'; import { SnackbarService } from 'app/modules/snackbar/services/snackbar.service'; import { TestDirective } from 'app/modules/test-id/test.directive'; import { VirtualizationInstancesStore } from 'app/pages/virtualization/stores/virtualization-instances.store'; @@ -36,7 +35,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; TranslateModule, MatCardContent, NgxSkeletonLoaderModule, - MapValuePipe, MatIconButton, TestDirective, IxIconComponent, diff --git a/src/app/pages/virtualization/components/all-instances/instance-details/instance-general-info/instance-general-info.component.ts b/src/app/pages/virtualization/components/all-instances/instance-details/instance-general-info/instance-general-info.component.ts index 15cb4c614d1..cd65936641f 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-details/instance-general-info/instance-general-info.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-details/instance-general-info/instance-general-info.component.ts @@ -5,7 +5,7 @@ import { MatCard, MatCardActions, MatCardContent, MatCardHeader, MatCardTitle, } from '@angular/material/card'; -import { Router, RouterLink } from '@angular/router'; +import { Router } from '@angular/router'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule, TranslateService } from '@ngx-translate/core'; import { filter, switchMap } from 'rxjs'; @@ -15,6 +15,7 @@ import { VirtualizationInstance } from 'app/interfaces/virtualization.interface' import { DialogService } from 'app/modules/dialog/dialog.service'; import { IxFormatterService } from 'app/modules/forms/ix-forms/services/ix-formatter.service'; import { YesNoPipe } from 'app/modules/pipes/yes-no/yes-no.pipe'; +import { TestDirective } from 'app/modules/test-id/test.directive'; import { InstanceEditFormComponent } from 'app/pages/virtualization/components/instance-edit-form/instance-edit-form.component'; import { VirtualizationInstancesStore } from 'app/pages/virtualization/stores/virtualization-instances.store'; import { ApiService } from 'app/services/api.service'; @@ -38,8 +39,8 @@ import { SlideInService } from 'app/services/slide-in.service'; MatCardContent, YesNoPipe, TitleCasePipe, - RouterLink, RequiresRolesDirective, + TestDirective, ], }) export class InstanceGeneralInfoComponent { diff --git a/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxies.component.ts b/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxies.component.ts index 98c6133b7cf..140cc805e6f 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxies.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxies.component.ts @@ -3,7 +3,6 @@ import { MatButton, MatIconButton } from '@angular/material/button'; import { MatCard, MatCardContent, MatCardHeader, MatCardTitle, } from '@angular/material/card'; -import { MatTooltip } from '@angular/material/tooltip'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule, TranslateService } from '@ngx-translate/core'; import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; @@ -41,7 +40,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; MatButton, TestDirective, NgxSkeletonLoaderModule, - MatTooltip, MatIconButton, IxIconComponent, ], diff --git a/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxy-form/instance-proxy-form.component.ts b/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxy-form/instance-proxy-form.component.ts index 81fe3ec8b19..4c0439577a0 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxy-form/instance-proxy-form.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-details/instance-proxies/instance-proxy-form/instance-proxy-form.component.ts @@ -7,7 +7,6 @@ import { MatCard, MatCardContent } from '@angular/material/card'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule, TranslateService } from '@ngx-translate/core'; import { of } from 'rxjs'; -import { RequiresRolesDirective } from 'app/directives/requires-roles/requires-roles.directive'; import { VirtualizationDeviceType, VirtualizationProxyProtocol, @@ -41,7 +40,6 @@ import { ApiService } from 'app/services/api.service'; MatCard, MatCardContent, ReactiveFormsModule, - RequiresRolesDirective, TestDirective, TranslateModule, IxSelectComponent, diff --git a/src/app/pages/virtualization/components/all-instances/instance-list/instance-list.component.ts b/src/app/pages/virtualization/components/all-instances/instance-list/instance-list.component.ts index 0101e065156..543eb323105 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-list/instance-list.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-list/instance-list.component.ts @@ -8,7 +8,6 @@ import { MatCheckboxModule } from '@angular/material/checkbox'; import { ActivatedRoute, Router } from '@angular/router'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule, TranslateService } from '@ngx-translate/core'; -import { RequiresRolesDirective } from 'app/directives/requires-roles/requires-roles.directive'; import { EmptyType } from 'app/enums/empty-type.enum'; import { Role } from 'app/enums/role.enum'; import { WINDOW } from 'app/helpers/window.helper'; @@ -37,7 +36,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; FakeProgressBarComponent, InstanceRowComponent, MatCheckboxModule, - RequiresRolesDirective, EmptyComponent, TestDirective, ], diff --git a/src/app/pages/virtualization/components/all-instances/instance-list/instance-row/instance-row.component.ts b/src/app/pages/virtualization/components/all-instances/instance-list/instance-row/instance-row.component.ts index 31994593eba..ad93f295a9b 100644 --- a/src/app/pages/virtualization/components/all-instances/instance-list/instance-row/instance-row.component.ts +++ b/src/app/pages/virtualization/components/all-instances/instance-list/instance-row/instance-row.component.ts @@ -10,7 +10,6 @@ import { Role } from 'app/enums/role.enum'; import { VirtualizationStatus, virtualizationStatusMap, virtualizationTypeMap } from 'app/enums/virtualization.enum'; import { VirtualizationInstance } from 'app/interfaces/virtualization.interface'; import { IxIconComponent } from 'app/modules/ix-icon/ix-icon.component'; -import { FileSizePipe } from 'app/modules/pipes/file-size/file-size.pipe'; import { MapValuePipe } from 'app/modules/pipes/map-value/map-value.pipe'; import { TestDirective } from 'app/modules/test-id/test.directive'; @@ -21,7 +20,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ - FileSizePipe, IxIconComponent, MatTooltipModule, TestDirective, diff --git a/src/app/pages/virtualization/components/instance-edit-form/instance-edit-form.component.ts b/src/app/pages/virtualization/components/instance-edit-form/instance-edit-form.component.ts index d3adf8e431d..b3696d9c68a 100644 --- a/src/app/pages/virtualization/components/instance-edit-form/instance-edit-form.component.ts +++ b/src/app/pages/virtualization/components/instance-edit-form/instance-edit-form.component.ts @@ -1,4 +1,3 @@ -import { AsyncPipe } from '@angular/common'; import { ChangeDetectionStrategy, Component, Inject, signal, } from '@angular/core'; @@ -8,7 +7,6 @@ import { import { MatButton } from '@angular/material/button'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { TranslateModule, TranslateService } from '@ngx-translate/core'; -import { RequiresRolesDirective } from 'app/directives/requires-roles/requires-roles.directive'; import { Role } from 'app/enums/role.enum'; import { UpdateVirtualizationInstance, @@ -18,7 +16,6 @@ import { DialogService } from 'app/modules/dialog/dialog.service'; import { IxCheckboxComponent } from 'app/modules/forms/ix-forms/components/ix-checkbox/ix-checkbox.component'; import { IxFieldsetComponent } from 'app/modules/forms/ix-forms/components/ix-fieldset/ix-fieldset.component'; import { IxInputComponent } from 'app/modules/forms/ix-forms/components/ix-input/ix-input.component'; -import { ReadOnlyComponent } from 'app/modules/forms/ix-forms/components/readonly-badge/readonly-badge.component'; import { FormErrorHandlerService } from 'app/modules/forms/ix-forms/services/form-error-handler.service'; import { IxFormatterService } from 'app/modules/forms/ix-forms/services/ix-formatter.service'; import { cpuValidator } from 'app/modules/forms/ix-forms/validators/cpu-validation/cpu-validation'; @@ -40,11 +37,9 @@ import { ApiService } from 'app/services/api.service'; TranslateModule, IxCheckboxComponent, MatButton, - RequiresRolesDirective, TestDirective, IxFieldsetComponent, - ReadOnlyComponent, - AsyncPipe, + ], templateUrl: './instance-edit-form.component.html', styleUrls: ['./instance-edit-form.component.scss'], diff --git a/src/app/pages/virtualization/components/instance-wizard/instance-wizard.component.ts b/src/app/pages/virtualization/components/instance-wizard/instance-wizard.component.ts index 3f50a4fe669..585823b822e 100644 --- a/src/app/pages/virtualization/components/instance-wizard/instance-wizard.component.ts +++ b/src/app/pages/virtualization/components/instance-wizard/instance-wizard.component.ts @@ -13,7 +13,6 @@ import { TranslateModule, TranslateService } from '@ngx-translate/core'; import { map, Observable, of, } from 'rxjs'; -import { RequiresRolesDirective } from 'app/directives/requires-roles/requires-roles.directive'; import { Role } from 'app/enums/role.enum'; import { VirtualizationDeviceType, @@ -62,7 +61,6 @@ import { AuthService } from 'app/services/auth/auth.service'; TranslateModule, IxCheckboxComponent, MatButton, - RequiresRolesDirective, TestDirective, IxFieldsetComponent, ReadOnlyComponent, diff --git a/src/app/pages/virtualization/components/instance-wizard/select-image-dialog/select-image-dialog.component.ts b/src/app/pages/virtualization/components/instance-wizard/select-image-dialog/select-image-dialog.component.ts index ecdfa5c62ad..5389e726207 100644 --- a/src/app/pages/virtualization/components/instance-wizard/select-image-dialog/select-image-dialog.component.ts +++ b/src/app/pages/virtualization/components/instance-wizard/select-image-dialog/select-image-dialog.component.ts @@ -4,7 +4,7 @@ import { import { FormBuilder, ReactiveFormsModule } from '@angular/forms'; import { MatButton, MatIconButton } from '@angular/material/button'; import { - MAT_DIALOG_DATA, MatDialogActions, MatDialogContent, MatDialogModule, MatDialogRef, + MAT_DIALOG_DATA, MatDialogContent, MatDialogModule, MatDialogRef, } from '@angular/material/dialog'; import { MatTableModule } from '@angular/material/table'; import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; @@ -38,7 +38,6 @@ export type VirtualizationImageWithId = VirtualizationImage & { IxSelectComponent, ReactiveFormsModule, MatDialogContent, - MatDialogActions, MatDialogModule, TranslateModule, IxIconComponent, diff --git a/src/app/pages/vm/devices/device-list/device-delete-modal/device-delete-modal.component.ts b/src/app/pages/vm/devices/device-list/device-delete-modal/device-delete-modal.component.ts index 6cc5d418eb5..df5dd99b619 100644 --- a/src/app/pages/vm/devices/device-list/device-delete-modal/device-delete-modal.component.ts +++ b/src/app/pages/vm/devices/device-list/device-delete-modal/device-delete-modal.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, OnInit, } from '@angular/core'; @@ -33,7 +32,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; imports: [ MatDialogTitle, ReactiveFormsModule, - CdkScrollable, MatDialogContent, IxCheckboxComponent, IxInputComponent, diff --git a/src/app/pages/vm/devices/device-list/device-details/device-details.component.ts b/src/app/pages/vm/devices/device-list/device-details/device-details.component.ts index d4bb365de1c..90625a1e072 100644 --- a/src/app/pages/vm/devices/device-list/device-details/device-details.component.ts +++ b/src/app/pages/vm/devices/device-list/device-details/device-details.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { @@ -19,7 +18,6 @@ import { TestDirective } from 'app/modules/test-id/test.directive'; imports: [ MatDialogTitle, IxIconComponent, - CdkScrollable, MatDialogContent, MatDialogActions, MatButton, diff --git a/src/app/pages/vm/vm-list/clone-vm-dialog/clone-vm-dialog.component.ts b/src/app/pages/vm/vm-list/clone-vm-dialog/clone-vm-dialog.component.ts index 5c4c9e31405..3170c07f96f 100644 --- a/src/app/pages/vm/vm-list/clone-vm-dialog/clone-vm-dialog.component.ts +++ b/src/app/pages/vm/vm-list/clone-vm-dialog/clone-vm-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -28,7 +27,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxInputComponent, ReactiveFormsModule, diff --git a/src/app/pages/vm/vm-list/delete-vm-dialog/delete-vm-dialog.component.ts b/src/app/pages/vm/vm-list/delete-vm-dialog/delete-vm-dialog.component.ts index 0a9be98cade..4d7fb34a917 100644 --- a/src/app/pages/vm/vm-list/delete-vm-dialog/delete-vm-dialog.component.ts +++ b/src/app/pages/vm/vm-list/delete-vm-dialog/delete-vm-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, OnInit, } from '@angular/core'; @@ -32,7 +31,6 @@ import { ErrorHandlerService } from 'app/services/error-handler.service'; standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, ReactiveFormsModule, IxCheckboxComponent, diff --git a/src/app/pages/vm/vm-list/stop-vm-dialog/stop-vm-dialog.component.ts b/src/app/pages/vm/vm-list/stop-vm-dialog/stop-vm-dialog.component.ts index 2b7466c157e..6308fa63204 100644 --- a/src/app/pages/vm/vm-list/stop-vm-dialog/stop-vm-dialog.component.ts +++ b/src/app/pages/vm/vm-list/stop-vm-dialog/stop-vm-dialog.component.ts @@ -1,4 +1,3 @@ -import { CdkScrollable } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core'; @@ -30,7 +29,6 @@ export interface StopVmDialogData { standalone: true, imports: [ MatDialogTitle, - CdkScrollable, MatDialogContent, IxCheckboxComponent, ReactiveFormsModule,