import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import {TranslateModule} from '@ngx-translate/core';

import {HsPanelHelpersModule} from 'hslayers-ng/components/layout/panels/panel-helpers.module';

import {AdjusterComponent} from './adjuster.component';
import {AdjusterEventService} from './adjuster-event.service';
import {AdjusterLoaderComponent} from './adjuster-loader.component';
import {AdjusterService} from './adjuster.service';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  imports: [
    CommonModule,
    FormsModule,
    HsPanelHelpersModule,
    NgbModule,
    TranslateModule,
  ],
  exports: [AdjusterComponent],
  declarations: [AdjusterComponent, AdjusterLoaderComponent],
  entryComponents: [AdjusterComponent, AdjusterLoaderComponent],
  providers: [AdjusterService, AdjusterEventService],
})
export class AdjusterModule {}
