import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { UglaService } from '../../ugla.service'; import { NgClass } from '@angular/common'; /** * Form */ export declare class FormComponent implements OnInit, OnChanges { private ugla; /** * @ignore */ constructor(ugla: UglaService); /** * Set class background to footer. */ footerWithBackground: boolean; /** * Set text to cancel button * Default: Cancel */ cancelText: string; /** * Set text to submit button * Default: Submit */ submitText: string; /** * Set color to submit button * Default is color of current theme */ submitColor: string; /** * Event to cancel button */ cancelClick: EventEmitter; /** * Event to submit form */ submitClick: EventEmitter; /** * hidden submit button * Default true */ hiddenButtonSubmit?: boolean; ngClass: NgClass; /** * Disable submit button * Default: false */ disableSubmitButton?: boolean; /** * Autocomplete for field. Options are 'on' and 'off'. * * Default: off */ autocomplete: string; /** * Call cancel event. */ onCancelClick(): void; /** * Call submit event */ onSubmitClick(event: any): boolean; handleKeyboardEvent(event: KeyboardEvent): void; /** * Set initials configurations */ ngOnInit(): void; /** * Watch updates on disable submit button * @param changes SimpleChanges */ ngOnChanges(changes: SimpleChanges): void; }