import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { OrderListComponent } from './order-list/order-list.component';
import { OrderDetailsComponent } from './order-details/order-details.component';
import { ObjectsViewModule } from '@objects-view/objects-view.module';
import { OrdersRoutingModule } from './orders-routing.module';
import { CommonTabsModule } from '@shared/common-tabs/common-tabs.module';
import { RouterModule } from '@angular/router';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { MatDividerModule } from '@angular/material/divider';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ErrorHandlingModule } from '@shared/error-handling/error-handling.module';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatSelectModule } from '@angular/material/select';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatTableModule } from '@angular/material/table';
import { OrderAddNewComponent } from './order-add-new/order-add-new.component';
import { AddNewOrderFormComponent } from './tabs/add-new-order-form/add-new-order-form.component';
import { FleioDataControlsModule } from '@shared/fleio-data-controls/fleio-data-controls.module';
import { UiModule } from '@shared/ui/ui.module';
import { CommonComponentsModule } from '@shared/common-components/common-components.module';
import { PluginsModule } from '@shared/plugins/plugins.module';
import { CartComponent } from './cart/cart.component';
import { OrderProductComponent } from './order-product/order-product.component';
import { MatCardModule } from '@angular/material/card';


@NgModule({
  declarations: [
    OrderListComponent,
    OrderDetailsComponent,
    OrderAddNewComponent,
    AddNewOrderFormComponent,
    CartComponent,
    OrderProductComponent,
  ],
  imports: [
    CommonModule,
    OrdersRoutingModule,
    CommonTabsModule,
    RouterModule,
    ObjectsViewModule,
    MatIconModule,
    MatButtonModule,
    MatDividerModule,
    ReactiveFormsModule,
    ErrorHandlingModule,
    MatFormFieldModule,
    MatInputModule,
    MatAutocompleteModule,
    MatSelectModule,
    MatDatepickerModule,
    MatCheckboxModule,
    MatTableModule,
    FleioDataControlsModule,
    UiModule,
    CommonComponentsModule,
    PluginsModule,
    MatCardModule,
    FormsModule,
  ]
})
export class OrdersModule {
}
