|
|
|
@ -24,6 +24,12 @@ import {UntilDestroyedMixin} from "core-app/helpers/angular/until-destroyed.mixi |
|
|
|
|
import {QueryResource} from "core-app/modules/hal/resources/query-resource"; |
|
|
|
|
import {Ng2StateDeclaration} from "@uirouter/angular"; |
|
|
|
|
import {BoardFiltersService} from "core-app/modules/boards/board/board-filter/board-filters.service"; |
|
|
|
|
import {WorkPackageViewHandlerToken} from "core-app/modules/work_packages/routing/wp-view-base/event-handling/event-handler-registry"; |
|
|
|
|
import {CardViewHandlerRegistry} from "core-components/wp-card-view/event-handler/card-view-handler-registry"; |
|
|
|
|
|
|
|
|
|
export function boardCardViewHandlerFactory(injector:Injector) { |
|
|
|
|
return new CardViewHandlerRegistry(injector); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
|
|
templateUrl: '/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html', |
|
|
|
@ -34,6 +40,7 @@ import {BoardFiltersService} from "core-app/modules/boards/board/board-filter/bo |
|
|
|
|
providers: [ |
|
|
|
|
DragAndDropService, |
|
|
|
|
BoardFiltersService, |
|
|
|
|
{ provide: WorkPackageViewHandlerToken, useFactory: boardCardViewHandlerFactory, deps: [Injector] }, |
|
|
|
|
] |
|
|
|
|
}) |
|
|
|
|
export class BoardPartitionedPageComponent extends UntilDestroyedMixin { |
|
|
|
|