// import { Maybe } from '@/core';
// import { UikitFieldComponent } from '@/uikit';
// import { Component, EventEmitter, Input, model, Output, signal } from '@angular/core';
// import { FormControl, ReactiveFormsModule } from '@angular/forms';
// import { Button } from 'primeng/button';
// import { Select } from 'primeng/select';
// import { Observable } from 'rxjs';

// export interface ISelectItem {
//   id: number;
//   name: string;
// }

// @Component({
//   selector: 'uikit-select-field',
//   templateUrl: 'select-field.component.html',
//   imports: [UikitFieldComponent, Select, Button, ReactiveFormsModule],
// })
// export class SelectComponent<T = ISelectItem, serviceResponse = T[]> extends AbstractSelectComponent<T, serviceResponse> {
//   @Input() control = new FormControl<Maybe<number | T>>(null);
//   @Input() canInsert: boolean = false;
//   @Input() showLabel: boolean = true;
//   @Input() showErrors: boolean = true;
//   @Input() showClear: boolean = true;
//   @Input() isFullDataOptionValue: boolean = false;
//   @Input() optionValue = 'id';
//   @Input() optionLabel: string = 'name';
//   @Input() label!: string;
//   @Input() placeholder!: string;
//   @Input() addCtaLabel: string = 'ایجاد مورد';
//   @Output() onChange = new EventEmitter<Maybe<T>>();
//   @Output() onSetDefaultDataItem = new EventEmitter<T>();
// }
