2020-06-15 13:18:22 +02:00
|
|
|
import { Component } from '@angular/core'
|
2024-03-04 10:01:52 +01:00
|
|
|
import { BatchDomainsModalComponent } from '../../../shared/shared-moderation/batch-domains-modal.component'
|
|
|
|
import { NgIf, DatePipe } from '@angular/common'
|
|
|
|
import { AutoColspanDirective } from '../../../shared/shared-main/angular/auto-colspan.directive'
|
|
|
|
import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap'
|
|
|
|
import { AdvancedInputFilterComponent } from '../../../shared/shared-forms/advanced-input-filter.component'
|
|
|
|
import { SharedModule } from 'primeng/api'
|
|
|
|
import { TableModule } from 'primeng/table'
|
|
|
|
import { GlobalIconComponent } from '../../../shared/shared-icons/global-icon.component'
|
2024-03-05 09:30:12 +01:00
|
|
|
import { GenericServerBlocklistComponent } from '@app/shared/shared-moderation/server-blocklist.component'
|
|
|
|
import { BlocklistComponentType } from '@app/shared/shared-moderation/blocklist.service'
|
2018-10-15 16:43:14 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'my-instance-server-blocklist',
|
2020-06-23 14:10:17 +02:00
|
|
|
styleUrls: [ '../../../shared/shared-moderation/server-blocklist.component.scss' ],
|
2024-03-04 10:01:52 +01:00
|
|
|
templateUrl: '../../../shared/shared-moderation/server-blocklist.component.html',
|
|
|
|
standalone: true,
|
|
|
|
imports: [
|
|
|
|
GlobalIconComponent,
|
|
|
|
TableModule,
|
|
|
|
SharedModule,
|
|
|
|
AdvancedInputFilterComponent,
|
|
|
|
NgbTooltip,
|
|
|
|
AutoColspanDirective,
|
|
|
|
NgIf,
|
|
|
|
BatchDomainsModalComponent,
|
|
|
|
DatePipe
|
|
|
|
]
|
2018-10-15 16:43:14 +02:00
|
|
|
})
|
2020-06-15 13:18:22 +02:00
|
|
|
export class InstanceServerBlocklistComponent extends GenericServerBlocklistComponent {
|
|
|
|
mode = BlocklistComponentType.Instance
|
2018-10-15 16:43:14 +02:00
|
|
|
|
2020-04-08 10:49:26 +02:00
|
|
|
getIdentifier () {
|
|
|
|
return 'InstanceServerBlocklistComponent'
|
|
|
|
}
|
2018-10-15 16:43:14 +02:00
|
|
|
}
|