UNPKG

kwikui

Version:

KwikID's UI Component Library in Angular

50 lines (49 loc) 2.2 kB
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { ControlValueAccessor, FormControl, FormGroup } from "@angular/forms"; import { Subscription } from "rxjs"; import { TKwikUIInputCurrencyType, TKwikUIInputCurrencySize } from "./input-currency.definitions"; import * as i0 from "@angular/core"; export declare class KwikUIInputCurrencyComponent implements OnInit, OnChanges, ControlValueAccessor { currencyType: TKwikUIInputCurrencyType; disabled: boolean; focus: boolean; formControl: FormControl; formControlName: string; hintContent: string; icon: string; id: string; invalid: boolean; label: string; placeholder: string; postfix: string; prefix: string; properties: { readOnly: boolean; }; size: TKwikUIInputCurrencySize; validators: { required: boolean; }; value: string | number; getKeyValue: EventEmitter<any>; currentValue: string; formGroup: FormGroup; subscriptions: Subscription; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private validateInputProperty; setDisabled(): void; setError(): void; handleInputValueChange(value: any): void; handleFocusedChange(e: any): void; emitEvent(event: any, data: any): void; formatValue(value: any): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<KwikUIInputCurrencyComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<KwikUIInputCurrencyComponent, "kwikui-input-currency", never, { "currencyType": "currencyType"; "disabled": "disabled"; "focus": "focus"; "formControl": "formControl"; "formControlName": "formControlName"; "hintContent": "hintContent"; "icon": "icon"; "id": "id"; "invalid": "invalid"; "label": "label"; "placeholder": "placeholder"; "postfix": "postfix"; "prefix": "prefix"; "properties": "properties"; "size": "size"; "validators": "validators"; "value": "value"; }, { "getKeyValue": "getKeyValue"; }, never, never>; }