import { RhSafeAny } from 'rh-base/model'; import { ChangeDetectorRef } from '@angular/core'; import { OnInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; /** * 选择周次组件,请注意配置`rhMode`,默认为`dateArray`模式 * @usage * `week` 输出当前的周次 * * `date` 输出选中的日期 * * `dateArray` 输出选中周次的起始日期、结束日期数组 */ export declare class RhWeekPickerComponent implements OnInit, ControlValueAccessor { cdk: ChangeDetectorRef; /** * 数据输出模式 * @usage * `week` 输出当前的周次 * * `date` 输出选中的日期 * * `dateArray` 输出选中周次的起始日期、结束日期数组 */ rhMode: 'week' | 'date' | 'dateArray'; rhDisabled: boolean; rhPlaceholder: string; private _value; set value(date: Date | Date[]); get value(): Date | Date[]; onTouchedFn: () => void; onChangeFn: (value: RhSafeAny) => void; constructor(cdk: ChangeDetectorRef); ngOnInit(): void; onDateChange(date: Date): void; writeValue(value: RhSafeAny): void; registerOnChange(fn: (value: RhSafeAny) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(disabled: boolean): void; private getEmitValue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }