@syncfusion/ej2-dropdowns 24.2.4 → 24.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 +12 -5
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +11 -4
- 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/auto-complete/auto-complete-model.d.ts +2 -2
- package/src/auto-complete/auto-complete.d.ts +2 -2
- package/src/combo-box/combo-box-model.d.ts +3 -3
- package/src/combo-box/combo-box.d.ts +3 -3
- package/src/drop-down-list/drop-down-list-model.d.ts +3 -3
- package/src/drop-down-list/drop-down-list.d.ts +3 -3
- package/src/mention/mention.js +3 -1
- package/src/multi-select/multi-select-model.d.ts +2 -2
- package/src/multi-select/multi-select.d.ts +2 -2
- package/src/multi-select/multi-select.js +8 -3
|
@@ -11388,6 +11388,11 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
11388
11388
|
}
|
|
11389
11389
|
};
|
|
11390
11390
|
MultiSelect.prototype.removelastSelection = function (e) {
|
|
11391
|
+
var selectedElem = this.chipCollectionWrapper.querySelector('span.' + CHIP_SELECTED);
|
|
11392
|
+
if (selectedElem !== null) {
|
|
11393
|
+
this.removeSelectedChip(e);
|
|
11394
|
+
return;
|
|
11395
|
+
}
|
|
11391
11396
|
var elements = this.chipCollectionWrapper.querySelectorAll('span.' + CHIP$1);
|
|
11392
11397
|
var value = elements[elements.length - 1].getAttribute('data-value');
|
|
11393
11398
|
if (!isNullOrUndefined(this.value)) {
|
|
@@ -13543,7 +13548,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13543
13548
|
if (delim) {
|
|
13544
13549
|
this.updateWrapperText(this.delimiterWrapper, data);
|
|
13545
13550
|
this.delimiterWrapper.setAttribute('id', getUniqueID('delim_val'));
|
|
13546
|
-
this.inputElement.setAttribute('aria-
|
|
13551
|
+
this.inputElement.setAttribute('aria-describedby', this.delimiterWrapper.id);
|
|
13547
13552
|
}
|
|
13548
13553
|
var targetEle = e && e.target;
|
|
13549
13554
|
var isClearAll = (targetEle && targetEle.classList.contains('e-close-hooker')) ? true : null;
|
|
@@ -14517,7 +14522,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14517
14522
|
this.hiddenElement.innerHTML = hiddenValue;
|
|
14518
14523
|
this.updateWrapperText(this.delimiterWrapper, wrapperText);
|
|
14519
14524
|
this.delimiterWrapper.setAttribute('id', getUniqueID('delim_val'));
|
|
14520
|
-
this.inputElement.setAttribute('aria-
|
|
14525
|
+
this.inputElement.setAttribute('aria-describedby', this.delimiterWrapper.id);
|
|
14521
14526
|
this.setProperties({ text: text.toString() }, true);
|
|
14522
14527
|
this.refreshInputHight();
|
|
14523
14528
|
this.refreshPlaceHolder();
|
|
@@ -15033,7 +15038,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
15033
15038
|
}
|
|
15034
15039
|
});
|
|
15035
15040
|
if (this.mode === 'Default' || this.mode === 'Box') {
|
|
15036
|
-
this.inputElement.setAttribute('aria-
|
|
15041
|
+
this.inputElement.setAttribute('aria-describedby', this.chipCollectionWrapper.id);
|
|
15037
15042
|
}
|
|
15038
15043
|
if (this.element.tagName !== this.getNgDirective()) {
|
|
15039
15044
|
this.element.style.display = 'none';
|
|
@@ -18801,7 +18806,9 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
18801
18806
|
}
|
|
18802
18807
|
return;
|
|
18803
18808
|
}
|
|
18804
|
-
|
|
18809
|
+
if (lastWordRange.includes(this.mentionChar)) {
|
|
18810
|
+
this.queryString = lastWordRange.replace(this.mentionChar, '');
|
|
18811
|
+
}
|
|
18805
18812
|
if (this.mentionChar.charCodeAt(0) === lastWordRange.charCodeAt(0) &&
|
|
18806
18813
|
this.queryString !== '' && e.keyCode !== 38 && e.keyCode !== 40 && !this.lineBreak) {
|
|
18807
18814
|
this.searchLists(e);
|