-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.d.ts
58 lines (52 loc) · 1.63 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { View } from "ui/core/view";
import { Property, PropertyChangeData } from "ui/core/dependency-observable";
import { CalendarBase } from './src/common';
export * from './src/common';
export interface INSEvents {
dateSelected: string;
monthChanged: string;
}
export declare const NSEvents: INSEvents;
export declare class CalendarEvent {
private _date;
private _source;
constructor(eventDate: Date, eventSource?: string);
date: Date;
source: string;
}
export declare class CalendarSubtitle {
private _date;
private _text;
constructor(subtitleDate: any, subtitleText: string);
date: any;
text: string;
}
export declare class Calendar extends CalendarBase {
readonly android: any;
createNativeView(): any;
private addDecoratorToday(date, colorBackgroundValue, colorSelectionValue, borderRadiusValue);
private addDecoratorDot(colorValue);
dateHasEvent(date: any): any;
private _subtitles;
private _delegate;
private _dataSource;
private _calendarHeightConstraint;
constructor();
readonly ios: any;
onLoaded(): void;
onUnloaded(): void;
disposeNativeView(): void;
readonly calendarHeightConstraint: any;
setSalendarHeightConstraint(height: number): void;
subtitles: Array<CalendarSubtitle>;
dateSelectedEvent(date: any): void;
pageChanged(calendar: any): void;
dateHasEventImage(date: any): string;
dateHasSubtitle(date: any): string;
private isSameDate(dateOne, dateTwo);
reload(): void;
displayModeChanged(bounds: any): void;
selectDate(date: any): void;
deselectDate(date: any): void;
getDate(): any;
}