import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {
  ConfigurableOptionInputComponent
} from '@shared/common-components/configurable-option-input/configurable-option-input.component';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatSelectModule } from '@angular/material/select';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatRadioModule } from '@angular/material/radio';
import { MatInputModule } from '@angular/material/input';
import {
  PermissionsSelectorComponent
} from '@shared/common-components/permissions-selector/permissions-selector.component';
import { FormsModule } from '@angular/forms';
import { MatTabsModule } from '@angular/material/tabs';
import { MatListModule } from '@angular/material/list';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { CreditWarningComponent } from './credit-warning/credit-warning.component';
import { UiModule } from '@shared/ui/ui.module';
import { ProductListComponent } from '@shared/common-components/billing/order/product-list/product-list.component';
import { ObjectsViewModule } from '@objects-view/objects-view.module';

@NgModule({
  declarations: [
    ConfigurableOptionInputComponent,
    PermissionsSelectorComponent,
    CreditWarningComponent,
    ProductListComponent,
  ],
  exports: [
    ConfigurableOptionInputComponent,
    PermissionsSelectorComponent,
    CreditWarningComponent,
    ProductListComponent,
  ],
  imports: [
    CommonModule,
    MatFormFieldModule,
    MatSelectModule,
    MatCheckboxModule,
    MatRadioModule,
    MatInputModule,
    FormsModule,
    MatTabsModule,
    MatListModule,
    MatIconModule,
    MatButtonModule,
    UiModule,
    ObjectsViewModule
  ]
})
export class CommonComponentsModule {
}
