@progress/kendo-angular-dropdowns 7.0.1 → 7.0.2-dev.202205271051

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.
@@ -2,30 +2,28 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { OnChanges, SimpleChanges } from '@angular/core';
5
6
  import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * A directive which encapsulates the retrieval of the child nodes when flat data is provided.
9
10
  */
10
- export declare class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
11
+ export declare class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective implements OnChanges {
11
12
  private dropDownTree;
12
13
  /**
13
14
  * The nodes which will be displayed by the DropDownTree.
14
15
  */
15
- set data(nodes: any[]);
16
+ nodes: any[];
16
17
  /**
17
18
  * Represents the unique field which identifies a node.
18
19
  */
19
20
  idField: string;
20
- /**
21
- * @hidden
22
- */
23
- set nodes(values: any[]);
24
21
  /**
25
22
  * @hidden
26
23
  */
27
24
  set filter(term: string);
28
25
  constructor(dropDownTree: DataBoundComponent);
26
+ ngOnChanges(changes: SimpleChanges): void;
29
27
  static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreeFlatBindingDirective, never>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreeFlatBindingDirective, "[kendoDropDownTreeFlatBinding]", never, { "data": "kendoDropDownTreeFlatBinding"; "idField": "valueField"; }, {}, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreeFlatBindingDirective, "[kendoDropDownTreeFlatBinding]", never, { "nodes": "kendoDropDownTreeFlatBinding"; "idField": "valueField"; }, {}, never>;
31
29
  }
