import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {AccountComponent} from './components/account/account.component';
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";
import {ToastModule} from 'primeng/toast';
import {MessageService} from "primeng/api";
import {ButtonModule} from "primeng/button";
import {InputTextModule} from "primeng/inputtext";
import {TableModule} from "primeng/table";
import {MultiSelectModule} from "primeng/multiselect";
import {InputSwitchModule} from "primeng/inputswitch";
import {PageComponent} from './components/page/page.component';


@NgModule({
    declarations: [
        AccountComponent,
        FiltersComponent,
        NotOptimizedForMobileDevicesComponent,
        PageComponent,
    ],
    providers: [
        MessageService
    ],
    imports: [
        CommonModule,
        ReactiveFormsModule,
        RouterLink,
        ToastModule,
        //PrimeNG
        ButtonModule,
        InputTextModule,
        TableModule,
        MultiSelectModule,
        InputSwitchModule,
    ],
    exports: [
        AccountComponent,
        FiltersComponent,
        NotOptimizedForMobileDevicesComponent,
        PageComponent,
        //PrimeNG
        ButtonModule,
        InputTextModule,
        TableModule,
    ]
})
export class SharedModule {
}
