@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
50 lines (49 loc) • 1.81 kB
TypeScript
import { AfterViewInit, OnInit } from '@angular/core';
import { TccInputMask } from '../../models/inputMask.model';
import { MatDialogRef } from '@angular/material/dialog';
import { TccInputMaskComponent } from '../tcc-input-mask/tcc-input-mask.component';
import { TccKeyValuePair, TccTranslation } from '../../../odata/models/shared.model';
import { TccLanguageDefinition } from '../../languages.token';
import { TccLibIcons } from '../../classes/tcc-register-icons.class';
export declare namespace TccCreateListDialog {
interface Data {
Types: TccKeyValuePair[];
Element: TccTranslation;
ActiveType?: string;
Title: string;
HasValue?: boolean;
Value?: string;
}
}
export declare class TccCreateListDialogComponent implements OnInit, AfterViewInit {
dialogRef: MatDialogRef<TccCreateListDialogComponent, {
Element: TccTranslation;
Type: string;
Key: string;
}>;
private data;
private _languages;
inputMask: TccInputMaskComponent;
headerText: string;
private languagesArray;
private selectedLanguages;
private lastShownRow;
inputElements: TccInputMask.SectionElements;
inputOptions: TccInputMask.options;
LibIcons: typeof TccLibIcons.Icon;
constructor(dialogRef: MatDialogRef<TccCreateListDialogComponent, {
Element: TccTranslation;
Type: string;
Key: string;
}>, data: TccCreateListDialog.Data, _languages: Array<TccLanguageDefinition>);
ngOnInit(): void;
ngAfterViewInit(): void;
private setLanguageList;
private setInitValues;
onChangeValue(event: TccInputMask.eventOutput): void;
private setAllSelections;
private showNextRow;
private addRow;
private getTranslationReturnVal;
close(result: boolean): void;
}