ddata-ui-input
Version:
DData UI Input module, components, models & services
41 lines (40 loc) • 1.97 kB
TypeScript
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
import { BaseModelInterface, FieldsInterface, ValidatorService } from 'ddata-core';
import { InputHelperService } from '../../services/input/helper/input-helper.service';
import * as i0 from "@angular/core";
export declare class DdataInputColorComponent implements OnInit {
private helperService;
_field: string;
_title: string;
_label: string;
_placeholder: string;
_prepend: string;
_append: string;
_isRequired: boolean;
_model: BaseModelInterface<any> & FieldsInterface<any>;
set model(value: BaseModelInterface<any> & FieldsInterface<any> | null);
get model(): BaseModelInterface<any> & FieldsInterface<any>;
set field(value: string);
set append(value: string);
set prepend(value: string);
set labelText(value: string);
disabled: boolean;
type: string;
inputClass: string;
labelClass: string;
inputBlockClass: string;
inputBlockExtraClass: string;
showLabel: boolean;
autoFocus: boolean;
wrapperClass: string;
changed: EventEmitter<BaseModelInterface<any> & FieldsInterface<any>>;
inputBox: ElementRef;
random: string;
toggle: boolean;
validatorService: ValidatorService;
constructor(helperService: InputHelperService);
ngOnInit(): void;
validateField(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DdataInputColorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DdataInputColorComponent, "dd-input-color", never, { "model": "model"; "field": "field"; "append": "append"; "prepend": "prepend"; "labelText": "labelText"; "disabled": "disabled"; "type": "type"; "inputClass": "inputClass"; "labelClass": "labelClass"; "inputBlockClass": "inputBlockClass"; "inputBlockExtraClass": "inputBlockExtraClass"; "showLabel": "showLabel"; "autoFocus": "autoFocus"; "wrapperClass": "wrapperClass"; }, { "changed": "changed"; }, never, never, false, never>;
}