truly-ui
Version:
Web Components for Desktop Applications.
73 lines (72 loc) • 2.66 kB
TypeScript
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
import { TlInput } from '../input/input';
import { DialogService } from '../dialog/dialog.service';
import { TlDropDownList } from '../dropdownlist/dropdownlist';
import { TlRadioGroup } from '../radiobutton/radiogroup';
import { TlCheckBox } from '../checkbox/checkbox';
export declare class TlForm implements AfterViewInit, OnDestroy, OnInit {
private renderer;
private dialogService;
private cdr;
initialFocus: any;
showConfirmOnChange: boolean;
messageDialogConfirmation: string;
inputList: QueryList<TlInput>;
dropdownList: QueryList<TlDropDownList>;
radioButtonList: QueryList<TlRadioGroup>;
checkboxList: QueryList<TlCheckBox>;
buttonFormOk: any;
buttonFormCancel: any;
content: any;
private dialogOpen;
private validForm;
private lastTabIndex;
private lastActiveElement;
private formResult;
private focusElements;
private elementsWithTabIndex;
private componentsWithValidations;
private listeners;
constructor(renderer: Renderer2, dialogService: DialogService, cdr: ChangeDetectorRef);
ngOnInit(): void;
ngAfterViewInit(): void;
listenButtonFormOK(): void;
listenButtonFormCancel(): void;
listenComponentWithValidations(): void;
getComponentsWithValidations(): void;
getElementsOfForm(): void;
validateElements(): void;
addButtonsOfFormToListElements(): void;
handleTabIndexComponentsOfForm(): void;
setTabIndex(element: any): void;
isLastTabIndexElement(element: any, index: any, array: any): void;
generateTabIndexOfElements(): void;
getElementsWithTabIndex(): void;
validateDuplicatedTabIndex(element: any): void;
validateTabIndexByElements(): void;
notExistTabIndexInserted(): boolean;
existTabIndexInserted(element: any): boolean;
orderElements(): void;
handleKeysForm($event: KeyboardEvent): void;
backwardTabbing(): any;
forwardTabbing(): any;
isLastTabIndexOfForm(): boolean;
isFirstTabIndexOfForm(): boolean;
isElementDisabled(element: any): any;
setInitialFocus(): void;
setFocusOK(): void;
setFocusCancel(): void;
setFocusOnFirstInput(): void;
isActiveElementButtonOk(): boolean;
isActiveElementButtonCancel(): boolean;
getLastActiveElement(): void;
inputHasChanged(): boolean;
closeForm(): void;
showConfirmation(): void;
getInputValues(): void;
getDropdownListValues(): void;
getRadioButtonValues(): void;
getCheckBoxValues(): void;
hasValueOnForm(): any;
ngOnDestroy(): void;
}