@syncfusion/ej2-dropdowns 19.4.41 → 19.4.42

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 : 19.4.41
3
+ * version : 19.4.42
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@19.4.40",
3
+ "_id": "@syncfusion/ej2-dropdowns@19.4.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-upcT5mAx69h0jqpI1M4t5Bbfnlqbpb3uPm7Ph2YqUYaSBOOwhu2bbGu53XYXUbPr/i6sxGE+qLkuhs7Gkb2qfQ==",
5
+ "_integrity": "sha512-Yuv3de+d1eJKKmRoNiuf3a5Yu5EgXmWJbvVDcxbARI3pAqdEyOVwc9lXgcYN4uSQQA6KMGbXenbXvyO79EaeuA==",
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-19.4.40.tgz",
37
- "_shasum": "fa9ec3b119efbe51b80576ab6691742c2b1be99f",
36
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-19.4.41.tgz",
37
+ "_shasum": "ba3120b9f02ccfcd166cce3ac57f58699e62165a",
38
38
  "_spec": "@syncfusion/ej2-dropdowns@*",
39
39
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
40
40
  "author": {
@@ -42,9 +42,9 @@
42
42
  },
43
43
  "bundleDependencies": false,
44
44
  "dependencies": {
45
- "@syncfusion/ej2-base": "~19.4.38",
46
- "@syncfusion/ej2-data": "~19.4.38",
47
- "@syncfusion/ej2-inputs": "~19.4.41",
45
+ "@syncfusion/ej2-base": "~19.4.42",
46
+ "@syncfusion/ej2-data": "~19.4.42",
47
+ "@syncfusion/ej2-inputs": "~19.4.42",
48
48
  "@syncfusion/ej2-lists": "~19.4.38",
49
49
  "@syncfusion/ej2-navigations": "~19.4.41",
50
50
  "@syncfusion/ej2-popups": "~19.4.41"
@@ -72,6 +72,6 @@
72
72
  "module": "./index.js",
73
73
  "name": "@syncfusion/ej2-dropdowns",
74
74
  "typings": "index.d.ts",
75
- "version": "19.4.41",
75
+ "version": "19.4.42",
76
76
  "sideEffects": false
77
77
  }
@@ -1058,7 +1058,8 @@ var DropDownBase = /** @class */ (function (_super) {
1058
1058
  li.innerText = itemText;
1059
1059
  }
1060
1060
  if (this.itemTemplate && !isHeader) {
1061
- var compiledString = compile(this.itemTemplate);
1061
+ var itemCheck = this.templateCompiler(this.itemTemplate);
1062
+ var compiledString = itemCheck ? compile(select(this.itemTemplate, document).innerHTML.trim()) : compile(this.itemTemplate);
1062
1063
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1063
1064
  var addItemTemplate = compiledString(item, this, 'itemTemplate', this.itemTemplateId, this.isStringTemplate, null, li);
1064
1065
  if (addItemTemplate) {
@@ -3482,6 +3482,17 @@ var MultiSelect = /** @class */ (function (_super) {
3482
3482
  this.notify('selectAllText', false);
3483
3483
  break;
3484
3484
  case 'popupHeight':
3485
+ if (this.popupObj) {
3486
+ var overAllHeight = parseInt(this.popupHeight, 10);
3487
+ if (this.popupHeight !== 'auto') {
3488
+ this.list.style.maxHeight = formatUnit(overAllHeight);
3489
+ this.popupWrapper.style.maxHeight = formatUnit(this.popupHeight);
3490
+ }
3491
+ else {
3492
+ this.list.style.maxHeight = formatUnit(this.popupHeight);
3493
+ }
3494
+ }
3495
+ break;
3485
3496
  case 'headerTemplate':
3486
3497
  case 'footerTemplate':
3487
3498
  this.reInitializePoup();