@@ -2,26 +2,24 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { OnChanges, SimpleChanges } from '@angular/core';
5
6
  import { DataBoundComponent, HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * A directive which encapsulates the retrieval of the child nodes when hierarchical data is provided.
9
10
  */
10
- export declare class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
11
+ export declare class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective implements OnChanges {
11
12
  private dropDownTree;
12
13
  /**
13
14
  * The nodes which will be displayed by the DropDownTree.
14
15
  */
15
- set data(nodes: any[]);
16
- /**
17
- * @hidden
18
- */
19
- set nodes(values: any[]);
16
+ nodes: any[];
20
17
  /**
21
18
  * @hidden
22
19
  */
23
20
  set filter(term: string);
24
21
  constructor(dropDownTree: DataBoundComponent);
22
+ ngOnChanges(changes: SimpleChanges): void;
25
23
  static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreeHierarchyBindingDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreeHierarchyBindingDirective, "[kendoDropDownTreeHierarchyBinding]", never, { "data": "kendoDropDownTreeHierarchyBinding"; }, {}, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreeHierarchyBindingDirective, "[kendoDropDownTreeHierarchyBinding]", never, { "nodes": "kendoDropDownTreeHierarchyBinding"; }, {}, never>;
27
25
  }
@@ -2,30 +2,28 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { OnChanges, SimpleChanges } from '@angular/core';
5
6
  import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * A directive which encapsulates the retrieval of the child nodes when flat data is provided.
9
10
  */
10
- export declare class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
11
+ export declare class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective implements OnChanges {
11
12
  private multiSelectTree;
12
13
  /**
13
14
  * The nodes which will be displayed by the MultiSelectTree.
14
15
  */
15
- set data(nodes: any[]);
16
+ nodes: any[];
16
17
  /**
17
18
  * Represents the unique field which identifies a node.
18
19
  */
19
20
  idField: string;
20
- /**
21
- * @hidden
22
- */
23
- set nodes(values: any[]);
24
21
  /**
25
22
  * @hidden
26
23
  */
27
24
  set filter(term: string);
28
25
  constructor(multiSelectTree: DataBoundComponent);
26
+ ngOnChanges(changes: SimpleChanges): void;
29
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectTreeFlatBindingDirective, never>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectTreeFlatBindingDirective, "[kendoMultiSelectTreeFlatBinding]", never, { "data": "kendoMultiSelectTreeFlatBinding"; "idField": "valueField"; }, {}, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectTreeFlatBindingDirective, "[kendoMultiSelectTreeFlatBinding]", never, { "nodes": "kendoMultiSelectTreeFlatBinding"; "idField": "valueField"; }, {}, never>;
31
29
  }
@@ -2,26 +2,24 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { OnChanges, SimpleChanges } from '@angular/core';
5
6
  import { DataBoundComponent, HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * A directive which encapsulates the retrieval of the child nodes when hierarchical data is provided.
9
10
  */
10
- export declare class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective {
11
+ export declare class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective implements OnChanges {
11
12
  private multiSelectTree;
12
13
  /**
13
14
  * The nodes which will be displayed by the MultiSelectTree.
14
15
  */
15
- set data(nodes: any[]);
16
- /**
17
- * @hidden
18
- */
19
- set nodes(values: any[]);
16
+ nodes: any[];
20
17
  /**
21
18
  * @hidden
22
19
  */
23
20
  set filter(term: string);
24
21
  constructor(multiSelectTree: DataBoundComponent);
22
+ ngOnChanges(changes: SimpleChanges): void;
25
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectTreeHierarchyBindingDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectTreeHierarchyBindingDirective, "[kendoMultiSelectTreeHierarchyBinding]", never, { "data": "kendoMultiSelectTreeHierarchyBinding"; }, {}, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectTreeHierarchyBindingDirective, "[kendoMultiSelectTreeHierarchyBinding]", never, { "nodes": "kendoMultiSelectTreeHierarchyBinding"; }, {}, never>;
27
25
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
6
+ import { isChanged } from '@progress/kendo-angular-common';
6
7
  import { FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "@progress/kendo-angular-treeview";
@@ -14,35 +15,28 @@ export class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
14
15
  super(dropDownTree);
15
16
  this.dropDownTree = dropDownTree;
16
17
  }
17
- /**
18
- * The nodes which will be displayed by the DropDownTree.
19
- */
20
- set data(nodes) {
21
- this.dropDownTree.nodes = nodes;
22
- this.nodes = nodes;
23
- }
24
- ;
25
- /**
26
- * @hidden
27
- */
28
- set nodes(values) {
29
- super.nodes = values;
30
- }
31
18
  /**
32
19
  * @hidden
33
20
  */
34
21
  set filter(term) {
35
22
  super.filter = term;
36
23
  }
24
+ ngOnChanges(changes) {
25
+ if (isChanged('nodes', changes, false)) {
26
+ this.dropDownTree.nodes = changes.nodes.currentValue;
27
+ super.nodes = changes.nodes.currentValue;
28
+ }
29
+ super.ngOnChanges(changes);
30
+ }
37
31
  }
38
32
  DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
39
- DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { data: ["kendoDropDownTreeFlatBinding", "data"], idField: ["valueField", "idField"] }, usesInheritance: true, ngImport: i0 });
33
+ DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
40
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
41
35
  type: Directive,
42
36
  args: [{
43
37
  selector: '[kendoDropDownTreeFlatBinding]'
44
38
  }]
45
- }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { data: [{
39
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { nodes: [{
46
40
  type: Input,
47
41
  args: ['kendoDropDownTreeFlatBinding']
48
42
  }], idField: [{
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
6
+ import { isChanged } from '@progress/kendo-angular-common';
6
7
  import { HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
7
8
  import { getter } from '@progress/kendo-common';
8
9
  import * as i0 from "@angular/core";
@@ -36,34 +37,28 @@ export class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirec
36
37
  super(dropDownTree);
37
38
  this.dropDownTree = dropDownTree;
38
39
  }
39
- /**
40
- * The nodes which will be displayed by the DropDownTree.
41
- */
42
- set data(nodes) {
43
- this.dropDownTree.nodes = nodes;
44
- this.nodes = nodes;
45
- }
46
- /**
47
- * @hidden
48
- */
49
- set nodes(values) {
50
- super.nodes = values;
51
- }
52
40
  /**
53
41
  * @hidden
54
42
  */
55
43
  set filter(term) {
56
44
  super.filter = term;
57
45
  }
46
+ ngOnChanges(changes) {
47
+ if (isChanged('nodes', changes, false)) {
48
+ this.dropDownTree.nodes = changes.nodes.currentValue;
49
+ super.nodes = changes.nodes.currentValue;
50
+ }
51
+ super.ngOnChanges(changes);
52
+ }
58
53
  }
59
54
  DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
60
- DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { data: ["kendoDropDownTreeHierarchyBinding", "data"] }, usesInheritance: true, ngImport: i0 });
55
+ DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
61
56
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
62
57
  type: Directive,
63
58
  args: [{
64
59
  selector: '[kendoDropDownTreeHierarchyBinding]'
65
60
  }]
66
- }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { data: [{
61
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { nodes: [{
67
62
  type: Input,
68
63
  args: ['kendoDropDownTreeHierarchyBinding']
69
64
  }] } });
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
6
+ import { isChanged } from '@progress/kendo-angular-common';
6
7
  import { FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "@progress/kendo-angular-treeview";
@@ -14,34 +15,28 @@ export class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirectiv
14
15
  super(multiSelectTree);
15
16
  this.multiSelectTree = multiSelectTree;
16
17
  }
17
- /**
18
- * The nodes which will be displayed by the MultiSelectTree.
19
- */
20
- set data(nodes) {
21
- this.multiSelectTree.nodes = nodes;
22
- this.nodes = nodes;
23
- }
24
- /**
25
- * @hidden
26
- */
27
- set nodes(values) {
28
- super.nodes = values;
29
- }
30
18
  /**
31
19
  * @hidden
32
20
  */
33
21
  set filter(term) {
34
22
  super.filter = term;
35
23
  }
24
+ ngOnChanges(changes) {
25
+ if (isChanged('nodes', changes, false)) {
26
+ this.multiSelectTree.nodes = changes.nodes.currentValue;
27
+ super.nodes = changes.nodes.currentValue;
28
+ }
29
+ super.ngOnChanges(changes);
30
+ }
36
31
  }
37
32
  MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
38
- MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { data: ["kendoMultiSelectTreeFlatBinding", "data"], idField: ["valueField", "idField"] }, usesInheritance: true, ngImport: i0 });
33
+ MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
39
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
40
35
  type: Directive,
