import { OnChanges, TemplateRef } from '@angular/core'; import { ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms'; import { propertyTypes } from 'typeconfig/common'; import { SearchQueryParserService } from '../../../gallery/search/search-query-parser.service'; import { MapLayers, NavigationLinkTypes, TAGS } from '../../../../../../common/config/public/ClientConfig'; import { ConfigStyle, SettingsService } from '../../settings.service'; import { WebConfig } from '../../../../../../common/config/private/WebConfig'; import { BsModalService } from 'ngx-bootstrap/modal'; interface IState { shouldHide(): boolean; isEnumArrayType: boolean; isEnumType: boolean; isConfigType: boolean; isConfigArrayType: boolean; default: any; value: any; min?: number; max?: number; type: propertyTypes; arrayType: any; original: any; rootConfig: WebConfig; readonly?: boolean; description?: string; tags: TAGS; } export declare class SettingsEntryComponent implements ControlValueAccessor, Validator, OnChanges { private searchQueryParserService; settingsService: SettingsService; private modalService; name: string; required: boolean; dockerWarning: boolean; experimental: boolean; placeholder: string; allowSpaces: boolean; description: string; state: IState; isNumberArray: boolean; isNumber: boolean; HTMLInputType: string; title: string; idName: string; private readonly GUID; NavigationLinkTypes: typeof NavigationLinkTypes; type: string | object; arrayType: string; uiType: string; newThemeModalRef: any; iconModal: { ref?: any; error?: string; }; noChangeDetection: boolean; readonly ConfigStyle: typeof ConfigStyle; protected readonly SortByTypes: { [x: number]: string; Random: import("../../../../../../common/entities/SortingMethods").SortByBasicTypes.Random; Name: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Name; Date: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Date; Rating: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Rating; PersonCount: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.PersonCount; FileSize: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.FileSize; }; protected readonly GroupByTypes: { [x: number]: string; NoGrouping: import("../../../../../../common/entities/SortingMethods").GroupByBasicTypes.NoGrouping; Name: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Name; Date: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Date; Rating: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Rating; PersonCount: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.PersonCount; FileSize: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.FileSize; }; constructor(searchQueryParserService: SearchQueryParserService, settingsService: SettingsService, modalService: BsModalService); get changed(): boolean; get isOriginal(): boolean; get shouldHide(): boolean; get defaultStr(): string; get StringValue(): string; set StringValue(value: string); get AvailableThemes(): any[]; get SelectedThemeSettings(): { theme: string; }; get Disabled(): boolean; ngOnChanges(): void; getOptionsView(state: IState & { optionsView?: { key: number | string; value: string | number; }[]; }): { key: number | string; value: string | number; }[]; validate(): ValidationErrors; onChange: (value: unknown) => void; onTouched: () => void; newThemeName: string; writeValue(obj: IState): void; registerOnChange(fn: (v: never) => void): void; registerOnTouched(fn: () => void): void; AddNew(): void; remove(i: number): void; /** * MapLayer function */ addNewLayer(): void; removeLayer(layer: MapLayers): void; addNewTheme(): void; removeTheme(): void; showNewThemeModal(template: TemplateRef): void; showIconModal(template: TemplateRef): void; hideNewThemeModal(): void; hideIconModal(): void; newSvgFile(event: Event): void; } export {};