@syncfusion/ej2-multicolumn-combobox 31.1.17 → 31.2.4
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 +22 -9
- package/aceconfig.js +17 -0
- package/dist/ej2-multicolumn-combobox.umd.min.js +3 -3
- package/dist/ej2-multicolumn-combobox.umd.min.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es2015.js +5 -8
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +5 -8
- package/dist/es6/ej2-multicolumn-combobox.es5.js.map +1 -1
- package/dist/global/ej2-multicolumn-combobox.min.js +3 -3
- package/dist/global/ej2-multicolumn-combobox.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +14 -49
- package/src/multicolumn-combobox/multi-column-combo-box.js +5 -8
- package/styles/bootstrap4-lite.css +8 -0
- package/styles/bootstrap4.css +8 -0
- package/styles/multicolumn-combobox/bootstrap4.css +8 -0
- package/dist/ts/index.d.ts +0 -1
- package/dist/ts/index.ts +0 -3
- package/dist/ts/multicolumn-combobox/index.d.ts +0 -5
- package/dist/ts/multicolumn-combobox/index.ts +0 -5
- package/dist/ts/multicolumn-combobox/multi-column-combo-box-model.d.ts +0 -572
- package/dist/ts/multicolumn-combobox/multi-column-combo-box.d.ts +0 -954
- package/dist/ts/multicolumn-combobox/multi-column-combo-box.ts +0 -2521
|
@@ -351,6 +351,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
351
351
|
_this.showHideSpinner(false);
|
|
352
352
|
if (!_this.isMainDataUpdated) {
|
|
353
353
|
_this.mainData = _this.gridData;
|
|
354
|
+
_this.remoteDataLength = _this.gridData.length;
|
|
354
355
|
_this.isMainDataUpdated = true;
|
|
355
356
|
}
|
|
356
357
|
if (_this.popupDiv) {
|
|
@@ -368,6 +369,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
368
369
|
_this.trigger('actionComplete', { result: listItems }, function (e) {
|
|
369
370
|
if (!_this.isMainDataUpdated) {
|
|
370
371
|
_this.mainData = _this.gridData;
|
|
372
|
+
_this.remoteDataLength = _this.gridData.length;
|
|
371
373
|
_this.isMainDataUpdated = true;
|
|
372
374
|
}
|
|
373
375
|
if (_this.popupDiv) {
|
|
@@ -1331,7 +1333,8 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1331
1333
|
var e = mouseEvent ? mouseEvent : keyEvent;
|
|
1332
1334
|
var val = isKeyDown ? this.matchedContent : this.exactMatchedContent;
|
|
1333
1335
|
if (!val && e.code !== 'Enter') {
|
|
1334
|
-
this.inputEle.value =
|
|
1336
|
+
this.inputEle.value = null;
|
|
1337
|
+
this.setProperties({ value: null, index: null, text: null }, true);
|
|
1335
1338
|
}
|
|
1336
1339
|
this.hidePopup(e);
|
|
1337
1340
|
if (this.matchedRowEle && !isClearValues && val) {
|
|
@@ -1586,7 +1589,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1586
1589
|
_this.isPopupOpen = true;
|
|
1587
1590
|
_this.popupObj.refreshPosition();
|
|
1588
1591
|
addClass([_this.inputWrapper], [ICONANIMATION]);
|
|
1589
|
-
attributes(_this.inputEle, { 'aria-expanded': 'true', 'aria-owns': _this.element.id + '
|
|
1592
|
+
attributes(_this.inputEle, { 'aria-expanded': 'true', 'aria-owns': _this.element.id + '_options', 'aria-controls': _this.element.id });
|
|
1590
1593
|
if (!isInputOpen) {
|
|
1591
1594
|
if ((_this.value || _this.text || _this.index)) {
|
|
1592
1595
|
_this.gridObj.selectRow(_this.selectedRowIndex);
|
|
@@ -1603,12 +1606,6 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1603
1606
|
_this.inputEle.setAttribute('aria-activedescendant', firstRow.getAttribute('data-uid'));
|
|
1604
1607
|
}
|
|
1605
1608
|
}
|
|
1606
|
-
if (!isNullOrUndefined(_this.dataSource) && _this.dataSource instanceof DataManager) {
|
|
1607
|
-
_this.dataSource.executeQuery(new Query).then(function (e) {
|
|
1608
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1609
|
-
_this.remoteDataLength = e.result.length;
|
|
1610
|
-
});
|
|
1611
|
-
}
|
|
1612
1609
|
_this.popupObj.show(new Animation(eventArgs.animation), _this.popupEle.firstElementChild);
|
|
1613
1610
|
}
|
|
1614
1611
|
});
|