var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { CaseViewerComponent } from './case-viewer.component';
import { ActivityService, ActivityPollingService, OrderService, DraftService } from '../../services';
import { ErrorsModule } from '../error/errors.module';
import { ActivityModule } from '../activity/activity.module';
import { CaseHeaderModule } from '../case-header';
import { CaseHistoryModule } from '../case-history';
import { EventTriggerModule } from '../event-trigger/event-trigger.module';
import { TabsModule } from '../../../components/tabs';
import { PaletteModule, EventLogModule } from '../palette';
import { LabelSubstitutorModule, ConditionalShowModule } from '../../directives';
import { CasePrinterComponent, PrintUrlPipe } from './printer';
import { CaseEventTriggerComponent } from './case-event-trigger';
import { EventTriggerResolver, CaseResolver } from './services';
import { CaseEditorModule, CaseService } from '../case-editor';
import { CaseViewComponent } from './case-view/case-view.component';
import { PipesModule, CaseReferencePipe } from '../../pipes';
var CaseViewerModule = /** @class */ (function () {
    function CaseViewerModule() {
    }
    CaseViewerModule = __decorate([
        NgModule({
            imports: [
                CommonModule,
                RouterModule,
                ErrorsModule,
                ActivityModule,
                CaseHeaderModule,
                EventTriggerModule,
                TabsModule,
                PaletteModule,
                LabelSubstitutorModule,
                CaseEditorModule,
                PipesModule,
                ConditionalShowModule,
                CaseHistoryModule,
                EventLogModule,
            ],
            declarations: [
                CaseEventTriggerComponent,
                CasePrinterComponent,
                CaseViewerComponent,
                CaseViewComponent,
                PrintUrlPipe,
            ],
            exports: [
                CaseViewerComponent,
                CaseViewComponent,
            ],
            providers: [
                CaseService,
                CaseReferencePipe,
                EventTriggerResolver,
                ActivityService,
                ActivityPollingService,
                OrderService,
                DraftService,
                CaseResolver,
            ]
        })
    ], CaseViewerModule);
    return CaseViewerModule;
}());
export { CaseViewerModule };
//# sourceMappingURL=case-viewer.module.js.map