import { Component } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgSelectModule } from '@ng-select/ng-select';
import { TranslateModule } from '@ngx-translate/core';
import { pageSizeOptions } from '../../utils/app.constants';
import { CommonModule } from '@angular/common';
import { ButtonManagementService } from '../../services/button-management.service';

@Component({
  selector: 'app-ib-unblock-user',
  imports: [TranslateModule, FormsModule, NgSelectModule, CommonModule, ReactiveFormsModule],
  templateUrl: './ib-unblock-user.component.html',
  styleUrl: './ib-unblock-user.component.scss'
})
export class IbUnblockUserComponent {
  renewalDataExpanded: boolean = true
  itemsPerPage: number = 5;
  pageSizeOptions = pageSizeOptions
  optionValue: any;
  buttonPermissions: any;


  constructor(
    private buttonManagementService: ButtonManagementService
  ){}

  ngOnInit(){
    this.getButtonPermissions();
  }
  
  itemsPerPageChanged() {}

  getButtonPermissions() {
    this.buttonPermissions = this.buttonManagementService.buttonPermissions["ibUnblockUser"];
  }

}
