mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
feat: rebase with master
This commit is contained in:
parent
651dadee33
commit
f40e0c463e
69 changed files with 2416 additions and 252 deletions
|
|
@ -15,11 +15,37 @@ import { ThemeModule } from '../../@theme/theme.module';
|
|||
import { FormsRoutingModule } from './forms-routing.module';
|
||||
import { FormsComponent } from './forms.component';
|
||||
import { FormInputsComponent } from './form-inputs/form-inputs.component';
|
||||
import { MaterialInputsComponent } from './form-inputs/material-inputs/material-inputs.component';
|
||||
import { FormLayoutsComponent } from './form-layouts/form-layouts.component';
|
||||
import { DatepickerComponent } from './datepicker/datepicker.component';
|
||||
import { ButtonsComponent } from './buttons/buttons.component';
|
||||
import { MaterialButtonsComponent } from './buttons/material-buttons/material-buttons.component';
|
||||
import { FormsModule as ngFormsModule } from '@angular/forms';
|
||||
|
||||
import { MatNativeDateModule } from '@angular/material/core';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
||||
|
||||
const materialModules = [
|
||||
MatFormFieldModule,
|
||||
MatInputModule,
|
||||
MatSelectModule,
|
||||
MatNativeDateModule,
|
||||
MatDatepickerModule,
|
||||
MatCheckboxModule,
|
||||
MatSlideToggleModule,
|
||||
MatRadioModule,
|
||||
MatButtonModule,
|
||||
MatButtonToggleModule,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
ThemeModule,
|
||||
|
|
@ -35,6 +61,7 @@ import { FormsModule as ngFormsModule } from '@angular/forms';
|
|||
NbSelectModule,
|
||||
NbIconModule,
|
||||
ngFormsModule,
|
||||
...materialModules,
|
||||
],
|
||||
declarations: [
|
||||
FormsComponent,
|
||||
|
|
@ -42,6 +69,8 @@ import { FormsModule as ngFormsModule } from '@angular/forms';
|
|||
FormInputsComponent,
|
||||
FormLayoutsComponent,
|
||||
DatepickerComponent,
|
||||
MaterialInputsComponent,
|
||||
MaterialButtonsComponent,
|
||||
],
|
||||
})
|
||||
export class FormsModule { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue