my-test123
Version:
A planner front-end for Fabric8.
41 lines (40 loc) • 1.37 kB
TypeScript
import { OnInit, EventEmitter } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { Logger } from 'ngx-base';
import { IMyOptions, IMyDateModel } from 'mydatepicker';
import { TypeaheadDropdownValue } from '../typeahead-dropdown/typeahead-dropdown.component';
export declare class DynamicUpdateEvent {
form: FormGroup;
formControlName: string;
newValue: any;
oldValue: any;
attributeDesc: any;
}
export declare class DynamicFieldComponent implements OnInit {
protected logger: Logger;
attributeDesc: any;
form: FormGroup;
onUpdate: EventEmitter<{}>;
attributeKey: string;
oldValue: any;
dateValue: any;
error: string;
buttonsVisible: boolean;
datePickerOptions: IMyOptions;
constructor(logger: Logger);
ngOnInit(): void;
isValid(): boolean;
isButtonsVisible(): boolean;
focusIn(): void;
extractEnumKeyValues(): TypeaheadDropdownValue[];
extractBooleanKeyValues(): TypeaheadDropdownValue[];
onChangeDropdown(newOption: string): void;
onChangeBoolean(newOption: string): void;
onChangeMarkup(newMarkupValue: string): void;
onDateChanged(newDate: IMyDateModel): void;
toDateModel(dateValue: string): any;
baseChangeBaseType(newValue: string): void;
toUpdateObject(key: string, value: any): any;
save(): void;
cancel(): void;
}