1 | import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
2 | import { NbCalendarComponent } from '../calendar/calendar.component';
|
3 | import { NbSelectedTimePayload } from '../timepicker/model';
|
4 | import { NbDateService } from '../calendar-kit/services/date.service';
|
5 | import { NbCalendarTimeModelService } from '../calendar-kit/services/calendar-time-model.service';
|
6 | import { NbPortalOutletDirective } from '../cdk/overlay/mapping';
|
7 | import { NbTimePickerComponent } from '../timepicker/timepicker.component';
|
8 | import * as i0 from "@angular/core";
|
9 | export declare class NbCalendarWithTimeComponent<D> extends NbCalendarComponent<D> implements OnInit, AfterViewInit {
|
10 | protected dateService: NbDateService<D>;
|
11 | cd: ChangeDetectorRef;
|
12 | protected calendarTimeModelService: NbCalendarTimeModelService<D>;
|
13 | |
14 |
|
15 |
|
16 | visibleDate: D;
|
17 | |
18 |
|
19 |
|
20 | twelveHoursFormat: boolean;
|
21 | |
22 |
|
23 |
|
24 | showAmPmLabel: boolean;
|
25 | |
26 |
|
27 |
|
28 |
|
29 | withSeconds: boolean;
|
30 | |
31 |
|
32 |
|
33 | singleColumn: boolean;
|
34 | |
35 |
|
36 |
|
37 |
|
38 | step: number;
|
39 | |
40 |
|
41 |
|
42 | timeFormat: string;
|
43 | |
44 |
|
45 |
|
46 | title: string;
|
47 | applyButtonText: string;
|
48 | currentTimeButtonText: string;
|
49 | showCurrentTimeButton: boolean;
|
50 | portalOutlet: NbPortalOutletDirective;
|
51 | timepicker: NbTimePickerComponent<D>;
|
52 | constructor(dateService: NbDateService<D>, cd: ChangeDetectorRef, calendarTimeModelService: NbCalendarTimeModelService<D>);
|
53 | ngOnInit(): void;
|
54 | ngAfterViewInit(): void;
|
55 | onDateValueChange(date: D): void;
|
56 | onTimeChange(selectedTime: NbSelectedTimePayload<D>): void;
|
57 | saveValue(): void;
|
58 | saveCurrentTime(): void;
|
59 | showSeconds(): boolean;
|
60 | isLarge(): boolean;
|
61 | static ɵfac: i0.ɵɵFactoryDeclaration<NbCalendarWithTimeComponent<any>, never>;
|
62 | static ɵcmp: i0.ɵɵComponentDeclaration<NbCalendarWithTimeComponent<any>, "nb-calendar-with-time", never, { "visibleDate": { "alias": "visibleDate"; "required": false; }; "twelveHoursFormat": { "alias": "twelveHoursFormat"; "required": false; }; "showAmPmLabel": { "alias": "showAmPmLabel"; "required": false; }; "withSeconds": { "alias": "withSeconds"; "required": false; }; "singleColumn": { "alias": "singleColumn"; "required": false; }; "step": { "alias": "step"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "title": { "alias": "title"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "currentTimeButtonText": { "alias": "currentTimeButtonText"; "required": false; }; "showCurrentTimeButton": { "alias": "showCurrentTimeButton"; "required": false; }; }, {}, never, never, false, never>;
|
63 | }
|