@syncfusion/ej2-dropdowns 20.1.57 → 20.1.60

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.57
3
+ * version : 20.1.60
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.56",
3
+ "_id": "@syncfusion/ej2-dropdowns@20.1.59",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-In0wEvT1i7Ix8cwjr9i5DqPsUXGhjXAP14hxxFgEWCfSUAmtD0PYlt7HMcT9yldBNRYDbT+ajm8ouhTuxqd6pg==",
5
+ "_integrity": "sha512-43YObh5pSFORNiaJD3XoiWhUMQ1b4yJ3zg0RMxhj/465c2kZC/J3wrIixGV9Z7ppQSse760GkjQ5RJR9IGpPnQ==",
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.56.tgz",
37
- "_shasum": "2863338809c7a7578df8277bf92660180b110519",
36
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-20.1.59.tgz",
37
+ "_shasum": "e7c22a1264a2456f51a24eaa394e9a76e504c886",
38
38
  "_spec": "@syncfusion/ej2-dropdowns@*",
39
39
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
40
40
  "author": {
@@ -42,12 +42,12 @@
42
42
  },
43
43
  "bundleDependencies": false,
44
44
  "dependencies": {
45
- "@syncfusion/ej2-base": "~20.1.56",
45
+ "@syncfusion/ej2-base": "~20.1.60",
46
46
  "@syncfusion/ej2-data": "~20.1.55",
47
- "@syncfusion/ej2-inputs": "~20.1.55",
47
+ "@syncfusion/ej2-inputs": "~20.1.59",
48
48
  "@syncfusion/ej2-lists": "~20.1.55",
49
- "@syncfusion/ej2-navigations": "~20.1.57",
50
- "@syncfusion/ej2-popups": "~20.1.57"
49
+ "@syncfusion/ej2-navigations": "~20.1.60",
50
+ "@syncfusion/ej2-popups": "~20.1.58"
51
51
  },
52
52
  "deprecated": false,
53
53
  "description": "Essential JS 2 DropDown Components",
@@ -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.57",
75
+ "version": "20.1.60",
76
76
  "sideEffects": false
77
77
  }
@@ -252,7 +252,7 @@ export declare class AutoComplete extends ComboBox {
252
252
  *
253
253
  * @returns {void}
254
254
  */
255
- hidePopup(): void;
255
+ hidePopup(e?: KeyboardEventArgs): void;
256
256
  /**
257
257
  * Dynamically change the value of properties.
258
258
  *
@@ -285,8 +285,8 @@ var AutoComplete = /** @class */ (function (_super) {
285
285
  *
286
286
  * @returns {void}
287
287
  */
288
- AutoComplete.prototype.hidePopup = function () {
289
- _super.prototype.hidePopup.call(this);
288
+ AutoComplete.prototype.hidePopup = function (e) {
289
+ _super.prototype.hidePopup.call(this, e);
290
290
  this.activeIndex = -1;
291
291
  };
292
292
  /**
@@ -472,7 +472,7 @@ var ComboBox = /** @class */ (function (_super) {
472
472
  else if (this.isTyped && !this.isSelected && isNullOrUndefined(li)) {
473
473
  this.customValue(e);
474
474
  }
475
- this.hidePopup();
475
+ this.hidePopup(e);
476
476
  };
477
477
  ComboBox.prototype.setHoverList = function (li) {
478
478
  this.removeSelection();
@@ -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;