my-test123
Version:
A planner front-end for Fabric8.
86 lines • 4.19 kB
JavaScript
import { LabelsModule } from './../labels/labels.module';
import { TypeaheadDropDownModule } from './../../components/typeahead-dropdown/typeahead-dropdown.module';
import { AlmUserNameModule } from './../../pipes/alm-user-name.module';
import { AssigneesModule } from './../assignee/assignee.module';
import { AssigneeSelectorModule } from './../assignee-selector/assignee-selector.module';
import { AuthenticationService } from 'ngx-login-client';
import { RouterModule } from '@angular/router';
import { InlineInputModule } from './../../widgets/inlineinput/inlineinput.module';
import { WidgetsModule, MarkdownModule } from 'ngx-widgets';
import { FormsModule } from '@angular/forms';
import { UserMapper } from './../../models/user';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { WorkItemDetailComponent } from './work-item-detail.component';
import { TooltipConfig, TooltipModule } from 'ngx-bootstrap/tooltip';
import { WorkItemCommentWrapperModule } from './../work-item-comment-wrapper/work-item-comment-wrapper.module';
import { PlannerModalModule } from '../../components/modal/modal.module';
// ngrx stuff
import { StoreModule } from '@ngrx/store';
import { EffectsModule } from '@ngrx/effects';
import { initialState as initialCommentState } from './../../states/comment.state';
import { CommentReducer } from './../../reducers/comment.reducer';
import { CommentEffects } from './../../effects/comment.effects';
import { initialState as initialDetailWIState } from './../../states/detail-work-item.state';
import { DetailWorkItemReducer } from './../../reducers/detail-work-item.reducer';
import { DetailWorkItemEffects } from './../../effects/detail-work-item.effects';
import { UrlService } from '../../services/url.service';
import { BsDropdownConfig, BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { LabelSelectorModule } from '../label-selector/label-selector.module';
var WorkItemDetailModule = /** @class */ (function () {
function WorkItemDetailModule() {
}
WorkItemDetailModule.decorators = [
{ type: NgModule, args: [{
imports: [
AlmUserNameModule,
AssigneesModule,
AssigneeSelectorModule,
CommonModule,
FormsModule,
WidgetsModule,
InlineInputModule,
RouterModule,
BsDropdownModule.forRoot(),
TooltipModule.forRoot(),
TypeaheadDropDownModule,
LabelsModule,
LabelSelectorModule,
MarkdownModule,
WorkItemCommentWrapperModule,
PlannerModalModule,
StoreModule.forFeature('detailPage', {
comments: CommentReducer,
workItem: DetailWorkItemReducer
}, {
initialState: {
comments: initialCommentState,
workItem: initialDetailWIState
}
}),
EffectsModule.forFeature([
CommentEffects,
DetailWorkItemEffects
])
],
providers: [
UserMapper,
UrlService,
BsDropdownConfig,
AuthenticationService,
TooltipConfig
],
declarations: [
WorkItemDetailComponent
],
exports: [
WorkItemDetailComponent
]
},] },
];
/** @nocollapse */
WorkItemDetailModule.ctorParameters = function () { return []; };
return WorkItemDetailModule;
}());
export { WorkItemDetailModule };
//# sourceMappingURL=work-item-detail.module.js.map