signal-template-forms
Version:
A powerful, type-safe Angular forms library built with signals, providing reactive form management with excellent developer experience and performance.
15 lines (14 loc) • 707 B
TypeScript
import { type RoleAttributes, type SignalFormField } from '../models/signal-form.model';
import * as i0 from "@angular/core";
export declare class FieldRoleAttributesService {
getAttributesForField<TModel extends object, K extends keyof TModel = keyof TModel>(field: SignalFormField<TModel, K>): RoleAttributes;
private getBaseAttributes;
/**
* Generates intelligent default placeholders based on field type and name
*/
private getPlaceholder;
private getRoleSpecificAttributes;
private getTypeSpecificAttributes;
static ɵfac: i0.ɵɵFactoryDeclaration<FieldRoleAttributesService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<FieldRoleAttributesService>;
}