import { Component } from '@angular/core';
import { ObjectListComponent as BaseComponent } from '../../../../../app/shared/object-list/object-list.component';
import { PaginationComponent } from '../../../../../app/shared/pagination/pagination.component';
import { NgClass, NgFor, NgIf } from '@angular/common';
import {
  SelectableListItemControlComponent
} from '../../../../../app/shared/object-collection/shared/selectable-list-item-control/selectable-list-item-control.component';
import {
  ImportableListItemControlComponent
} from '../../../../../app/shared/object-collection/shared/importable-list-item-control/importable-list-item-control.component';
import {
  ListableObjectComponentLoaderComponent
} from '../../../../../app/shared/object-collection/shared/listable-object/listable-object-component-loader.component';
import { BrowserOnlyPipe } from '../../../../../app/shared/utils/browser-only.pipe';

/**
 * A component to display the "Browse By" section of a Community or Collection page
 * It expects the ID of the Community or Collection as input to be passed on as a scope
 */
@Component({
  selector: 'ds-object-list',
  // styleUrls: ['./object-list.component.scss'],
  styleUrls: ['../../../../../app/shared/object-list/object-list.component.scss'],
  // templateUrl: './object-list.component.html'
  templateUrl: '../../../../../app/shared/object-list/object-list.component.html',
  imports: [
    PaginationComponent, NgIf, NgClass, NgFor, SelectableListItemControlComponent,
    ImportableListItemControlComponent, ListableObjectComponentLoaderComponent, BrowserOnlyPipe
  ],
  standalone: true
})

export class ObjectListComponent extends BaseComponent {}
