/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { OnInit, AfterViewInit } from '@angular/core'; import { WeUIPicker, PickerOption } from './weui.picker'; /** * 日期选择器 */ export declare class WeUIDatePicker extends WeUIPicker implements OnInit, AfterViewInit { /** * cron 表达式,三位,分别是 dayOfMonth[1-31],month[1-12] 和 dayOfWeek[0-6](周日-周六)。
* 格式: 日期 月份 周。例如:* * * 或 1,2,5-9 1-6 0-6 或 1/2 * * 等。默认:* * *。 */ cron: string; /** * 开始日期/年份。取值: */ start: any; /** * 结束日期/年份。取值: */ end: any; private _startDate; private _endDate; private _parseDate(value, sub); constructor(); ngOnInit(): void; ngAfterViewInit(): void; /** * 选择年或月,触发子列表的变更 * * @param option 被选择的选项 * @param index 哪个列(索引) */ onChange(option: PickerOption, index: number): void; private _updateMonthPickerList(); private _updateDatePickerList(); }