41
36
  args: [{
42
37
  selector: '[kendoMultiSelectTreeFlatBinding]'
43
38
  }]
44
- }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { data: [{
39
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { nodes: [{
45
40
  type: Input,
46
41
  args: ['kendoMultiSelectTreeFlatBinding']
47
42
  }], idField: [{
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
6
+ import { isChanged } from '@progress/kendo-angular-common';
6
7
  import { HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "@progress/kendo-angular-treeview";
@@ -14,34 +15,28 @@ export class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDi
14
15
  super(multiSelectTree);
15
16
  this.multiSelectTree = multiSelectTree;
16
17
  }
17
- /**
18
- * The nodes which will be displayed by the MultiSelectTree.
19
- */
20
- set data(nodes) {
21
- this.multiSelectTree.nodes = nodes;
22
- this.nodes = nodes;
23
- }
24
- /**
25
- * @hidden
26
- */
27
- set nodes(values) {
28
- super.nodes = values;
29
- }
30
18
  /**
31
19
  * @hidden
32
20
  */
33
21
  set filter(term) {
34
22
  super.filter = term;
35
23
  }
24
+ ngOnChanges(changes) {
25
+ if (isChanged('nodes', changes, false)) {
26
+ this.multiSelectTree.nodes = changes.nodes.currentValue;
27
+ super.nodes = changes.nodes.currentValue;
28
+ }
29
+ super.ngOnChanges(changes);
30
+ }
36
31
  }
37
32
  MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
38
- MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { data: ["kendoMultiSelectTreeHierarchyBinding", "data"] }, usesInheritance: true, ngImport: i0 });
33
+ MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
39
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
40
35
  type: Directive,
41
36
  args: [{
42
37
  selector: '[kendoMultiSelectTreeHierarchyBinding]'
43
38
  }]
44
- }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { data: [{
39
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { nodes: [{
45
40
  type: Input,
46
41
  args: ['kendoMultiSelectTreeHierarchyBinding']
47
42
  }] } });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dropdowns',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1652188959,
12
+ publishDate: 1653648605,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -29,7 +29,7 @@ const packageMetadata = {
29
29
  name: '@progress/kendo-angular-dropdowns',
30
30
  productName: 'Kendo UI for Angular',
31
31
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
32
- publishDate: 1652188959,
32
+ publishDate: 1653648605,
33
33
  version: '',
34
34
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
35
35
  };
@@ -13239,35 +13239,28 @@ class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
13239
13239
  super(dropDownTree);
13240
13240
  this.dropDownTree = dropDownTree;
13241
13241
  }
13242
- /**
13243
- * The nodes which will be displayed by the DropDownTree.
13244
- */
13245
- set data(nodes) {
13246
- this.dropDownTree.nodes = nodes;
13247
- this.nodes = nodes;
13248
- }
13249
- ;
13250
- /**
13251
- * @hidden
13252
- */
13253
- set nodes(values) {
13254
- super.nodes = values;
13255
- }
13256
13242
  /**
13257
13243
  * @hidden
13258
13244
  */
13259
13245
  set filter(term) {
13260
13246
  super.filter = term;
13261
13247
  }
13248
+ ngOnChanges(changes) {
13249
+ if (isChanged('nodes', changes, false)) {
13250
+ this.dropDownTree.nodes = changes.nodes.currentValue;
13251
+ super.nodes = changes.nodes.currentValue;
13252
+ }
13253
+ super.ngOnChanges(changes);
13254
+ }
13262
13255
  }
13263
13256
  DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
13264
- DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { data: ["kendoDropDownTreeFlatBinding", "data"], idField: ["valueField", "idField"] }, usesInheritance: true, ngImport: i0 });
13257
+ DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
13265
13258
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
13266
13259
  type: Directive,
