import { Component } from '@angular/core';
import { PageTitle } from '@app/components/page-title/page-title';
import { MerchantsList } from './list/list';
import { MerchantsConfig } from './config/config';
import { MerchantsHistory } from './history/history';

@Component({
  selector: 'app-merchants',
  imports: [PageTitle, 
    //MerchantsList, 
    //MerchantsConfig, 
    //MerchantsHistory
    ],
  templateUrl: './merchants.html',
})
export class Merchants {
  activeView: string = 'list';
  selectedMerchantId: string = '';

  setActiveView(view: string, merchantId?: string) {
    this.activeView = view;
    this.selectedMerchantId = merchantId || '';
  }
}