@syncfusion/ej2-dropdowns 34.2.7 → 34.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.
- package/README.md +5 -5
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +17 -7
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +16 -6
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/drop-down-base/drop-down-base.js +6 -0
- package/src/drop-down-list/drop-down-list.js +5 -3
- package/src/multi-select/multi-select.js +5 -3
|
@@ -1668,6 +1668,9 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
var query_1 = _this.getQuery(eventArgs.query);
|
|
1670
1670
|
eventArgs.data.executeQuery(query_1).then(function (e) {
|
|
1671
|
+
if (_this.isAngular && _this.isDestroyed) {
|
|
1672
|
+
return;
|
|
1673
|
+
}
|
|
1671
1674
|
_this.isPreventChange = _this.isAngular && _this.preventChange ? true : _this.isPreventChange;
|
|
1672
1675
|
var isReOrder = true;
|
|
1673
1676
|
if (!_this.virtualSelectAll) {
|
|
@@ -1729,6 +1732,9 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1729
1732
|
_this.isRequesting = false;
|
|
1730
1733
|
_this.isCustomFiltering = false;
|
|
1731
1734
|
var listItems = e.result;
|
|
1735
|
+
if (_this.getModuleName() === 'dropdownlist' && listItems.length === 0 && _this.filterInput && _this.filterInput.value.trim() === '' && _this.actionCompleteData && _this.actionCompleteData.list && _this.actionCompleteData.list.length) {
|
|
1736
|
+
listItems = _this.actionCompleteData.list;
|
|
1737
|
+
}
|
|
1732
1738
|
if (_this.isIncrementalRequest) {
|
|
1733
1739
|
ulElement = _this.renderItems(listItems, fields);
|
|
1734
1740
|
return;
|
|
@@ -7561,9 +7567,11 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
7561
7567
|
DropDownList.prototype.updateFloatLabelOverflowWidth = function () {
|
|
7562
7568
|
var container = this.inputWrapper.container;
|
|
7563
7569
|
var label = container.querySelector('.e-float-text');
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7570
|
+
if (label && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
7571
|
+
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
7572
|
+
if (calculateWidth) {
|
|
7573
|
+
label.style.width = calculateWidth + 'px';
|
|
7574
|
+
}
|
|
7567
7575
|
}
|
|
7568
7576
|
};
|
|
7569
7577
|
/**
|
|
@@ -20502,9 +20510,11 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
20502
20510
|
MultiSelect.prototype.updateFloatLabelOverflowWidth = function () {
|
|
20503
20511
|
var container = this.overAllWrapper;
|
|
20504
20512
|
var label = container.querySelector('.e-float-text');
|
|
20505
|
-
|
|
20506
|
-
|
|
20507
|
-
|
|
20513
|
+
if (label && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
20514
|
+
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
20515
|
+
if (calculateWidth) {
|
|
20516
|
+
label.style.width = calculateWidth + 'px';
|
|
20517
|
+
}
|
|
20508
20518
|
}
|
|
20509
20519
|
};
|
|
20510
20520
|
/**
|