@syncfusion/ej2-dropdowns 26.1.39 → 26.1.40

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 : 26.1.39
3
+ * version : 26.1.40
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@26.1.38",
3
+ "_id": "@syncfusion/ej2-dropdowns@26.1.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-gq3pKRW3BVbEA2bqcN9+Oze/3o3EuKIJnjRdAUq53N1+kBwBHZ2qANwJhXHCR+xa77qTEl8JkRdB6NvDf1Bw+A==",
5
+ "_integrity": "sha512-6xNIm7TmvRhL1UYrxuaoae3w7pbGDGfa1v02oH/8XodWzfVc7x5wfp8NPc01ToNj6wC5r+ot7SchgMmflpJTAQ==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -35,8 +35,8 @@
35
35
  "/@syncfusion/ej2-spreadsheet",
36
36
  "/@syncfusion/ej2-vue-dropdowns"
37
37
  ],
38
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.1.38.tgz",
39
- "_shasum": "2d1d80813936e176717c10bdfbd1b28a068fb3ca",
38
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.1.39.tgz",
39
+ "_shasum": "f209b11db989dd495078f22edd680e6ed6736855",
40
40
  "_spec": "@syncfusion/ej2-dropdowns@*",
41
41
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
42
42
  "author": {
@@ -45,10 +45,10 @@
45
45
  "bundleDependencies": false,
46
46
  "dependencies": {
47
47
  "@syncfusion/ej2-base": "~26.1.37",
48
- "@syncfusion/ej2-data": "~26.1.35",
49
- "@syncfusion/ej2-inputs": "~26.1.39",
48
+ "@syncfusion/ej2-data": "~26.1.40",
49
+ "@syncfusion/ej2-inputs": "~26.1.40",
50
50
  "@syncfusion/ej2-lists": "~26.1.35",
51
- "@syncfusion/ej2-navigations": "~26.1.39",
51
+ "@syncfusion/ej2-navigations": "~26.1.40",
52
52
  "@syncfusion/ej2-notifications": "~26.1.35",
53
53
  "@syncfusion/ej2-popups": "~26.1.38"
54
54
  },
@@ -75,7 +75,7 @@
75
75
  "module": "./index.js",
76
76
  "name": "@syncfusion/ej2-dropdowns",
77
77
  "typings": "index.d.ts",
78
- "version": "26.1.39",
78
+ "version": "26.1.40",
79
79
  "sideEffects": false,
80
80
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
81
81
  }
