UNPKG

smart-webcomponents-angular

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

79 lines (78 loc) 4.63 kB
import { PasswordInput } from './../index'; import { AfterViewInit, ElementRef, OnInit, OnChanges, OnDestroy, SimpleChanges, EventEmitter } from '@angular/core'; import { BaseElement } from './smart.element'; import * as i0 from "@angular/core"; export { ElementRenderMode } from './../index'; export { Smart } from './smart.element'; export { PasswordInput } from './../index'; export declare class PasswordInputComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges { constructor(ref: ElementRef<PasswordInput>); private eventHandlers; nativeElement: PasswordInput; /** @description Creates the component on demand. * @param properties An optional object of properties, which will be added to the template binded ones. */ createComponent(properties?: {}): any; /** @description Enables or disables the element. */ get disabled(): boolean; set disabled(value: boolean); /** @description Sets or gets the license which unlocks the product. */ get license(): string; set license(value: string); /** @description Sets or gets the language. Used in conjunction with the property messages. */ get locale(): string; set locale(value: string); /** @description Callback used to customize the format of the messages that are returned from the Localization Module. */ get localizeFormatFunction(): any; set localizeFormatFunction(value: any); /** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */ get messages(): any; set messages(value: any); /** @description Determines the minimum number of characters inside the input in order to trigger the autocomplete functionality that will open the drop down and show the matched items. */ get minLength(): number; set minLength(value: number); /** @description Sets or gets the name attribute for the element. Name is used when submiting data inside an HTML form. */ get name(): string; set name(value: string); /** @description Determines the placeholder of the input. */ get placeholder(): string; set placeholder(value: string); /** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */ get rightToLeft(): boolean; set rightToLeft(value: boolean); /** @description Determines the theme for the element. Themes define the look of the elements. */ get theme(): string; set theme(value: string); /** @description If is set to true, the element cannot be focused. */ get unfocusable(): boolean; set unfocusable(value: boolean); /** @description Sets or gets the value of the element. */ get value(): string; set value(value: string); /** @description This event is triggered when the value is changed and the focus moved out of the element. * @param event. The custom event. Custom event was created with: event.detail( oldValue, value) * oldValue - The previous value. * value - The new value. */ onChange: EventEmitter<CustomEvent>; /** @description This event is triggered on each key up event of the PasswordInput, if the value is changed. * @param event. The custom event. Custom event was created with: event.detail( oldValue, value) * oldValue - The previous value before it was changed. * value - The new value. */ onChanging: EventEmitter<CustomEvent>; /** @description Selects the text inside the input or if it is readonly then the element is focused. */ select(): void; get isRendered(): boolean; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; /** @description Add event listeners. */ private listen; /** @description Remove event listeners. */ private unlisten; static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputComponent, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordInputComponent, "smart-password-input, [smart-password-input]", ["smart-password-input"], { "disabled": "disabled"; "license": "license"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "minLength": "minLength"; "name": "name"; "placeholder": "placeholder"; "rightToLeft": "rightToLeft"; "theme": "theme"; "unfocusable": "unfocusable"; "value": "value"; }, { "onChange": "onChange"; "onChanging": "onChanging"; }, never>; }