import { ElementRef, TemplateRef, OnInit } from '@angular/core'; import { NextObserver } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { Field } from '../field'; import { TemplateService } from '../../../../services/template.service'; import { CardfieldContext, OptionalCardfieldContext } from '../../../core/types'; import { BaseInputComponent } from '../base-input'; import { InputSubType } from '../../../../core/types'; import { EntityUI } from '../../../core/entityUI'; import * as i0 from "@angular/core"; /** * This component implements all fieldtypes (input, checkbox, and selectbox) in a card * Dependent of the type and the mode (edit/view) the sub-components are shown with * the template-functionality of angular. * Normally all the informations are summarized in the context-structure * Additionally the hint-, caption-, editable- subType, lookupFor- and the assistObs(erver)-properties * which comes from the table-metadata can be overwritten if necessary * The editable-property can only change from true --> false * */ export declare class CardfieldComponent extends Field implements OnInit { protected templateService: TemplateService; constructor(host: ElementRef, translate: TranslateService, templateService: TemplateService); protected controlType: string; protected cardInput: TemplateRef; protected cardBoolean: TemplateRef; protected cardEnum: TemplateRef; protected inputElement?: HTMLInputElement; protected ctx?: CardfieldContext; protected optCtx: OptionalCardfieldContext; id: string; set hint(h: string); get hint(): string; set caption(c: string); get caption(): string; set assistObs(obs: NextObserver); set editable(e: boolean); set subType(s: InputSubType); get subType(): InputSubType; set lookupFor(lookupFor: string); set context(cardfieldContext: CardfieldContext); get context(): CardfieldContext; protected get ui(): EntityUI | undefined; get assertUI(): EntityUI; get currentTemplate(): TemplateRef; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }