sdk-textbox
Version:
Simple to use (Angular) textbox for controlling input while typing.
63 lines (62 loc) • 3.48 kB
TypeScript
import { ElementRef, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class SDKTextboxComponent {
/**************************************************************************
* Input/Output Parameters
**************************************************************************/
validCharacters: string;
value: string;
hint: string;
pattern: string;
locale: string;
multiLine: boolean;
border: string | undefined;
padding: string | undefined;
margin: string | undefined;
height: string | undefined;
width: string | undefined;
style: string | undefined;
class: string | undefined;
disableSuggestions: boolean;
showCalendarIcon: boolean;
calHeight: string;
calWidth: string;
calFontSize: string;
focus: boolean;
blurCallBackEvent: EventEmitter<any>;
changeCallBackEvent: EventEmitter<any>;
enterCallBackEvent: EventEmitter<any>;
/**************************************************************************
* Component Variables
**************************************************************************/
component: ElementRef | undefined;
text: ElementRef | undefined;
calendar: ElementRef | undefined;
protected calendarDate: string;
protected showCalendar: boolean;
protected lockCalendar: boolean;
private pArray;
private fArray;
protected ngOnInit(): void;
protected ngAfterViewInit(): void;
protected onKeyDown(event: any): void;
protected onBlur(event: any): void;
protected onInput(event: any): void;
protected onCut(event: any): void;
protected onPaste(event: any): void;
protected showComponent(event: any): void;
protected setDate(date: any): void;
private setNumericText;
private setCalendarText;
private setEmailText;
private setLatitude;
private setLongitude;
private setCustomText;
private removeSelection;
private cleanText;
private formatText;
private createPattern;
private encodeText;
static ɵfac: i0.ɵɵFactoryDeclaration<SDKTextboxComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SDKTextboxComponent, "sdk-textbox", never, { "validCharacters": { "alias": "validCharacters"; "required": false; }; "value": { "alias": "value"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "multiLine": { "alias": "multiLine"; "required": false; }; "border": { "alias": "border"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "style": { "alias": "style"; "required": false; }; "class": { "alias": "class"; "required": false; }; "disableSuggestions": { "alias": "disableSuggestions"; "required": false; }; "showCalendarIcon": { "alias": "showCalendarIcon"; "required": false; }; "calHeight": { "alias": "calHeight"; "required": false; }; "calWidth": { "alias": "calWidth"; "required": false; }; "calFontSize": { "alias": "calFontSize"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; }, { "blurCallBackEvent": "blurCallBackEvent"; "changeCallBackEvent": "changeCallBackEvent"; "enterCallBackEvent": "enterCallBackEvent"; }, never, never, true, never>;
}