@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
32 lines (31 loc) • 1.12 kB
TypeScript
import { MatDialogRef } from '@angular/material/dialog';
import { TccLibIcons } from '../../classes/tcc-register-icons.class';
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
import { CdkDragDrop } from '@angular/cdk/drag-drop';
export declare namespace TccCreateSimpleListDialog {
interface Data {
Elements: string[];
Title: string;
InputLabel: string;
}
}
export declare class TccCreateSimpleListDialogComponent {
dialogRef: MatDialogRef<TccCreateSimpleListDialogComponent, string[]>;
private fb;
private data;
headerText: string;
LibIcons: typeof TccLibIcons.Icon;
inputElements: {
id: string;
name: string;
value?: string;
}[];
form: UntypedFormGroup;
constructor(dialogRef: MatDialogRef<TccCreateSimpleListDialogComponent, string[]>, fb: UntypedFormBuilder, data: TccCreateSimpleListDialog.Data);
private setValues;
addElement(): void;
drop(event: CdkDragDrop<string[]>): void;
private getResult;
deleteHitListItem(inputElementId: string): void;
close(result: boolean): void;
}