@daypilot/daypilot-lite-angular 3.33.1 → 3.34.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/esm2020/lib/core/daypilot-core.mjs +1706 -1712
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +2160 -2103
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +1705 -1711
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +9 -27
- package/package.json +2 -2
|
@@ -455,11 +455,16 @@ export declare module DayPilot {
|
|
|
455
455
|
selectionStart?: DayPilot.Date;
|
|
456
456
|
selectMode?: "Day" | "Week" | "Month" | "None";
|
|
457
457
|
showMonths?: number;
|
|
458
|
+
showToday?: boolean;
|
|
458
459
|
showWeekNumbers?: boolean;
|
|
459
460
|
skipMonths?: number;
|
|
460
461
|
startDate?: DayPilot.Date | string;
|
|
461
462
|
theme?: string;
|
|
462
463
|
titleHeight?: number;
|
|
464
|
+
todayHeight?: number;
|
|
465
|
+
todayHtml?: string;
|
|
466
|
+
todayPosition?: "Top" | "Bottom";
|
|
467
|
+
todayText?: string;
|
|
463
468
|
weekStarts?: "Auto" | number;
|
|
464
469
|
weekNumberAlgorithm?: "Auto" | "US" | "ISO8601";
|
|
465
470
|
timeRangeSelectedHandling?: "Bind" | "None";
|
|
@@ -467,6 +472,7 @@ export declare module DayPilot {
|
|
|
467
472
|
onBeforeCellRender?: EventHandler<NavigatorBeforeCellRenderArgs>;
|
|
468
473
|
onTimeRangeSelect?: EventHandler<NavigatorTimeRangeSelectArgs>;
|
|
469
474
|
onTimeRangeSelected?: EventHandler<NavigatorTimeRangeSelectedArgs>;
|
|
475
|
+
onTodayClick?: EventHandler<NavigatorTodayClickArgs>;
|
|
470
476
|
onVisibleRangeChange?: EventHandler<NavigatorVisibleRangeChangeArgs>;
|
|
471
477
|
onVisibleRangeChanged?: EventHandler<NavigatorVisibleRangeChangedArgs>;
|
|
472
478
|
}
|
|
@@ -518,6 +524,9 @@ export declare module DayPilot {
|
|
|
518
524
|
readonly days: number;
|
|
519
525
|
readonly mode: "Day" | "Week" | "Month" | "None" | "FreeHand";
|
|
520
526
|
}
|
|
527
|
+
export interface NavigatorTodayClickArgs {
|
|
528
|
+
preventDefault(): void;
|
|
529
|
+
}
|
|
521
530
|
interface NavigatorVisibleRangeChangeArgs {
|
|
522
531
|
readonly start: DayPilot.Date;
|
|
523
532
|
readonly end: DayPilot.Date;
|
|
@@ -719,33 +728,6 @@ export declare module DayPilot {
|
|
|
719
728
|
static lighter(color: string, steps?: number): string;
|
|
720
729
|
static contrasting(color: string, light?: string, dark?: string): string;
|
|
721
730
|
}
|
|
722
|
-
export class Http {
|
|
723
|
-
static get(url: string, options?: HttpGetOptions): Promise<HttpPromiseArgs>;
|
|
724
|
-
static post(url: string, data?: object | string, options?: HttpPostOptions): Promise<HttpPromiseArgs>;
|
|
725
|
-
static put(url: string, data?: object | string, options?: HttpPutOptions): Promise<HttpPromiseArgs>;
|
|
726
|
-
static delete(url: string, options?: HttpDeleteOptions): Promise<HttpPromiseArgs>;
|
|
727
|
-
}
|
|
728
|
-
export interface HttpDeleteOptions {
|
|
729
|
-
headers?: HttpHeaders;
|
|
730
|
-
}
|
|
731
|
-
export interface HttpGetOptions {
|
|
732
|
-
headers?: HttpHeaders;
|
|
733
|
-
}
|
|
734
|
-
export interface HttpPostOptions {
|
|
735
|
-
headers?: HttpHeaders;
|
|
736
|
-
contentType?: string;
|
|
737
|
-
}
|
|
738
|
-
export interface HttpPutOptions {
|
|
739
|
-
headers?: HttpHeaders;
|
|
740
|
-
contentType?: string;
|
|
741
|
-
}
|
|
742
|
-
export interface HttpPromiseArgs {
|
|
743
|
-
readonly data: any;
|
|
744
|
-
readonly request: XMLHttpRequest;
|
|
745
|
-
}
|
|
746
|
-
export interface HttpHeaders {
|
|
747
|
-
[header: string]: string;
|
|
748
|
-
}
|
|
749
731
|
export class Duration {
|
|
750
732
|
ticks: number;
|
|
751
733
|
constructor(ticks: number);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daypilot/daypilot-lite-angular",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.34.0",
|
|
4
4
|
"description": "DayPilot Lite for Angular",
|
|
5
5
|
"homepage": "https://javascript.daypilot.org/",
|
|
6
6
|
"author": "Annpoint, s.r.o.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"tslib": "^2.3.0",
|
|
25
|
-
"@daypilot/daypilot-lite-javascript": "3.
|
|
25
|
+
"@daypilot/daypilot-lite-javascript": "3.34.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "fesm2015/daypilot-daypilot-lite-angular.mjs",
|
|
28
28
|
"es2020": "fesm2020/daypilot-daypilot-lite-angular.mjs",
|