@@ -176,6 +176,7 @@ var AutoComplete = /** @class */ (function (_super) {
176
176
  }
177
177
  this.isSelected = false;
178
178
  this.activeIndex = null;
179
+ this.isRequesting = false;
179
180
  var eventArgs = {
180
181
  preventDefaultAction: false,
181
182
  text: this.filterInput.value,
@@ -230,7 +230,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
230
230
  protected isDynamicDataChange: boolean;
231
231
  protected addedNewItem: boolean;
232
232
  protected isAddNewItemTemplate: boolean;
233
- private isRequesting;
233
+ protected isRequesting: boolean;
234
234
  private isVirtualizationEnabled;
235
235
  protected isCustomDataUpdated: boolean;
236
236
  private isAllowFiltering;
@@ -1892,6 +1892,7 @@ var DropDownList = /** @class */ (function (_super) {
1892
1892
  this.isDataFetched = false;
1893
1893
  if (this.isFiltering()) {
1894
1894
  this.checkAndResetCache();
1895
+ this.isRequesting = false;
1895
1896
  var eventArgs_1 = {
1896
1897
  preventDefaultAction: false,
1897
1898
  text: this.filterInput.value,
@@ -2065,6 +2065,10 @@ var DropDownTree = /** @class */ (function (_super) {
2065
2065
  this.isReverseUpdate = false;
2066
2066
  }
2067
2067
  }
2068
+ if (this.isValueChange && !this.changeOnBlur) {
2069
+ this.triggerChangeEvent(this.keyEventArgs);
2070
+ this.isValueChange = false;
2071
+ }
2068
2072
  };
2069
2073
  DropDownTree.prototype.beforeCheck = function (args) {
2070
2074
  if (args.isInteracted) {
@@ -350,7 +350,7 @@ var Mention = /** @class */ (function (_super) {
350
350
  }
351
351
  this.isTyped = e.code !== 'Enter' && e.code !== 'Space' && e.code !== 'ArrowDown' && e.code !== 'ArrowUp' ? true : false;
352
352
  var isRteImage = document.activeElement.parentElement && document.activeElement.parentElement.querySelector('.e-rte-image') ? true : false;
353
- if (document.activeElement != this.inputElement && isRteImage) {
353
+ if (document.activeElement != this.inputElement && !isRteImage) {
354
354
  this.inputElement.focus();
355
355
  }
356
356
  if (this.isContentEditable(this.inputElement)) {
@@ -3163,6 +3163,7 @@ var MultiSelect = /** @class */ (function (_super) {
3163
3163
  this.isRemoteSelection = true;
3164
3164
  }
3165
3165
  this.checkAndResetCache();
3166
+ this.isRequesting = false;
3166
3167
  var eventArgs_1 = {
3167
3168
  preventDefaultAction: false,
3168
3169
  text: this.targetElement(),
@@ -4414,11 +4414,11 @@ ejs-listbox {
4414
4414
  }
4415
4415
  .e-small .e-listbox-wrapper.e-filter-list .e-list-parent,
4416
4416
  .e-small .e-listbox-container.e-filter-list .e-list-parent {
4417
- height: calc(100% - 45px) !important; /* stylelint-disable-line declaration-no-important */
4417
+ height: calc(100% - 48px) !important; /* stylelint-disable-line declaration-no-important */
4418
4418
  }
4419
4419
 
4420
4420
  .e-bigger .e-listbox-wrapper.e-filter-list:not(.e-listbox-container) .e-list-parent {
4421
- height: calc(100% - 55px) !important; /* stylelint-disable-line declaration-no-important */
4421
+ height: calc(100% - 60px) !important; /* stylelint-disable-line declaration-no-important */
4422
4422
  }
4423
4423
 
4424
4424
  .e-bigger .e-listbox-container.e-filter-list .e-list-wrap {
@@ -4439,7 +4439,7 @@ ejs-listbox {
4439
4439
  }
4440
4440
 
4441
4441
  .e-listbox-wrapper.e-filter-list:not(.e-listbox-container) .e-list-parent {
4442
- height: calc(100% - 47px) !important; /* stylelint-disable-line declaration-no-important */
4442
+ height: calc(100% - 52px) !important; /* stylelint-disable-line declaration-no-important */
4443
4443
  }
4444
4444
 
4445
4445
  .e-bigger .e-listbox-wrapper .e-selectall-parent + .e-list-parent,
@@ -4449,7 +4449,7 @@ ejs-listbox {
4449
4449
 
4450
4450
  .e-small.e-bigger .e-listbox-wrapper.e-filter-list .e-list-parent,
4451
4451
  .e-small.e-bigger .e-listbox-container.e-filter-list .e-list-wrap {
4452
- height: calc(100% - 45px) !important; /* stylelint-disable-line declaration-no-important */
4452
+ height: calc(100% - 58px) !important; /* stylelint-disable-line declaration-no-important */
4453
4453
  }
4454
4454
 
4455
4455
  .e-listbox-wrapper.e-filter-list:not(.e-listbox-container) .e-selectall-parent + .e-hidden-select + .e-listbox + .e-list-parent {
@@ -4484,7 +4484,7 @@ ejs-listbox {
4484
4484
  .e-listbox-wrapper.e-filter-list .e-list-parent,
4485
4485
  .e-listbox-container.e-filter-list .e-list-parent,
4486
4486
  .e-listboxtool-wrapper.e-filter-list .e-list-parent {
4487
- height: calc(100% - 47px);
4487
+ height: calc(100% - 52px);
4488
4488
  }
4489
4489
 
4490
4490
  .e-listbox-wrapper.e-filter-list .e-selectall-parent + .e-list-parent,
@@ -69,10 +69,10 @@ $listbox-template-multiline-header-font-size: $text-sm !default;
69
69
  $listbox-template-multiline-padding: 4px !default;
70
70
  $listbox-template-multiline-content-font-size: $text-sm !default;
71
71
  $listbox-template-multiline-avatar-top: 0 !default;
72
- $listbox-filter-height: calc(100% - 47px) !default;
73
- $listbox-filter-small-height: calc(100% - 45px) !default;
74
- $listbox-filter-bigger-small-height: calc(100% - 45px) !default;
75
- $listbox-filter-bigger-height: calc(100% - 55px) !default;
72
+ $listbox-filter-height: calc(100% - 52px) !default;
73
+ $listbox-filter-small-height: calc(100% - 48px) !default;
74
+ $listbox-filter-bigger-small-height: calc(100% - 58px) !default;
75
+ $listbox-filter-bigger-height: calc(100% - 60px) !default;
76
76
 
77
77
  $listbox-border-color: $border-light;
78
78
  $badge-color: $primary-text-color !default;
@@ -115,7 +115,5 @@ $listbox-filterselect-height: calc(100% - 38px) !default;
115
115
  $listbox-filterselect-bigger-height: calc(100% - 47px) !default;
116
116
  $listbox-mat-filter-height: calc(100% - 50px) !default;
117
117
  $listbox-mat-filter-bigger-height: calc(100% - 58px) !default;
118
- $listbox-filter-height: calc(100% - 50px) !default;
119
- $listbox-filter-bigger-height: calc(100% - 58px) !default;
120
118
  $listbox-ej2-filterselect-height: calc(100% - 87.5px) !default;
121
119
  $listbox-ej2-filterselect-bigger-height: calc(100% - 106px) !default;
@@ -1673,11 +1673,11 @@ ejs-listbox {
1673
1673
  }
1674
1674
  .e-small .e-listbox-wrapper.e-filter-list .e-list-parent,
1675
1675
  .e-small .e-listbox-container.e-filter-list .e-list-parent {
1676
- height: calc(100% - 45px) !important; /* stylelint-disable-line declaration-no-important */
1676
+ height: calc(100% - 48px) !important; /* stylelint-disable-line declaration-no-important */
1677
1677
  }
1678
1678
 
1679
1679
  .e-bigger .e-listbox-wrapper.e-filter-list:not(.e-listbox-container) .e-list-parent {
1680
- height: calc(100% - 55px) !important; /* stylelint-disable-line declaration-no-important */
1680
+ height: calc(100% - 60px) !important; /* stylelint-disable-line declaration-no-important */
1681
1681
  }
1682
1682
 
1683
1683
  .e-bigger .e-listbox-container.e-filter-list .e-list-wrap {
@@ -1698,7 +1698,7 @@ ejs-listbox {
1698
1698
  }
1699
1699
 
1700
1700
  .e-listbox-wrapper.e-filter-list:not(.e-listbox-container) .e-list-parent {
1701
- height: calc(100% - 47px) !important; /* stylelint-disable-line declaration-no-important */
1701
+ height: calc(100% - 52px) !important; /* stylelint-disable-line declaration-no-important */
1702
1702
  }
1703
1703
 
1704
1704
  .e-bigger .e-listbox-wrapper .e-selectall-parent + .e-list-parent,
@@ -1708,7 +1708,7 @@ ejs-listbox {
1708
1708
 
1709
1709
  .e-small.e-bigger .e-listbox-wrapper.e-filter-list .e-list-parent,
1710
1710
  .e-small.e-bigger .e-listbox-container.e-filter-list .e-list-wrap {
1711
- height: calc(100% - 45px) !important; /* stylelint-disable-line declaration-no-important */
1711
+ height: calc(100% - 58px) !important; /* stylelint-disable-line declaration-no-important */
1712
1712
  }
1713
1713
 
1714
1714
  .e-listbox-wrapper.e-filter-list:not(.e-listbox-container) .e-selectall-parent + .e-hidden-select + .e-listbox + .e-list-parent {
@@ -1743,7 +1743,7 @@ ejs-listbox {
1743
1743
  .e-listbox-wrapper.e-filter-list .e-list-parent,
1744
1744
  .e-listbox-container.e-filter-list .e-list-parent,
1745
1745
  .e-listboxtool-wrapper.e-filter-list .e-list-parent {
1746
- height: calc(100% - 47px);
1746
+ height: calc(100% - 52px);
1747
1747
  }
1748
1748
 
1749
1749
  .e-listbox-wrapper.e-filter-list .e-selectall-parent + .e-list-parent,