import { Component, EventEmitter, Input, Output } from '@angular/core';
import { DonutChartConfig } from '@red/domain';
import { CircleButtonComponent } from '@iqser/common-ui';
import { TranslateModule } from '@ngx-translate/core';
import { DonutChartComponent } from '@shared/components/donut-chart/donut-chart.component';

@Component({
    selector: 'redaction-users-stats',
    templateUrl: './users-stats.component.html',
    styleUrls: ['./users-stats.component.scss'],
    standalone: true,
    imports: [CircleButtonComponent, TranslateModule, DonutChartComponent],
})
export class UsersStatsComponent {
    @Output() toggleCollapse = new EventEmitter();
    @Input() chartConfig: DonutChartConfig[];
}
