UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

37 lines (36 loc) 1.23 kB
import { OnChanges, SimpleChanges } from '@angular/core'; import { DateLike } from '@microsoft/windows-admin-center-sdk/core/base/date/date-like'; import { DateRange } from '@microsoft/windows-admin-center-sdk/core/base/date/date-range'; import * as i0 from "@angular/core"; /** * Defines a generic option for date range control */ export declare class DateTimeRangeOptionComponent implements OnChanges { /** * The value of this option. */ value: DateRange; /** * The start date */ start: DateLike; /** * The end date */ end: DateLike; /** * The label of this option. */ label: string; /** * The computed date range of this option */ get dateRange(): DateRange; private internalDateRange; /** * The computed date range of this option */ ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangeOptionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeRangeOptionComponent, "sme-date-range-option", never, { "value": "value"; "start": "start"; "end": "end"; "label": "label"; }, {}, never, never, false, never>; }