2017-05-05 15:49:52 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
2019-07-02 16:18:09 +03:00
|
|
|
import {
|
|
|
|
|
NbActionsModule,
|
|
|
|
|
NbButtonModule,
|
|
|
|
|
NbCardModule,
|
|
|
|
|
NbCheckboxModule,
|
|
|
|
|
NbDatepickerModule, NbIconModule,
|
|
|
|
|
NbInputModule,
|
|
|
|
|
NbRadioModule,
|
|
|
|
|
NbSelectModule,
|
|
|
|
|
NbUserModule,
|
|
|
|
|
} from '@nebular/theme';
|
2017-05-05 15:49:52 +03:00
|
|
|
|
2017-08-04 19:27:16 +03:00
|
|
|
import { ThemeModule } from '../../@theme/theme.module';
|
2019-07-02 16:18:09 +03:00
|
|
|
import { FormsRoutingModule } from './forms-routing.module';
|
|
|
|
|
import { FormsComponent } from './forms.component';
|
|
|
|
|
import { FormInputsComponent } from './form-inputs/form-inputs.component';
|
2021-08-06 17:23:50 +03:00
|
|
|
import { MaterialInputsComponent } from './form-inputs/material-inputs/material-inputs.component';
|
2019-07-02 16:18:09 +03:00
|
|
|
import { FormLayoutsComponent } from './form-layouts/form-layouts.component';
|
|
|
|
|
import { DatepickerComponent } from './datepicker/datepicker.component';
|
|
|
|
|
import { ButtonsComponent } from './buttons/buttons.component';
|
2021-08-06 17:23:50 +03:00
|
|
|
import { MaterialButtonsComponent } from './buttons/material-buttons/material-buttons.component';
|
2019-10-07 15:35:35 +01:00
|
|
|
import { FormsModule as ngFormsModule } from '@angular/forms';
|
2017-05-05 15:49:52 +03:00
|
|
|
|
2021-08-06 17:23:50 +03:00
|
|
|
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,
|
|
|
|
|
];
|
|
|
|
|
|
2017-05-05 15:49:52 +03:00
|
|
|
@NgModule({
|
|
|
|
|
imports: [
|
2017-08-04 19:27:16 +03:00
|
|
|
ThemeModule,
|
2019-07-02 16:18:09 +03:00
|
|
|
NbInputModule,
|
|
|
|
|
NbCardModule,
|
|
|
|
|
NbButtonModule,
|
|
|
|
|
NbActionsModule,
|
|
|
|
|
NbUserModule,
|
|
|
|
|
NbCheckboxModule,
|
|
|
|
|
NbRadioModule,
|
|
|
|
|
NbDatepickerModule,
|
2017-05-06 14:52:41 +03:00
|
|
|
FormsRoutingModule,
|
2019-07-02 16:18:09 +03:00
|
|
|
NbSelectModule,
|
|
|
|
|
NbIconModule,
|
2019-10-07 15:35:35 +01:00
|
|
|
ngFormsModule,
|
2021-08-06 17:23:50 +03:00
|
|
|
...materialModules,
|
2017-05-05 15:49:52 +03:00
|
|
|
],
|
|
|
|
|
declarations: [
|
2019-07-02 16:18:09 +03:00
|
|
|
FormsComponent,
|
|
|
|
|
ButtonsComponent,
|
|
|
|
|
FormInputsComponent,
|
|
|
|
|
FormLayoutsComponent,
|
|
|
|
|
DatepickerComponent,
|
2021-08-06 17:23:50 +03:00
|
|
|
MaterialInputsComponent,
|
|
|
|
|
MaterialButtonsComponent,
|
2017-05-05 15:49:52 +03:00
|
|
|
],
|
|
|
|
|
})
|
2017-05-06 14:52:41 +03:00
|
|
|
export class FormsModule { }
|