/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ClaimedTaskActionsApproveComponent } from './claimed-task/approve/claimed-task-actions-approve.component';
import { ClaimedTaskActionsRejectComponent } from './claimed-task/reject/claimed-task-actions-reject.component';
import { ClaimedTaskActionsReturnToPoolComponent } from './claimed-task/return-to-pool/claimed-task-actions-return-to-pool.component';
import { ClaimedTaskActionsEditMetadataComponent } from './claimed-task/edit-metadata/claimed-task-actions-edit-metadata.component';
import { ClaimedTaskActionsComponent } from './claimed-task/claimed-task-actions.component';
import { ClaimedTaskActionsLoaderComponent } from './claimed-task/switcher/claimed-task-actions-loader.component';
import { ItemActionsComponent } from './item/item-actions.component';
import { PoolTaskActionsComponent } from './pool-task/pool-task-actions.component';
import { WorkflowitemActionsComponent } from './workflowitem/workflowitem-actions.component';
import { WorkspaceitemActionsComponent } from './workspaceitem/workspaceitem-actions.component';

const ENTRY_COMPONENTS = [
  ClaimedTaskActionsApproveComponent,
  ClaimedTaskActionsRejectComponent,
  ClaimedTaskActionsReturnToPoolComponent,
  ClaimedTaskActionsEditMetadataComponent,
];

const DECLARATIONS = [
  ...ENTRY_COMPONENTS,
  ClaimedTaskActionsComponent,
  ClaimedTaskActionsLoaderComponent,
  ItemActionsComponent,
  PoolTaskActionsComponent,
  WorkflowitemActionsComponent,
  WorkspaceitemActionsComponent,
];

/**
 * This module contains Item actions used in MyDSpace
 */
@NgModule({
    imports: [
        CommonModule,
        ...DECLARATIONS
    ],
    providers: [
        ...ENTRY_COMPONENTS,
    ],
    exports: [
        ...DECLARATIONS,
    ]
})
export class MyDSpaceActionsModule {

}
