@daypilot/daypilot-lite-javascript 5.4.0 → 5.5.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 +30 -17
- package/daypilot-javascript.min.js +14 -14
- package/package.json +1 -1
|
@@ -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.
|
|
6
|
+
Version: 2026.2.813-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;
|
|
@@ -561,6 +561,7 @@ export module DayPilot {
|
|
|
561
561
|
eventMoveHandling?: "Update" | "CallBack" | "Disabled";
|
|
562
562
|
eventResizeHandling?: "Update" | "CallBack" | "Disabled";
|
|
563
563
|
eventRightClickHandling?: "ContextMenu" | "Enabled" | "Disabled";
|
|
564
|
+
eventsLoadMethod?: "GET" | "POST";
|
|
564
565
|
headerClickHandling?: "Enabled" | "Disabled";
|
|
565
566
|
headerDateFormat?: string;
|
|
566
567
|
headerHeight?: number;
|
|
@@ -859,6 +860,7 @@ export module DayPilot {
|
|
|
859
860
|
eventDeleteHandling?: "Update" | "Disabled";
|
|
860
861
|
eventMoveHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
|
|
861
862
|
eventResizeHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
|
|
863
|
+
eventsLoadMethod?: "GET" | "POST";
|
|
862
864
|
headerClickHandling?: "Enabled" | "Disabled" | "CallBack";
|
|
863
865
|
headerHeight?: number;
|
|
864
866
|
hideUntilInit?: boolean;
|
|
@@ -1066,6 +1068,7 @@ export module DayPilot {
|
|
|
1066
1068
|
}
|
|
1067
1069
|
|
|
1068
1070
|
export class NavigatorPropsAndEvents {
|
|
1071
|
+
autoFocusOnClick?: boolean;
|
|
1069
1072
|
cellHeight?: number;
|
|
1070
1073
|
cellWidth?: number;
|
|
1071
1074
|
command?: string;
|
|
@@ -1073,8 +1076,10 @@ export module DayPilot {
|
|
|
1073
1076
|
eventEndSpec?: "DateTime" | "Date";
|
|
1074
1077
|
freeHandSelectionEnabled?: boolean;
|
|
1075
1078
|
locale?: string;
|
|
1079
|
+
month?: number;
|
|
1076
1080
|
orientation?: "Vertical" | "Horizontal";
|
|
1077
1081
|
rowsPerMonth?: "Auto" | "Six";
|
|
1082
|
+
rtl?: boolean;
|
|
1078
1083
|
selectionDay?: DayPilot.Date;
|
|
1079
1084
|
selectionEnd?: DayPilot.Date;
|
|
1080
1085
|
selectionStart?: DayPilot.Date;
|
|
@@ -1092,6 +1097,7 @@ export module DayPilot {
|
|
|
1092
1097
|
todayText?: string;
|
|
1093
1098
|
weekStarts?: "Auto" | number;
|
|
1094
1099
|
weekNumberAlgorithm?: "Auto" | "US" | "ISO8601";
|
|
1100
|
+
year?: number;
|
|
1095
1101
|
timeRangeSelectedHandling?: "Bind" | "None";
|
|
1096
1102
|
visibleRangeChangedHandling?: "Enabled" | "Disabled" | "CallBack";
|
|
1097
1103
|
|
|
@@ -1107,7 +1113,7 @@ export module DayPilot {
|
|
|
1107
1113
|
events?: EventData[];
|
|
1108
1114
|
}
|
|
1109
1115
|
|
|
1110
|
-
interface NavigatorSelectOptions {
|
|
1116
|
+
export interface NavigatorSelectOptions {
|
|
1111
1117
|
dontFocus?: boolean;
|
|
1112
1118
|
dontNotify?: boolean;
|
|
1113
1119
|
}
|
|
@@ -1140,7 +1146,7 @@ export module DayPilot {
|
|
|
1140
1146
|
visibleStart(): DayPilot.Date;
|
|
1141
1147
|
}
|
|
1142
1148
|
|
|
1143
|
-
interface NavigatorBeforeCellRenderArgs {
|
|
1149
|
+
export interface NavigatorBeforeCellRenderArgs {
|
|
1144
1150
|
readonly cell: {
|
|
1145
1151
|
readonly day: DayPilot.Date;
|
|
1146
1152
|
readonly isCurrentMonth: boolean;
|
|
@@ -1154,7 +1160,7 @@ export module DayPilot {
|
|
|
1154
1160
|
};
|
|
1155
1161
|
}
|
|
1156
1162
|
|
|
1157
|
-
interface NavigatorTimeRangeSelectArgs {
|
|
1163
|
+
export interface NavigatorTimeRangeSelectArgs {
|
|
1158
1164
|
readonly start: DayPilot.Date;
|
|
1159
1165
|
readonly end: DayPilot.Date;
|
|
1160
1166
|
readonly day: DayPilot.Date;
|
|
@@ -1163,7 +1169,7 @@ export module DayPilot {
|
|
|
1163
1169
|
preventDefault(): void;
|
|
1164
1170
|
}
|
|
1165
1171
|
|
|
1166
|
-
interface NavigatorTimeRangeSelectedArgs {
|
|
1172
|
+
export interface NavigatorTimeRangeSelectedArgs {
|
|
1167
1173
|
readonly start: DayPilot.Date;
|
|
1168
1174
|
readonly end: DayPilot.Date;
|
|
1169
1175
|
readonly day: DayPilot.Date;
|
|
@@ -1175,13 +1181,13 @@ export module DayPilot {
|
|
|
1175
1181
|
preventDefault(): void;
|
|
1176
1182
|
}
|
|
1177
1183
|
|
|
1178
|
-
interface NavigatorVisibleRangeChangeArgs {
|
|
1184
|
+
export interface NavigatorVisibleRangeChangeArgs {
|
|
1179
1185
|
readonly start: DayPilot.Date;
|
|
1180
1186
|
readonly end: DayPilot.Date;
|
|
1181
1187
|
preventDefault(): void;
|
|
1182
1188
|
}
|
|
1183
1189
|
|
|
1184
|
-
interface NavigatorVisibleRangeChangedArgs {
|
|
1190
|
+
export interface NavigatorVisibleRangeChangedArgs {
|
|
1185
1191
|
readonly start: DayPilot.Date;
|
|
1186
1192
|
readonly end: DayPilot.Date;
|
|
1187
1193
|
}
|
|
@@ -1260,6 +1266,7 @@ export module DayPilot {
|
|
|
1260
1266
|
menuTitle?: string;
|
|
1261
1267
|
onShow?: EventHandler<MenuShowArgs>;
|
|
1262
1268
|
onHide?: EventHandler<MenuHideArgs>;
|
|
1269
|
+
rtl?: boolean;
|
|
1263
1270
|
showMenuTitle?: boolean;
|
|
1264
1271
|
zIndex?: number;
|
|
1265
1272
|
theme?: string;
|
|
@@ -1433,8 +1440,6 @@ export module DayPilot {
|
|
|
1433
1440
|
|
|
1434
1441
|
getDayOfWeek(): number;
|
|
1435
1442
|
|
|
1436
|
-
getYear(): number;
|
|
1437
|
-
|
|
1438
1443
|
getHours(): number;
|
|
1439
1444
|
|
|
1440
1445
|
getMilliseconds(): number;
|
|
@@ -1471,10 +1476,10 @@ export module DayPilot {
|
|
|
1471
1476
|
static parse(input: string, pattern: string, locale?: string | DayPilot.Locale): DayPilot.Date;
|
|
1472
1477
|
static today(): DayPilot.Date;
|
|
1473
1478
|
static now(): DayPilot.Date;
|
|
1474
|
-
static Cache:
|
|
1479
|
+
static Cache: DateCache;
|
|
1475
1480
|
}
|
|
1476
1481
|
|
|
1477
|
-
export class
|
|
1482
|
+
export class DateCache {
|
|
1478
1483
|
static clear(): void;
|
|
1479
1484
|
}
|
|
1480
1485
|
|
|
@@ -1490,7 +1495,7 @@ export module DayPilot {
|
|
|
1490
1495
|
static contrasting(color: string, light?: string, dark?: string): string;
|
|
1491
1496
|
}
|
|
1492
1497
|
|
|
1493
|
-
class Http {
|
|
1498
|
+
export class Http {
|
|
1494
1499
|
static get<T = any>(url: string, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
1495
1500
|
static post<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
1496
1501
|
static put<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
@@ -1498,12 +1503,12 @@ export module DayPilot {
|
|
|
1498
1503
|
static delete<T = any>(url: string, params?: Http.RequestParams): Promise<Http.Result<T>>;
|
|
1499
1504
|
}
|
|
1500
1505
|
|
|
1501
|
-
namespace Http {
|
|
1502
|
-
interface RequestParams {
|
|
1506
|
+
export namespace Http {
|
|
1507
|
+
export interface RequestParams {
|
|
1503
1508
|
contentType?: string;
|
|
1504
1509
|
headers?: Record<string, string>;
|
|
1505
1510
|
}
|
|
1506
|
-
interface Result<T = any> {
|
|
1511
|
+
export interface Result<T = any> {
|
|
1507
1512
|
request: XMLHttpRequest;
|
|
1508
1513
|
data?: T;
|
|
1509
1514
|
}
|
|
@@ -1564,6 +1569,9 @@ export module DayPilot {
|
|
|
1564
1569
|
end(): DayPilot.Date;
|
|
1565
1570
|
end(newEnd: DayPilot.Date): void;
|
|
1566
1571
|
|
|
1572
|
+
partStart(): DayPilot.Date;
|
|
1573
|
+
partEnd(): DayPilot.Date;
|
|
1574
|
+
|
|
1567
1575
|
id(): EventId;
|
|
1568
1576
|
|
|
1569
1577
|
text(): string;
|
|
@@ -1572,13 +1580,15 @@ export module DayPilot {
|
|
|
1572
1580
|
resource(): ResourceId;
|
|
1573
1581
|
resource(newResource: ResourceId): void;
|
|
1574
1582
|
|
|
1583
|
+
tag(name: string): any;
|
|
1584
|
+
|
|
1575
1585
|
duration(): DayPilot.Duration;
|
|
1576
1586
|
}
|
|
1577
1587
|
|
|
1578
1588
|
export class Selection {
|
|
1579
1589
|
start: DayPilot.Date;
|
|
1580
1590
|
end: DayPilot.Date;
|
|
1581
|
-
resource
|
|
1591
|
+
resource?: ResourceId;
|
|
1582
1592
|
}
|
|
1583
1593
|
|
|
1584
1594
|
export interface EventDataShort {
|
|
@@ -1662,13 +1672,16 @@ export module DayPilot {
|
|
|
1662
1672
|
autoFocus?: boolean;
|
|
1663
1673
|
autoStretch?: boolean;
|
|
1664
1674
|
autoStretchFirstLoadOnly?: boolean;
|
|
1675
|
+
cancelText?: string;
|
|
1665
1676
|
container?: HTMLElement;
|
|
1666
1677
|
disposeOnClose?: boolean;
|
|
1667
1678
|
dragDrop?: boolean;
|
|
1668
1679
|
focus?: string | { id: string, value: string | number };
|
|
1669
1680
|
height?: number;
|
|
1670
1681
|
left?: number;
|
|
1682
|
+
locale?: string;
|
|
1671
1683
|
loadingHtml?: string;
|
|
1684
|
+
okText?: string;
|
|
1672
1685
|
maxHeight?: number;
|
|
1673
1686
|
scrollWithPage?: boolean;
|
|
1674
1687
|
theme?: string;
|