import { BrowserModule } from "@angular/platform-browser"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { enableProdMode, NgModule } from "@angular/core"; import { provideHttpClient, withInterceptorsFromDi } from "@angular/common/http"; import { FormsModule, ReactiveFormsModule } from "@angular/forms"; import { AppRoutingModule } from "./app-routing.module"; import { AppComponent } from "./app.component"; import { VisualizationPageComponent } from "./visualization-page/visualization-page.component"; import { DatePickerComponent } from "./components/datepicker/date-picker.component"; import { MatAutocompleteModule } from "@angular/material/autocomplete"; import { MatButtonModule } from "@angular/material/button"; import { MatCheckboxModule } from "@angular/material/checkbox"; import { MatSelectModule } from "@angular/material/select"; import { MatFormFieldModule } from "@angular/material/form-field"; import { MatInputModule } from "@angular/material/input"; import { MatProgressBarModule } from "@angular/material/progress-bar"; import { MatProgressSpinnerModule } from "@angular/material/progress-spinner"; import { MatRadioModule } from "@angular/material/radio"; import { MatSnackBarModule } from "@angular/material/snack-bar"; import { MatTooltipModule } from "@angular/material/tooltip"; import { OverlayModule } from "@angular/cdk/overlay"; import { YAxisDefinitionComponent } from "./y-axis-definition/y-axis-definition.component"; import { QueryAutocompleteComponent } from "./query-autocomplete/query-autocomplete.component"; import { LimitByComponent } from "./limit-by/limit-by.component"; import { PlotDetailsComponent } from "./plot-details/plot-details.component"; import { PlotViewComponent } from "./plot-view/plot-view.component"; import { GalleryFilterView, GalleryItemView, GalleryViewComponent, } from "./gallery-view/gallery-view.component"; import { ImageToggleComponent } from "./image-toggle/image-toggle.component"; import { DashboardPageComponent } from "./dashboard-page/dashboard-page.component"; import { MAT_DIALOG_DEFAULT_OPTIONS, MatDialogModule, } from "@angular/material/dialog"; import { MatTabsModule } from "@angular/material/tabs"; import { MatTableModule } from "@angular/material/table"; import { MatGridListModule } from "@angular/material/grid-list"; import { MatCardModule } from "@angular/material/card"; import { MatBadgeModule } from "@angular/material/badge"; import { DashboardComponent } from "./dashboard-page/dashboard/dashboard.component"; import { TextWidgetComponent } from "./dashboard-page/dashboard/text-widget/text-widget.component"; import { AddPlotDialogComponent } from "./dashboard-page/dashboard/add-plot-dialog/add-plot-dialog.component"; import { PlotWidgetComponent } from "./dashboard-page/dashboard/plot-widget/plot-widget.component"; import { FullScreenPlotDialogComponent } from "./dashboard-page/dashboard/full-screen-plot-dialog/full-screen-plot-dialog.component"; import { CustomizableGridComponent } from "./customizable-grid/customizable-grid.component"; import { DragDropModule } from "@angular/cdk/drag-drop"; import { ConfirmationDialogComponent } from "./confirmation-dialog/confirmation-dialog.component"; import { FocusDirective } from "./focus.directive"; import { MarkdownModule } from "ngx-markdown"; import { MainPageComponent } from "./main-page/main-page.component"; @NgModule({ declarations: [ AppComponent, VisualizationPageComponent, YAxisDefinitionComponent, QueryAutocompleteComponent, LimitByComponent, PlotDetailsComponent, PlotViewComponent, GalleryViewComponent, GalleryItemView, GalleryFilterView, ImageToggleComponent, DashboardPageComponent, DashboardComponent, TextWidgetComponent, AddPlotDialogComponent, PlotWidgetComponent, FullScreenPlotDialogComponent, CustomizableGridComponent, ConfirmationDialogComponent, FocusDirective, ], bootstrap: [AppComponent], imports: [ MarkdownModule.forRoot(), BrowserModule, AppRoutingModule, FormsModule, ReactiveFormsModule, DatePickerComponent, DragDropModule, MainPageComponent, MatAutocompleteModule, MatBadgeModule, MatButtonModule, MatCardModule, MatCheckboxModule, MatDialogModule, MatFormFieldModule, MatGridListModule, MatInputModule, MatRadioModule, MatProgressBarModule, MatProgressSpinnerModule, MatSelectModule, MatSnackBarModule, MatTabsModule, MatTableModule, MatTooltipModule, BrowserAnimationsModule, OverlayModule], providers: [{ provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: { hasBackdrop: true }, }, provideHttpClient(withInterceptorsFromDi())] }) export class AppModule {} enableProdMode();