@syncfusion/ej2-dropdowns 29.2.5 → 29.2.8

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 : 29.2.5
3
+ * version : 29.2.8
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,62 +1,22 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-dropdowns@*",
3
- "_id": "@syncfusion/ej2-dropdowns@29.2.4",
4
- "_inBundle": false,
5
- "_integrity": "sha512-2/LXQ3Z+oxZ7gXjg7Byi0b4jeKBHzYa8+17CwtLhfO2nX2RP61lASiEmN0zPvK4J4i8TrY2ZCNoJAALw0V7z/w==",
6
- "_location": "/@syncfusion/ej2-dropdowns",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-dropdowns@*",
12
- "name": "@syncfusion/ej2-dropdowns",
13
- "escapedName": "@syncfusion%2fej2-dropdowns",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-dropdowns",
23
- "/@syncfusion/ej2-documenteditor",
24
- "/@syncfusion/ej2-gantt",
25
- "/@syncfusion/ej2-grids",
26
- "/@syncfusion/ej2-image-editor",
27
- "/@syncfusion/ej2-inplace-editor",
28
- "/@syncfusion/ej2-kanban",
29
- "/@syncfusion/ej2-pdfviewer",
30
- "/@syncfusion/ej2-pivotview",
31
- "/@syncfusion/ej2-querybuilder",
32
- "/@syncfusion/ej2-react-dropdowns",
33
- "/@syncfusion/ej2-ribbon",
34
- "/@syncfusion/ej2-richtexteditor",
35
- "/@syncfusion/ej2-schedule",
36
- "/@syncfusion/ej2-spreadsheet",
37
- "/@syncfusion/ej2-vue-dropdowns"
38
- ],
39
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-29.2.4.tgz",
40
- "_shasum": "4272fdd6205a2045e1a05b3f4045e5e6647853d0",
41
- "_spec": "@syncfusion/ej2-dropdowns@*",
42
- "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
43
- "author": {
44
- "name": "Syncfusion Inc."
45
- },
46
- "bundleDependencies": false,
2
+ "name": "@syncfusion/ej2-dropdowns",
3
+ "version": "29.2.8",
4
+ "description": "Essential JS 2 DropDown Components",
5
+ "author": "Syncfusion Inc.",
6
+ "license": "SEE LICENSE IN license",
7
+ "main": "./dist/ej2-dropdowns.umd.min.js",
8
+ "module": "./index.js",
9
+ "es2015": "./dist/es6/ej2-dropdowns.es5.js",
47
10
  "dependencies": {
48
11
  "@syncfusion/ej2-base": "~29.2.4",
49
12
  "@syncfusion/ej2-data": "~29.2.4",
50
13
  "@syncfusion/ej2-inputs": "~29.2.5",
51
14
  "@syncfusion/ej2-lists": "~29.2.4",
52
- "@syncfusion/ej2-navigations": "~29.2.5",
15
+ "@syncfusion/ej2-navigations": "~29.2.8",
53
16
  "@syncfusion/ej2-notifications": "~29.2.4",
54
- "@syncfusion/ej2-popups": "~29.2.4"
17
+ "@syncfusion/ej2-popups": "~29.2.8"
55
18
  },
56
- "deprecated": false,
57
- "description": "Essential JS 2 DropDown Components",
58
19
  "devDependencies": {},
59
- "es2015": "./dist/es6/ej2-dropdowns.es5.js",
60
20
  "keywords": [
61
21
  "ej2",
62
22
  "syncfusion",
@@ -71,12 +31,7 @@
71
31
  "ej2-multiselect",
72
32
  "ej2-combobox"
73
33
  ],
74
- "license": "SEE LICENSE IN license",
75
- "main": "./dist/ej2-dropdowns.umd.min.js",
76
- "module": "./index.js",
77
- "name": "@syncfusion/ej2-dropdowns",
78
34
  "typings": "index.d.ts",
79
- "version": "29.2.5",
80
35
  "sideEffects": false,
81
36
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
82
37
  }
@@ -331,10 +331,10 @@ var DropDownList = /** @class */ (function (_super) {
331
331
  this.hiddenElement.setAttribute(htmlAttr, this.htmlAttributes["" + htmlAttr]);
332
332
  }
333
333
  else if (defaultAttr.indexOf(htmlAttr) > -1) {
334
- if (htmlAttr === 'placeholder') {
334
+ if (htmlAttr === 'placeholder' && this.element.getAttribute('placeholder') !== this.htmlAttributes["" + htmlAttr]) {
335
335
  Input.setPlaceholder(this.htmlAttributes["" + htmlAttr], this.inputElement);
336
336
  }
337
- else {
337
+ else if (htmlAttr !== 'placeholder') {
338
338
  this.inputElement.setAttribute(htmlAttr, this.htmlAttributes["" + htmlAttr]);
339
339
  }
340
340
  }
@@ -2323,6 +2323,9 @@ var DropDownList = /** @class */ (function (_super) {
2323
2323
  }
2324
2324
  if (this.getInitialData) {
2325
2325
  this.updateActionCompleteDataValues(ulElement, list);
2326
+ if (this.enableVirtualization) {
2327
+ this.updateSelectElementData(this.allowFiltering);
2328
+ }
2326
2329
  this.getInitialData = false;
2327
2330
  this.isReactTemplateUpdate = true;
2328
2331
  this.searchLists(this.filterArgs);
@@ -3329,6 +3332,7 @@ var DropDownList = /** @class */ (function (_super) {
3329
3332
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3330
3333
  dataSourceCount = this.dataSource && this.dataSource.length ? this.dataSource.length : 0;
3331
3334
  }
3335
+ this.customFilterQuery = null;
3332
3336
  if (this.enableVirtualization && this.isFiltering() && isFilterValue && this.totalItemCount !== dataSourceCount) {
3333
3337
  this.updateInitialData();
3334
3338
  this.checkAndResetCache();
@@ -1241,10 +1241,12 @@ var MultiSelect = /** @class */ (function (_super) {
1241
1241
  while (scrollElement) {
1242
1242
  var scrollElementStyle = getComputedStyle(scrollElement);
1243
1243
  var scrollElmentHeight = parseFloat(scrollElementStyle.maxHeight) || parseFloat(scrollElementStyle.height);
1244
- if (!isNaN(scrollElmentHeight)) {
1244
+ if (!isNaN(scrollElmentHeight) && this.isPopupOpen()) {
1245
1245
  var overflowY = scrollElementStyle.overflowY;
1246
- if (overflowY === 'auto' || overflowY === 'scroll') {
1247
- scrollElement.scrollTop = scrollElement.scrollHeight;
1246
+ var wrapperBottom = this.overAllWrapper.getBoundingClientRect().bottom;
1247
+ var scrollElementBottom = scrollElement.getBoundingClientRect().bottom;
1248
+ if ((overflowY === 'auto' || overflowY === 'scroll') && wrapperBottom > scrollElementBottom) {
1249
+ scrollElement.scrollTop += (wrapperBottom - scrollElementBottom) + 10;
1248
1250
  return;
1249
1251
  }
1250
1252
  }