13267
13260
  args: [{
13268
13261
  selector: '[kendoDropDownTreeFlatBinding]'
13269
13262
  }]
13270
- }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { data: [{
13263
+ }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
13271
13264
  type: Input,
13272
13265
  args: ['kendoDropDownTreeFlatBinding']
13273
13266
  }], idField: [{
@@ -13304,34 +13297,28 @@ class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
13304
13297
  super(dropDownTree);
13305
13298
  this.dropDownTree = dropDownTree;
13306
13299
  }
13307
- /**
13308
- * The nodes which will be displayed by the DropDownTree.
13309
- */
13310
- set data(nodes) {
13311
- this.dropDownTree.nodes = nodes;
13312
- this.nodes = nodes;
13313
- }
13314
- /**
13315
- * @hidden
13316
- */
13317
- set nodes(values) {
13318
- super.nodes = values;
13319
- }
13320
13300
  /**
13321
13301
  * @hidden
13322
13302
  */
13323
13303
  set filter(term) {
13324
13304
  super.filter = term;
13325
13305
  }
13306
+ ngOnChanges(changes) {
13307
+ if (isChanged('nodes', changes, false)) {
13308
+ this.dropDownTree.nodes = changes.nodes.currentValue;
13309
+ super.nodes = changes.nodes.currentValue;
13310
+ }
13311
+ super.ngOnChanges(changes);
13312
+ }
13326
13313
  }
13327
13314
  DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
13328
- DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { data: ["kendoDropDownTreeHierarchyBinding", "data"] }, usesInheritance: true, ngImport: i0 });
13315
+ DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
13329
13316
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
13330
13317
  type: Directive,
13331
13318
  args: [{
13332
13319
  selector: '[kendoDropDownTreeHierarchyBinding]'
13333
13320
  }]
13334
- }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { data: [{
13321
+ }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
13335
13322
  type: Input,
13336
13323
  args: ['kendoDropDownTreeHierarchyBinding']
13337
13324
  }] } });
