@daypilot/daypilot-lite-javascript 4.2.1 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/daypilot-javascript.min.d.ts +45 -1
- package/daypilot-javascript.min.js +14 -14
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ export module DayPilot {
|
|
|
45
45
|
dynamicEventRenderingMargin?: number;
|
|
46
46
|
dynamicEventRenderingMarginX?: number;
|
|
47
47
|
dynamicEventRenderingMarginY?: number;
|
|
48
|
-
|
|
48
|
+
eventBorderRadius?: string | number;
|
|
49
49
|
eventClickHandling?: "Enabled" | "Disabled";
|
|
50
50
|
eventDeleteHandling?: "Update" | "Disabled";
|
|
51
51
|
eventEndSpec?: "DateTime" | "Date";
|
|
@@ -1097,6 +1097,8 @@ export module DayPilot {
|
|
|
1097
1097
|
|
|
1098
1098
|
dispose(): void;
|
|
1099
1099
|
|
|
1100
|
+
disposed(): boolean;
|
|
1101
|
+
|
|
1100
1102
|
update(options?: NavigatorConfig): void;
|
|
1101
1103
|
|
|
1102
1104
|
select(date: DayPilot.Date | string, options?: NavigatorSelectOptions): void;
|
|
@@ -1154,6 +1156,46 @@ export module DayPilot {
|
|
|
1154
1156
|
readonly end: DayPilot.Date;
|
|
1155
1157
|
}
|
|
1156
1158
|
|
|
1159
|
+
export class DatePickerPropsAndEvents {
|
|
1160
|
+
date?: DayPilot.Date | string;
|
|
1161
|
+
locale?: string | DayPilot.Locale;
|
|
1162
|
+
pattern?: string;
|
|
1163
|
+
patterns?: string[];
|
|
1164
|
+
resetTarget?: boolean;
|
|
1165
|
+
showToday?: boolean;
|
|
1166
|
+
target?: string;
|
|
1167
|
+
theme?: string;
|
|
1168
|
+
todayText?: string;
|
|
1169
|
+
weekStarts?: "Auto" | number;
|
|
1170
|
+
onShow?: EventHandler<DatePickerShowArgs>;
|
|
1171
|
+
onTimeRangeSelect?: EventHandler<DatePickerTimeRangeSelectArgs>;
|
|
1172
|
+
onTimeRangeSelected?: EventHandler<DatePickerTimeRangeSelectedArgs>;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
export class DatePickerConfig extends DatePickerPropsAndEvents { }
|
|
1176
|
+
|
|
1177
|
+
export class DatePicker extends DatePickerPropsAndEvents{
|
|
1178
|
+
constructor(options?: DatePickerConfig);
|
|
1179
|
+
|
|
1180
|
+
close(): void;
|
|
1181
|
+
init(): void;
|
|
1182
|
+
select(): void;
|
|
1183
|
+
show(): void;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
export interface DatePickerShowArgs {
|
|
1187
|
+
[key: string]: never;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
export interface DatePickerTimeRangeSelectArgs {
|
|
1191
|
+
readonly date: DayPilot.Date;
|
|
1192
|
+
preventDefault(): void;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
export interface DatePickerTimeRangeSelectedArgs {
|
|
1196
|
+
readonly date: DayPilot.Date;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1157
1199
|
export class Locale {
|
|
1158
1200
|
datePattern: string;
|
|
1159
1201
|
dateTimePattern: string;
|
|
@@ -1538,6 +1580,8 @@ export module DayPilot {
|
|
|
1538
1580
|
action?: "Default" | "None" | "ContextMenu" | "ResizeEnd" | "ResizeStart" | "Move";
|
|
1539
1581
|
backColor?: string;
|
|
1540
1582
|
background?: string;
|
|
1583
|
+
borders?: { top?: boolean; right?: boolean; bottom?: boolean; left?: boolean };
|
|
1584
|
+
borderColor?: string;
|
|
1541
1585
|
borderRadius?: number | string;
|
|
1542
1586
|
bottom?: number | string;
|
|
1543
1587
|
cssClass?: string;
|