Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-05-07 23:28:12 +03:30
parent b2a1eb8e5b
commit ce40bd8c75
54 changed files with 260 additions and 183 deletions
@@ -0,0 +1,13 @@
import { Component, Input } from '@angular/core';
import { FormControl, ReactiveFormsModule } from '@angular/forms';
@Component({
selector: 'abstract-field',
template: '',
imports: [ReactiveFormsModule],
})
export abstract class AbstractFieldComponent<T = string> {
@Input({ required: true }) control!: FormControl<T>;
@Input({ required: true }) name!: string;
@Input({ required: true }) label!: string;
}