@progress/kendo-angular-treeview 19.1.2-develop.2 → 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.
Files changed (67) hide show
  1. package/check-mode.d.ts +4 -3
  2. package/check.directive.d.ts +20 -9
  3. package/checkable-settings.d.ts +14 -19
  4. package/checkbox/checked-state.d.ts +1 -1
  5. package/directives.d.ts +15 -1
  6. package/disable.directive.d.ts +1 -1
  7. package/drag-and-drop/drag-and-drop-editing.directive.d.ts +20 -8
  8. package/drag-and-drop/drag-and-drop.directive.d.ts +29 -20
  9. package/drag-and-drop/drag-clue/drag-clue-template.directive.d.ts +16 -9
  10. package/drag-and-drop/drop-hint/drop-hint-template.directive.d.ts +16 -7
  11. package/drag-and-drop/models/drop-action.d.ts +17 -2
  12. package/drag-and-drop/models/drop-position.d.ts +10 -1
  13. package/drag-and-drop/models/editing-service.d.ts +6 -6
  14. package/drag-and-drop/models/scroll-settings.d.ts +6 -6
  15. package/drag-and-drop/models/tree-item-filter-state.d.ts +11 -10
  16. package/drag-and-drop/models/treeitem-add-remove-args.d.ts +7 -7
  17. package/drag-and-drop/models/treeitem-drag-event.d.ts +5 -5
  18. package/drag-and-drop/models/treeitem-drag-start-event.d.ts +3 -3
  19. package/drag-and-drop/models/treeitem-drop-event.d.ts +10 -11
  20. package/esm2022/check.directive.mjs +20 -9
  21. package/esm2022/directives.mjs +15 -1
  22. package/esm2022/disable.directive.mjs +1 -1
  23. package/esm2022/drag-and-drop/drag-and-drop-editing.directive.mjs +20 -8
  24. package/esm2022/drag-and-drop/drag-and-drop.directive.mjs +29 -20
  25. package/esm2022/drag-and-drop/drag-clue/drag-clue-template.directive.mjs +16 -9
  26. package/esm2022/drag-and-drop/drop-hint/drop-hint-template.directive.mjs +16 -7
  27. package/esm2022/drag-and-drop/models/drop-action.mjs +17 -2
  28. package/esm2022/drag-and-drop/models/drop-position.mjs +10 -1
  29. package/esm2022/drag-and-drop/models/treeitem-drag-event.mjs +5 -5
  30. package/esm2022/drag-and-drop/models/treeitem-drag-start-event.mjs +3 -3
  31. package/esm2022/drag-and-drop/models/treeitem-drop-event.mjs +10 -11
  32. package/esm2022/expand.directive.mjs +19 -8
  33. package/esm2022/flat-binding.directive.mjs +19 -4
  34. package/esm2022/hierarchy-binding.directive.mjs +18 -4
  35. package/esm2022/load-more/load-more-button-template.directive.mjs +14 -6
  36. package/esm2022/load-more/load-more.directive.mjs +25 -13
  37. package/esm2022/localization/custom-messages.component.mjs +10 -1
  38. package/esm2022/localization/messages.mjs +1 -1
  39. package/esm2022/node-template.directive.mjs +14 -46
  40. package/esm2022/package-metadata.mjs +2 -2
  41. package/esm2022/selection/select.directive.mjs +19 -8
  42. package/esm2022/treeview.component.mjs +73 -129
  43. package/esm2022/treeview.module.mjs +15 -0
  44. package/expand.directive.d.ts +19 -8
  45. package/fesm2022/progress-kendo-angular-treeview.mjs +391 -299
  46. package/filter-expand-settings.interface.d.ts +13 -12
  47. package/filter-state.interface.d.ts +6 -6
  48. package/flat-binding.directive.d.ts +19 -4
  49. package/hierarchy-binding.directive.d.ts +18 -4
  50. package/load-more/load-more-button-template.directive.d.ts +14 -6
  51. package/load-more/load-more-request-args.d.ts +6 -7
  52. package/load-more/load-more.directive.d.ts +25 -13
  53. package/localization/custom-messages.component.d.ts +10 -1
  54. package/localization/messages.d.ts +1 -1
  55. package/node-click-event.interface.d.ts +4 -4
  56. package/node-template.directive.d.ts +14 -46
  57. package/package.json +7 -7
  58. package/schematics/ngAdd/index.js +4 -4
  59. package/selection/select.directive.d.ts +19 -8
  60. package/selection/selectable-settings.d.ts +5 -49
  61. package/selection/selection-mode.d.ts +3 -42
  62. package/size.d.ts +1 -1
  63. package/treeitem-lookup.interface.d.ts +9 -8
  64. package/treeitem.interface.d.ts +3 -3
  65. package/treeview-filter-settings.d.ts +13 -23
  66. package/treeview.component.d.ts +73 -129
  67. 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 });
@@ -15,8 +15,19 @@ interface ExpandTreeItem extends TreeItem {
15
15
  expand: boolean;
16
16
  }
17
17
  /**
18
- * A directive which manages the expanded state of the TreeView.
19
- * ([see example]({% slug expandedstate_treeview %})).
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 that will be stored in the `expandedKeys` collection.
39
+ * Defines the item key stored in the `expandedKeys` collection.
29
40
  */
30
41
  expandKey: string | ((context: TreeItem) => any);
31
42
  /**
32
- * Whether or not to auto-expand the nodes leading from the root node to each filter result.
33
- * To fine-tune this behavior, pass a [`FilterExpandSettings`]({% slug api_treeview_filterexpandsettings %}) object to this input.
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 was updated.
50
+ * Fires when the `expandedKeys` collection updates.
40
51
  */
41
52
  expandedKeysChange: EventEmitter<any[]>;
42
53
  /**
43
- * Defines the collection that will store the expanded keys.
54
+ * Defines the collection that stores the expanded keys.
44
55
  */
45
56
  expandedKeys: any[];
46
57
  protected subscriptions: Subscription;
47
58
  /**
48
- * Reflectes the internal `expandedKeys` state.
59
+ * Reflects the internal `expandedKeys` state.
49
60
  */
50
61
  private state;
51
62
  private originalExpandedKeys;