@syncfusion/ej2-dropdowns 20.1.58 → 20.1.59

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.1.58
3
+ * version : 20.1.59
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-dropdowns@*",
3
- "_id": "@syncfusion/ej2-dropdowns@20.1.57",
3
+ "_id": "@syncfusion/ej2-dropdowns@20.1.58",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-YT/SVksfrteGQ4MLVTgCNbBfIWmkoYFYcdA92UgRv2XN2pcZOiAohaWpzAUGAWN4VNzPuxG8lvZLToqMJpfhjg==",
5
+ "_integrity": "sha512-b+3vAE6HiHsoj9Moq7e19gX1/m9G91tT75u7JVDr2qhfIILIQAy+h9kzxExMmi8kgnUPpxJJ+EFIjiZGFAnAHg==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -33,8 +33,8 @@
33
33
  "/@syncfusion/ej2-spreadsheet",
34
34
  "/@syncfusion/ej2-vue-dropdowns"
35
35
  ],
36
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-20.1.57.tgz",
37
- "_shasum": "bf1f98dea47b77f896503a8901e3e3e1d0f473e2",
36
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-20.1.58.tgz",
37
+ "_shasum": "61079a5ebce377dddca23c0e6e9cea1430daa1ec",
38
38
  "_spec": "@syncfusion/ej2-dropdowns@*",
39
39
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
40
40
  "author": {
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@syncfusion/ej2-base": "~20.1.57",
46
46
  "@syncfusion/ej2-data": "~20.1.55",
47
- "@syncfusion/ej2-inputs": "~20.1.58",
47
+ "@syncfusion/ej2-inputs": "~20.1.59",
48
48
  "@syncfusion/ej2-lists": "~20.1.55",
49
49
  "@syncfusion/ej2-navigations": "~20.1.58",
50
50
  "@syncfusion/ej2-popups": "~20.1.58"
@@ -72,6 +72,6 @@
72
72
  "module": "./index.js",
73
73
  "name": "@syncfusion/ej2-dropdowns",
74
74
  "typings": "index.d.ts",
75
- "version": "20.1.58",
75
+ "version": "20.1.59",
76
76
  "sideEffects": false
77
77
  }
@@ -1048,13 +1048,21 @@ var DropDownList = /** @class */ (function (_super) {
1048
1048
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1049
1049
  if (this.isReact) {
1050
1050
  this.clearTemplate(['valueTemplate']);
1051
+ if (this.valueTempElement) {
1052
+ detach(this.valueTempElement);
1053
+ this.inputElement.style.display = 'block';
1054
+ this.valueTempElement = null;
1055
+ }
1051
1056
  }
1052
1057
  if (!this.valueTempElement) {
1053
1058
  this.valueTempElement = this.createElement('span', { className: dropDownListClasses.value });
1054
1059
  this.inputElement.parentElement.insertBefore(this.valueTempElement, this.inputElement);
1055
1060
  this.inputElement.style.display = 'none';
1056
1061
  }
1057
- this.valueTempElement.innerHTML = '';
1062
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1063
+ if (!this.isReact) {
1064
+ this.valueTempElement.innerHTML = '';
1065
+ }
1058
1066
  var valuecheck = this.dropdownCompiler(this.valueTemplate);
1059
1067
  if (valuecheck) {
1060
1068
  compiledString = compile(document.querySelector(this.valueTemplate).innerHTML.trim());
@@ -637,6 +637,9 @@ var MultiSelect = /** @class */ (function (_super) {
637
637
  };
638
638
  MultiSelect.prototype.getQuery = function (query) {
639
639
  var filterQuery = query ? query.clone() : this.query ? this.query.clone() : new Query();
640
+ if (this.isFiltered) {
641
+ return filterQuery;
642
+ }
640
643
  if (this.filterAction) {
641
644
  if (this.targetElement() !== null) {
642
645
  var dataType = this.typeOfData(this.dataSource).typeof;