@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
37 lines (36 loc) • 1.54 kB
TypeScript
import { ElementRef } from '@angular/core';
import { displayFullFieldElement } from '../../tcc-abstract-display-element';
import { TccInputMask } from '../../../../models/inputMask.model';
import { TccTranslationElementComponent } from '../../../tcc-translation-element/tcc-translation-element.component';
import { TccTranslation } from '../../../../../odata/models/shared.model';
import { TccTranslationPipe } from '../../../../pipes/tcc-translation/tcc-translation.pipe';
export declare class TccTranslationInputElementComponent extends displayFullFieldElement {
private translationPipe;
activeElement: TccTranslationElementComponent;
set element(element: TccInputMask._DisplayTranslationElement);
background: string;
_element: TccInputMask._DisplayTranslationElement;
copiedElement: TccInputMask._DisplayTranslationElement;
_value: TccTranslation;
_default: TccTranslation;
private _longTranslation;
constructor(translationPipe: TccTranslationPipe, elementRef: ElementRef);
/**
* get the value of the element
*
* @returns element.value
*/
_getValue(onlyChanged?: boolean): TccTranslation;
refresh(): void;
verify(): boolean;
focus(): void;
protected changeElement(): void;
protected onSetElement(): void;
protected onSetForm(): void;
setValue(value: TccInputMask.ValueUnion, options?: {
setValueChange?: boolean;
emitChangeEvent?: boolean;
index?: number;
}): void;
setReadonly(readonly: boolean): void;
}