@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
42 lines (41 loc) • 1.64 kB
TypeScript
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
import { UntypedFormControl } from '@angular/forms';
import { EmptyStatement } from 'typescript';
import { TccTranslation } from '../../../odata/models/shared.model';
import { TccInputMask } from '../../models/inputMask.model';
import { MatDialog } from '@angular/material/dialog';
import { TccAuthService } from '../../../odata/services/tcc-auth/tcc-auth.service';
export declare class TccTranslationElementComponent implements OnInit {
private dialog;
private authService;
translationInput: ElementRef<HTMLInputElement | HTMLTextAreaElement>;
set element(data: TccInputMask._DisplayTranslationElement);
set value(value: TccTranslation);
notificationClasses: string;
form: UntypedFormControl;
set check(val: any);
valueChange: EventEmitter<EmptyStatement>;
valueChangeExtended: EventEmitter<EmptyStatement>;
focusEvent: EventEmitter<EmptyStatement>;
_element: TccInputMask._DisplayTranslationElement;
visibleClass: string;
customClasses: string;
colorClasses: string;
sizeClasses: string;
submitted: boolean;
translationLength: number;
hasTranslation: boolean;
translation: TccTranslation;
constructor(dialog: MatDialog, authService: TccAuthService);
ngOnInit(): void;
get value(): TccTranslation;
openTranslationDialog(): void;
private setChangedValue;
changeEvent(): void;
changeEventExtended(): void;
_focusEvent(): void;
focusOutEvent(event: any): void;
onNotificationClick(): void;
focus(): void;
setReadonly(readonly: boolean): void;
}