import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {AccountComponent} from './components/account/account.component';
import {
    NbActionsModule,
    NbButtonModule,
    NbCardModule,
    NbIconModule,
    NbInputModule,
    NbSelectModule,
    NbSpinnerModule,
    NbToggleModule,
    NbUserModule
} from "@nebular/theme";
import {FiltersComponent} from './components/filters/filters.component';
import {ReactiveFormsModule} from "@angular/forms";
import {NotOptimizedForMobileDevicesComponent} from './components/not-optimized-for-mobile-devices/not-optimized-for-mobile-devices.component';
import {RouterLink} from "@angular/router";


@NgModule({
    declarations: [
        AccountComponent,
        FiltersComponent,
        NotOptimizedForMobileDevicesComponent,
    ],
    providers: [],
    imports: [
        CommonModule,
        ReactiveFormsModule,
        // Nebula import only
        NbInputModule,
        NbButtonModule,
        NbSpinnerModule,
        NbSelectModule,
        NbToggleModule,
        // Nebula
        NbCardModule,
        NbUserModule,
        NbActionsModule,
        NbIconModule,
        NbButtonModule,
        NbInputModule,
        RouterLink,
    ],
    exports: [
        AccountComponent,
        FiltersComponent,
        // Nebula
        NbCardModule,
        NbActionsModule,
        NbIconModule,
        NbButtonModule,
        NbInputModule,
        NotOptimizedForMobileDevicesComponent,
    ]
})
export class SharedModule {
}
