@crediblefinance/credible-ui
Version:
Credible's standard UI library
45 lines (44 loc) • 2.81 kB
TypeScript
import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
import { Clipboard } from '@angular/cdk/clipboard';
import { FormControl, FormGroup } from '@angular/forms';
import { CfAlertService } from '../cf-alert/cf-alert.service';
import * as i0 from "@angular/core";
export declare class CfInputComponent implements OnInit, OnChanges {
private clipboardService;
private cfAlertService;
label?: string;
showLabel: boolean;
type: string;
class?: string;
id?: string | number;
name?: string;
placeholder: string;
showPlaceholder: boolean;
value?: string;
readonly: boolean;
copy: boolean;
showRequiredSign: boolean;
trim: boolean;
trimLength: number;
precision: number;
precisionType: string;
maxLength: number | null;
minLength: number | null;
tooltip: string;
valueChanged: EventEmitter<any>;
showPassword: boolean;
trimmedValue: string;
formGroup: FormGroup;
control: FormControl;
theme: string;
objectFn: ObjectConstructor;
constructor(clipboardService: Clipboard, cfAlertService: CfAlertService);
ngOnChanges(changes: SimpleChanges): void;
onPaste(event: ClipboardEvent): void;
ngOnInit(): void;
keyUpHandler($event: any): void;
copyContent(): void;
get classes(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<CfInputComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CfInputComponent, "cf-input", never, { "label": { "alias": "label"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "class": { "alias": "class"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showPlaceholder": { "alias": "showPlaceholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "copy": { "alias": "copy"; "required": false; }; "showRequiredSign": { "alias": "showRequiredSign"; "required": false; }; "trim": { "alias": "trim"; "required": false; }; "trimLength": { "alias": "trimLength"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "precisionType": { "alias": "precisionType"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "control": { "alias": "control"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, false, never>;
}