@progress/kendo-angular-treeview 19.1.2-develop.1 → 19.1.2-develop.3
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/check-mode.d.ts +4 -3
- package/check.directive.d.ts +20 -9
- package/checkable-settings.d.ts +14 -19
- package/checkbox/checked-state.d.ts +1 -1
- package/directives.d.ts +15 -1
- package/disable.directive.d.ts +1 -1
- package/drag-and-drop/drag-and-drop-editing.directive.d.ts +20 -8
- package/drag-and-drop/drag-and-drop.directive.d.ts +29 -20
- package/drag-and-drop/drag-clue/drag-clue-template.directive.d.ts +16 -9
- package/drag-and-drop/drop-hint/drop-hint-template.directive.d.ts +16 -7
- package/drag-and-drop/models/drop-action.d.ts +17 -2
- package/drag-and-drop/models/drop-position.d.ts +10 -1
- package/drag-and-drop/models/editing-service.d.ts +6 -6
- package/drag-and-drop/models/scroll-settings.d.ts +6 -6
- package/drag-and-drop/models/tree-item-filter-state.d.ts +11 -10
- package/drag-and-drop/models/treeitem-add-remove-args.d.ts +7 -7
- package/drag-and-drop/models/treeitem-drag-event.d.ts +5 -5
- package/drag-and-drop/models/treeitem-drag-start-event.d.ts +3 -3
- package/drag-and-drop/models/treeitem-drop-event.d.ts +10 -11
- package/esm2022/check.directive.mjs +20 -9
- package/esm2022/directives.mjs +15 -1
- package/esm2022/disable.directive.mjs +1 -1
- package/esm2022/drag-and-drop/drag-and-drop-editing.directive.mjs +20 -8
- package/esm2022/drag-and-drop/drag-and-drop.directive.mjs +29 -20
- package/esm2022/drag-and-drop/drag-clue/drag-clue-template.directive.mjs +16 -9
- package/esm2022/drag-and-drop/drop-hint/drop-hint-template.directive.mjs +16 -7
- package/esm2022/drag-and-drop/models/drop-action.mjs +17 -2
- package/esm2022/drag-and-drop/models/drop-position.mjs +10 -1
- package/esm2022/drag-and-drop/models/treeitem-drag-event.mjs +5 -5
- package/esm2022/drag-and-drop/models/treeitem-drag-start-event.mjs +3 -3
- package/esm2022/drag-and-drop/models/treeitem-drop-event.mjs +10 -11
- package/esm2022/expand.directive.mjs +19 -8
- package/esm2022/flat-binding.directive.mjs +19 -4
- package/esm2022/hierarchy-binding.directive.mjs +18 -4
- package/esm2022/load-more/load-more-button-template.directive.mjs +14 -6
- package/esm2022/load-more/load-more.directive.mjs +25 -13
- package/esm2022/localization/custom-messages.component.mjs +10 -1
- package/esm2022/localization/messages.mjs +1 -1
- package/esm2022/node-template.directive.mjs +14 -46
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/selection/select.directive.mjs +19 -8
- package/esm2022/treeview.component.mjs +73 -129
- package/esm2022/treeview.module.mjs +15 -0
- package/expand.directive.d.ts +19 -8
- package/fesm2022/progress-kendo-angular-treeview.mjs +391 -299
- package/filter-expand-settings.interface.d.ts +13 -12
- package/filter-state.interface.d.ts +6 -6
- package/flat-binding.directive.d.ts +19 -4
- package/hierarchy-binding.directive.d.ts +18 -4
- package/load-more/load-more-button-template.directive.d.ts +14 -6
- package/load-more/load-more-request-args.d.ts +6 -7
- package/load-more/load-more.directive.d.ts +25 -13
- package/localization/custom-messages.component.d.ts +10 -1
- package/localization/messages.d.ts +1 -1
- package/node-click-event.interface.d.ts +4 -4
- package/node-template.directive.d.ts +14 -46
- package/package.json +7 -7
- package/schematics/ngAdd/index.js +4 -4
- package/selection/select.directive.d.ts +19 -8
- package/selection/selectable-settings.d.ts +5 -49
- package/selection/selection-mode.d.ts +3 -42
- package/size.d.ts +1 -1
- package/treeitem-lookup.interface.d.ts +9 -8
- package/treeitem.interface.d.ts +3 -3
- package/treeview-filter-settings.d.ts +13 -23
- package/treeview.component.d.ts +73 -129
- package/treeview.module.d.ts +15 -0
|
@@ -27,6 +27,21 @@ import * as i15 from "./localization/custom-messages.component";
|
|
|
27
27
|
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
28
28
|
/**
|
|
29
29
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the TreeView component.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* import { NgModule } from '@angular/core';
|
|
34
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
35
|
+
* import { TreeViewModule } from '@progress/kendo-angular-treeview';
|
|
36
|
+
* import { AppComponent } from './app.component';
|
|
37
|
+
*
|
|
38
|
+
* @NgModule({
|
|
39
|
+
* imports: [BrowserModule, TreeViewModule],
|
|
40
|
+
* declarations: [AppComponent],
|
|
41
|
+
* bootstrap: [AppComponent]
|
|
42
|
+
* })
|
|
43
|
+
* export class AppModule {}
|
|
44
|
+
* ```
|
|
30
45
|
*/
|
|
31
46
|
export class TreeViewModule {
|
|
32
47
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
package/expand.directive.d.ts
CHANGED
|
@@ -15,8 +15,19 @@ interface ExpandTreeItem extends TreeItem {
|
|
|
15
15
|
expand: boolean;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
* ([see example](
|
|
18
|
+
* Represents a directive that manages the expanded state of the TreeView
|
|
19
|
+
* ([see example](slug:expandedstate_treeview)).
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```html
|
|
23
|
+
* <kendo-treeview
|
|
24
|
+
* kendoTreeViewExpandable
|
|
25
|
+
* expandBy="id"
|
|
26
|
+
* [(expandedKeys)]="expandedKeys"
|
|
27
|
+
* [expandOnFilter]="true"
|
|
28
|
+
* [nodes]="data">
|
|
29
|
+
* </kendo-treeview>
|
|
30
|
+
* ```
|
|
20
31
|
*/
|
|
21
32
|
export declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
22
33
|
protected component: ExpandableComponent;
|
|
@@ -25,27 +36,27 @@ export declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
|
25
36
|
*/
|
|
26
37
|
set isExpanded(value: (item: object, index: string) => boolean);
|
|
27
38
|
/**
|
|
28
|
-
* Defines the item key
|
|
39
|
+
* Defines the item key stored in the `expandedKeys` collection.
|
|
29
40
|
*/
|
|
30
41
|
expandKey: string | ((context: TreeItem) => any);
|
|
31
42
|
/**
|
|
32
|
-
*
|
|
33
|
-
* To fine-tune this behavior, pass a [`FilterExpandSettings`](
|
|
43
|
+
* Specifies whether to auto-expand the nodes leading from the root node to each filter result.
|
|
44
|
+
* To fine-tune this behavior, pass a [`FilterExpandSettings`](slug:api_treeview_filterexpandsettings) object to this input.
|
|
34
45
|
* @default false
|
|
35
46
|
*/
|
|
36
47
|
expandOnFilter: boolean | FilterExpandSettings;
|
|
37
48
|
get filterExpandSettings(): FilterExpandSettings;
|
|
38
49
|
/**
|
|
39
|
-
* Fires when the `expandedKeys` collection
|
|
50
|
+
* Fires when the `expandedKeys` collection updates.
|
|
40
51
|
*/
|
|
41
52
|
expandedKeysChange: EventEmitter<any[]>;
|
|
42
53
|
/**
|
|
43
|
-
* Defines the collection that
|
|
54
|
+
* Defines the collection that stores the expanded keys.
|
|
44
55
|
*/
|
|
45
56
|
expandedKeys: any[];
|
|
46
57
|
protected subscriptions: Subscription;
|
|
47
58
|
/**
|
|
48
|
-
*
|
|
59
|
+
* Reflects the internal `expandedKeys` state.
|
|
49
60
|
*/
|
|
50
61
|
private state;
|
|
51
62
|
private originalExpandedKeys;
|