UNPKG

signal-template-forms

Version:

A powerful, type-safe Angular forms library built with signals, providing reactive form management with excellent developer experience and performance.

26 lines (25 loc) 1.23 kB
import { FormFieldType } from '../../../enums/form-field-type.enum'; import * as i0 from "@angular/core"; /** * Maps form field types to appropriate skeleton UI */ export declare class FormFieldSkeletonMapperComponent { /** * The form field type to create skeleton for */ fieldType: import("@angular/core").InputSignal<FormFieldType>; /** * The field name for accessibility */ fieldName: import("@angular/core").InputSignal<string>; /** * Computed skeleton type based on field type */ protected skeletonType: import("@angular/core").Signal<"checkbox" | "file" | "multiselect" | "rating" | "select" | "slider" | "textarea" | "input" | "radio-group">; /** * Whether this is a checkbox-style field */ protected isCheckboxType: import("@angular/core").Signal<boolean>; static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSkeletonMapperComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSkeletonMapperComponent, "form-field-skeleton-mapper", never, { "fieldType": { "alias": "fieldType"; "required": true; "isSignal": true; }; "fieldName": { "alias": "fieldName"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; }