/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core'; import { InLastDateType } from './in-last-date-type'; import { DateRangeType } from './date-range-type'; import { SearchDateRange } from './search-date-range'; import { UntypedFormControl } from '@angular/forms'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class SearchDateRangeComponent implements OnInit, AfterViewInit { private readonly userPreferencesService; private readonly dateAdapter; private readonly dateFormatConfig; dateFormat: string; maxDate: string; field: string; set initialValue(value: SearchDateRange); onReset$: Observable; changed: EventEmitter>; valid: EventEmitter; dateRangeInput: ElementRef; private readonly formBuilder; form: import("@angular/forms").FormGroup<{ dateRangeType: import("@angular/forms").FormControl; inLastValueType?: import("@angular/forms").FormControl; inLastValue?: import("@angular/forms").FormControl; betweenStartDate?: import("@angular/forms").FormControl; betweenEndDate?: import("@angular/forms").FormControl; }>; betweenStartDateFormControl: import("@angular/forms").FormControl; betweenEndDateFormControl: import("@angular/forms").FormControl; convertedMaxDate: Date; readonly DateRangeType: { readonly ANY: "ANY"; readonly IN_LAST: "IN_LAST"; readonly BETWEEN: "BETWEEN"; }; readonly InLastDateType: { readonly DAYS: "DAYS"; readonly WEEKS: "WEEKS"; readonly MONTHS: "MONTHS"; }; private readonly destroyRef; constructor(); readonly endDateValidator: (formControl: UntypedFormControl) => { [key: string]: boolean; } | null; ngOnInit(): void; ngAfterViewInit(): void; private updateValidators; private onChange; dateChanged(event: Event, formControl: UntypedFormControl): void; narrowDownAllowedCharacters(event: Event): void; preventIncorrectNumberCharacters(event: KeyboardEvent): boolean; reset(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }