import * as i0 from '@angular/core'; import { EventEmitter, ElementRef } from '@angular/core'; import * as i7 from '@angular/forms'; import { ControlValueAccessor } from '@angular/forms'; import * as i4 from '@obliczeniowo/elementary/input'; import { InputWrappersDefaultSettingsService } from '@obliczeniowo/elementary/input'; import * as i3 from '@angular/common'; import * as i5 from '@obliczeniowo/elementary/icons'; import * as i6 from '@obliczeniowo/elementary/buttons'; import * as i8 from '@obliczeniowo/elementary/animations'; type EditInputType = 'text' | 'number' | 'password'; interface EditInputFormValue { value: string; type?: EditInputType; label?: string; } declare class EditInputComponent implements ControlValueAccessor { private readonly settings; _value: string; set value(value: string); get value(): string; label: string; /** * Enable type text animation for label */ labelAnimation: boolean; /** * Mode when true it's in edit state, other way it's in display only */ mode: boolean; disabled?: any; editOnly: boolean; /** * min value for number input */ min: i0.InputSignal; /** * max value for number input */ max: i0.InputSignal; /** * Style of displayed input */ display: i0.InputSignal<"none" | "outlined" | "underlined">; formatter: i0.InputSignal<(value: string | number) => string | number>; type: EditInputType; changed: EventEmitter<{ text: string; numeric?: number; }>; input?: ElementRef; current: string; constructor(settings: InputWrappersDefaultSettingsService); setValue(event: any): void; save(): void; cancel(): void; onEdit(): void; onChange: (value: EditInputFormValue) => void; onTouched: () => void; writeValue(value: EditInputFormValue): void; registerOnChange(onChange: any): void; registerOnTouched(onTouched: any): void; setDisabledState(disabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EditTextareaComponent implements ControlValueAccessor { private readonly settings; _value: string; set value(value: string); get value(): string; label: string; /** * Enable type text animation for label */ labelAnimation: boolean; mode: boolean; disabled: boolean; changed: EventEmitter; textarea?: ElementRef; current: string; constructor(settings: InputWrappersDefaultSettingsService); setValue(event: any): void; save(): void; cancel(): void; onChange: (value: { value: string; label?: string; }) => void; onTouched: () => void; writeValue(value: { value: string; label?: string; }): void; registerOnChange(onChange: any): void; registerOnTouched(onTouched: any): void; setDisabledState(disabled: boolean): void; onEdit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EditsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { EditInputComponent, EditTextareaComponent, EditsModule }; export type { EditInputFormValue, EditInputType };