UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

128 lines (127 loc) 5.5 kB
import { OnInit, ElementRef, EventEmitter } from '@angular/core'; import { TelephoneNo } from '../../../../../component/model/TelephoneNo'; import { IHasData } from '../../../../../component/IHasData'; import { AbstractHasFormatterInputDataView } from '../../../../../component/dataview/input/AbstractHasFormatterInputDataView'; import { DefaultSelectItemModel } from '../../../../../component/model/DefaultSelectItemModel'; import { ValidationResult } from '../../../../../component/model/ValidationResult'; import { NeedFocusService } from '../../../../../service/NeedFocusService.service'; import { CountryCodeService } from '../../../../../service/CountryCodeService.service'; import { MaterialSimpleDropdownList } from './MaterialSimpleDropdownList.component'; import { MaterialTextBox } from './MaterialTextBox.component'; import { IFormatter } from '../../../../../share/formatter/IFormatter'; import { FormatterFactory } from '../../../../../service/FormatterFactory.service'; import { FormControl } from '@angular/forms'; export declare class MaterialTelNoTextBox extends AbstractHasFormatterInputDataView implements OnInit { static readonly TYPE_NAME: string; protected dataParent: IHasData; protected ignoreParentData: boolean; protected data: any; protected ignoreParentDisabled: boolean; protected delegateHistory: boolean; protected onDisabled: Function; protected onEnabled: Function; protected loadingEnabled: boolean; protected i18nKey: string; protected bypass: boolean; protected options: any; protected disabled: boolean; protected field: string; protected name: string; protected typeOfData: string; protected readOnly: boolean; protected help: any; protected formatter: IFormatter; protected formatterName: string; protected formatterOptions: any; protected formatterUsePropertyValue: boolean; private label; private countryCodeLabel; private extLabel; private countryCodeWidth; private subscriberNoWidth; private extNoWidth; private description; private countryCodeItems; private countryCodeField; private subscriberNoField; private extNoField; private loadCountryCode; private showCountryCode; private showExtNo; protected subscriberType: string; protected extNoType: string; formControl: FormControl; protected loadEvent: EventEmitter<any>; protected startValidateEvent: EventEmitter<any>; protected endValidateEvent: EventEmitter<any>; protected beforeFocusEvent: EventEmitter<any>; protected focusEvent: EventEmitter<any>; protected beforeLostFocusEvent: EventEmitter<any>; protected lostFocusEvent: EventEmitter<any>; protected beforeChangeEvent: EventEmitter<any>; protected changeEvent: EventEmitter<any>; private countryCodeDropdown; private subscriberNoTxt; private extNoTxt; private countryCodeService; private _active; constructor(elementRef: ElementRef, formatterFactory: FormatterFactory, needFocusService: NeedFocusService, countryCodeService: CountryCodeService); ngOnInit(): void; _getCountryCodeData(): any; _getSubsctiberNoData(): any; _getExtNoData(): any; _isActive(): boolean; onValueChanged($event: Event): void; onBeforeValueChanged($event: Event): void; isSelfDataDirty(): boolean; selfSaveData(data: any): void; selfResetData(): void; protected onValidationEnd(inputValue: any, results: ValidationResult[]): void; protected onDataChange(data: any, inputVal: any): void; protected doFocus($event: Event): void; protected doLostFocus($event: Event): void; getCountryCodeDropdown(): MaterialSimpleDropdownList; getSubscriberNoTextBox(): MaterialTextBox; getExtNoTextBox(): MaterialTextBox; getLabel(): string; setLabel(label: string): void; getCountryCodeLabel(): string; setCountryCodeLabel(countryCodeLabel: string): void; getExtLabel(): string; setExtLabel(extLabel: string): void; getCountryCodeWidth(): string; setCountryCodeWidth(countryCodeWidth: string): void; getSubscriberNoWidth(): string; setSubscriberNoWidth(subscriberNoWidth: string): void; getExtNoWidth(): string; setExtNoWidth(extNoWidth: string): void; getDescription(): string; setDescription(description: string): void; getCountryCodeItems(): DefaultSelectItemModel[]; setCountryCodeItems(countryCodeItems: DefaultSelectItemModel[]): void; getCountryCodeField(): string; setCountryCodeFIeld(countryCodeField: string): void; getSubscriberNoField(): string; setSubscriberNoField(subscriberNoField: string): void; getExtNoField(): string; setExtNoField(extNoField: string): void; isLoadCountryCode(): boolean; setLoadCountryCode(loadCountryCode: boolean): void; isShowCountryCode(): boolean; setShowCountryCode(showCountryCode: boolean): void; isShowExtNo(): boolean; setShowExtNo(showExtNo: boolean): void; setSubscriberType(subscriberType: string): void; getSubscriberType(): string; setExtNoType(extNoType: string): void; getExtNoType(): string; getCountryCode(): string; setCountryCode(countryCode: string): void; test($event: any): any; getSubscriberNo(): string; setSubscriberNo(subscriberNo: string): void; getExtNo(): string; setExtNo(extNo: string): void; getTelephoneNo(): TelephoneNo; setTelephoneNo(telNo: TelephoneNo): void; }