@progress/kendo-angular-scheduler 13.2.0-develop.4 → 13.2.0-develop.6
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/package-metadata.mjs +2 -2
- package/esm2020/toolbar/navigation.component.mjs +13 -3
- package/fesm2015/progress-kendo-angular-scheduler.mjs +15 -5
- package/fesm2020/progress-kendo-angular-scheduler.mjs +15 -5
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/navigation.component.d.ts +5 -0
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-scheduler',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '13.2.0-develop.
|
|
12
|
+
publishDate: 1688730807,
|
|
13
|
+
version: '13.2.0-develop.6',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -48,6 +48,7 @@ export class ToolbarNavigationComponent {
|
|
|
48
48
|
* @hidden
|
|
49
49
|
*/
|
|
50
50
|
this.dateRangeText = { short: '', long: '', current: '' };
|
|
51
|
+
this.isMouseDown = false;
|
|
51
52
|
this.subs = this.localization.changes.subscribe(() => {
|
|
52
53
|
cd.markForCheck();
|
|
53
54
|
});
|
|
@@ -97,7 +98,13 @@ export class ToolbarNavigationComponent {
|
|
|
97
98
|
* @hidden
|
|
98
99
|
*/
|
|
99
100
|
onBlur() {
|
|
100
|
-
this.closePopup();
|
|
101
|
+
this.isMouseDown ? null : this.closePopup();
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @hidden
|
|
105
|
+
*/
|
|
106
|
+
onMouseDown() {
|
|
107
|
+
this.isMouseDown = true;
|
|
101
108
|
}
|
|
102
109
|
ngOnInit() {
|
|
103
110
|
if (!isDocumentAvailable()) {
|
|
@@ -133,6 +140,7 @@ export class ToolbarNavigationComponent {
|
|
|
133
140
|
}
|
|
134
141
|
this.popupRef = this.popupService.open(popupSettings);
|
|
135
142
|
}
|
|
143
|
+
this.isMouseDown = false;
|
|
136
144
|
return false;
|
|
137
145
|
}
|
|
138
146
|
/**
|
|
@@ -233,7 +241,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
233
241
|
icon="calendar"
|
|
234
242
|
[svgIcon]="svgIcon('calendarIcon')"
|
|
235
243
|
fillMode="flat"
|
|
236
|
-
(mousedown)="
|
|
244
|
+
(mousedown)="onMouseDown()"
|
|
245
|
+
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
237
246
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
238
247
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
239
248
|
role="button"
|
|
@@ -305,7 +314,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
305
314
|
icon="calendar"
|
|
306
315
|
[svgIcon]="svgIcon('calendarIcon')"
|
|
307
316
|
fillMode="flat"
|
|
308
|
-
(mousedown)="
|
|
317
|
+
(mousedown)="onMouseDown()"
|
|
318
|
+
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
309
319
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
310
320
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
311
321
|
role="button"
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '13.2.0-develop.
|
|
51
|
+
publishDate: 1688730807,
|
|
52
|
+
version: '13.2.0-develop.6',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -2385,6 +2385,7 @@ class ToolbarNavigationComponent {
|
|
|
2385
2385
|
* @hidden
|
|
2386
2386
|
*/
|
|
2387
2387
|
this.dateRangeText = { short: '', long: '', current: '' };
|
|
2388
|
+
this.isMouseDown = false;
|
|
2388
2389
|
this.subs = this.localization.changes.subscribe(() => {
|
|
2389
2390
|
cd.markForCheck();
|
|
2390
2391
|
});
|
|
@@ -2434,7 +2435,13 @@ class ToolbarNavigationComponent {
|
|
|
2434
2435
|
* @hidden
|
|
2435
2436
|
*/
|
|
2436
2437
|
onBlur() {
|
|
2437
|
-
this.closePopup();
|
|
2438
|
+
this.isMouseDown ? null : this.closePopup();
|
|
2439
|
+
}
|
|
2440
|
+
/**
|
|
2441
|
+
* @hidden
|
|
2442
|
+
*/
|
|
2443
|
+
onMouseDown() {
|
|
2444
|
+
this.isMouseDown = true;
|
|
2438
2445
|
}
|
|
2439
2446
|
ngOnInit() {
|
|
2440
2447
|
if (!isDocumentAvailable()) {
|
|
@@ -2470,6 +2477,7 @@ class ToolbarNavigationComponent {
|
|
|
2470
2477
|
}
|
|
2471
2478
|
this.popupRef = this.popupService.open(popupSettings);
|
|
2472
2479
|
}
|
|
2480
|
+
this.isMouseDown = false;
|
|
2473
2481
|
return false;
|
|
2474
2482
|
}
|
|
2475
2483
|
/**
|
|
@@ -2570,7 +2578,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2570
2578
|
icon="calendar"
|
|
2571
2579
|
[svgIcon]="svgIcon('calendarIcon')"
|
|
2572
2580
|
fillMode="flat"
|
|
2573
|
-
(mousedown)="
|
|
2581
|
+
(mousedown)="onMouseDown()"
|
|
2582
|
+
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2574
2583
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2575
2584
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2576
2585
|
role="button"
|
|
@@ -2642,7 +2651,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2642
2651
|
icon="calendar"
|
|
2643
2652
|
[svgIcon]="svgIcon('calendarIcon')"
|
|
2644
2653
|
fillMode="flat"
|
|
2645
|
-
(mousedown)="
|
|
2654
|
+
(mousedown)="onMouseDown()"
|
|
2655
|
+
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2646
2656
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2647
2657
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2648
2658
|
role="button"
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '13.2.0-develop.
|
|
51
|
+
publishDate: 1688730807,
|
|
52
|
+
version: '13.2.0-develop.6',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -2350,6 +2350,7 @@ class ToolbarNavigationComponent {
|
|
|
2350
2350
|
* @hidden
|
|
2351
2351
|
*/
|
|
2352
2352
|
this.dateRangeText = { short: '', long: '', current: '' };
|
|
2353
|
+
this.isMouseDown = false;
|
|
2353
2354
|
this.subs = this.localization.changes.subscribe(() => {
|
|
2354
2355
|
cd.markForCheck();
|
|
2355
2356
|
});
|
|
@@ -2399,7 +2400,13 @@ class ToolbarNavigationComponent {
|
|
|
2399
2400
|
* @hidden
|
|
2400
2401
|
*/
|
|
2401
2402
|
onBlur() {
|
|
2402
|
-
this.closePopup();
|
|
2403
|
+
this.isMouseDown ? null : this.closePopup();
|
|
2404
|
+
}
|
|
2405
|
+
/**
|
|
2406
|
+
* @hidden
|
|
2407
|
+
*/
|
|
2408
|
+
onMouseDown() {
|
|
2409
|
+
this.isMouseDown = true;
|
|
2403
2410
|
}
|
|
2404
2411
|
ngOnInit() {
|
|
2405
2412
|
if (!isDocumentAvailable()) {
|
|
@@ -2435,6 +2442,7 @@ class ToolbarNavigationComponent {
|
|
|
2435
2442
|
}
|
|
2436
2443
|
this.popupRef = this.popupService.open(popupSettings);
|
|
2437
2444
|
}
|
|
2445
|
+
this.isMouseDown = false;
|
|
2438
2446
|
return false;
|
|
2439
2447
|
}
|
|
2440
2448
|
/**
|
|
@@ -2535,7 +2543,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2535
2543
|
icon="calendar"
|
|
2536
2544
|
[svgIcon]="svgIcon('calendarIcon')"
|
|
2537
2545
|
fillMode="flat"
|
|
2538
|
-
(mousedown)="
|
|
2546
|
+
(mousedown)="onMouseDown()"
|
|
2547
|
+
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2539
2548
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2540
2549
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2541
2550
|
role="button"
|
|
@@ -2607,7 +2616,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2607
2616
|
icon="calendar"
|
|
2608
2617
|
[svgIcon]="svgIcon('calendarIcon')"
|
|
2609
2618
|
fillMode="flat"
|
|
2610
|
-
(mousedown)="
|
|
2619
|
+
(mousedown)="onMouseDown()"
|
|
2620
|
+
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2611
2621
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2612
2622
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2613
2623
|
role="button"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "13.2.0-develop.
|
|
3
|
+
"version": "13.2.0-develop.6",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"@progress/kendo-data-query": "^1.0.0",
|
|
26
26
|
"@progress/kendo-drawing": "^1.17.2",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-buttons": "13.2.0-develop.
|
|
29
|
-
"@progress/kendo-angular-common": "13.2.0-develop.
|
|
30
|
-
"@progress/kendo-angular-dateinputs": "13.2.0-develop.
|
|
31
|
-
"@progress/kendo-angular-dialog": "13.2.0-develop.
|
|
32
|
-
"@progress/kendo-angular-dropdowns": "13.2.0-develop.
|
|
33
|
-
"@progress/kendo-angular-icons": "13.2.0-develop.
|
|
34
|
-
"@progress/kendo-angular-inputs": "13.2.0-develop.
|
|
35
|
-
"@progress/kendo-angular-intl": "13.2.0-develop.
|
|
36
|
-
"@progress/kendo-angular-l10n": "13.2.0-develop.
|
|
37
|
-
"@progress/kendo-angular-popup": "13.2.0-develop.
|
|
28
|
+
"@progress/kendo-angular-buttons": "13.2.0-develop.6",
|
|
29
|
+
"@progress/kendo-angular-common": "13.2.0-develop.6",
|
|
30
|
+
"@progress/kendo-angular-dateinputs": "13.2.0-develop.6",
|
|
31
|
+
"@progress/kendo-angular-dialog": "13.2.0-develop.6",
|
|
32
|
+
"@progress/kendo-angular-dropdowns": "13.2.0-develop.6",
|
|
33
|
+
"@progress/kendo-angular-icons": "13.2.0-develop.6",
|
|
34
|
+
"@progress/kendo-angular-inputs": "13.2.0-develop.6",
|
|
35
|
+
"@progress/kendo-angular-intl": "13.2.0-develop.6",
|
|
36
|
+
"@progress/kendo-angular-l10n": "13.2.0-develop.6",
|
|
37
|
+
"@progress/kendo-angular-popup": "13.2.0-develop.6",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "13.2.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "13.2.0-develop.6",
|
|
43
43
|
"@progress/kendo-date-math": "^1.3.2",
|
|
44
44
|
"@progress/kendo-draggable": "^3.0.2",
|
|
45
45
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '13.2.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '13.2.0-develop.6',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '13.2.0-develop.
|
|
9
|
+
'@progress/kendo-angular-dialog': '13.2.0-develop.6',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^1.0.0'
|
|
12
12
|
} });
|
|
@@ -81,11 +81,16 @@ export declare class ToolbarNavigationComponent implements OnDestroy {
|
|
|
81
81
|
svgIcon(name: string): SVGIcon;
|
|
82
82
|
private popupRef;
|
|
83
83
|
private subs;
|
|
84
|
+
private isMouseDown;
|
|
84
85
|
constructor(popupService: PopupService, toolbarService: ToolbarService, localization: LocalizationService, cd: ChangeDetectorRef, viewContext: ViewContextService);
|
|
85
86
|
/**
|
|
86
87
|
* @hidden
|
|
87
88
|
*/
|
|
88
89
|
onBlur(): void;
|
|
90
|
+
/**
|
|
91
|
+
* @hidden
|
|
92
|
+
*/
|
|
93
|
+
onMouseDown(): void;
|
|
89
94
|
ngOnInit(): void;
|
|
90
95
|
ngOnDestroy(): void;
|
|
91
96
|
/**
|