UNPKG

801 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Akveo. All Rights Reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 */
6import { InjectionToken } from '@angular/core';
7export declare const NB_TIME_PICKER_CONFIG: InjectionToken<unknown>;
8export interface NbTimepickerLocalizationConfig {
9 hoursText: string;
10 minutesText: string;
11 secondsText: string;
12 ampmText: string;
13}
14export declare const NB_DEFAULT_TIMEPICKER_LOCALIZATION_CONFIG: NbTimepickerLocalizationConfig;
15export interface NbTimePickerConfig {
16 twelveHoursFormat?: boolean;
17 format?: string;
18 localization?: NbTimepickerLocalizationConfig;
19}
20export interface NbSelectedTimeModel {
21 value: string;
22}
23export interface NbSelectedTimePayload<D> {
24 time: D;
25 save?: boolean;
26}