@@ -13344,34 +13331,28 @@ class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
13344
13331
  super(multiSelectTree);
13345
13332
  this.multiSelectTree = multiSelectTree;
13346
13333
  }
13347
- /**
13348
- * The nodes which will be displayed by the MultiSelectTree.
13349
- */
13350
- set data(nodes) {
13351
- this.multiSelectTree.nodes = nodes;
13352
- this.nodes = nodes;
13353
- }
13354
- /**
13355
- * @hidden
13356
- */
13357
- set nodes(values) {
13358
- super.nodes = values;
13359
- }
13360
13334
  /**
13361
13335
  * @hidden
13362
13336
  */
13363
13337
  set filter(term) {
13364
13338
  super.filter = term;
13365
13339
  }
13340
+ ngOnChanges(changes) {
13341
+ if (isChanged('nodes', changes, false)) {
13342
+ this.multiSelectTree.nodes = changes.nodes.currentValue;
13343
+ super.nodes = changes.nodes.currentValue;
13344
+ }
13345
+ super.ngOnChanges(changes);
13346
+ }
13366
13347
  }
13367
13348
  MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
13368
- MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { data: ["kendoMultiSelectTreeFlatBinding", "data"], idField: ["valueField", "idField"] }, usesInheritance: true, ngImport: i0 });
13349
+ MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
13369
13350
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
13370
13351
  type: Directive,
13371
13352
  args: [{
13372
13353
  selector: '[kendoMultiSelectTreeFlatBinding]'
13373
13354
  }]
13374
- }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { data: [{
13355
+ }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
13375
13356
  type: Input,
13376
13357
  args: ['kendoMultiSelectTreeFlatBinding']
13377
13358
  }], idField: [{
@@ -13387,34 +13368,28 @@ class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective
13387
13368
  super(multiSelectTree);
13388
13369
  this.multiSelectTree = multiSelectTree;
13389
13370
  }
13390
- /**
13391
- * The nodes which will be displayed by the MultiSelectTree.
13392
- */
13393
- set data(nodes) {
13394
- this.multiSelectTree.nodes = nodes;
13395
- this.nodes = nodes;
13396
- }
13397
- /**
13398
- * @hidden
13399
- */
13400
- set nodes(values) {
13401
- super.nodes = values;
13402
- }
13403
13371
  /**
13404
13372
  * @hidden
13405
13373
  */
13406
13374
  set filter(term) {
13407
13375
  super.filter = term;
13408
13376
  }
13377
+ ngOnChanges(changes) {
13378
+ if (isChanged('nodes', changes, false)) {
13379
+ this.multiSelectTree.nodes = changes.nodes.currentValue;
13380
+ super.nodes = changes.nodes.currentValue;
13381
+ }
13382
+ super.ngOnChanges(changes);
13383
+ }
13409
13384
  }
13410
13385
  MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
13411
- MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { data: ["kendoMultiSelectTreeHierarchyBinding", "data"] }, usesInheritance: true, ngImport: i0 });
13386
+ MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
13412
13387
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
13413
13388
  type: Directive,
13414
13389
  args: [{
13415
13390
  selector: '[kendoMultiSelectTreeHierarchyBinding]'
13416
13391
  }]
13417
- }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { data: [{
13392
+ }], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
13418
13393
  type: Input,
13419
13394
  args: ['kendoMultiSelectTreeHierarchyBinding']
13420
13395
  }] } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "7.0.1",
3
+ "version": "7.0.2-dev.202205271051",
4
4
  "description": "Dropdowns Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -34,7 +34,7 @@
34
34
  "@progress/kendo-angular-common": "^3.0.0",
35
35
  "@progress/kendo-angular-l10n": "^4.0.0",
36
36
  "@progress/kendo-angular-popup": "^5.0.0",
37
- "@progress/kendo-angular-treeview": "^7.0.0",
37
+ "@progress/kendo-angular-treeview": "dev",
38
38
  "@progress/kendo-licensing": "^1.0.2",
39
39
  "rxjs": "^6.5.3 || ^7.0.0"
40
40
  },