@daypilot/daypilot-lite-angular 3.11.0 → 3.12.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/esm2020/lib/core/daypilot-core.mjs +1754 -1706
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +2163 -2164
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +1757 -1709
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +42 -0
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@ export declare module DayPilot {
|
|
|
37
37
|
viewType?: "Day" | "Days" | "Week" | "WorkWeek" | "Resources";
|
|
38
38
|
visible?: boolean;
|
|
39
39
|
xssProtection?: "Enabled" | "Disabled";
|
|
40
|
+
onBeforeEventRender?: EventHandler<CalendarBeforeEventRenderArgs>;
|
|
40
41
|
onEventClick?: EventHandler<CalendarEventClickArgs>;
|
|
41
42
|
onEventClicked?: EventHandler<CalendarEventClickedArgs>;
|
|
42
43
|
onEventDelete?: EventHandler<CalendarEventDeleteArgs>;
|
|
@@ -101,6 +102,9 @@ export declare module DayPilot {
|
|
|
101
102
|
html?: string;
|
|
102
103
|
toolTip?: string;
|
|
103
104
|
}
|
|
105
|
+
export interface CalendarBeforeEventRenderArgs {
|
|
106
|
+
readonly data: EventData;
|
|
107
|
+
}
|
|
104
108
|
export interface CalendarEventClickArgs {
|
|
105
109
|
readonly e: DayPilot.Event;
|
|
106
110
|
readonly control: DayPilot.Calendar;
|
|
@@ -224,6 +228,7 @@ export declare module DayPilot {
|
|
|
224
228
|
weekStarts?: number;
|
|
225
229
|
width?: string;
|
|
226
230
|
xssProtection?: "Enabled" | "Disabled";
|
|
231
|
+
onBeforeEventRender?: EventHandler<MonthBeforeEventRenderArgs>;
|
|
227
232
|
onCellHeaderClick?: EventHandler<MonthCellHeaderClickArgs>;
|
|
228
233
|
onCellHeaderClicked?: EventHandler<MonthCellHeaderClickedArgs>;
|
|
229
234
|
onEventClick?: EventHandler<MonthEventClickArgs>;
|
|
@@ -267,6 +272,9 @@ export declare module DayPilot {
|
|
|
267
272
|
visibleStart(): DayPilot.Date;
|
|
268
273
|
visibleEnd(): DayPilot.Date;
|
|
269
274
|
}
|
|
275
|
+
export interface MonthBeforeEventRenderArgs {
|
|
276
|
+
readonly data: EventData;
|
|
277
|
+
}
|
|
270
278
|
export interface MonthCellHeaderClickArgs {
|
|
271
279
|
readonly control: DayPilot.Month;
|
|
272
280
|
readonly start: DayPilot.Date;
|
|
@@ -656,6 +664,7 @@ export declare module DayPilot {
|
|
|
656
664
|
id: EventId;
|
|
657
665
|
text: string;
|
|
658
666
|
resource?: ResourceId;
|
|
667
|
+
areas?: AreaData[];
|
|
659
668
|
backColor?: string;
|
|
660
669
|
barBackColor?: string;
|
|
661
670
|
barColor?: string;
|
|
@@ -666,12 +675,45 @@ export declare module DayPilot {
|
|
|
666
675
|
html?: string;
|
|
667
676
|
tags?: any;
|
|
668
677
|
}
|
|
678
|
+
export interface AreaData {
|
|
679
|
+
action?: "Default" | "None" | "ContextMenu" | "ResizeEnd" | "ResizeStart" | "Move";
|
|
680
|
+
backColor?: string;
|
|
681
|
+
background?: string;
|
|
682
|
+
bottom?: number | string;
|
|
683
|
+
cssClass?: string;
|
|
684
|
+
fontColor?: string;
|
|
685
|
+
height?: number | string;
|
|
686
|
+
horizontalAlignment?: HorizontalAlignment;
|
|
687
|
+
html?: string;
|
|
688
|
+
icon?: string;
|
|
689
|
+
id?: AreaId;
|
|
690
|
+
image?: string;
|
|
691
|
+
left?: number | string;
|
|
692
|
+
menu?: Menu | string;
|
|
693
|
+
onClick?: (args: any) => void;
|
|
694
|
+
onClicked?: (args: any) => void;
|
|
695
|
+
onMouseEnter?: (args: any) => void;
|
|
696
|
+
onMouseLeave?: (args: any) => void;
|
|
697
|
+
padding?: number;
|
|
698
|
+
right?: number | string;
|
|
699
|
+
style?: string;
|
|
700
|
+
symbol?: string;
|
|
701
|
+
text?: string;
|
|
702
|
+
toolTip?: string;
|
|
703
|
+
top?: number | string;
|
|
704
|
+
verticalAlignment?: VerticalAlignment;
|
|
705
|
+
visibility?: "Hover" | "Visible" | "TouchVisible";
|
|
706
|
+
width?: number | string;
|
|
707
|
+
}
|
|
669
708
|
export function guid(): string;
|
|
670
709
|
export interface EventHandler<T> {
|
|
671
710
|
(args: T): void;
|
|
672
711
|
}
|
|
673
712
|
export type ResourceId = string | number;
|
|
674
713
|
export type EventId = string | number;
|
|
714
|
+
export type AreaId = string | number;
|
|
715
|
+
export type HorizontalAlignment = "right" | "center" | "left";
|
|
716
|
+
export type VerticalAlignment = "top" | "center" | "bottom";
|
|
675
717
|
export class ModalPropsAndEvents {
|
|
676
718
|
autoFocus?: boolean;
|
|
677
719
|
autoStretch?: boolean;
|