import {NgModule} from "@angular/core";
import {NgbModule} from "@ng-bootstrap/ng-bootstrap";
import {
  BpmnModule,
  ComponentsModule,
  ProgressIndicationService,
  SecurityModule
} from "@webbpm/base-package";
import {CommonModule} from "@angular/common";
import {FormsModule} from "@angular/forms";
import {AgGridModule} from "ag-grid-angular";
import {RouterModule} from "@angular/router";
import {NgxIntlTelInputModule} from "ngx-intl-tel-input";
import {AppProgressIndicationComponent} from "./component/app-progress-indication.component";
import {AppProgressIndicationService} from "./service/app-progress-indication.service";
import {ConfigExecuteBtn} from "./component/ConfigExecuteBtn";
import {ExportDataBtn} from "./component/ExportDataBtn";

@NgModule({
            imports: [
              CommonModule,
              FormsModule,
              BpmnModule,
              NgbModule,
              SecurityModule,
              ComponentsModule,
              RouterModule,
              NgxIntlTelInputModule,
              AgGridModule
            ],
            declarations: [
              AppProgressIndicationComponent,
              ConfigExecuteBtn,
              ExportDataBtn
            ],
            exports: [
              AppProgressIndicationComponent,
              ConfigExecuteBtn,
              ExportDataBtn,
              CommonModule,
              FormsModule,
              BpmnModule,
              NgbModule,
              SecurityModule,
              ComponentsModule,
              RouterModule,
              NgxIntlTelInputModule,
              AgGridModule
            ],
            providers: [
              {provide: ProgressIndicationService, useClass: AppProgressIndicationService}
            ],
          })
export class SharedModule {
}
