ddata-ui-input
Version:
DData UI Input module, components, models & services
45 lines (44 loc) • 2.11 kB
TypeScript
import { OnInit, EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
import { FieldsInterface, BaseModelInterface } from 'ddata-core';
import { InputHelperServiceInterface } from '../../services/input/helper/input-helper-service.interface';
import * as i0 from "@angular/core";
export declare class DdataInputTimeComponent implements OnInit, AfterViewInit {
helperService: InputHelperServiceInterface;
_field: string;
_title: string;
_label: string;
_placeholder: string;
_prepend: string;
_append: string;
_max: 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;
isViewOnly: boolean;
type: string;
inputClass: string;
labelClass: string;
inputBlockClass: string;
inputBlockExtraClass: string;
viewOnlyClass: string;
showLabel: boolean;
autoFocus: boolean;
wrapperClass: string;
format: 12 | 24;
changed: EventEmitter<any>;
inputBox: ElementRef;
random: string;
constructor();
ngOnInit(): void;
ngAfterViewInit(): void;
validateField(): void;
setTime(time: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DdataInputTimeComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DdataInputTimeComponent, "dd-input-time", never, { "model": "model"; "field": "field"; "append": "append"; "prepend": "prepend"; "labelText": "labelText"; "disabled": "disabled"; "isViewOnly": "isViewOnly"; "type": "type"; "inputClass": "inputClass"; "labelClass": "labelClass"; "inputBlockClass": "inputBlockClass"; "inputBlockExtraClass": "inputBlockExtraClass"; "viewOnlyClass": "viewOnlyClass"; "showLabel": "showLabel"; "autoFocus": "autoFocus"; "wrapperClass": "wrapperClass"; "format": "format"; }, { "changed": "changed"; }, never, never, false, never>;
}