@progress/kendo-angular-gantt 25.1.0-develop.9 → 25.1.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/fesm2022/progress-kendo-angular-gantt.mjs +15 -9
- package/index.d.ts +4 -2
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +7 -7
|
@@ -8,7 +8,7 @@ import { ColumnBase, ColumnComponent, ColumnGroupComponent, SpanColumnComponent,
|
|
|
8
8
|
import { cloneDate, addWeeks, firstDayInWeek, addDays, lastDayOfMonth, getDate, firstDayOfMonth, addMonths, lastMonthOfYear, MS_PER_DAY, MS_PER_HOUR, isEqual } from '@progress/kendo-date-math';
|
|
9
9
|
import { Subject, Subscription, fromEvent, forkJoin, EMPTY, isObservable, of } from 'rxjs';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
|
-
import { Keys, closestInScope, matchesClasses, isDocumentAvailable, isPresent as isPresent$1, EventsOutsideAngularDirective, DraggableDirective, PreventableEvent, anyChanged, closest, isFocusable, focusableSelector, isVisible, getLicenseMessage, shouldShowValidationUI, hasObservers, scrollbarWidth, normalizeKeys, WatermarkOverlayComponent, KENDO_WEBMCP_HOST, provideComponentName, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
|
+
import { Keys, closestInScope, matchesClasses, isDocumentAvailable, isPresent as isPresent$1, EventsOutsideAngularDirective, DraggableDirective, PreventableEvent, anyChanged, closest, isFocusable, closestBySelector, focusableSelector, isVisible, getLicenseMessage, shouldShowValidationUI, hasObservers, scrollbarWidth, normalizeKeys, WatermarkOverlayComponent, KENDO_WEBMCP_HOST, provideComponentName, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
12
12
|
import { map, distinctUntilChanged, take, switchMap, expand, reduce, filter } from 'rxjs/operators';
|
|
13
13
|
import { getter, touchEnabled } from '@progress/kendo-common';
|
|
14
14
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
@@ -44,8 +44,8 @@ const packageMetadata = {
|
|
|
44
44
|
productName: 'Kendo UI for Angular',
|
|
45
45
|
productCode: 'KENDOUIANGULAR',
|
|
46
46
|
productCodes: ['KENDOUIANGULAR'],
|
|
47
|
-
publishDate:
|
|
48
|
-
version: '25.1.0
|
|
47
|
+
publishDate: 1788865085,
|
|
48
|
+
version: '25.1.0',
|
|
49
49
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -2323,7 +2323,7 @@ class GanttTaskBase {
|
|
|
2323
2323
|
const tabindex = isActive ? '0' : '-1';
|
|
2324
2324
|
this.taskElement.nativeElement.setAttribute('tabindex', tabindex);
|
|
2325
2325
|
if (isActive && isFocused) {
|
|
2326
|
-
this.taskElement.nativeElement.focus();
|
|
2326
|
+
this.taskElement.nativeElement.focus({ preventScroll: true });
|
|
2327
2327
|
this.taskElement.nativeElement.classList.add(FOCUSED_CLASS);
|
|
2328
2328
|
}
|
|
2329
2329
|
else {
|
|
@@ -5595,7 +5595,7 @@ class ToolbarComponent {
|
|
|
5595
5595
|
role = 'toolbar';
|
|
5596
5596
|
hostClasses = true;
|
|
5597
5597
|
clickHandler(ev) {
|
|
5598
|
-
if (this.navigable) {
|
|
5598
|
+
if (this.navigable && !this.isInSegmentedControl(ev.target)) {
|
|
5599
5599
|
const closestFocusable = closest(ev.target, isFocusable);
|
|
5600
5600
|
const targetIndex = this.navigationService.focusableContent.indexOf(closestFocusable);
|
|
5601
5601
|
if (targetIndex > -1) {
|
|
@@ -5604,8 +5604,8 @@ class ToolbarComponent {
|
|
|
5604
5604
|
this.navigationService.updateFocus();
|
|
5605
5605
|
}
|
|
5606
5606
|
}
|
|
5607
|
-
arrowLeftListener() {
|
|
5608
|
-
if (this.navigable && isDocumentAvailable()) {
|
|
5607
|
+
arrowLeftListener(event) {
|
|
5608
|
+
if (this.navigable && isDocumentAvailable() && !this.isArrowKeyHandledBySegmentedControl(event)) {
|
|
5609
5609
|
this.navigationService.focusIndex--;
|
|
5610
5610
|
if (this.navigationService.focusIndex < 0) {
|
|
5611
5611
|
this.navigationService.focusIndex = this.navigationService.focusableContent.length - 1;
|
|
@@ -5613,8 +5613,8 @@ class ToolbarComponent {
|
|
|
5613
5613
|
this.navigationService.updateFocus();
|
|
5614
5614
|
}
|
|
5615
5615
|
}
|
|
5616
|
-
arrowRightListener() {
|
|
5617
|
-
if (this.navigable && isDocumentAvailable()) {
|
|
5616
|
+
arrowRightListener(event) {
|
|
5617
|
+
if (this.navigable && isDocumentAvailable() && !this.isArrowKeyHandledBySegmentedControl(event)) {
|
|
5618
5618
|
this.navigationService.focusIndex++;
|
|
5619
5619
|
if (this.navigationService.focusIndex >= this.navigationService.focusableContent.length) {
|
|
5620
5620
|
this.navigationService.focusIndex = 0;
|
|
@@ -5651,6 +5651,12 @@ class ToolbarComponent {
|
|
|
5651
5651
|
handleViewChange(view) {
|
|
5652
5652
|
this.activeViewChange.emit(view);
|
|
5653
5653
|
}
|
|
5654
|
+
isInSegmentedControl(target) {
|
|
5655
|
+
return Boolean(closestBySelector(target, '.k-segmented-control'));
|
|
5656
|
+
}
|
|
5657
|
+
isArrowKeyHandledBySegmentedControl(event) {
|
|
5658
|
+
return event.defaultPrevented && this.isInSegmentedControl(event.target);
|
|
5659
|
+
}
|
|
5654
5660
|
ngAfterViewInit() {
|
|
5655
5661
|
if (isDocumentAvailable()) {
|
|
5656
5662
|
const focusableElements = Array.from(this.hostEl.nativeElement.querySelectorAll(focusableSelector) || [])
|
package/index.d.ts
CHANGED
|
@@ -3719,8 +3719,8 @@ declare class ToolbarComponent {
|
|
|
3719
3719
|
role: string;
|
|
3720
3720
|
hostClasses: boolean;
|
|
3721
3721
|
clickHandler(ev: MouseEvent): void;
|
|
3722
|
-
arrowLeftListener(): void;
|
|
3723
|
-
arrowRightListener(): void;
|
|
3722
|
+
arrowLeftListener(event: KeyboardEvent): void;
|
|
3723
|
+
arrowRightListener(event: KeyboardEvent): void;
|
|
3724
3724
|
activeViewChange: EventEmitter<TimelineViewType>;
|
|
3725
3725
|
showAddTask: boolean;
|
|
3726
3726
|
showViewSelector: boolean;
|
|
@@ -3735,6 +3735,8 @@ declare class ToolbarComponent {
|
|
|
3735
3735
|
private _position;
|
|
3736
3736
|
constructor(hostEl: ElementRef, navigationService: ToolbarNavigationService);
|
|
3737
3737
|
handleViewChange(view: TimelineViewType): void;
|
|
3738
|
+
private isInSegmentedControl;
|
|
3739
|
+
private isArrowKeyHandledBySegmentedControl;
|
|
3738
3740
|
ngAfterViewInit(): void;
|
|
3739
3741
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
3740
3742
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "kendo-gantt-toolbar", never, { "showAddTask": { "alias": "showAddTask"; "required": false; }; "showViewSelector": { "alias": "showViewSelector"; "required": false; }; "views": { "alias": "views"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "activeViewChange": "activeViewChange"; }, never, never, true, never>;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.1.0
|
|
10
|
+
"publishDate": 1788865085,
|
|
11
|
+
"version": "25.1.0",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-gantt",
|
|
3
|
-
"version": "25.1.0
|
|
3
|
+
"version": "25.1.0",
|
|
4
4
|
"description": "Kendo UI Angular Gantt",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"package": {
|
|
49
49
|
"productName": "Kendo UI for Angular",
|
|
50
50
|
"productCode": "KENDOUIANGULAR",
|
|
51
|
-
"publishDate":
|
|
51
|
+
"publishDate": 1788865085,
|
|
52
52
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
53
53
|
}
|
|
54
54
|
},
|
|
@@ -60,25 +60,25 @@
|
|
|
60
60
|
"@angular/platform-browser": "20 - 22",
|
|
61
61
|
"@progress/kendo-data-query": "^1.7.3",
|
|
62
62
|
"@progress/kendo-licensing": "^1.11.0",
|
|
63
|
-
"@progress/kendo-angular-buttons": "25.1.0
|
|
64
|
-
"@progress/kendo-angular-common": "25.1.0
|
|
65
|
-
"@progress/kendo-angular-dialog": "25.1.0
|
|
66
|
-
"@progress/kendo-angular-dropdowns": "25.1.0
|
|
67
|
-
"@progress/kendo-angular-grid": "25.1.0
|
|
68
|
-
"@progress/kendo-angular-icons": "25.1.0
|
|
69
|
-
"@progress/kendo-angular-inputs": "25.1.0
|
|
70
|
-
"@progress/kendo-angular-intl": "25.1.0
|
|
71
|
-
"@progress/kendo-angular-l10n": "25.1.0
|
|
72
|
-
"@progress/kendo-angular-label": "25.1.0
|
|
73
|
-
"@progress/kendo-angular-layout": "25.1.0
|
|
74
|
-
"@progress/kendo-angular-popup": "25.1.0
|
|
75
|
-
"@progress/kendo-angular-tooltip": "25.1.0
|
|
76
|
-
"@progress/kendo-angular-treelist": "25.1.0
|
|
63
|
+
"@progress/kendo-angular-buttons": "25.1.0",
|
|
64
|
+
"@progress/kendo-angular-common": "25.1.0",
|
|
65
|
+
"@progress/kendo-angular-dialog": "25.1.0",
|
|
66
|
+
"@progress/kendo-angular-dropdowns": "25.1.0",
|
|
67
|
+
"@progress/kendo-angular-grid": "25.1.0",
|
|
68
|
+
"@progress/kendo-angular-icons": "25.1.0",
|
|
69
|
+
"@progress/kendo-angular-inputs": "25.1.0",
|
|
70
|
+
"@progress/kendo-angular-intl": "25.1.0",
|
|
71
|
+
"@progress/kendo-angular-l10n": "25.1.0",
|
|
72
|
+
"@progress/kendo-angular-label": "25.1.0",
|
|
73
|
+
"@progress/kendo-angular-layout": "25.1.0",
|
|
74
|
+
"@progress/kendo-angular-popup": "25.1.0",
|
|
75
|
+
"@progress/kendo-angular-tooltip": "25.1.0",
|
|
76
|
+
"@progress/kendo-angular-treelist": "25.1.0",
|
|
77
77
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"tslib": "^2.3.1",
|
|
81
|
-
"@progress/kendo-angular-schematics": "25.1.0
|
|
81
|
+
"@progress/kendo-angular-schematics": "25.1.0",
|
|
82
82
|
"@progress/kendo-common": "^1.0.1",
|
|
83
83
|
"@progress/kendo-date-math": "^1.5.2",
|
|
84
84
|
"@progress/kendo-draggable": "^3.0.0"
|
|
@@ -12,16 +12,16 @@ function default_1(options) {
|
|
|
12
12
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
13
13
|
peerDependencies: {
|
|
14
14
|
// peer deps of the treelist
|
|
15
|
-
'@progress/kendo-angular-dateinputs': '25.1.0
|
|
16
|
-
'@progress/kendo-angular-excel-export': '25.1.0
|
|
17
|
-
'@progress/kendo-angular-pdf-export': '25.1.0
|
|
18
|
-
'@progress/kendo-angular-utils': '25.1.0
|
|
15
|
+
'@progress/kendo-angular-dateinputs': '25.1.0',
|
|
16
|
+
'@progress/kendo-angular-excel-export': '25.1.0',
|
|
17
|
+
'@progress/kendo-angular-pdf-export': '25.1.0',
|
|
18
|
+
'@progress/kendo-angular-utils': '25.1.0',
|
|
19
19
|
'@progress/kendo-drawing': '^1.0.0',
|
|
20
20
|
// peer deps of the dropdowns
|
|
21
|
-
'@progress/kendo-angular-treeview': '25.1.0
|
|
22
|
-
'@progress/kendo-angular-navigation': '25.1.0
|
|
21
|
+
'@progress/kendo-angular-treeview': '25.1.0',
|
|
22
|
+
'@progress/kendo-angular-navigation': '25.1.0',
|
|
23
23
|
// peer dep of the layout
|
|
24
|
-
'@progress/kendo-angular-progressbar': '25.1.0
|
|
24
|
+
'@progress/kendo-angular-progressbar': '25.1.0',
|
|
25
25
|
// peer dep of the icons
|
|
26
26
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
27
27
|
} });
|