import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; import { TranslateService } from '@ngx-translate/core'; import { SCAutocompleteComponent } from '../sc-autocomplete/sc-autocomplete.component'; import { SCAddClicked, SCDataUrlConfig, SCSelectComponent } from './../sc-select/sc-select.component'; import { SCMapsDialogService } from '../sc-maps-dialog'; import { SCBaseComponent } from '../core'; import { SCWysiwygInsertContent } from '../sc-wysiwyg'; import * as i0 from "@angular/core"; export interface SCEditFieldDisplayBy { label: string; displayBys: string[]; } export interface SCEditFieldDataRouteVariable { placeholder: string; placeholderValue: string; placeholder_key?: string; placeholder_default_data?: any; } export declare class SCEditFieldComponent extends SCBaseComponent implements ControlValueAccessor, OnInit, OnChanges { ngControl: NgControl; private translateService; private cdr; private sanitizer; private scMapsDialogService; index: number; dataRouteVariables: SCEditFieldDataRouteVariable[]; dataRouteParams: { param: string; value: string; }[]; mainType: string; disabled: boolean; appearance: 'legacy' | 'standard' | 'fill' | 'outline'; hint: string; fieldIsRequired: boolean; dataRoute: string; detailsDataRoute: string; fieldType: 'string' | 'textarea' | 'date' | 'datetime' | 'number' | 'bool' | 'price' | 'selection' | 'full-selection' | 'full-selection-lazy' | 'positionnumber' | 'filepath' | 'url' | 'wysiwyg' | 'location' | 'headline' | 'timeframe'; fieldTags: any[]; fieldDisplayName: string; placeholder: string; inputType: string; addText: string; relationData: any[]; isMultiSelect: boolean; castValueToString: boolean; urlConfig: SCDataUrlConfig; fieldDisplayBy: SCEditFieldDisplayBy[]; displayBy: string; valueBy: string; compareBy: string; textareaAutosize: boolean; placeholderData: SCWysiwygInsertContent[]; templateData: SCWysiwygInsertContent[]; classNames: string; wysiwygConfig: import("../sc-wysiwyg/sc-wysiwyg-types").Toolbar; suffixText: string; prefixText: string; useUTC: boolean; changed: EventEmitter; addClicked: EventEmitter; autocompleteComponent: SCAutocompleteComponent; selectComponent: SCSelectComponent; inputComponent: SCSelectComponent; value: any; filepath: SafeUrl; writtenValue: any; outputValue: any; init: boolean; get isRequired(): boolean; get isLazyLoading(): boolean; constructor(ngControl: NgControl, translateService: TranslateService, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, scMapsDialogService: SCMapsDialogService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; createUrlConfig(): void; relationCleared(): void; relationSelected(event: any): void; ngModelChangeHandler(event: any): void; addClickedHandler(event: SCAddClicked): void; handleUrlClicked(event: MouseEvent): void; focus(): void; onChange: (value: any) => void; onTouched: () => void; writeValue(value: any): void; setValue(): void; setOutputValue(): void; emitValue(emitTouched?: boolean): void; registerOnChange(fn: (rating: number) => void): void; registerOnTouched(fn: () => void): void; setDisabledState?(isDisabled: boolean): void; openMapdialog(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }