UNPKG

1.03 kBTypeScriptView Raw
1import { NgbDatepickerConfig } from './datepicker-config';
2import { PlacementArray } from '../util/positioning';
3import { Options } from '@popperjs/core';
4import * as i0 from "@angular/core";
5/**
6 * A configuration service for the [`NgbDatepickerInput`](#/components/datepicker/api#NgbDatepicker) component.
7 *
8 * You can inject this service, typically in your root component, and customize the values of its properties in
9 * order to provide default values for all the datepicker inputs used in the application.
10 *
11 * @since 5.2.0
12 */
13export declare class NgbInputDatepickerConfig extends NgbDatepickerConfig {
14 autoClose: boolean | 'inside' | 'outside';
15 container: null | 'body';
16 positionTarget: string | HTMLElement;
17 placement: PlacementArray;
18 popperOptions: (options: Partial<Options>) => Partial<Options>;
19 restoreFocus: true | HTMLElement | string;
20 static ɵfac: i0.ɵɵFactoryDeclaration<NgbInputDatepickerConfig, never>;
21 static ɵprov: i0.ɵɵInjectableDeclaration<NgbInputDatepickerConfig>;
22}