@daypilot/daypilot-lite-angular 3.8.0 → 3.10.1
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/README.md +127 -13
- package/esm2020/lib/core/daypilot-core.mjs +524 -303
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +621 -309
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +524 -303
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +79 -2
- package/package.json +1 -1
|
@@ -7,13 +7,15 @@ export declare module DayPilot {
|
|
|
7
7
|
cellHeight?: number;
|
|
8
8
|
columnMarginRight?: number;
|
|
9
9
|
columnsLoadMethod?: "POST" | "GET";
|
|
10
|
+
contextMenu?: DayPilot.Menu;
|
|
10
11
|
days?: number;
|
|
11
12
|
doubleClickTimeout?: number;
|
|
12
13
|
durationBarVisible?: boolean;
|
|
13
|
-
eventClickHandling?: "Enabled" | "Disabled" | "CallBack";
|
|
14
|
+
eventClickHandling?: "Enabled" | "Disabled" | "CallBack" | "ContextMenu";
|
|
14
15
|
eventDeleteHandling?: "Update" | "Disabled" | "CallBack";
|
|
15
16
|
eventMoveHandling?: "Update" | "CallBack" | "Disabled";
|
|
16
17
|
eventResizeHandling?: "Update" | "CallBack" | "Disabled";
|
|
18
|
+
eventRightClickHandling?: "ContextMenu" | "Enabled" | "Disabled";
|
|
17
19
|
headerClickHandling?: "Enabled" | "Disabled";
|
|
18
20
|
headerHeight?: number;
|
|
19
21
|
headerTextWrappingEnabled?: boolean;
|
|
@@ -42,6 +44,8 @@ export declare module DayPilot {
|
|
|
42
44
|
onEventMoved?: EventHandler<CalendarEventMovedArgs>;
|
|
43
45
|
onEventResize?: EventHandler<CalendarEventResizeArgs>;
|
|
44
46
|
onEventResized?: EventHandler<CalendarEventResizedArgs>;
|
|
47
|
+
onEventRightClick?: EventHandler<CalendarEventRightClickArgs>;
|
|
48
|
+
onEventRightClicked?: EventHandler<CalendarEventRightClickedArgs>;
|
|
45
49
|
onHeaderClick?: EventHandler<CalendarHeaderClickArgs>;
|
|
46
50
|
onHeaderClicked?: EventHandler<CalendarHeaderClickedArgs>;
|
|
47
51
|
onTimeRangeSelect?: EventHandler<CalendarTimeRangeSelectArgs>;
|
|
@@ -111,6 +115,13 @@ export declare module DayPilot {
|
|
|
111
115
|
readonly meta: boolean;
|
|
112
116
|
readonly originalEvent: MouseEvent;
|
|
113
117
|
}
|
|
118
|
+
export interface CalendarEventRightClickArgs {
|
|
119
|
+
readonly e: DayPilot.Event;
|
|
120
|
+
preventDefault(): void;
|
|
121
|
+
}
|
|
122
|
+
export interface CalendarEventRightClickedArgs {
|
|
123
|
+
readonly e: DayPilot.Event;
|
|
124
|
+
}
|
|
114
125
|
export interface CalendarEventDeleteArgs {
|
|
115
126
|
readonly e: DayPilot.Event;
|
|
116
127
|
readonly control: DayPilot.Calendar;
|
|
@@ -191,8 +202,10 @@ export declare module DayPilot {
|
|
|
191
202
|
cellHeaderClickHandling?: "Enabled" | "Disabled";
|
|
192
203
|
cellHeaderHeight?: number;
|
|
193
204
|
cellHeight?: number;
|
|
205
|
+
contextMenu?: DayPilot.Menu;
|
|
194
206
|
eventBarVisible?: number;
|
|
195
|
-
eventClickHandling?: "Enabled" | "Disabled" | "CallBack" | "
|
|
207
|
+
eventClickHandling?: "Enabled" | "Disabled" | "CallBack" | "ContextMenu";
|
|
208
|
+
eventRightClickHandling?: "ContextMenu" | "Enabled" | "Disabled";
|
|
196
209
|
eventHeight?: number;
|
|
197
210
|
eventDeleteHandling?: "Update" | "Disabled";
|
|
198
211
|
eventMoveHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
|
|
@@ -220,6 +233,8 @@ export declare module DayPilot {
|
|
|
220
233
|
onEventMoved?: EventHandler<MonthEventMovedArgs>;
|
|
221
234
|
onEventResize?: EventHandler<MonthEventResizeArgs>;
|
|
222
235
|
onEventResized?: EventHandler<MonthEventResizedArgs>;
|
|
236
|
+
onEventRightClick?: EventHandler<MonthEventRightClickArgs>;
|
|
237
|
+
onEventRightClicked?: EventHandler<MonthEventRightClickedArgs>;
|
|
223
238
|
onTimeRangeSelect?: EventHandler<MonthTimeRangeSelectArgs>;
|
|
224
239
|
onTimeRangeSelected?: EventHandler<MonthTimeRangeSelectedArgs>;
|
|
225
240
|
}
|
|
@@ -279,6 +294,13 @@ export declare module DayPilot {
|
|
|
279
294
|
readonly meta: boolean;
|
|
280
295
|
readonly ctrl: boolean;
|
|
281
296
|
}
|
|
297
|
+
export interface MonthEventRightClickArgs {
|
|
298
|
+
readonly e: DayPilot.Event;
|
|
299
|
+
preventDefault(): void;
|
|
300
|
+
}
|
|
301
|
+
export interface MonthEventRightClickedArgs {
|
|
302
|
+
readonly e: DayPilot.Event;
|
|
303
|
+
}
|
|
282
304
|
export interface MonthEventDeleteArgs {
|
|
283
305
|
readonly e: DayPilot.Event;
|
|
284
306
|
readonly control: DayPilot.Month;
|
|
@@ -439,6 +461,61 @@ export declare module DayPilot {
|
|
|
439
461
|
static register(locale: DayPilot.Locale): void;
|
|
440
462
|
static find(id: string): DayPilot.Locale;
|
|
441
463
|
}
|
|
464
|
+
export class MenuPropsAndEvents {
|
|
465
|
+
hideOnMouseOut?: boolean;
|
|
466
|
+
items?: MenuItemData[];
|
|
467
|
+
menuTitle?: string;
|
|
468
|
+
onShow?: EventHandler<MenuShowArgs>;
|
|
469
|
+
onHide?: EventHandler<MenuHideArgs>;
|
|
470
|
+
showMenuTitle?: boolean;
|
|
471
|
+
zIndex?: number;
|
|
472
|
+
theme?: string;
|
|
473
|
+
}
|
|
474
|
+
export class MenuConfig extends MenuPropsAndEvents {
|
|
475
|
+
}
|
|
476
|
+
export class Menu extends MenuPropsAndEvents {
|
|
477
|
+
v: string;
|
|
478
|
+
constructor(options?: MenuConfig);
|
|
479
|
+
show(target?: any): void;
|
|
480
|
+
hide(): void;
|
|
481
|
+
static hide(): void;
|
|
482
|
+
}
|
|
483
|
+
export interface MenuShowArgs {
|
|
484
|
+
readonly source: any;
|
|
485
|
+
readonly menu: DayPilot.Menu;
|
|
486
|
+
preventDefault(): void;
|
|
487
|
+
}
|
|
488
|
+
export interface MenuHideArgs {
|
|
489
|
+
}
|
|
490
|
+
export class MenuBar {
|
|
491
|
+
items: any[];
|
|
492
|
+
constructor(id: string, options?: any);
|
|
493
|
+
init(): void;
|
|
494
|
+
dispose(): void;
|
|
495
|
+
}
|
|
496
|
+
export interface MenuItemData {
|
|
497
|
+
action?: "CallBack" | "PostBack";
|
|
498
|
+
command?: string;
|
|
499
|
+
cssClass?: string;
|
|
500
|
+
disabled?: boolean;
|
|
501
|
+
hidden?: boolean;
|
|
502
|
+
href?: string;
|
|
503
|
+
icon?: string;
|
|
504
|
+
image?: string;
|
|
505
|
+
items?: MenuItemData[];
|
|
506
|
+
onClick?: EventHandler<MenuItemClickArgs>;
|
|
507
|
+
symbol?: string;
|
|
508
|
+
tags?: any;
|
|
509
|
+
target?: string;
|
|
510
|
+
text?: string;
|
|
511
|
+
html?: string;
|
|
512
|
+
}
|
|
513
|
+
export interface MenuItemClickArgs {
|
|
514
|
+
readonly item: MenuItemData;
|
|
515
|
+
readonly source: any;
|
|
516
|
+
readonly originalEvent: MouseEvent;
|
|
517
|
+
preventDefault(): void;
|
|
518
|
+
}
|
|
442
519
|
export class Date {
|
|
443
520
|
constructor(str?: string | DayPilot.Date);
|
|
444
521
|
constructor(date: GlobalDate, isLocal?: boolean);
|