import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CityAutocompleteModule } from '@components/city-autocomplete/city-autocomplete.module';
import { DayTabsComponent } from '@components/dates-selectors/day-tabs/day-tabs.component';
import { WeekTabsComponent } from '@components/dates-selectors/week-tabs/week-tabs.component';
import { PageModule } from '@components/page/page.module';
import { SearchHistoryModule } from '@components/search-history/search-history.module';
import { ToolkitModule } from '@toolkit/toolkit.module';
import { SameUrlNavigationDetectorComponent } from './same-url-navigation-detector/same-url-navigation-detector.component';

@NgModule({
    declarations: [
        WeekTabsComponent,
        DayTabsComponent,
        SameUrlNavigationDetectorComponent,
    ],
    imports: [
        CommonModule,
        ToolkitModule,
        PageModule,
        CityAutocompleteModule,
        SearchHistoryModule,
    ],
    exports: [
        PageModule,
        WeekTabsComponent,
        DayTabsComponent,
        SameUrlNavigationDetectorComponent,
        CityAutocompleteModule,
        SearchHistoryModule,
    ],
})
export class ComponentsModule {}
