1 | import { ComponentFactoryResolver, EventEmitter, OnInit, Type } from '@angular/core';
|
2 | import { Observable } from 'rxjs';
|
3 | import { NbBooleanInput } from '../helpers';
|
4 | import { NbPositionBuilderService } from '../cdk/overlay/overlay-position';
|
5 | import { NbTriggerStrategyBuilderService } from '../cdk/overlay/overlay-trigger';
|
6 | import { NbOverlayService } from '../cdk/overlay/overlay-service';
|
7 | import { NbCalendarTimeModelService } from '../calendar-kit/services/calendar-time-model.service';
|
8 | import { NbDateService } from '../calendar-kit/services/date.service';
|
9 | import { NbCalendarWithTimeComponent } from './calendar-with-time.component';
|
10 | import { NbBasePickerComponent } from './datepicker.component';
|
11 | import * as i0 from "@angular/core";
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare class NbDateTimePickerComponent<D> extends NbBasePickerComponent<D, D, NbCalendarWithTimeComponent<D>> implements OnInit {
|
17 | protected calendarWithTimeModelService: NbCalendarTimeModelService<D>;
|
18 | protected pickerClass: Type<NbCalendarWithTimeComponent<D>>;
|
19 | get value(): any;
|
20 | set value(date: any);
|
21 | |
22 |
|
23 |
|
24 |
|
25 | step: number;
|
26 | title: string;
|
27 | applyButtonText: string;
|
28 | currentTimeButtonText: string;
|
29 | showCurrentTimeButton: boolean;
|
30 | |
31 |
|
32 |
|
33 | get twelveHoursFormat(): boolean;
|
34 | set twelveHoursFormat(value: boolean);
|
35 | _twelveHoursFormat: boolean;
|
36 | static ngAcceptInputType_twelveHoursFormat: NbBooleanInput;
|
37 | |
38 |
|
39 |
|
40 | get showAmPmLabel(): boolean;
|
41 | set showAmPmLabel(value: boolean);
|
42 | protected _showAmPmLabel: boolean;
|
43 | static ngAcceptInputType_showAmPmLabel: NbBooleanInput;
|
44 | |
45 |
|
46 |
|
47 |
|
48 | get withSeconds(): boolean;
|
49 | set withSeconds(value: boolean);
|
50 | _withSeconds: boolean;
|
51 | static ngAcceptInputType_withSeconds: NbBooleanInput;
|
52 | |
53 |
|
54 |
|
55 | get singleColumn(): boolean;
|
56 | set singleColumn(value: boolean);
|
57 | _singleColumn: boolean;
|
58 | static ngAcceptInputType_singleColumn: NbBooleanInput;
|
59 | |
60 |
|
61 |
|
62 | get dateTimeChange(): EventEmitter<D>;
|
63 | constructor(document: any, positionBuilder: NbPositionBuilderService, triggerStrategyBuilder: NbTriggerStrategyBuilderService, overlay: NbOverlayService, cfr: ComponentFactoryResolver, dateService: NbDateService<D>, dateServiceOptions: any, calendarWithTimeModelService: NbCalendarTimeModelService<D>);
|
64 | ngOnInit(): void;
|
65 | protected patchWithInputs(): void;
|
66 | protected get pickerValueChange(): Observable<any>;
|
67 | protected writeQueue(): void;
|
68 | protected buildTimeFormat(): string;
|
69 | static ɵfac: i0.ɵɵFactoryDeclaration<NbDateTimePickerComponent<any>, [null, null, null, null, null, null, { optional: true; }, null]>;
|
70 | static ɵcmp: i0.ɵɵComponentDeclaration<NbDateTimePickerComponent<any>, "nb-date-timepicker", never, { "step": { "alias": "step"; "required": false; }; "title": { "alias": "title"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "currentTimeButtonText": { "alias": "currentTimeButtonText"; "required": false; }; "showCurrentTimeButton": { "alias": "showCurrentTimeButton"; "required": false; }; "twelveHoursFormat": { "alias": "twelveHoursFormat"; "required": false; }; "showAmPmLabel": { "alias": "showAmPmLabel"; "required": false; }; "withSeconds": { "alias": "withSeconds"; "required": false; }; "singleColumn": { "alias": "singleColumn"; "required": false; }; }, { "dateTimeChange": "dateTimeChange"; }, never, never, false, never>;
|
71 | }
|