@progress/kendo-angular-dropdowns 14.1.1-develop.4 → 14.1.1-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.
@@ -851,7 +851,7 @@ export class DropDownTreeComponent {
851
851
  // If the user resets the value by providing null/undefined we need to reset the `dataItem`
852
852
  // Because upon initialization of the component the `writeValue` is being called twice -
853
853
  // first time with `null` value regardless of sync/async value - an extra check is added to
854
- // distinguish between client reset and initial phanotm 'null' value
854
+ // distinguish between client reset and initial phantom 'null' value
855
855
  if (!isPresent(value) && isPresent(this.value)) {
856
856
  this.dataItem = null;
857
857
  }
@@ -1072,12 +1072,13 @@ export class MultiSelectTreeComponent {
1072
1072
  * @hidden
1073
1073
  */
1074
1074
  writeValue(value) {
1075
- this.value = value || [];
1076
- // Update the dataItems if the value is updated programmatically (non-primitive values only)
1077
- // In the primitive case, the client should update the dataItems as well
1078
- if (!this.valuePrimitive) {
1079
- this.dataItems = this.value;
1075
+ if (!this.valuePrimitive && isPresent(value)) {
1076
+ this.dataItems = value;
1077
+ }
1078
+ if (!isPresent(value) && isPresent(this.value)) {
1079
+ this.dataItems = null;
1080
1080
  }
1081
+ this.value = value || [];
1081
1082
  }
1082
1083
  /**
1083
1084
  * @hidden
@@ -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: 1700050005,
13
- version: '14.1.1-develop.4',
12
+ publishDate: 1700210605,
13
+ version: '14.1.1-develop.6',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dropdowns',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1700050005,
41
- version: '14.1.1-develop.4',
40
+ publishDate: 1700210605,
41
+ version: '14.1.1-develop.6',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -12408,7 +12408,7 @@ class DropDownTreeComponent {
12408
12408
  // If the user resets the value by providing null/undefined we need to reset the `dataItem`
12409
12409
  // Because upon initialization of the component the `writeValue` is being called twice -
12410
12410
  // first time with `null` value regardless of sync/async value - an extra check is added to
12411
- // distinguish between client reset and initial phanotm 'null' value
12411
+ // distinguish between client reset and initial phantom 'null' value
12412
12412
  if (!isPresent(value) && isPresent(this.value)) {
12413
12413
  this.dataItem = null;
12414
12414
  }
@@ -14824,12 +14824,13 @@ class MultiSelectTreeComponent {
14824
14824
  * @hidden
14825
14825
  */
14826
14826
  writeValue(value) {
14827
- this.value = value || [];
14828
- // Update the dataItems if the value is updated programmatically (non-primitive values only)
14829
- // In the primitive case, the client should update the dataItems as well
14830
- if (!this.valuePrimitive) {
14831
- this.dataItems = this.value;
14827
+ if (!this.valuePrimitive && isPresent(value)) {
14828
+ this.dataItems = value;
14829
+ }
14830
+ if (!isPresent(value) && isPresent(this.value)) {
14831
+ this.dataItems = null;
14832
14832
  }
14833
+ this.value = value || [];
14833
14834
  }
14834
14835
  /**
14835
14836
  * @hidden
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dropdowns',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1700050005,
41
- version: '14.1.1-develop.4',
40
+ publishDate: 1700210605,
41
+ version: '14.1.1-develop.6',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -12376,7 +12376,7 @@ class DropDownTreeComponent {
12376
12376
  // If the user resets the value by providing null/undefined we need to reset the `dataItem`
12377
12377
  // Because upon initialization of the component the `writeValue` is being called twice -
12378
12378
  // first time with `null` value regardless of sync/async value - an extra check is added to
12379
- // distinguish between client reset and initial phanotm 'null' value
12379
+ // distinguish between client reset and initial phantom 'null' value
12380
12380
  if (!isPresent(value) && isPresent(this.value)) {
12381
12381
  this.dataItem = null;
12382
12382
  }
@@ -14790,12 +14790,13 @@ class MultiSelectTreeComponent {
14790
14790
  * @hidden
14791
14791
  */
14792
14792
  writeValue(value) {
14793
- this.value = value || [];
14794
- // Update the dataItems if the value is updated programmatically (non-primitive values only)
14795
- // In the primitive case, the client should update the dataItems as well
14796
- if (!this.valuePrimitive) {
14797
- this.dataItems = this.value;
14793
+ if (!this.valuePrimitive && isPresent(value)) {
14794
+ this.dataItems = value;
14795
+ }
14796
+ if (!isPresent(value) && isPresent(this.value)) {
14797
+ this.dataItems = null;
14798
14798
  }
14799
+ this.value = value || [];
14799
14800
  }
14800
14801
  /**
14801
14802
  * @hidden
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "14.1.1-develop.4",
3
+ "version": "14.1.1-develop.6",
4
4
  "description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -25,18 +25,18 @@
25
25
  "@angular/forms": "13 - 17",
26
26
  "@angular/platform-browser": "13 - 17",
27
27
  "@progress/kendo-licensing": "^1.0.2",
28
- "@progress/kendo-angular-common": "14.1.1-develop.4",
29
- "@progress/kendo-angular-l10n": "14.1.1-develop.4",
30
- "@progress/kendo-angular-popup": "14.1.1-develop.4",
31
- "@progress/kendo-angular-icons": "14.1.1-develop.4",
32
- "@progress/kendo-angular-treeview": "14.1.1-develop.4",
28
+ "@progress/kendo-angular-common": "14.1.1-develop.6",
29
+ "@progress/kendo-angular-l10n": "14.1.1-develop.6",
30
+ "@progress/kendo-angular-popup": "14.1.1-develop.6",
31
+ "@progress/kendo-angular-icons": "14.1.1-develop.6",
32
+ "@progress/kendo-angular-treeview": "14.1.1-develop.6",
33
33
  "rxjs": "^6.5.3 || ^7.0.0",
34
- "@progress/kendo-angular-navigation": "14.1.1-develop.4",
35
- "@progress/kendo-angular-label": "14.1.1-develop.4"
34
+ "@progress/kendo-angular-navigation": "14.1.1-develop.6",
35
+ "@progress/kendo-angular-label": "14.1.1-develop.6"
36
36
  },
37
37
  "dependencies": {
38
38
  "tslib": "^2.3.1",
39
- "@progress/kendo-angular-schematics": "14.1.1-develop.4",
39
+ "@progress/kendo-angular-schematics": "14.1.1-develop.6",
40
40
  "@progress/kendo-common": "^0.2.1"
41
41
  },
42
42
  "schematics": "./schematics/collection.json",
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
6
6
  // peers of the treeview
7
- '@progress/kendo-angular-inputs': '14.1.1-develop.4',
7
+ '@progress/kendo-angular-inputs': '14.1.1-develop.6',
8
8
  // peers of inputs
9
- '@progress/kendo-angular-intl': '14.1.1-develop.4',
9
+ '@progress/kendo-angular-intl': '14.1.1-develop.6',
10
10
  '@progress/kendo-drawing': '^1.17.2',
11
11
  // Peer dependency of icons
12
12
  '@progress/kendo-svg-icons': '^2.0.0'