@progress/kendo-angular-scheduler 24.0.1 → 24.0.2-develop.2
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.
|
@@ -7,7 +7,7 @@ import { Optional, Directive, Injectable, EventEmitter, Input, Inject, isDevMode
|
|
|
7
7
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
|
-
import { getter, setter,
|
|
10
|
+
import { getter, setter, isDocumentAvailable, hasObservers, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, ResizeSensorComponent, getLicenseMessage, shouldShowValidationUI, anyChanged, WatermarkOverlayComponent, KENDO_WEBMCP_HOST, guid, normalizeKeys, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
11
|
import { isEqualDate, ZonedDate, toLocalDate, getDate, timezoneNames, Day, MS_PER_DAY as MS_PER_DAY$1, addDays, firstDayOfMonth, lastDayOfMonth, firstDayInWeek, addMonths, addWeeks, addYears } from '@progress/kendo-date-math';
|
|
12
12
|
import { auditTime, buffer, filter, map, debounceTime, take, distinctUntilChanged, switchMap, tap } from 'rxjs/operators';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '24.0.
|
|
46
|
+
publishDate: 1779778526,
|
|
47
|
+
version: '24.0.2-develop.2',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -2043,7 +2043,7 @@ class FocusService {
|
|
|
2043
2043
|
}
|
|
2044
2044
|
unregister(item) {
|
|
2045
2045
|
if (item === this.activeItem) {
|
|
2046
|
-
this.activateNext();
|
|
2046
|
+
this.activateNext(undefined, this.shouldMoveFocusOnUnregister(item));
|
|
2047
2047
|
}
|
|
2048
2048
|
this.items.delete(item);
|
|
2049
2049
|
this.elementMap.delete(item.element.nativeElement);
|
|
@@ -2097,10 +2097,12 @@ class FocusService {
|
|
|
2097
2097
|
});
|
|
2098
2098
|
this.activeItem = next;
|
|
2099
2099
|
}
|
|
2100
|
-
activateNext(position) {
|
|
2100
|
+
activateNext(position, moveFocus = true) {
|
|
2101
2101
|
const next = this.findNext(position);
|
|
2102
|
-
this.
|
|
2103
|
-
|
|
2102
|
+
this.activate(next);
|
|
2103
|
+
if (moveFocus) {
|
|
2104
|
+
next?.focus(false);
|
|
2105
|
+
}
|
|
2104
2106
|
}
|
|
2105
2107
|
findNext(position) {
|
|
2106
2108
|
const { offset, nowrap } = { nowrap: false, offset: 1, ...position };
|
|
@@ -2131,6 +2133,15 @@ class FocusService {
|
|
|
2131
2133
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'tabindex', this.activeItem ? '-1' : '0');
|
|
2132
2134
|
}
|
|
2133
2135
|
}
|
|
2136
|
+
shouldMoveFocusOnUnregister(item) {
|
|
2137
|
+
if (this.focusedItem === item) {
|
|
2138
|
+
return true;
|
|
2139
|
+
}
|
|
2140
|
+
if (!this.wrapper || !isDocumentAvailable()) {
|
|
2141
|
+
return false;
|
|
2142
|
+
}
|
|
2143
|
+
return this.wrapper.nativeElement.contains(document.activeElement);
|
|
2144
|
+
}
|
|
2134
2145
|
onFocusIn(e) {
|
|
2135
2146
|
const item = this.elementMap.get(e.target);
|
|
2136
2147
|
if (!item || item === this.focusedItem) {
|
|
@@ -36,6 +36,7 @@ export declare class FocusService implements OnDestroy {
|
|
|
36
36
|
private activateNext;
|
|
37
37
|
private findNext;
|
|
38
38
|
private toggleWrapper;
|
|
39
|
+
private shouldMoveFocusOnUnregister;
|
|
39
40
|
private onFocusIn;
|
|
40
41
|
private onFocusOut;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusService, [{ optional: true; }, { optional: true; }, null, null]>;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.
|
|
10
|
+
"publishDate": 1779778526,
|
|
11
|
+
"version": "24.0.2-develop.2",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.2-develop.2",
|
|
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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"package": {
|
|
42
42
|
"productName": "Kendo UI for Angular",
|
|
43
43
|
"productCode": "KENDOUIANGULAR",
|
|
44
|
-
"publishDate":
|
|
44
|
+
"publishDate": 1779778526,
|
|
45
45
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -54,23 +54,23 @@
|
|
|
54
54
|
"@progress/kendo-data-query": "^1.7.3",
|
|
55
55
|
"@progress/kendo-drawing": "^1.25.0",
|
|
56
56
|
"@progress/kendo-licensing": "^1.11.0",
|
|
57
|
-
"@progress/kendo-angular-tooltip": "24.0.
|
|
58
|
-
"@progress/kendo-angular-buttons": "24.0.
|
|
59
|
-
"@progress/kendo-angular-common": "24.0.
|
|
60
|
-
"@progress/kendo-angular-dateinputs": "24.0.
|
|
61
|
-
"@progress/kendo-angular-dialog": "24.0.
|
|
62
|
-
"@progress/kendo-angular-dropdowns": "24.0.
|
|
63
|
-
"@progress/kendo-angular-icons": "24.0.
|
|
64
|
-
"@progress/kendo-angular-inputs": "24.0.
|
|
65
|
-
"@progress/kendo-angular-intl": "24.0.
|
|
66
|
-
"@progress/kendo-angular-l10n": "24.0.
|
|
67
|
-
"@progress/kendo-angular-label": "24.0.
|
|
68
|
-
"@progress/kendo-angular-popup": "24.0.
|
|
57
|
+
"@progress/kendo-angular-tooltip": "24.0.2-develop.2",
|
|
58
|
+
"@progress/kendo-angular-buttons": "24.0.2-develop.2",
|
|
59
|
+
"@progress/kendo-angular-common": "24.0.2-develop.2",
|
|
60
|
+
"@progress/kendo-angular-dateinputs": "24.0.2-develop.2",
|
|
61
|
+
"@progress/kendo-angular-dialog": "24.0.2-develop.2",
|
|
62
|
+
"@progress/kendo-angular-dropdowns": "24.0.2-develop.2",
|
|
63
|
+
"@progress/kendo-angular-icons": "24.0.2-develop.2",
|
|
64
|
+
"@progress/kendo-angular-inputs": "24.0.2-develop.2",
|
|
65
|
+
"@progress/kendo-angular-intl": "24.0.2-develop.2",
|
|
66
|
+
"@progress/kendo-angular-l10n": "24.0.2-develop.2",
|
|
67
|
+
"@progress/kendo-angular-label": "24.0.2-develop.2",
|
|
68
|
+
"@progress/kendo-angular-popup": "24.0.2-develop.2",
|
|
69
69
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"tslib": "^2.3.1",
|
|
73
|
-
"@progress/kendo-angular-schematics": "24.0.
|
|
73
|
+
"@progress/kendo-angular-schematics": "24.0.2-develop.2",
|
|
74
74
|
"@progress/kendo-date-math": "^1.3.2",
|
|
75
75
|
"@progress/kendo-draggable": "^3.0.2",
|
|
76
76
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -9,10 +9,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '24.0.
|
|
13
|
-
'@progress/kendo-angular-navigation': '24.0.
|
|
12
|
+
'@progress/kendo-angular-treeview': '24.0.2-develop.2',
|
|
13
|
+
'@progress/kendo-angular-navigation': '24.0.2-develop.2',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '24.0.
|
|
15
|
+
'@progress/kendo-angular-dialog': '24.0.2-develop.2',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|