@daypilot/daypilot-lite-vue 5.3.1 → 5.4.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/daypilot-vue.min.d.ts +32 -11
- package/daypilot-vue.min.js +14 -14
- package/package.json +2 -2
package/daypilot-vue.min.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ DayPilot Lite
|
|
|
3
3
|
Copyright (c) 2005 - 2026 Annpoint s.r.o.
|
|
4
4
|
https://www.daypilot.org/
|
|
5
5
|
Licensed under Apache Software License 2.0
|
|
6
|
-
Version: 2026.1.
|
|
6
|
+
Version: 2026.1.809-lite
|
|
7
7
|
*/
|
|
8
8
|
type GlobalDate = Date;
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export namespace DayPilot {
|
|
11
11
|
|
|
12
12
|
export class SchedulerPropsAndEvents {
|
|
13
13
|
backendUrl?: string;
|
|
@@ -112,6 +112,8 @@ export module DayPilot {
|
|
|
112
112
|
onTimeRangeClicked?: EventHandler<SchedulerTimeRangeClickedArgs>;
|
|
113
113
|
onTimeRangeSelect?: EventHandler<SchedulerTimeRangeSelectArgs>;
|
|
114
114
|
onTimeRangeSelected?: EventHandler<SchedulerTimeRangeSelectedArgs>;
|
|
115
|
+
|
|
116
|
+
onScroll?: EventHandler<SchedulerScrollArgs>;
|
|
115
117
|
}
|
|
116
118
|
|
|
117
119
|
export class SchedulerConfig extends SchedulerPropsAndEvents {
|
|
@@ -463,6 +465,11 @@ export module DayPilot {
|
|
|
463
465
|
readonly control: DayPilot.Scheduler;
|
|
464
466
|
}
|
|
465
467
|
|
|
468
|
+
export interface SchedulerScrollArgs {
|
|
469
|
+
readonly viewport: SchedulerViewport;
|
|
470
|
+
readonly control: DayPilot.Scheduler;
|
|
471
|
+
}
|
|
472
|
+
|
|
466
473
|
// TODO check if all values are supported
|
|
467
474
|
export type GroupBy = "Minute" | "Hour" | "Day" | "Week" | "Month" | "Quarter" | "Year" | "Cell" | "None";
|
|
468
475
|
|
|
@@ -554,6 +561,7 @@ export module DayPilot {
|
|
|
554
561
|
eventMoveHandling?: "Update" | "CallBack" | "Disabled";
|
|
555
562
|
eventResizeHandling?: "Update" | "CallBack" | "Disabled";
|
|
556
563
|
eventRightClickHandling?: "ContextMenu" | "Enabled" | "Disabled";
|
|
564
|
+
eventsLoadMethod?: "GET" | "POST";
|
|
557
565
|
headerClickHandling?: "Enabled" | "Disabled";
|
|
558
566
|
headerDateFormat?: string;
|
|
559
567
|
headerHeight?: number;
|
|
@@ -852,6 +860,7 @@ export module DayPilot {
|
|
|
852
860
|
eventDeleteHandling?: "Update" | "Disabled";
|
|
853
861
|
eventMoveHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
|
|
854
862
|
eventResizeHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
|
|
863
|
+
eventsLoadMethod?: "GET" | "POST";
|
|
855
864
|
headerClickHandling?: "Enabled" | "Disabled" | "CallBack";
|
|
856
865
|
headerHeight?: number;
|
|
857
866
|
hideUntilInit?: boolean;
|
|
@@ -1059,6 +1068,7 @@ export module DayPilot {
|
|
|
1059
1068
|
}
|
|
1060
1069
|
|
|
1061
1070
|
export class NavigatorPropsAndEvents {
|
|
1071
|
+
autoFocusOnClick?: boolean;
|
|
1062
1072
|
cellHeight?: number;
|
|
1063
1073
|
cellWidth?: number;
|
|
1064
1074
|
command?: string;
|
|
@@ -1066,8 +1076,10 @@ export module DayPilot {
|
|
|
1066
1076
|
eventEndSpec?: "DateTime" | "Date";
|
|
1067
1077
|
freeHandSelectionEnabled?: boolean;
|
|
1068
1078
|
locale?: string;
|
|
1079
|
+
month?: number;
|
|
1069
1080
|
orientation?: "Vertical" | "Horizontal";
|
|
1070
1081
|
rowsPerMonth?: "Auto" | "Six";
|
|
1082
|
+
rtl?: boolean;
|
|
1071
1083
|
selectionDay?: DayPilot.Date;
|
|
1072
1084
|
selectionEnd?: DayPilot.Date;
|
|
1073
1085
|
selectionStart?: DayPilot.Date;
|
|
@@ -1085,6 +1097,7 @@ export module DayPilot {
|
|
|
1085
1097
|
todayText?: string;
|
|
1086
1098
|
weekStarts?: "Auto" | number;
|
|
1087
1099
|
weekNumberAlgorithm?: "Auto" | "US" | "ISO8601";
|
|
1100
|
+
year?: number;
|
|
1088
1101
|
timeRangeSelectedHandling?: "Bind" | "None";
|
|
1089
1102
|
visibleRangeChangedHandling?: "Enabled" | "Disabled" | "CallBack";
|
|
1090
1103
|
|
|
@@ -1100,7 +1113,7 @@ export module DayPilot {
|
|
|
1100
1113
|
events?: EventData[];
|
|
1101
1114
|
}
|
|
1102
1115
|
|
|
1103
|
-
interface NavigatorSelectOptions {
|
|
1116
|
+
export interface NavigatorSelectOptions {
|
|
1104
1117
|
dontFocus?: boolean;
|
|
1105
1118
|
dontNotify?: boolean;
|
|
1106
1119
|
}
|
|
@@ -1133,7 +1146,7 @@ export module DayPilot {
|
|
|
1133
1146
|
visibleStart(): DayPilot.Date;
|
|
1134
1147
|
}
|
|
1135
1148
|
|
|
1136
|
-
interface NavigatorBeforeCellRenderArgs {
|
|
1149
|
+
export interface NavigatorBeforeCellRenderArgs {
|
|
1137
1150
|
readonly cell: {
|
|
1138
1151
|
readonly day: DayPilot.Date;
|
|
1139
1152
|
readonly isCurrentMonth: boolean;
|
|
@@ -1147,7 +1160,7 @@ export module DayPilot {
|
|
|
1147
1160
|
};
|
|
1148
1161
|
}
|
|
1149
1162
|
|
|
1150
|
-
interface NavigatorTimeRangeSelectArgs {
|
|
1163
|
+
export interface NavigatorTimeRangeSelectArgs {
|
|
1151
1164
|
readonly start: DayPilot.Date;
|
|
1152
1165
|
readonly end: DayPilot.Date;
|
|
1153
1166
|
readonly day: DayPilot.Date;
|
|
@@ -1156,7 +1169,7 @@ export module DayPilot {
|
|
|
1156
1169
|
preventDefault(): void;
|
|
1157
1170
|
}
|
|
1158
1171
|
|
|
1159
|
-
interface NavigatorTimeRangeSelectedArgs {
|
|
1172
|
+
export interface NavigatorTimeRangeSelectedArgs {
|
|
1160
1173
|
readonly start: DayPilot.Date;
|
|
1161
1174
|
readonly end: DayPilot.Date;
|
|
1162
1175
|
readonly day: DayPilot.Date;
|
|
@@ -1168,13 +1181,13 @@ export module DayPilot {
|
|
|
1168
1181
|
preventDefault(): void;
|
|
1169
1182
|
}
|
|
1170
1183
|
|
|
1171
|
-
interface NavigatorVisibleRangeChangeArgs {
|
|
1184
|
+
export interface NavigatorVisibleRangeChangeArgs {
|
|
1172
1185
|
readonly start: DayPilot.Date;
|
|
1173
1186
|
readonly end: DayPilot.Date;
|
|
1174
1187
|
preventDefault(): void;
|
|
1175
1188
|
}
|
|
1176
1189
|
|
|
1177
|
-
interface NavigatorVisibleRangeChangedArgs {
|
|
1190
|
+
export interface NavigatorVisibleRangeChangedArgs {
|
|
1178
1191
|
readonly start: DayPilot.Date;
|
|
1179
1192
|
readonly end: DayPilot.Date;
|
|
1180
1193
|
}
|
|
@@ -1464,10 +1477,10 @@ export module DayPilot {
|
|
|
1464
1477
|
static parse(input: string, pattern: string, locale?: string | DayPilot.Locale): DayPilot.Date;
|
|
1465
1478
|
static today(): DayPilot.Date;
|
|
1466
1479
|
static now(): DayPilot.Date;
|
|
1467
|
-
static Cache:
|
|
1480
|
+
static Cache: DateCache;
|
|
1468
1481
|
}
|
|
1469
1482
|
|
|
1470
|
-
export class
|
|
1483
|
+
export class DateCache {
|
|
1471
1484
|
static clear(): void;
|
|
1472
1485
|
}
|
|
1473
1486
|
|
|
@@ -1483,7 +1496,7 @@ export module DayPilot {
|
|
|
1483
1496
|
static contrasting(color: string, light?: string, dark?: string): string;
|
|
1484
1497
|
}
|
|
1485
1498
|
|
|
1486
|
-
class Http {
|
|
1499
|
+
export class Http {
|
|
1487
1500
|
static get<T = any>(url: string, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
1488
1501
|
static post<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
1489
1502
|
static put<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
@@ -1557,6 +1570,9 @@ export module DayPilot {
|
|
|
1557
1570
|
end(): DayPilot.Date;
|
|
1558
1571
|
end(newEnd: DayPilot.Date): void;
|
|
1559
1572
|
|
|
1573
|
+
partStart(): DayPilot.Date;
|
|
1574
|
+
partEnd(): DayPilot.Date;
|
|
1575
|
+
|
|
1560
1576
|
id(): EventId;
|
|
1561
1577
|
|
|
1562
1578
|
text(): string;
|
|
@@ -1565,6 +1581,8 @@ export module DayPilot {
|
|
|
1565
1581
|
resource(): ResourceId;
|
|
1566
1582
|
resource(newResource: ResourceId): void;
|
|
1567
1583
|
|
|
1584
|
+
tag(name: string): any;
|
|
1585
|
+
|
|
1568
1586
|
duration(): DayPilot.Duration;
|
|
1569
1587
|
}
|
|
1570
1588
|
|
|
@@ -1655,13 +1673,16 @@ export module DayPilot {
|
|
|
1655
1673
|
autoFocus?: boolean;
|
|
1656
1674
|
autoStretch?: boolean;
|
|
1657
1675
|
autoStretchFirstLoadOnly?: boolean;
|
|
1676
|
+
cancelText?: string;
|
|
1658
1677
|
container?: HTMLElement;
|
|
1659
1678
|
disposeOnClose?: boolean;
|
|
1660
1679
|
dragDrop?: boolean;
|
|
1661
1680
|
focus?: string | { id: string, value: string | number };
|
|
1662
1681
|
height?: number;
|
|
1663
1682
|
left?: number;
|
|
1683
|
+
locale?: string;
|
|
1664
1684
|
loadingHtml?: string;
|
|
1685
|
+
okText?: string;
|
|
1665
1686
|
maxHeight?: number;
|
|
1666
1687
|
scrollWithPage?: boolean;
|
|
1667
1688
|
theme?: string;
|