@progress/kendo-angular-treeview 25.3.1-develop.2 → 25.4.0-develop.1
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/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.
|
|
10
|
+
"publishDate": 1791873158,
|
|
11
|
+
"version": "25.4.0-develop.1",
|
|
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-treeview",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.4.0-develop.1",
|
|
4
4
|
"description": "Kendo UI TreeView for Angular",
|
|
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": 1791873158,
|
|
45
45
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
"@angular/core": "20 - 22",
|
|
52
52
|
"@angular/platform-browser": "20 - 22",
|
|
53
53
|
"@progress/kendo-licensing": "^1.11.0",
|
|
54
|
-
"@progress/kendo-angular-common": "25.
|
|
55
|
-
"@progress/kendo-angular-inputs": "25.
|
|
56
|
-
"@progress/kendo-angular-icons": "25.
|
|
57
|
-
"@progress/kendo-angular-l10n": "25.
|
|
54
|
+
"@progress/kendo-angular-common": "25.4.0-develop.1",
|
|
55
|
+
"@progress/kendo-angular-inputs": "25.4.0-develop.1",
|
|
56
|
+
"@progress/kendo-angular-icons": "25.4.0-develop.1",
|
|
57
|
+
"@progress/kendo-angular-l10n": "25.4.0-develop.1",
|
|
58
58
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"tslib": "^2.3.1",
|
|
62
|
-
"@progress/kendo-angular-schematics": "25.
|
|
62
|
+
"@progress/kendo-angular-schematics": "25.4.0-develop.1",
|
|
63
63
|
"@progress/kendo-common": "^1.0.1",
|
|
64
64
|
"@progress/kendo-draggable": "^3.0.2"
|
|
65
65
|
},
|
|
@@ -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: 'TreeViewModule', package: 'treeview', peerDependencies: {
|
|
11
11
|
// Peers of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-buttons': '25.
|
|
13
|
-
'@progress/kendo-angular-dialog': '25.
|
|
14
|
-
'@progress/kendo-angular-intl': '25.
|
|
15
|
-
'@progress/kendo-angular-popup': '25.
|
|
12
|
+
'@progress/kendo-angular-buttons': '25.4.0-develop.1',
|
|
13
|
+
'@progress/kendo-angular-dialog': '25.4.0-develop.1',
|
|
14
|
+
'@progress/kendo-angular-intl': '25.4.0-develop.1',
|
|
15
|
+
'@progress/kendo-angular-popup': '25.4.0-develop.1',
|
|
16
16
|
'@progress/kendo-drawing': '^1.9.3',
|
|
17
17
|
// Peer dependency of icons
|
|
18
18
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, TemplateRef, OnChanges, OnInit, AfterViewInit, OnDestroy, ElementRef, ChangeDetectorRef, ViewContainerRef, TrackByFunction, NgZone, Renderer2, SimpleChanges, ComponentRef, AfterContentInit } from '@angular/core';
|
|
6
|
+
import { EventEmitter, TemplateRef, OnChanges, OnInit, AfterViewInit, OnDestroy, ElementRef, ChangeDetectorRef, ViewContainerRef, TrackByFunction, NgZone, Renderer2, SimpleChanges, Injector, ComponentRef, AfterContentInit } from '@angular/core';
|
|
7
7
|
import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { Subject, Observable, BehaviorSubject, Subscription } from 'rxjs';
|
|
9
9
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
@@ -802,13 +802,15 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
802
802
|
/**
|
|
803
803
|
* Sets the placeholder text for the filter input when the component is empty.
|
|
804
804
|
*/
|
|
805
|
-
filterInputPlaceholder: string;
|
|
805
|
+
set filterInputPlaceholder(value: string);
|
|
806
|
+
get filterInputPlaceholder(): string;
|
|
806
807
|
/**
|
|
807
808
|
* Allows expanding disabled nodes.
|
|
808
809
|
*
|
|
809
810
|
* @default false
|
|
810
811
|
*/
|
|
811
|
-
expandDisabledNodes: boolean;
|
|
812
|
+
set expandDisabledNodes(value: boolean);
|
|
813
|
+
get expandDisabledNodes(): boolean;
|
|
812
814
|
/**
|
|
813
815
|
* Enables or disables content animation.
|
|
814
816
|
*/
|
|
@@ -929,12 +931,14 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
929
931
|
* Overrides the role attribute on the load-more button element.
|
|
930
932
|
* Used by DropDownTree to set role="treeitem" for a11y compliance.
|
|
931
933
|
*/
|
|
932
|
-
loadMoreButtonRole: string;
|
|
934
|
+
set loadMoreButtonRole(value: string);
|
|
935
|
+
get loadMoreButtonRole(): string;
|
|
933
936
|
/**
|
|
934
937
|
* A function that defines how to track node changes.
|
|
935
938
|
* By default, the TreeView tracks the nodes by data item object reference.
|
|
936
939
|
*/
|
|
937
|
-
trackBy: TrackByFunction<object
|
|
940
|
+
set trackBy(value: TrackByFunction<object>);
|
|
941
|
+
get trackBy(): TrackByFunction<object>;
|
|
938
942
|
/**
|
|
939
943
|
* The nodes displayed by the TreeView ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/data-binding)).
|
|
940
944
|
*/
|
|
@@ -944,7 +948,8 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
944
948
|
* The fields of the data item that provide the text content of the nodes ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/data-binding)).
|
|
945
949
|
* If set to an array, each level uses the field at the same index or the last item in the array.
|
|
946
950
|
*/
|
|
947
|
-
textField: string | string[];
|
|
951
|
+
set textField(value: string | string[]);
|
|
952
|
+
get textField(): string | string[];
|
|
948
953
|
/**
|
|
949
954
|
* A function that determines if a node has child nodes ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/data-binding)).
|
|
950
955
|
*/
|
|
@@ -958,11 +963,13 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
958
963
|
/**
|
|
959
964
|
* A function that determines if a node is disabled.
|
|
960
965
|
*/
|
|
961
|
-
isDisabled: (item: object, index: string) => boolean;
|
|
966
|
+
set isDisabled(value: (item: object, index: string) => boolean);
|
|
967
|
+
get isDisabled(): (item: object, index: string) => boolean;
|
|
962
968
|
/**
|
|
963
969
|
* A function that determines if a node has a checkbox. If there is no checkbox, the node is not checkable and is excluded from built-in check functionality.
|
|
964
970
|
*/
|
|
965
|
-
hasCheckbox: (item: object, index: string) => boolean;
|
|
971
|
+
set hasCheckbox(value: (item: object, index: string) => boolean);
|
|
972
|
+
get hasCheckbox(): (item: object, index: string) => boolean;
|
|
966
973
|
/**
|
|
967
974
|
* A function that determines if a node is expanded.
|
|
968
975
|
*/
|
|
@@ -977,7 +984,8 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
977
984
|
* A callback that determines whether a TreeView node should be rendered as hidden. Uses the `.k-hidden` utility class. Useful for custom filtering.
|
|
978
985
|
*
|
|
979
986
|
*/
|
|
980
|
-
isVisible: (item: object, index: string) => boolean;
|
|
987
|
+
set isVisible(value: (item: object, index: string) => boolean);
|
|
988
|
+
get isVisible(): (item: object, index: string) => boolean;
|
|
981
989
|
/**
|
|
982
990
|
* Enables keyboard navigation for the TreeView.
|
|
983
991
|
*
|
|
@@ -986,28 +994,33 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
986
994
|
* @remarks
|
|
987
995
|
* This property is related to accessibility.
|
|
988
996
|
*/
|
|
989
|
-
navigable: boolean;
|
|
997
|
+
set navigable(value: boolean);
|
|
998
|
+
get navigable(): boolean;
|
|
990
999
|
/**
|
|
991
1000
|
* A function that provides the child nodes for a given parent node ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/data-binding)).
|
|
992
1001
|
*/
|
|
993
|
-
children: (item: object) => Observable<object[]
|
|
1002
|
+
set children(value: (item: object) => Observable<object[]>);
|
|
1003
|
+
get children(): (item: object) => Observable<object[]>;
|
|
994
1004
|
/**
|
|
995
1005
|
* Indicates whether child nodes are fetched on expand or initally prefetched.
|
|
996
1006
|
*
|
|
997
1007
|
* @default true
|
|
998
1008
|
*/
|
|
999
|
-
loadOnDemand: boolean;
|
|
1009
|
+
set loadOnDemand(value: boolean);
|
|
1010
|
+
get loadOnDemand(): boolean;
|
|
1000
1011
|
/**
|
|
1001
1012
|
* Renders the built-in input element for filtering. If `true`, emits the `filterChange` event that can be handled for [manual filtering](https://www.telerik.com/kendo-angular-ui/components/treeview/filtering#manual-filtering).
|
|
1002
1013
|
* Built-in filtering is available with [`kendoTreeViewHierarchyBinding`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/hierarchybindingdirective) and [`kendoTreeViewFlatDataBinding`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/flatdatabindingdirective) directives.
|
|
1003
1014
|
*
|
|
1004
1015
|
* @default false
|
|
1005
1016
|
*/
|
|
1006
|
-
filterable: boolean;
|
|
1017
|
+
set filterable(value: boolean);
|
|
1018
|
+
get filterable(): boolean;
|
|
1007
1019
|
/**
|
|
1008
1020
|
* Sets the initial value of the built-in filter input.
|
|
1009
1021
|
*/
|
|
1010
|
-
filter: string;
|
|
1022
|
+
set filter(value: string);
|
|
1023
|
+
get filter(): string;
|
|
1011
1024
|
/**
|
|
1012
1025
|
* Sets the size of the component.
|
|
1013
1026
|
*
|
|
@@ -1025,7 +1038,8 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
1025
1038
|
*
|
|
1026
1039
|
* @default false
|
|
1027
1040
|
*/
|
|
1028
|
-
disableParentNodesOnly: boolean;
|
|
1041
|
+
set disableParentNodesOnly(value: boolean);
|
|
1042
|
+
get disableParentNodesOnly(): boolean;
|
|
1029
1043
|
/**
|
|
1030
1044
|
* @hidden
|
|
1031
1045
|
*/
|
|
@@ -1035,20 +1049,42 @@ declare class TreeViewComponent implements OnChanges, OnInit, AfterViewInit, OnD
|
|
|
1035
1049
|
* @hidden
|
|
1036
1050
|
*/
|
|
1037
1051
|
editService: EditService;
|
|
1038
|
-
checkboxes: boolean;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1052
|
+
get checkboxes(): boolean;
|
|
1053
|
+
set checkboxes(value: boolean);
|
|
1054
|
+
get expandIcons(): boolean;
|
|
1055
|
+
set expandIcons(value: boolean);
|
|
1056
|
+
get selectable(): boolean;
|
|
1057
|
+
set selectable(value: boolean);
|
|
1058
|
+
get touchActions(): boolean;
|
|
1059
|
+
set touchActions(value: boolean);
|
|
1042
1060
|
data: BehaviorSubject<any[]>;
|
|
1061
|
+
private _loadMoreService;
|
|
1062
|
+
private _checkboxes;
|
|
1063
|
+
private _expandIcons;
|
|
1064
|
+
private _selectable;
|
|
1065
|
+
private _touchActions;
|
|
1043
1066
|
private _animate;
|
|
1067
|
+
private _filterInputPlaceholder;
|
|
1068
|
+
private _expandDisabledNodes;
|
|
1069
|
+
private _trackBy;
|
|
1070
|
+
private _textField;
|
|
1044
1071
|
private _isChecked;
|
|
1045
1072
|
private _isExpanded;
|
|
1046
1073
|
private _isSelected;
|
|
1074
|
+
private _isDisabled;
|
|
1075
|
+
private _hasCheckbox;
|
|
1076
|
+
private _isVisible;
|
|
1047
1077
|
private _hasChildren;
|
|
1048
|
-
private _loadMoreService;
|
|
1049
1078
|
private _nodeTemplateRef;
|
|
1050
1079
|
private _loadMoreButtonTemplateRef;
|
|
1080
|
+
private _navigable;
|
|
1081
|
+
private _children;
|
|
1082
|
+
private _loadOnDemand;
|
|
1083
|
+
private _filterable;
|
|
1084
|
+
private _filter;
|
|
1051
1085
|
private _size;
|
|
1086
|
+
private _disableParentNodesOnly;
|
|
1087
|
+
private _loadMoreButtonRole;
|
|
1052
1088
|
private subscriptions;
|
|
1053
1089
|
private domSubscriptions;
|
|
1054
1090
|
private _nextId;
|
|
@@ -1193,6 +1229,7 @@ interface CheckableSettings {
|
|
|
1193
1229
|
declare class CheckDirective implements OnChanges, OnDestroy {
|
|
1194
1230
|
protected treeView: TreeViewComponent;
|
|
1195
1231
|
private zone;
|
|
1232
|
+
private injector;
|
|
1196
1233
|
/**
|
|
1197
1234
|
* @hidden
|
|
1198
1235
|
*/
|
|
@@ -1200,18 +1237,21 @@ declare class CheckDirective implements OnChanges, OnDestroy {
|
|
|
1200
1237
|
/**
|
|
1201
1238
|
* Defines the item key stored in the `checkedKeys` collection.
|
|
1202
1239
|
*/
|
|
1203
|
-
checkKey: string | ((context: TreeItem) => any);
|
|
1240
|
+
set checkKey(value: string | ((context: TreeItem) => any));
|
|
1241
|
+
get checkKey(): string | ((context: TreeItem) => any);
|
|
1204
1242
|
/**
|
|
1205
1243
|
* Defines the collection that stores the checked keys
|
|
1206
1244
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/checkboxes)).
|
|
1207
1245
|
*/
|
|
1208
|
-
checkedKeys: any[];
|
|
1246
|
+
set checkedKeys(value: any[]);
|
|
1247
|
+
get checkedKeys(): any[];
|
|
1209
1248
|
/**
|
|
1210
1249
|
* Defines the checkable settings
|
|
1211
1250
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/checkboxes#setup)).
|
|
1212
1251
|
* If you do not provide a value, the default [`CheckableSettings`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/checkablesettings) apply.
|
|
1213
1252
|
*/
|
|
1214
|
-
checkable: boolean | CheckableSettings | string;
|
|
1253
|
+
set checkable(value: boolean | CheckableSettings | string);
|
|
1254
|
+
get checkable(): boolean | CheckableSettings | string;
|
|
1215
1255
|
/**
|
|
1216
1256
|
* Fires when the `checkedKeys` collection updates.
|
|
1217
1257
|
*/
|
|
@@ -1224,11 +1264,14 @@ declare class CheckDirective implements OnChanges, OnDestroy {
|
|
|
1224
1264
|
*/
|
|
1225
1265
|
private state;
|
|
1226
1266
|
private clickSubscription;
|
|
1267
|
+
private _checkKey;
|
|
1268
|
+
private _checkedKeys;
|
|
1269
|
+
private _checkable;
|
|
1227
1270
|
/**
|
|
1228
1271
|
* Holds the last emitted `checkedKeys` collection.
|
|
1229
1272
|
*/
|
|
1230
1273
|
private lastChange;
|
|
1231
|
-
constructor(treeView: TreeViewComponent, zone: NgZone);
|
|
1274
|
+
constructor(treeView: TreeViewComponent, zone: NgZone, injector: Injector);
|
|
1232
1275
|
ngOnChanges(changes: any): void;
|
|
1233
1276
|
ngOnDestroy(): void;
|
|
1234
1277
|
protected isItemChecked(dataItem: any, index: string): CheckedState;
|
|
@@ -1278,11 +1321,15 @@ declare class DisableDirective implements OnChanges {
|
|
|
1278
1321
|
/**
|
|
1279
1322
|
* Defines the item key that will be stored in the `disabledKeys` collection.
|
|
1280
1323
|
*/
|
|
1281
|
-
disableKey: string | ((context: TreeItem) => any);
|
|
1324
|
+
set disableKey(value: string | ((context: TreeItem) => any));
|
|
1325
|
+
get disableKey(): string | ((context: TreeItem) => any);
|
|
1282
1326
|
/**
|
|
1283
1327
|
* Defines the collection that will store the disabled keys.
|
|
1284
1328
|
*/
|
|
1285
|
-
disabledKeys: any[];
|
|
1329
|
+
set disabledKeys(value: any[]);
|
|
1330
|
+
get disabledKeys(): any[];
|
|
1331
|
+
private _disableKey;
|
|
1332
|
+
private _disabledKeys;
|
|
1286
1333
|
constructor(treeView: TreeViewComponent, cdr: ChangeDetectorRef);
|
|
1287
1334
|
ngOnChanges(changes?: any): void;
|
|
1288
1335
|
protected itemKey(e: any): any;
|
|
@@ -1383,13 +1430,15 @@ declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
|
1383
1430
|
/**
|
|
1384
1431
|
* Defines the item key stored in the `expandedKeys` collection.
|
|
1385
1432
|
*/
|
|
1386
|
-
expandKey: string | ((context: TreeItem) => any);
|
|
1433
|
+
set expandKey(value: string | ((context: TreeItem) => any));
|
|
1434
|
+
get expandKey(): string | ((context: TreeItem) => any);
|
|
1387
1435
|
/**
|
|
1388
1436
|
* Specifies whether to auto-expand the nodes leading from the root node to each filter result.
|
|
1389
1437
|
* To fine-tune this behavior, pass a [`FilterExpandSettings`](https://www.telerik.com/kendo-angular-ui/components/treeview/api/filterexpandsettings) object to this input.
|
|
1390
1438
|
* @default false
|
|
1391
1439
|
*/
|
|
1392
|
-
expandOnFilter: boolean | FilterExpandSettings;
|
|
1440
|
+
set expandOnFilter(value: boolean | FilterExpandSettings);
|
|
1441
|
+
get expandOnFilter(): boolean | FilterExpandSettings;
|
|
1393
1442
|
get filterExpandSettings(): FilterExpandSettings;
|
|
1394
1443
|
/**
|
|
1395
1444
|
* Fires when the `expandedKeys` collection updates.
|
|
@@ -1398,14 +1447,18 @@ declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
|
1398
1447
|
/**
|
|
1399
1448
|
* Defines the collection that stores the expanded keys.
|
|
1400
1449
|
*/
|
|
1401
|
-
expandedKeys: any[];
|
|
1450
|
+
set expandedKeys(value: any[]);
|
|
1451
|
+
get expandedKeys(): any[];
|
|
1402
1452
|
protected subscriptions: Subscription;
|
|
1403
1453
|
/**
|
|
1404
1454
|
* Reflects the internal `expandedKeys` state.
|
|
1405
1455
|
*/
|
|
1406
1456
|
private state;
|
|
1457
|
+
private _expandedKeys;
|
|
1407
1458
|
private originalExpandedKeys;
|
|
1408
1459
|
private isFiltered;
|
|
1460
|
+
private _expandKey;
|
|
1461
|
+
private _expandOnFilter;
|
|
1409
1462
|
/**
|
|
1410
1463
|
* Holds the last emitted `expandedKeys` collection.
|
|
1411
1464
|
*/
|
|
@@ -1476,17 +1529,20 @@ declare class SelectDirective implements OnDestroy, OnChanges {
|
|
|
1476
1529
|
/**
|
|
1477
1530
|
* Sets the item key stored in the `selectedKeys` collection.
|
|
1478
1531
|
*/
|
|
1479
|
-
selectKey: string | ((context: TreeItem) => any);
|
|
1532
|
+
set selectKey(value: string | ((context: TreeItem) => any));
|
|
1533
|
+
get selectKey(): string | ((context: TreeItem) => any);
|
|
1480
1534
|
/**
|
|
1481
1535
|
* Sets the current selection mode
|
|
1482
1536
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/selection)).
|
|
1483
1537
|
*/
|
|
1484
|
-
selection: boolean | SelectableSettings | string;
|
|
1538
|
+
set selection(value: boolean | SelectableSettings | string);
|
|
1539
|
+
get selection(): boolean | SelectableSettings | string;
|
|
1485
1540
|
/**
|
|
1486
1541
|
* Defines the collection that stores the selected keys
|
|
1487
1542
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/treeview/selection)).
|
|
1488
1543
|
*/
|
|
1489
|
-
selectedKeys: any[];
|
|
1544
|
+
set selectedKeys(value: any[]);
|
|
1545
|
+
get selectedKeys(): any[];
|
|
1490
1546
|
/**
|
|
1491
1547
|
* Emits when the `selectedKeys` collection updates.
|
|
1492
1548
|
*/
|
|
@@ -1503,6 +1559,9 @@ declare class SelectDirective implements OnDestroy, OnChanges {
|
|
|
1503
1559
|
* Holds the last emitted `selectedKeys` collection.
|
|
1504
1560
|
*/
|
|
1505
1561
|
private lastChange;
|
|
1562
|
+
private _selectedKeys;
|
|
1563
|
+
private _selectKey;
|
|
1564
|
+
private _selection;
|
|
1506
1565
|
constructor(treeView: TreeViewComponent, navigationService: NavigationService);
|
|
1507
1566
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1508
1567
|
ngOnDestroy(): void;
|
|
@@ -1524,19 +1583,23 @@ declare class DragClueComponent {
|
|
|
1524
1583
|
/**
|
|
1525
1584
|
* The text value of the dragged TreeView item.
|
|
1526
1585
|
*/
|
|
1527
|
-
text: string;
|
|
1586
|
+
set text(value: string);
|
|
1587
|
+
get text(): string;
|
|
1528
1588
|
/**
|
|
1529
1589
|
* The attempted operation according to the current drop target.
|
|
1530
1590
|
*/
|
|
1531
|
-
action: DropAction;
|
|
1591
|
+
set action(value: DropAction);
|
|
1592
|
+
get action(): DropAction;
|
|
1532
1593
|
/**
|
|
1533
1594
|
* The look-up info for the currently dragged item.
|
|
1534
1595
|
*/
|
|
1535
|
-
sourceItem: TreeItemLookup;
|
|
1596
|
+
set sourceItem(value: TreeItemLookup);
|
|
1597
|
+
get sourceItem(): TreeItemLookup;
|
|
1536
1598
|
/**
|
|
1537
1599
|
* The look-up info for the destination item (if hovering a valid drop target).
|
|
1538
1600
|
*/
|
|
1539
|
-
destinationItem: TreeItemLookup;
|
|
1601
|
+
set destinationItem(value: TreeItemLookup);
|
|
1602
|
+
get destinationItem(): TreeItemLookup;
|
|
1540
1603
|
/**
|
|
1541
1604
|
* Defines the drag clue content template.
|
|
1542
1605
|
*/
|
|
@@ -1545,6 +1608,10 @@ declare class DragClueComponent {
|
|
|
1545
1608
|
get statusIconClass(): string;
|
|
1546
1609
|
get statusSVGIcon(): SVGIcon;
|
|
1547
1610
|
constructor(cdr: ChangeDetectorRef);
|
|
1611
|
+
private _text;
|
|
1612
|
+
private _action;
|
|
1613
|
+
private _sourceItem;
|
|
1614
|
+
private _destinationItem;
|
|
1548
1615
|
detectChanges(): void;
|
|
1549
1616
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragClueComponent, never>;
|
|
1550
1617
|
static ɵcmp: i0.ɵɵComponentDeclaration<DragClueComponent, "kendo-treeview-drag-clue", never, {}, {}, never, never, true, never>;
|
|
@@ -1609,15 +1676,21 @@ declare class DropHintComponent {
|
|
|
1609
1676
|
/**
|
|
1610
1677
|
* The attempted operation according to the current drop target.
|
|
1611
1678
|
*/
|
|
1612
|
-
action: DropAction;
|
|
1679
|
+
set action(value: DropAction);
|
|
1680
|
+
get action(): DropAction;
|
|
1613
1681
|
/**
|
|
1614
1682
|
* The look-up info for the currently dragged item.
|
|
1615
1683
|
*/
|
|
1616
|
-
sourceItem: TreeItemLookup;
|
|
1684
|
+
set sourceItem(value: TreeItemLookup);
|
|
1685
|
+
get sourceItem(): TreeItemLookup;
|
|
1617
1686
|
/**
|
|
1618
1687
|
* The look-up info for the destination item.
|
|
1619
1688
|
*/
|
|
1620
|
-
destinationItem: TreeItemLookup;
|
|
1689
|
+
set destinationItem(value: TreeItemLookup);
|
|
1690
|
+
get destinationItem(): TreeItemLookup;
|
|
1691
|
+
private _action;
|
|
1692
|
+
private _sourceItem;
|
|
1693
|
+
private _destinationItem;
|
|
1621
1694
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
1622
1695
|
detectChanges(): void;
|
|
1623
1696
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropHintComponent, never>;
|
|
@@ -1815,9 +1888,9 @@ declare abstract class FilteringBase {
|
|
|
1815
1888
|
/**
|
|
1816
1889
|
* Stores the unfiltered nodes
|
|
1817
1890
|
*/
|
|
1818
|
-
protected filterData: TreeItemFilterState[]
|
|
1819
|
-
protected visibleNodes: Set<any
|
|
1820
|
-
protected currentFilterTerm: string
|
|
1891
|
+
protected filterData: i0.WritableSignal<TreeItemFilterState[]>;
|
|
1892
|
+
protected visibleNodes: i0.WritableSignal<Set<any>>;
|
|
1893
|
+
protected currentFilterTerm: i0.WritableSignal<string>;
|
|
1821
1894
|
/**
|
|
1822
1895
|
* The settings which are applied when performing a filter on the component's data.
|
|
1823
1896
|
*/
|
|
@@ -1834,6 +1907,7 @@ declare abstract class FilteringBase {
|
|
|
1834
1907
|
*/
|
|
1835
1908
|
handleFilterChange(term: string): void;
|
|
1836
1909
|
protected updateVisibleNodes(items: TreeItemFilterState[]): void;
|
|
1910
|
+
private collectVisibleNodes;
|
|
1837
1911
|
protected resetNodesVisibility(items: TreeItemFilterState[]): void;
|
|
1838
1912
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilteringBase, never>;
|
|
1839
1913
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FilteringBase, never, never, { "filterSettings": { "alias": "filterSettings"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1875,7 +1949,7 @@ declare class HierarchyBindingDirective extends FilteringBase implements OnInit
|
|
|
1875
1949
|
*/
|
|
1876
1950
|
set nodes(nodes: any[]);
|
|
1877
1951
|
get nodes(): any[];
|
|
1878
|
-
protected _nodes: any[]
|
|
1952
|
+
protected _nodes: i0.WritableSignal<any[]>;
|
|
1879
1953
|
/**
|
|
1880
1954
|
* @hidden
|
|
1881
1955
|
* A callback which determines whether a TreeView node should be rendered as hidden.
|
|
@@ -1929,19 +2003,22 @@ declare class FlatDataBindingDirective extends FilteringBase implements OnInit,
|
|
|
1929
2003
|
*/
|
|
1930
2004
|
set nodes(nodes: any[]);
|
|
1931
2005
|
get nodes(): any[];
|
|
1932
|
-
protected _nodes: any[]
|
|
2006
|
+
protected _nodes: i0.WritableSignal<any[]>;
|
|
1933
2007
|
/**
|
|
1934
2008
|
* Specifies the field name that contains the parent node identifier.
|
|
1935
2009
|
*/
|
|
1936
|
-
parentIdField: string;
|
|
2010
|
+
set parentIdField(value: string);
|
|
2011
|
+
get parentIdField(): string;
|
|
1937
2012
|
/**
|
|
1938
2013
|
* Specifies the field name that contains the unique node identifier.
|
|
1939
2014
|
*/
|
|
1940
|
-
idField: string;
|
|
2015
|
+
set idField(value: string);
|
|
2016
|
+
get idField(): string;
|
|
1941
2017
|
/**
|
|
1942
2018
|
* @hidden
|
|
1943
2019
|
*/
|
|
1944
|
-
loadOnDemand: boolean;
|
|
2020
|
+
set loadOnDemand(value: boolean);
|
|
2021
|
+
get loadOnDemand(): boolean;
|
|
1945
2022
|
/**
|
|
1946
2023
|
* @hidden
|
|
1947
2024
|
* A callback which determines whether a TreeView node should be rendered as hidden.
|
|
@@ -1950,7 +2027,12 @@ declare class FlatDataBindingDirective extends FilteringBase implements OnInit,
|
|
|
1950
2027
|
/**
|
|
1951
2028
|
* @hidden
|
|
1952
2029
|
*/
|
|
1953
|
-
originalData: any[];
|
|
2030
|
+
set originalData(value: any[]);
|
|
2031
|
+
get originalData(): any[];
|
|
2032
|
+
protected _loadOnDemand: i0.WritableSignal<boolean>;
|
|
2033
|
+
protected _idField: i0.WritableSignal<string>;
|
|
2034
|
+
protected _parentIdField: i0.WritableSignal<string>;
|
|
2035
|
+
protected _originalData: i0.WritableSignal<any[]>;
|
|
1954
2036
|
constructor(component: DataBoundComponent);
|
|
1955
2037
|
/**
|
|
1956
2038
|
* @hidden
|
|
@@ -2078,7 +2160,9 @@ declare class TreeViewMessages extends ComponentMessages {
|
|
|
2078
2160
|
/**
|
|
2079
2161
|
* Sets the text for the `Load More` button title.
|
|
2080
2162
|
*/
|
|
2081
|
-
loadMore: string;
|
|
2163
|
+
set loadMore(value: string);
|
|
2164
|
+
get loadMore(): string;
|
|
2165
|
+
private _loadMore;
|
|
2082
2166
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewMessages, never>;
|
|
2083
2167
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeViewMessages, "kendo-treeview-messages-base", never, { "loadMore": { "alias": "loadMore"; "required": false; }; }, {}, never, never, true, never>;
|
|
2084
2168
|
}
|