@syncfusion/ej2-dropdowns 22.1.39 → 22.2.5
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/CHANGELOG.md +8 -0
- 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 +30 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +30 -3
- 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 +11 -11
- package/src/drop-down-base/drop-down-base.d.ts +4 -4
- package/src/drop-down-list/drop-down-list.js +3 -0
- package/src/drop-down-tree/drop-down-tree-model.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.js +28 -4
|
@@ -3623,6 +3623,9 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3623
3623
|
}
|
|
3624
3624
|
}
|
|
3625
3625
|
});
|
|
3626
|
+
if (this.isReact && this.isFiltering() && this.itemTemplate != null) {
|
|
3627
|
+
this.actionCompleteData.ulElement = this.ulElement.cloneNode(true);
|
|
3628
|
+
}
|
|
3626
3629
|
};
|
|
3627
3630
|
DropDownList.prototype.destroyPopup = function () {
|
|
3628
3631
|
this.isPopupOpen = false;
|
|
@@ -5406,7 +5409,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
5406
5409
|
data += temp;
|
|
5407
5410
|
temp = this.overFlowWrapper.innerHTML;
|
|
5408
5411
|
if (this.enableHtmlSanitizer) {
|
|
5409
|
-
this.overFlowWrapper.innerText = data;
|
|
5412
|
+
this.overFlowWrapper.innerText = SanitizeHtmlHelper.sanitize(data);
|
|
5410
5413
|
}
|
|
5411
5414
|
else {
|
|
5412
5415
|
this.overFlowWrapper.innerHTML = data;
|
|
@@ -6132,7 +6135,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
6132
6135
|
var isFooter = closest(target, '.' + FOOTER);
|
|
6133
6136
|
var isScroller = target.classList.contains(DROPDOWN) ? true :
|
|
6134
6137
|
(matches(target, '.e-ddt .e-popup') || matches(target, '.e-ddt .e-treeview'));
|
|
6135
|
-
if ((this.isPopupOpen && (this.inputWrapper.contains(target) || isTree || isScroller || isHeader || isFooter)) ||
|
|
6138
|
+
if ((this.isPopupOpen && ((!isNullOrUndefined(this.inputWrapper) && this.inputWrapper.contains(target)) || isTree || isScroller || isHeader || isFooter)) ||
|
|
6136
6139
|
((this.allowMultiSelection || this.showCheckBox) && (this.isPopupOpen && target.classList.contains(CHIP_CLOSE) ||
|
|
6137
6140
|
(this.isPopupOpen && (target.classList.contains(CHECKALLPARENT) || target.classList.contains(ALLTEXT)
|
|
6138
6141
|
|| target.classList.contains(CHECKBOXFRAME)))))) {
|
|
@@ -6770,7 +6773,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
6770
6773
|
var chipContent = this.createElement('span', { className: CHIP_CONTENT });
|
|
6771
6774
|
var chipClose = this.createElement('span', { className: CHIP_CLOSE + ' ' + ICONS });
|
|
6772
6775
|
if (this.enableHtmlSanitizer) {
|
|
6773
|
-
chipContent.innerText = text;
|
|
6776
|
+
chipContent.innerText = SanitizeHtmlHelper.sanitize(text);
|
|
6774
6777
|
}
|
|
6775
6778
|
else {
|
|
6776
6779
|
chipContent.innerHTML = text;
|
|
@@ -7428,10 +7431,34 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7428
7431
|
Input.setValue(null, this.inputEle, this.floatLabelType);
|
|
7429
7432
|
detach(this.inputWrapper);
|
|
7430
7433
|
detach(this.popupDiv);
|
|
7434
|
+
detach(this.hiddenElement);
|
|
7431
7435
|
this.element.classList.remove('e-input');
|
|
7432
7436
|
if (this.showCheckBox || this.allowMultiSelection) {
|
|
7433
7437
|
this.element.classList.remove(CHIP_INPUT);
|
|
7434
7438
|
}
|
|
7439
|
+
this.inputObj = null;
|
|
7440
|
+
while (this.hiddenElement.options.length > 0) {
|
|
7441
|
+
this.hiddenElement.remove(0);
|
|
7442
|
+
}
|
|
7443
|
+
this.hiddenElement.innerHTML = '';
|
|
7444
|
+
this.hiddenElement = null;
|
|
7445
|
+
this.inputWrapper = null;
|
|
7446
|
+
this.popupDiv = null;
|
|
7447
|
+
this.tree = null;
|
|
7448
|
+
this.popupObj = null;
|
|
7449
|
+
this.treeObj = null;
|
|
7450
|
+
this.overAllClear = null;
|
|
7451
|
+
this.chipWrapper = null;
|
|
7452
|
+
this.chipCollection = null;
|
|
7453
|
+
this.checkAllParent = null;
|
|
7454
|
+
this.selectAllSpan = null;
|
|
7455
|
+
this.checkBoxElement = null;
|
|
7456
|
+
this.checkWrapper = null;
|
|
7457
|
+
this.popupEle = null;
|
|
7458
|
+
this.header = null;
|
|
7459
|
+
this.footer = null;
|
|
7460
|
+
this.overFlowWrapper = null;
|
|
7461
|
+
this.keyboardModule = null;
|
|
7435
7462
|
_super.prototype.destroy.call(this);
|
|
7436
7463
|
};
|
|
7437
7464
|
DropDownTree.prototype.destroyFilter = function () {
|