@syncfusion/ej2-dropdowns 23.1.43 → 23.1.44

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 : 23.1.43
3
+ * version : 23.1.44
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@23.1.42",
3
+ "_id": "@syncfusion/ej2-dropdowns@23.1.43",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-zIcpy7MW0/0bWHAlONB5C1zLNPKnSarxhdyTP4X7jLWV7WnkYkw4WNUhUAhKsa6X2eaUkWJC7aAMig8KszW1pA==",
5
+ "_integrity": "sha512-Xr9PivtmGzoHdHTa7A/OdylJZvAicZq8KjyH32IBZmIu8LXxy4CnqwqZE4iArWew6cieHg2T4iisgBkXfhXM0w==",
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-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-23.1.42.tgz",
38
- "_shasum": "f9fada200700c5a3ac61d77380fd9cfc4d4cb7a8",
37
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-23.1.43.tgz",
38
+ "_shasum": "387fcadf249d432ca74bb8349ea730b7bfe7e6b7",
39
39
  "_spec": "@syncfusion/ej2-dropdowns@*",
40
40
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
41
41
  "author": {
@@ -44,12 +44,12 @@
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
46
  "@syncfusion/ej2-base": "~23.1.41",
47
- "@syncfusion/ej2-data": "~23.1.43",
47
+ "@syncfusion/ej2-data": "~23.1.44",
48
48
  "@syncfusion/ej2-inputs": "~23.1.43",
49
49
  "@syncfusion/ej2-lists": "~23.1.43",
50
- "@syncfusion/ej2-navigations": "~23.1.43",
50
+ "@syncfusion/ej2-navigations": "~23.1.44",
51
51
  "@syncfusion/ej2-notifications": "~23.1.40",
52
- "@syncfusion/ej2-popups": "~23.1.43"
52
+ "@syncfusion/ej2-popups": "~23.1.44"
53
53
  },
54
54
  "deprecated": false,
55
55
  "description": "Essential JS 2 DropDown Components",
@@ -74,7 +74,7 @@
74
74
  "module": "./index.js",
75
75
  "name": "@syncfusion/ej2-dropdowns",
76
76
  "typings": "index.d.ts",
77
- "version": "23.1.43",
77
+ "version": "23.1.44",
78
78
  "sideEffects": false,
79
79
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
80
80
  }
@@ -275,7 +275,9 @@ var DropDownBase = /** @class */ (function (_super) {
275
275
  }
276
276
  }
277
277
  else {
278
- ele.appendChild(noDataElement[i]);
278
+ if (noDataElement[i] instanceof HTMLElement) {
279
+ ele.appendChild(noDataElement[i]);
280
+ }
279
281
  }
280
282
  }
281
283
  }
@@ -314,7 +314,7 @@ var Mention = /** @class */ (function (_super) {
314
314
  var currentRange = this.getTextRange();
315
315
  var lastWordRange = this.getLastLetter(currentRange);
316
316
  // eslint-disable-next-line security/detect-non-literal-regexp
317
- var Regex = new RegExp(this.mentionChar, 'g');
317
+ var Regex = new RegExp(this.mentionChar.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g');
318
318
  var charRegex = new RegExp('[a-zA-Z]', 'g');
319
319
  if (e.key === 'Shift' || e.keyCode === 37 || e.keyCode === 39) {
320
320
  return;
@@ -1457,7 +1457,6 @@ var Mention = /** @class */ (function (_super) {
1457
1457
  this.previousSelectedLI = null;
1458
1458
  this.item = null;
1459
1459
  this.selectedLI = null;
1460
- this.inputElement.innerText = null;
1461
1460
  this.popupObj = null;
1462
1461
  _super.prototype.destroy.call(this);
1463
1462
  };