@progress/kendo-angular-grid 18.0.0-develop.4 → 18.0.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/column-resizing/column-handle.directive.d.ts +4 -1
- package/column-resizing/column-resize.interface.d.ts +16 -0
- package/column-resizing/column-resizing.service.d.ts +4 -0
- package/column-resizing/table.directive.d.ts +3 -2
- package/esm2022/column-resizing/column-handle.directive.mjs +60 -9
- package/esm2022/column-resizing/column-resizing.service.mjs +5 -0
- package/esm2022/column-resizing/table.directive.mjs +23 -11
- package/esm2022/grid.component.mjs +1 -0
- package/esm2022/navigation/navigation.service.mjs +29 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/header/header.component.mjs +5 -1
- package/fesm2022/progress-kendo-angular-grid.mjs +2237 -2143
- package/grid.component.d.ts +2 -2
- package/index.d.ts +1 -0
- package/navigation/navigation.service.d.ts +6 -2
- package/package.json +18 -18
- package/rendering/header/header.component.d.ts +2 -1
- package/schematics/ngAdd/index.js +4 -4
package/grid.component.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ import { CellClickEvent } from './common/cell-click-event-args.interface';
|
|
|
47
47
|
import { ScrollSyncService } from "./scrolling/scroll-sync.service";
|
|
48
48
|
import { DomEventsService } from './common/dom-events.service';
|
|
49
49
|
import { ColumnResizingService } from "./column-resizing/column-resizing.service";
|
|
50
|
-
import { ColumnResizeArgs } from './column-resizing/column-resize.interface';
|
|
50
|
+
import { ColumnResizeArgs, ResizeMode } from './column-resizing/column-resize.interface';
|
|
51
51
|
import { FilterableSettings } from './filtering/filterable';
|
|
52
52
|
import { ColumnReorderService } from './dragdrop/column-reorder.service';
|
|
53
53
|
import { ColumnReorderEvent } from './dragdrop/column-reorder-event';
|
|
@@ -358,7 +358,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
358
358
|
*
|
|
359
359
|
* @default false
|
|
360
360
|
*/
|
|
361
|
-
resizable: boolean;
|
|
361
|
+
resizable: boolean | ResizeMode;
|
|
362
362
|
/**
|
|
363
363
|
* If set to `true`, the user can reorder columns by dragging their header cells
|
|
364
364
|
* ([see example]({% slug reordering_columns_grid %})).
|
package/index.d.ts
CHANGED
|
@@ -162,6 +162,7 @@ export { SuspendService } from './scrolling/suspend.service';
|
|
|
162
162
|
export { GroupBindingDirective, slice, count } from './grouping/group-scroll-binding.directive';
|
|
163
163
|
export { VirtualGroupResult } from './grouping/virtual-group-result.interface';
|
|
164
164
|
export { Skip } from './utils';
|
|
165
|
+
export { ResizeMode } from './column-resizing/column-resize.interface';
|
|
165
166
|
export { ColumnResizeArgs } from './column-resizing/column-resize.interface';
|
|
166
167
|
export { ColumnReorderEvent } from './dragdrop/column-reorder-event';
|
|
167
168
|
export { ColumnReorderConfig } from './dragdrop/column-reorder-config';
|
|
@@ -20,6 +20,7 @@ import { DetailsService } from '../rendering/details/details.service';
|
|
|
20
20
|
import { ScrollRequestService } from '../scrolling/scroll-request.service';
|
|
21
21
|
import { GridNavigableSection } from './navigable-settings';
|
|
22
22
|
import { ContextService } from '../common/provider.service';
|
|
23
|
+
import { ColumnResizingService } from '../column-resizing/column-resizing.service';
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
/**
|
|
25
26
|
* @hidden
|
|
@@ -45,6 +46,7 @@ export declare class NavigationService implements OnDestroy {
|
|
|
45
46
|
private editService;
|
|
46
47
|
private cd;
|
|
47
48
|
private ctx;
|
|
49
|
+
private resizeService;
|
|
48
50
|
private focusableParent;
|
|
49
51
|
readonly changes: Subject<NavigationChange>;
|
|
50
52
|
readonly cellKeydown: EventEmitter<any>;
|
|
@@ -56,6 +58,7 @@ export declare class NavigationService implements OnDestroy {
|
|
|
56
58
|
get toolbarEnabled(): boolean;
|
|
57
59
|
get activeCell(): NavigationCell;
|
|
58
60
|
get activeRow(): NavigationRow;
|
|
61
|
+
get isColumnResizable(): boolean;
|
|
59
62
|
viewport: NavigationViewport;
|
|
60
63
|
columnViewport: NavigationViewport;
|
|
61
64
|
private activeRowIndex;
|
|
@@ -72,7 +75,7 @@ export declare class NavigationService implements OnDestroy {
|
|
|
72
75
|
private tableIsNavigable;
|
|
73
76
|
private toolbarIsNavigable;
|
|
74
77
|
private get activeDataRow();
|
|
75
|
-
constructor(zone: NgZone, domEvents: DomEventsService, pagerContextService: PagerContextService, scrollRequestService: ScrollRequestService, groupsService: GroupsService, detailsService: DetailsService, focusRoot: FocusRoot, editService: EditService, cd: ChangeDetectorRef, ctx: ContextService, focusableParent: FocusableDirective);
|
|
78
|
+
constructor(zone: NgZone, domEvents: DomEventsService, pagerContextService: PagerContextService, scrollRequestService: ScrollRequestService, groupsService: GroupsService, detailsService: DetailsService, focusRoot: FocusRoot, editService: EditService, cd: ChangeDetectorRef, ctx: ContextService, resizeService: ColumnResizingService, focusableParent: FocusableDirective);
|
|
76
79
|
init(meta: NavigationMetadata, navigableOptions: GridNavigableSection[]): void;
|
|
77
80
|
ngOnDestroy(): void;
|
|
78
81
|
registerCell(cell: LogicalCell): void;
|
|
@@ -105,6 +108,7 @@ export declare class NavigationService implements OnDestroy {
|
|
|
105
108
|
private moveCursorFwd;
|
|
106
109
|
private moveCursorBwd;
|
|
107
110
|
private onCursorKeydown;
|
|
111
|
+
private columnResize;
|
|
108
112
|
private onContentKeydown;
|
|
109
113
|
private onCellKeydown;
|
|
110
114
|
private onCursorChanges;
|
|
@@ -116,6 +120,6 @@ export declare class NavigationService implements OnDestroy {
|
|
|
116
120
|
private handleHorizontalArrowSelection;
|
|
117
121
|
private handleMultipleArrowCellSelection;
|
|
118
122
|
private handleMultipleArrowRowSelection;
|
|
119
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, [null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
120
124
|
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
121
125
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "18.0.0-develop.
|
|
3
|
+
"version": "18.0.0-develop.6",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -33,27 +33,27 @@
|
|
|
33
33
|
"@progress/kendo-data-query": "^1.0.0",
|
|
34
34
|
"@progress/kendo-drawing": "^1.21.0",
|
|
35
35
|
"@progress/kendo-licensing": "^1.0.2",
|
|
36
|
-
"@progress/kendo-angular-buttons": "18.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-common": "18.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "18.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-layout": "18.0.0-develop.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "18.0.0-develop.
|
|
41
|
-
"@progress/kendo-angular-excel-export": "18.0.0-develop.
|
|
42
|
-
"@progress/kendo-angular-icons": "18.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-inputs": "18.0.0-develop.
|
|
44
|
-
"@progress/kendo-angular-intl": "18.0.0-develop.
|
|
45
|
-
"@progress/kendo-angular-l10n": "18.0.0-develop.
|
|
46
|
-
"@progress/kendo-angular-label": "18.0.0-develop.
|
|
47
|
-
"@progress/kendo-angular-pager": "18.0.0-develop.
|
|
48
|
-
"@progress/kendo-angular-pdf-export": "18.0.0-develop.
|
|
49
|
-
"@progress/kendo-angular-popup": "18.0.0-develop.
|
|
50
|
-
"@progress/kendo-angular-toolbar": "18.0.0-develop.
|
|
51
|
-
"@progress/kendo-angular-utils": "18.0.0-develop.
|
|
36
|
+
"@progress/kendo-angular-buttons": "18.0.0-develop.6",
|
|
37
|
+
"@progress/kendo-angular-common": "18.0.0-develop.6",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "18.0.0-develop.6",
|
|
39
|
+
"@progress/kendo-angular-layout": "18.0.0-develop.6",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "18.0.0-develop.6",
|
|
41
|
+
"@progress/kendo-angular-excel-export": "18.0.0-develop.6",
|
|
42
|
+
"@progress/kendo-angular-icons": "18.0.0-develop.6",
|
|
43
|
+
"@progress/kendo-angular-inputs": "18.0.0-develop.6",
|
|
44
|
+
"@progress/kendo-angular-intl": "18.0.0-develop.6",
|
|
45
|
+
"@progress/kendo-angular-l10n": "18.0.0-develop.6",
|
|
46
|
+
"@progress/kendo-angular-label": "18.0.0-develop.6",
|
|
47
|
+
"@progress/kendo-angular-pager": "18.0.0-develop.6",
|
|
48
|
+
"@progress/kendo-angular-pdf-export": "18.0.0-develop.6",
|
|
49
|
+
"@progress/kendo-angular-popup": "18.0.0-develop.6",
|
|
50
|
+
"@progress/kendo-angular-toolbar": "18.0.0-develop.6",
|
|
51
|
+
"@progress/kendo-angular-utils": "18.0.0-develop.6",
|
|
52
52
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "18.0.0-develop.
|
|
56
|
+
"@progress/kendo-angular-schematics": "18.0.0-develop.6",
|
|
57
57
|
"@progress/kendo-common": "^1.0.1",
|
|
58
58
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
59
59
|
},
|
|
@@ -27,6 +27,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
27
27
|
import { ContextService } from '../../common/provider.service';
|
|
28
28
|
import { ColumnsContainer } from '../../columns/columns-container';
|
|
29
29
|
import { NavigationService } from '../../navigation/navigation.service';
|
|
30
|
+
import { ResizeMode } from '../../column-resizing/column-resize.interface';
|
|
30
31
|
import * as i0 from "@angular/core";
|
|
31
32
|
/**
|
|
32
33
|
* @hidden
|
|
@@ -57,7 +58,7 @@ export declare class HeaderComponent implements AfterViewInit, OnInit, OnChanges
|
|
|
57
58
|
sortable: SortSettings;
|
|
58
59
|
groupable: boolean;
|
|
59
60
|
lockedColumnsCount: number;
|
|
60
|
-
resizable: boolean;
|
|
61
|
+
resizable: boolean | ResizeMode;
|
|
61
62
|
reorderable: boolean;
|
|
62
63
|
columnMenu: boolean | ColumnMenuSettings;
|
|
63
64
|
columnMenuTemplate: TemplateRef<any>;
|
|
@@ -4,14 +4,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '18.0.0-develop.
|
|
8
|
-
'@progress/kendo-angular-navigation': '18.0.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '18.0.0-develop.6',
|
|
8
|
+
'@progress/kendo-angular-navigation': '18.0.0-develop.6',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '18.0.0-develop.
|
|
10
|
+
'@progress/kendo-angular-dialog': '18.0.0-develop.6',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
13
13
|
// peer dependency of kendo-angular-layout
|
|
14
|
-
'@progress/kendo-angular-progressbar': '18.0.0-develop.
|
|
14
|
+
'@progress/kendo-angular-progressbar': '18.0.0-develop.6'
|
|
15
15
|
} });
|
|
16
16
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
17
17
|
}
|