@progress/kendo-angular-treelist 13.0.0-develop.4 → 13.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-menu/column-menu-settings.interface.d.ts +7 -10
- package/column-resizing/column-resize.interface.d.ts +1 -1
- package/data/change-event-args.interface.d.ts +2 -2
- package/data/data.collection.d.ts +6 -0
- package/dragdrop/column-reorder-config.d.ts +1 -1
- package/editing/edit-event-args.interface.d.ts +1 -1
- package/editing/remove-event-args.interface.d.ts +1 -1
- package/editing/save-event-args.interface.d.ts +1 -1
- package/esm2020/column-menu/column-menu-item.component.mjs +1 -1
- package/esm2020/column-menu/column-menu.component.mjs +1 -1
- package/esm2020/data/data.collection.mjs +41 -28
- package/esm2020/editing/add-command.directive.mjs +1 -1
- package/esm2020/editing/base-command.directive.mjs +1 -1
- package/esm2020/editing/cancel-command.directive.mjs +1 -1
- package/esm2020/editing/edit-command.directive.mjs +1 -1
- package/esm2020/editing/remove-command.directive.mjs +1 -1
- package/esm2020/editing/save-command.directive.mjs +1 -1
- package/esm2020/excel/excel-command.directive.mjs +1 -1
- package/esm2020/filtering/menu/filter-menu.component.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pager/pager-element.component.mjs +17 -0
- package/esm2020/pager/pager-next-buttons.component.mjs +8 -11
- package/esm2020/pager/pager-prev-buttons.component.mjs +8 -11
- package/esm2020/pdf/pdf-command.directive.mjs +1 -1
- package/esm2020/rendering/cell.component.mjs +23 -6
- package/esm2020/rendering/header/header.component.mjs +1 -1
- package/esm2020/treelist.component.mjs +1 -1
- package/excel/excel-export-data.interface.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-treelist.mjs +111 -69
- package/fesm2020/progress-kendo-angular-treelist.mjs +111 -69
- package/navigation/navigation-cell.interface.d.ts +1 -4
- package/navigation/navigation-row.interface.d.ts +1 -4
- package/package.json +16 -16
- package/pager/pager-element.component.d.ts +9 -0
- package/pager/pager-next-buttons.component.d.ts +0 -3
- package/pager/pager-prev-buttons.component.d.ts +0 -3
- package/pager/pager-settings.d.ts +1 -15
- package/rendering/cell.component.d.ts +3 -0
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/scrolling/scroll-bottom-event.d.ts +1 -1
- package/scrolling/scroll-request.service.d.ts +6 -0
- package/selection/selectable-settings.d.ts +5 -15
- package/selection/selectable.directive.d.ts +1 -1
- package/selection/selection-change-event.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
|
3
|
-
"version": "13.0.0-develop.
|
|
3
|
+
"version": "13.0.0-develop.6",
|
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
"@progress/kendo-data-query": "^1.0.0",
|
|
31
31
|
"@progress/kendo-drawing": "^1.17.2",
|
|
32
32
|
"@progress/kendo-licensing": "^1.0.2",
|
|
33
|
-
"@progress/kendo-angular-buttons": "13.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-common": "13.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-dateinputs": "13.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-dropdowns": "13.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-excel-export": "13.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-icons": "13.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-inputs": "13.0.0-develop.
|
|
40
|
-
"@progress/kendo-angular-intl": "13.0.0-develop.
|
|
41
|
-
"@progress/kendo-angular-l10n": "13.0.0-develop.
|
|
42
|
-
"@progress/kendo-angular-label": "13.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-pdf-export": "13.0.0-develop.
|
|
44
|
-
"@progress/kendo-angular-popup": "13.0.0-develop.
|
|
45
|
-
"@progress/kendo-angular-utils": "13.0.0-develop.
|
|
33
|
+
"@progress/kendo-angular-buttons": "13.0.0-develop.6",
|
|
34
|
+
"@progress/kendo-angular-common": "13.0.0-develop.6",
|
|
35
|
+
"@progress/kendo-angular-dateinputs": "13.0.0-develop.6",
|
|
36
|
+
"@progress/kendo-angular-dropdowns": "13.0.0-develop.6",
|
|
37
|
+
"@progress/kendo-angular-excel-export": "13.0.0-develop.6",
|
|
38
|
+
"@progress/kendo-angular-icons": "13.0.0-develop.6",
|
|
39
|
+
"@progress/kendo-angular-inputs": "13.0.0-develop.6",
|
|
40
|
+
"@progress/kendo-angular-intl": "13.0.0-develop.6",
|
|
41
|
+
"@progress/kendo-angular-l10n": "13.0.0-develop.6",
|
|
42
|
+
"@progress/kendo-angular-label": "13.0.0-develop.6",
|
|
43
|
+
"@progress/kendo-angular-pdf-export": "13.0.0-develop.6",
|
|
44
|
+
"@progress/kendo-angular-popup": "13.0.0-develop.6",
|
|
45
|
+
"@progress/kendo-angular-utils": "13.0.0-develop.6",
|
|
46
46
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
47
|
-
"@progress/kendo-angular-listview": "13.0.0-develop.
|
|
47
|
+
"@progress/kendo-angular-listview": "13.0.0-develop.6"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "13.0.0-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "13.0.0-develop.6",
|
|
52
52
|
"@progress/kendo-common": "^0.2.0",
|
|
53
53
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
54
54
|
},
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
@@ -17,6 +18,10 @@ export declare abstract class PagerElementComponent implements OnInit, OnDestroy
|
|
|
17
18
|
skip: number;
|
|
18
19
|
pageSize: number;
|
|
19
20
|
allCount: number;
|
|
21
|
+
caretAltLeftIcon: SVGIcon;
|
|
22
|
+
caretAltToLeftIcon: SVGIcon;
|
|
23
|
+
caretAltRightIcon: SVGIcon;
|
|
24
|
+
caretAltToRightIcon: SVGIcon;
|
|
20
25
|
/**
|
|
21
26
|
* @hidden
|
|
22
27
|
*
|
|
@@ -60,6 +65,10 @@ export declare abstract class PagerElementComponent implements OnInit, OnDestroy
|
|
|
60
65
|
ngOnInit(): void;
|
|
61
66
|
protected abstract onChanges(changes: PagerContextChanges): void;
|
|
62
67
|
ngOnDestroy(): void;
|
|
68
|
+
get prevArrowIcons(): string[];
|
|
69
|
+
get prevArrowSVGIcons(): SVGIcon[];
|
|
70
|
+
get nextArrowIcons(): string[];
|
|
71
|
+
get nextArrowSVGIcons(): SVGIcon[];
|
|
63
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PagerElementComponent, never>;
|
|
64
73
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PagerElementComponent, never, never, {}, {}, never>;
|
|
65
74
|
}
|
|
@@ -6,7 +6,6 @@ import { ChangeDetectorRef } from '@angular/core';
|
|
|
6
6
|
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
7
7
|
import { PagerElementComponent } from './pager-element.component';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
9
|
import { NavigationService } from '../navigation/navigation.service';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
/**
|
|
@@ -26,8 +25,6 @@ export declare class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
26
25
|
* @hidden
|
|
27
26
|
*/
|
|
28
27
|
navigable: boolean;
|
|
29
|
-
caretAltRightIcon: SVGIcon;
|
|
30
|
-
caretAltToRightIcon: SVGIcon;
|
|
31
28
|
constructor(localization: LocalizationService, pagerContext: PagerContextService, cd: ChangeDetectorRef, navigationService: NavigationService);
|
|
32
29
|
/**
|
|
33
30
|
* @hidden
|
|
@@ -6,7 +6,6 @@ import { ChangeDetectorRef } from '@angular/core';
|
|
|
6
6
|
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
7
7
|
import { PagerElementComponent } from './pager-element.component';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
9
|
import { NavigationService } from '../navigation/navigation.service';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
/**
|
|
@@ -14,8 +13,6 @@ import * as i0 from "@angular/core";
|
|
|
14
13
|
*/
|
|
15
14
|
export declare class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
16
15
|
navigationService: NavigationService;
|
|
17
|
-
caretAltLeftIcon: SVGIcon;
|
|
18
|
-
caretAltToLeftIcon: SVGIcon;
|
|
19
16
|
constructor(localization: LocalizationService, pagerContext: PagerContextService, cd: ChangeDetectorRef, navigationService: NavigationService);
|
|
20
17
|
/**
|
|
21
18
|
* @hidden
|
|
@@ -32,45 +32,31 @@ export declare type PagerType = 'numeric' | 'input';
|
|
|
32
32
|
export interface PagerSettings {
|
|
33
33
|
/**
|
|
34
34
|
* Sets the maximum numeric buttons count before the buttons are collapsed.
|
|
35
|
-
*
|
|
36
|
-
* @default 10
|
|
37
35
|
*/
|
|
38
36
|
buttonCount?: number;
|
|
39
37
|
/**
|
|
40
38
|
* A flag that indicates if child nodes should be fetched and counted for the pager total.
|
|
41
|
-
*
|
|
42
|
-
* @default true
|
|
43
39
|
*/
|
|
44
40
|
countChildren?: boolean;
|
|
45
41
|
/**
|
|
46
42
|
* Toggles the information about the current page and the total number of records.
|
|
47
|
-
*
|
|
48
|
-
* @default true
|
|
49
43
|
*/
|
|
50
44
|
info?: boolean;
|
|
51
45
|
/**
|
|
52
46
|
* Defines the type of the TreeList pager.
|
|
53
|
-
*
|
|
54
|
-
* @default 'numeric'
|
|
55
47
|
*/
|
|
56
48
|
type?: PagerType;
|
|
57
49
|
/**
|
|
58
50
|
* Shows a menu for selecting the page size.
|
|
59
|
-
*
|
|
60
|
-
* @default false
|
|
61
51
|
*/
|
|
62
52
|
pageSizes?: boolean | Array<number>;
|
|
63
53
|
/**
|
|
64
54
|
* Toggles the **Previous** and **Next** buttons.
|
|
65
|
-
*
|
|
66
|
-
* @default true
|
|
67
55
|
*/
|
|
68
56
|
previousNext?: boolean;
|
|
69
57
|
/**
|
|
70
58
|
* Toggles the built-in responsive behavior of the Pager.
|
|
71
|
-
* Available in version `3.0.0` and above ([see example]({% slug paging_treelist %})).
|
|
72
|
-
*
|
|
73
|
-
* @default true
|
|
59
|
+
* Available in version `3.0.0` and above ([see example]({% slug paging_treelist#toc-responsive-pager %})).
|
|
74
60
|
*/
|
|
75
61
|
responsive?: boolean;
|
|
76
62
|
}
|
|
@@ -44,6 +44,7 @@ export declare class CellComponent implements AfterContentChecked, DoCheck {
|
|
|
44
44
|
get childColumns(): ColumnComponent[];
|
|
45
45
|
caretAltDownIcon: SVGIcon;
|
|
46
46
|
caretAltRightIcon: SVGIcon;
|
|
47
|
+
caretAltLeftIcon: SVGIcon;
|
|
47
48
|
reorderIcon: SVGIcon;
|
|
48
49
|
cellContext: any;
|
|
49
50
|
private _templateContext;
|
|
@@ -53,6 +54,8 @@ export declare class CellComponent implements AfterContentChecked, DoCheck {
|
|
|
53
54
|
ngDoCheck(): void;
|
|
54
55
|
ngAfterContentChecked(): void;
|
|
55
56
|
private updateTemplateContext;
|
|
57
|
+
get arrowIcon(): string;
|
|
58
|
+
get arrowSVGIcon(): SVGIcon;
|
|
56
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, never>;
|
|
57
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "[kendoTreeListCell]", never, { "column": "column"; "columnIndex": "columnIndex"; "isNew": "isNew"; "level": "level"; "hasChildren": "hasChildren"; "isExpanded": "isExpanded"; "loading": "loading"; "expandIcons": "expandIcons"; "selected": "selected"; "dataItem": "dataItem"; "viewItem": "viewItem"; }, {}, never, never>;
|
|
58
61
|
}
|
|
@@ -4,13 +4,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeListModule', package: 'treelist', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '13.0.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '13.0.0-develop.6',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '13.0.0-develop.
|
|
9
|
+
'@progress/kendo-angular-dialog': '13.0.0-develop.6',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^1.0.0',
|
|
12
12
|
// peer dependency of kendo-angular-dateinputs
|
|
13
|
-
'@progress/kendo-angular-navigation': '13.0.0-develop.
|
|
13
|
+
'@progress/kendo-angular-navigation': '13.0.0-develop.6',
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Arguments for the `contentScroll` event.
|
|
6
|
+
* Arguments for the [`contentScroll`](slug:api_treelist_treelistcomponent#toc-contentscroll) event.
|
|
7
7
|
*/
|
|
8
8
|
export interface ContentScrollEvent {
|
|
9
9
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TreeListComponent } from "../treelist.component";
|
|
6
6
|
/**
|
|
7
|
-
* Arguments for the `scrollBottom` event. [See example](slug:scrollmmodes_grid#toc-endless-scrolling).
|
|
7
|
+
* Arguments for the [`scrollBottom`](slug:api_treelist_treelistcomponent#toc-scrollbottom) event. [See example](slug:scrollmmodes_grid#toc-endless-scrolling).
|
|
8
8
|
*/
|
|
9
9
|
export interface ScrollBottomEvent {
|
|
10
10
|
/**
|
|
@@ -8,7 +8,13 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* Arguments for the scrollTo method. Specifies to which row / column should the treelist scroll to.
|
|
9
9
|
*/
|
|
10
10
|
export interface ScrollRequest {
|
|
11
|
+
/**
|
|
12
|
+
* The row index to which the TreeList should scroll to, considering 0 as first row.
|
|
13
|
+
*/
|
|
11
14
|
row?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The column index to which the TreeList should scroll to, considering 0 as first column.
|
|
17
|
+
*/
|
|
12
18
|
column?: number;
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
@@ -3,37 +3,29 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* The settings for the selection functionality of the TreeList.
|
|
6
|
+
* The settings for the selection functionality of the TreeList.[See example](slug:selection_treelist#toc-setup).
|
|
7
7
|
*/
|
|
8
8
|
export interface SelectableSettings {
|
|
9
9
|
/**
|
|
10
10
|
* Specifies the selection mode.
|
|
11
|
-
*
|
|
12
|
-
* @default "row"
|
|
13
11
|
*/
|
|
14
12
|
mode?: 'cell' | 'row';
|
|
15
13
|
/**
|
|
16
14
|
* Specifies if multiple selection is enabled.
|
|
17
|
-
*
|
|
18
|
-
* @default false
|
|
19
15
|
*/
|
|
20
16
|
multiple?: boolean;
|
|
21
17
|
/**
|
|
22
18
|
* Specifies the drag selection options.
|
|
23
|
-
*
|
|
24
|
-
* @default true
|
|
25
19
|
*/
|
|
26
20
|
drag?: boolean | {
|
|
27
21
|
snap: boolean;
|
|
28
22
|
};
|
|
29
23
|
/**
|
|
30
24
|
* Specifies if the selection functionality is enabled.
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* @default true
|
|
25
|
+
* Setting this option to `false` will stop all selection-related functionality.
|
|
26
|
+
* The end user will not be able to select and deselect rows or cells.
|
|
27
|
+
* Items in the [selectedItems]({% slug api_treelist_selectabledirective %}#toc-selecteditems) collection will not be rendered as selected.
|
|
28
|
+
* The [isSelected]({% slug api_treelist_treelistcomponent %}#toc-isselected) callback will be ignored.
|
|
37
29
|
*/
|
|
38
30
|
enabled?: boolean;
|
|
39
31
|
/**
|
|
@@ -41,8 +33,6 @@ export interface SelectableSettings {
|
|
|
41
33
|
* When the selection functionality is enabled and `readonly` is set to `true`,
|
|
42
34
|
* programmatic selection is still possible by using the [selectedItems]({% slug api_treelist_selectabledirective %}#toc-selecteditems) collection
|
|
43
35
|
* or the [isSelected]({% slug api_treelist_treelistcomponent %}#toc-isselected) callback.
|
|
44
|
-
*
|
|
45
|
-
* @default false
|
|
46
36
|
*/
|
|
47
37
|
readonly?: boolean;
|
|
48
38
|
}
|
|
@@ -6,7 +6,7 @@ import { OnDestroy, EventEmitter } from '@angular/core';
|
|
|
6
6
|
import { TreeListComponent } from '../treelist.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* The `kendoTreeListSelectable` state items.
|
|
9
|
+
* The [`kendoTreeListSelectable`](slug:api_treelist_selectabledirective) state items.
|
|
10
10
|
*/
|
|
11
11
|
export interface SelectionItem {
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { TreeListComponent } from '../treelist.component';
|
|
6
6
|
import { ColumnBase } from '../columns/column-base';
|
|
7
7
|
/**
|
|
8
|
-
* The items specified with the `SelectionChangeEvent
|
|
8
|
+
* The items specified with the [`SelectionChangeEvent`](slug:api_treelist_treelistcomponent#toc-selectionchange).
|
|
9
9
|
*/
|
|
10
10
|
export interface SelectionChangeItem {
|
|
11
11
|
/**
|