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.
38 lines
4.8 KiB
38 lines
4.8 KiB
/**
|
|
* @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 { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
import { MatDatepickerBase } from './datepicker-base';
|
|
import { MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER } from './date-selection-model';
|
|
// TODO(mmalerba): We use a component instead of a directive here so the user can use implicit
|
|
// template reference variables (e.g. #d vs #d="matDatepicker"). We can change this to a directive
|
|
// if angular adds support for `exportAs: '$implicit'` on directives.
|
|
/** Component responsible for managing the datepicker popup/dialog. */
|
|
import * as ɵngcc0 from '@angular/core';
|
|
export class MatDatepicker extends MatDatepickerBase {
|
|
}
|
|
MatDatepicker.ɵfac = /*@__PURE__*/ function () { let ɵMatDatepicker_BaseFactory; return function MatDatepicker_Factory(t) { return (ɵMatDatepicker_BaseFactory || (ɵMatDatepicker_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(MatDatepicker)))(t || MatDatepicker); }; }();
|
|
MatDatepicker.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: MatDatepicker, selectors: [["mat-datepicker"]], exportAs: ["matDatepicker"], features: [ɵngcc0.ɵɵProvidersFeature([
|
|
MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER,
|
|
{ provide: MatDatepickerBase, useExisting: MatDatepicker },
|
|
]), ɵngcc0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function MatDatepicker_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MatDatepicker, [{
|
|
type: Component,
|
|
args: [{
|
|
selector: 'mat-datepicker',
|
|
template: '',
|
|
exportAs: 'matDatepicker',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
encapsulation: ViewEncapsulation.None,
|
|
providers: [
|
|
MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER,
|
|
{ provide: MatDatepickerBase, useExisting: MatDatepicker },
|
|
]
|
|
}]
|
|
}], null, null); })();
|
|
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5qcyIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21hdGVyaWFsL2RhdGVwaWNrZXIvZGF0ZXBpY2tlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHO0FBRUgsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRixPQUFPLEVBQUMsaUJBQWlCLEVBQXVCLE1BQU0sbUJBQW1CLENBQUM7QUFDMUUsT0FBTyxFQUFDLHdDQUF3QyxFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFFaEYsOEZBQThGO0FBQzlGLGtHQUFrRztBQUNsRyxxRUFBcUU7QUFDckUsc0VBQXNFOztBQVl0RSxNQUFNLE9BQU8sYUFBaUIsU0FBUSxpQkFBdUQ7QUFDN0Y7eUNBWkMsU0FBUyxTQUFDLGtCQUNULFFBQVEsRUFBRSxnQkFBZ0Isa0JBQzFCLFFBQVEsRUFBRSxFQUFFLGtCQUNaLFFBQVEsRUFBRSxlQUFlLGtCQUN6QixlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTSxrQkFDL0M7S0FBYSxFQUFFLGlCQUFpQixDQUFDLElBQUksa0JBQ3JDLFNBQVMsRUFBRSxzQkFDVCx3Q0FBd0Msc0JBQ3hDLEVBQUMsT0FBTyxFQUFFLGlCQUFpQ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