You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
3.5 KiB

{"version":3,"file":"datepicker-input.d.ts","sources":["datepicker-input.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { ElementRef, OnDestroy } from '@angular/core';\nimport { ValidatorFn } from '@angular/forms';\nimport { DateAdapter, MatDateFormats, ThemePalette } from '@angular/material/core';\nimport { MatFormField } from '@angular/material/form-field';\nimport { MatDatepickerInputBase, DateFilterFn } from './datepicker-input-base';\nimport { MatDatepickerControl, MatDatepickerPanel } from './datepicker-base';\nimport { DateSelectionModelChange } from './date-selection-model';\n/** @docs-private */\nexport declare const MAT_DATEPICKER_VALUE_ACCESSOR: any;\n/** @docs-private */\nexport declare const MAT_DATEPICKER_VALIDATORS: any;\n/** Directive used to connect an input to a MatDatepicker. */\nexport declare class MatDatepickerInput<D> extends MatDatepickerInputBase<D | null, D> implements MatDatepickerControl<D | null>, OnDestroy {\n private _formField?;\n private _closedSubscription;\n /** The datepicker that this input is associated with. */\n set matDatepicker(datepicker: MatDatepickerPanel<MatDatepickerControl<D>, D | null, D>);\n _datepicker: MatDatepickerPanel<MatDatepickerControl<D>, D | null, D>;\n /** The minimum valid date. */\n get min(): D | null;\n set min(value: D | null);\n private _min;\n /** The maximum valid date. */\n get max(): D | null;\n set max(value: D | null);\n private _max;\n /** Function that can be used to filter out dates within the datepicker. */\n get dateFilter(): DateFilterFn<D | null>;\n set dateFilter(value: DateFilterFn<D | null>);\n private _dateFilter;\n /** The combined form control validator for this input. */\n protected _validator: ValidatorFn | null;\n constructor(elementRef: ElementRef<HTMLInputElement>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats, _formField?: MatFormField | undefined);\n /**\n * Gets the element that the datepicker popup should be connected to.\n * @return The element to connect the popup to.\n */\n getConnectedOverlayOrigin(): ElementRef;\n /** Gets the ID of an element that should be used a description for the calendar overlay. */\n getOverlayLabelId(): string | null;\n /** Returns the palette used by the input's form field, if any. */\n getThemePalette(): ThemePalette;\n /** Gets the value at which the calendar should start. */\n getStartValue(): D | null;\n ngOnDestroy(): void;\n /** Opens the associated datepicker. */\n protected _openPopup(): void;\n protected _getValueFromModel(modelValue: D | null): D | null;\n protected _assignValueToModel(value: D | null): void;\n /** Gets the input's minimum date. */\n _getMinDate(): D | null;\n /** Gets the input's maximum date. */\n _getMaxDate(): D | null;\n /** Gets the input's date filtering function. */\n protected _getDateFilter(): DateFilterFn<D | null>;\n protected _shouldHandleChangeEvent(event: DateSelectionModelChange<D>): boolean;\n}\n"]}