import { AsyncPipe } from '@angular/common';
import {
  ChangeDetectionStrategy,
  Component,
} from '@angular/core';

import {
  MyDSpaceConfigurationService,
  SEARCH_CONFIG_SERVICE,
} from '../../../../app/my-dspace-page/my-dspace-configuration.service';
import { MyDSpaceNewSubmissionComponent } from '../../../../app/my-dspace-page/my-dspace-new-submission/my-dspace-new-submission.component';
import { MyDSpacePageComponent as BaseComponent } from '../../../../app/my-dspace-page/my-dspace-page.component';
import { MyDspaceQaEventsNotificationsComponent } from '../../../../app/my-dspace-page/my-dspace-qa-events-notifications/my-dspace-qa-events-notifications.component';
import { SuggestionsNotificationComponent } from '../../../../app/notifications/suggestions/notification/suggestions-notification.component';
import { pushInOut } from '../../../../app/shared/animations/push';
import { RoleDirective } from '../../../../app/shared/roles/role.directive';
import { ThemedSearchComponent } from '../../../../app/shared/search/themed-search.component';

@Component({
  selector: 'ds-themed-my-dspace-page',
  // styleUrls: ['./my-dspace-page.component.scss'],
  styleUrls: ['../../../../app/my-dspace-page/my-dspace-page.component.scss'],
  // templateUrl: './my-dspace-page.component.html',
  templateUrl: '../../../../app/my-dspace-page/my-dspace-page.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush,
  animations: [pushInOut],
  providers: [
    {
      provide: SEARCH_CONFIG_SERVICE,
      useClass: MyDSpaceConfigurationService,
    },
  ],
  standalone: true,
  imports: [
    AsyncPipe,
    MyDSpaceNewSubmissionComponent,
    MyDspaceQaEventsNotificationsComponent,
    RoleDirective,
    SuggestionsNotificationComponent,
    ThemedSearchComponent,
  ],
})
export class MyDSpacePageComponent extends BaseComponent {
}
