Skip to content

Commit

Permalink
fix: yarn lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrt committed Jul 29, 2024
1 parent 7ab3e59 commit d17a8de
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion projects/core/src/services/dialog.service.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Type } from '@angular/core';
import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
import { Observable, ReplaySubject, switchMap, take, throttleTime } from 'rxjs';

import { NgxAbstractLazyModule, NgxLazyLoaderService } from './lazy-loader.service';
import { MatDialogConfig, MatDialogRef, MatDialog } from '@angular/material/dialog';

export abstract class NgxDialogService<ReturnType, DataType> {
protected openDialogSub$ = new ReplaySubject<MatDialogConfig<DataType>>(1);
Expand Down
2 changes: 1 addition & 1 deletion projects/demo-app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { NgFor, NgIf } from '@angular/common';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, OnDestroy } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@angular/material/list';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatToolbarModule } from '@angular/material/toolbar';
import { RouterModule } from '@angular/router';
import {MatListModule} from '@angular/material/list';

@Component({
selector: 'app-root',
Expand Down
2 changes: 1 addition & 1 deletion projects/demo-app/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Dialog, DIALOG_SCROLL_STRATEGY_PROVIDER } from '@angular/cdk/dialog';
import { Overlay } from '@angular/cdk/overlay';
import { enableProdMode } from '@angular/core';
import { MAT_DIALOG_SCROLL_STRATEGY_PROVIDER, MatDialog } from '@angular/material/dialog';
import { bootstrapApplication } from '@angular/platform-browser';
import { provideAnimations } from '@angular/platform-browser/animations';
import { PreloadAllModules, provideRouter, withPreloading } from '@angular/router';

import { AppComponent } from './app/app.component';
import { appRoutes } from './app/app.routes';
import { environment } from './environments/environment';
import { MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER } from '@angular/material/dialog';

if (environment.production) {
enableProdMode();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
import { MAT_DIALOG_DATA } from '@angular/material/dialog';

import { NgxMessageBoxDialogButtons, NgxMessageBoxDialogData } from './message-box-dialog.model';
import { MAT_DIALOG_DATA } from '@angular/material/dialog';

@Component({
selector: 'ngx-message-box-dialog',
Expand Down
4 changes: 2 additions & 2 deletions projects/message-box-dialog/src/message-box-dialog.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatDialogModule } from '@angular/material/dialog';
import { MatIconModule } from '@angular/material/icon';
import { MatToolbarModule } from '@angular/material/toolbar';
import { NgxAbstractLazyModule } from '@hug/ngx-core';

import { NgxMessageBoxDialogComponent } from './message-box-dialog.component';
import { MatButtonModule } from '@angular/material/button';
import { MatDialogModule } from '@angular/material/dialog';

@NgModule({
declarations: [NgxMessageBoxDialogComponent],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Injectable, Type } from '@angular/core';
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
import { NgxAbstractLazyModule, NgxDialogService, NgxLazyLoaderService } from '@hug/ngx-core';
import { Observable, take } from 'rxjs';

import { NgxMessageBoxDialogButtons, NgxMessageBoxDialogData, NgxMessageBoxDialogResponse } from './message-box-dialog.model';
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';

@Injectable({
providedIn: 'root'
Expand Down

0 comments on commit d17a8de

Please sign in to comment.