run migration tool for material (MDC based components)
This commit is contained in:
parent
bf5e33d9aa
commit
c04edbb3fe
|
@ -5,9 +5,9 @@ import { FormsModule } from '@angular/forms';
|
|||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { AppComponent } from './app.component';
|
||||
import { StudentListComponent } from './components/students/student-list/student-list.component';
|
||||
import { MatLegacyTableModule as MatTableModule } from '@angular/material/legacy-table';
|
||||
import { MatLegacyPaginatorModule as MatPaginatorModule } from '@angular/material/legacy-paginator';
|
||||
import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { GenderPipe } from './pipes/gender.pipe';
|
||||
import { AddressPipe } from './pipes/address.pipe';
|
||||
|
@ -18,7 +18,7 @@ import { StudentEditComponent } from './components/students/student-edit/student
|
|||
import { StudentEnrollComponent } from './components/students/student-enroll/student-enroll.component';
|
||||
import { VisitsDatetimeComponent } from './components/visits/visits-datetime/visits-datetime.component';
|
||||
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatNativeDateModule, MatRippleModule } from '@angular/material/core';
|
||||
|
||||
@NgModule({
|
||||
|
|
|
@ -54,11 +54,11 @@ a:hover {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mat-row:hover .mat-cell {
|
||||
.mat-mdc-row:hover .mat-mdc-cell {
|
||||
background-color: #411ccc;
|
||||
}
|
||||
|
||||
.mat-row:hover .mat-cell.actions .bi {
|
||||
.mat-mdc-row:hover .mat-mdc-cell.actions .bi {
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
import { MatLegacyTableDataSource as MatTableDataSource } from '@angular/material/legacy-table';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { Course } from 'src/app/models/course';
|
||||
import { Student } from 'src/app/models/student';
|
||||
import { StudentEnrollment } from 'src/app/models/student-enrollment';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { formatDate } from '@angular/common';
|
||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||
import { MatLegacyTableDataSource as MatTableDataSource } from '@angular/material/legacy-table';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { CourseVisit } from 'src/app/models/course-visit';
|
||||
|
|
Loading…
Reference in New Issue