/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { BooleanInput } from '@angular/cdk/coercion'; import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { MatButton } from '@angular/material/button'; import { MatDatepickerIntl } from './datepicker-intl'; import { MatDatepickerControl, MatDatepickerPanel } from './datepicker-base'; /** Can be used to override the icon of a `matDatepickerToggle`. */ import * as ɵngcc0 from '@angular/core'; export declare class MatDatepickerToggleIcon { static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration; } export declare class MatDatepickerToggle implements AfterContentInit, OnChanges, OnDestroy { _intl: MatDatepickerIntl; private _changeDetectorRef; private _stateChanges; /** Datepicker instance that the button will toggle. */ datepicker: MatDatepickerPanel, D>; /** Tabindex for the toggle. */ tabIndex: number | null; /** Screenreader label for the button. */ ariaLabel: string; /** Whether the toggle button is disabled. */ get disabled(): boolean; set disabled(value: boolean); private _disabled; /** Whether ripples on the toggle should be disabled. */ disableRipple: boolean; /** Custom icon set by the consumer. */ _customIcon: MatDatepickerToggleIcon; /** Underlying button element. */ _button: MatButton; constructor(_intl: MatDatepickerIntl, _changeDetectorRef: ChangeDetectorRef, defaultTabIndex: string); ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; ngAfterContentInit(): void; _open(event: Event): void; private _watchStateChanges; static ngAcceptInputType_disabled: BooleanInput; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration, [null, null, { attribute: "tabindex"; }]>; static ɵcmp: ɵngcc0.ɵɵComponentDeclaration, "mat-datepicker-toggle", ["matDatepickerToggle"], { "tabIndex": "tabIndex"; "disabled": "disabled"; "datepicker": "for"; "ariaLabel": "aria-label"; "disableRipple": "disableRipple"; }, {}, ["_customIcon"], ["[matDatepickerToggleIcon]"]>; } //# sourceMappingURL=datepicker-toggle.d.ts.map