@syncfusion/ej2-dropdowns 21.1.35 → 21.1.37

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 : 21.1.35
3
+ * version : 21.1.37
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@18.58.20",
3
+ "_id": "@syncfusion/ej2-dropdowns@21.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-cANgeINYvkrhrC1ZgId9jXwLLXo5aVh7lguyzGWwWDF2u2gW1H6jeAxUNMCb1YD2//Wc+OB/UQwTLESfpu8LAw==",
5
+ "_integrity": "sha512-H65eTmORf+vdwyOO3JqjF5G+ZZKyWjLZtdN8ia71tMG+aGkoPxyfF+TqSNU6/9ibNgIyIyMlufz5tqpWmiKVCw==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -34,8 +34,8 @@
34
34
  "/@syncfusion/ej2-spreadsheet",
35
35
  "/@syncfusion/ej2-vue-dropdowns"
36
36
  ],
37
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-18.58.20.tgz",
38
- "_shasum": "8c037785965fffee56a362728a20dbfd71f5c9b3",
37
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.1.35.tgz",
38
+ "_shasum": "592dc7076dc25afb5dd7096cdfbba2f7a947f0d1",
39
39
  "_spec": "@syncfusion/ej2-dropdowns@*",
40
40
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
41
41
  "author": {
@@ -43,12 +43,12 @@
43
43
  },
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
- "@syncfusion/ej2-base": "~21.1.35",
47
- "@syncfusion/ej2-data": "~21.1.35",
48
- "@syncfusion/ej2-inputs": "~21.1.35",
49
- "@syncfusion/ej2-lists": "~21.1.35",
50
- "@syncfusion/ej2-navigations": "~21.1.35",
51
- "@syncfusion/ej2-popups": "~21.1.35"
46
+ "@syncfusion/ej2-base": "~21.1.37",
47
+ "@syncfusion/ej2-data": "~21.1.37",
48
+ "@syncfusion/ej2-inputs": "~21.1.37",
49
+ "@syncfusion/ej2-lists": "~21.1.37",
50
+ "@syncfusion/ej2-navigations": "~21.1.37",
51
+ "@syncfusion/ej2-popups": "~21.1.37"
52
52
  },
53
53
  "deprecated": false,
54
54
  "description": "Essential JS 2 DropDown Components",
@@ -73,7 +73,7 @@
73
73
  "module": "./index.js",
74
74
  "name": "@syncfusion/ej2-dropdowns",
75
75
  "typings": "index.d.ts",
76
- "version": "21.1.35",
76
+ "version": "21.1.37",
77
77
  "sideEffects": false,
78
78
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
79
79
  }
@@ -228,7 +228,6 @@ export interface ListBoxModel extends DropDownBaseModel{
228
228
  * Triggers when data source is populated in the list.
229
229
  *
230
230
  * @event dataBound
231
- * @private
232
231
  */
233
232
  dataBound?: EmitType<Object>;
234
233
 
@@ -286,7 +286,6 @@ export declare class ListBox extends DropDownBase {
286
286
  * Triggers when data source is populated in the list.
287
287
  *
288
288
  * @event dataBound
289
- * @private
290
289
  */
291
290
  dataBound: EmitType<Object>;
292
291
  /**
@@ -1209,7 +1209,9 @@ var ListBox = /** @class */ (function (_super) {
1209
1209
  }
1210
1210
  this.updateSelectedOptions();
1211
1211
  this.triggerChange(this.getSelectedItems(), e);
1212
- this.checkMaxSelection();
1212
+ if (this.list) {
1213
+ this.checkMaxSelection();
1214
+ }
1213
1215
  }
1214
1216
  };
1215
1217
  ListBox.prototype.triggerChange = function (selectedLis, event) {
@@ -1868,7 +1870,7 @@ var ListBox = /** @class */ (function (_super) {
1868
1870
  if (index < 0 || index === cul.childElementCount) {
1869
1871
  return -1;
1870
1872
  }
1871
- cli = cul.querySelectorAll('.e-list-item')[index];
1873
+ cli = cul.childNodes[index];
1872
1874
  if (cli.classList.contains('e-disabled') || cli.classList.contains(cssClass.group)) {
1873
1875
  index = this.getValidIndex(cli, index, keyCode);
1874
1876
  }
@@ -1137,7 +1137,7 @@ var Mention = /** @class */ (function (_super) {
1137
1137
  }
1138
1138
  globalRange = this.range;
1139
1139
  range = document.createRange();
1140
- if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1 && this.isTyped) || this.getTextRange() && this.getTextRange().trim() === '@')) {
1140
+ if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1) || this.getTextRange() && this.getTextRange().trim() === this.mentionChar)) {
1141
1141
  range.setStart(globalRange.startContainer, startPos);
1142
1142
  range.setEnd(globalRange.startContainer, endPos);
1143
1143
  }