@alauda-fe/common
Version:
Alauda frontend team common codes.
25 lines (24 loc) • 1.13 kB
TypeScript
import { InputComponent } from '@alauda/ui';
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class EditableTextComponent implements AfterViewChecked {
private readonly cdr;
textInput: InputComponent;
textPlaceholder: ElementRef<HTMLDivElement>;
set value(val: string);
isAllowed: boolean;
textChange: EventEmitter<string>;
editMode: boolean;
inputEl: HTMLInputElement;
inputHeight$$: BehaviorSubject<string>;
focused: boolean;
textModel: string;
constructor(cdr: ChangeDetectorRef);
modelChange(text: string): void;
edit(): void;
blur(): void;
ngAfterViewChecked(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<EditableTextComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<EditableTextComponent, "acl-editable-text", never, { "value": { "alias": "value"; "required": false; }; "isAllowed": { "alias": "isAllowed"; "required": false; }; }, { "textChange": "textChange"; }, never, never, false, never>;
}