@syncfusion/ej2-multicolumn-combobox 30.2.4 → 31.1.17
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/dist/ej2-multicolumn-combobox.umd.min.js +2 -2
- package/dist/ej2-multicolumn-combobox.umd.min.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es2015.js +7 -4
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +7 -4
- package/dist/es6/ej2-multicolumn-combobox.es5.js.map +1 -1
- package/dist/global/ej2-multicolumn-combobox.min.js +2 -2
- package/dist/global/ej2-multicolumn-combobox.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/dist/ts/index.d.ts +1 -0
- package/dist/ts/index.ts +3 -0
- package/dist/ts/multicolumn-combobox/index.d.ts +5 -0
- package/dist/ts/multicolumn-combobox/index.ts +5 -0
- package/dist/ts/multicolumn-combobox/multi-column-combo-box-model.d.ts +572 -0
- package/dist/ts/multicolumn-combobox/multi-column-combo-box.d.ts +954 -0
- package/dist/ts/multicolumn-combobox/multi-column-combo-box.ts +2521 -0
- package/package.json +49 -14
- package/src/multicolumn-combobox/multi-column-combo-box.js +7 -4
|
@@ -290,7 +290,6 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
290
290
|
this.showHideSpinner(false);
|
|
291
291
|
if (!this.isMainDataUpdated) {
|
|
292
292
|
this.mainData = this.gridData;
|
|
293
|
-
this.remoteDataLength = this.gridData.length;
|
|
294
293
|
this.isMainDataUpdated = true;
|
|
295
294
|
}
|
|
296
295
|
if (this.popupDiv) {
|
|
@@ -308,7 +307,6 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
308
307
|
this.trigger('actionComplete', { result: listItems }, (e) => {
|
|
309
308
|
if (!this.isMainDataUpdated) {
|
|
310
309
|
this.mainData = this.gridData;
|
|
311
|
-
this.remoteDataLength = this.gridData.length;
|
|
312
310
|
this.isMainDataUpdated = true;
|
|
313
311
|
}
|
|
314
312
|
if (this.popupDiv) {
|
|
@@ -1254,8 +1252,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
1254
1252
|
const e = mouseEvent ? mouseEvent : keyEvent;
|
|
1255
1253
|
const val = isKeyDown ? this.matchedContent : this.exactMatchedContent;
|
|
1256
1254
|
if (!val && e.code !== 'Enter') {
|
|
1257
|
-
this.inputEle.value = null;
|
|
1258
|
-
this.setProperties({ value: null, index: null, text: null }, true);
|
|
1255
|
+
this.inputEle.value = this.value = this.index = this.text = null;
|
|
1259
1256
|
}
|
|
1260
1257
|
this.hidePopup(e);
|
|
1261
1258
|
if (this.matchedRowEle && !isClearValues && val) {
|
|
@@ -1523,6 +1520,12 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
1523
1520
|
this.inputEle.setAttribute('aria-activedescendant', firstRow.getAttribute('data-uid'));
|
|
1524
1521
|
}
|
|
1525
1522
|
}
|
|
1523
|
+
if (!isNullOrUndefined(this.dataSource) && this.dataSource instanceof DataManager) {
|
|
1524
|
+
this.dataSource.executeQuery(new Query).then((e) => {
|
|
1525
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1526
|
+
this.remoteDataLength = e.result.length;
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1526
1529
|
this.popupObj.show(new Animation(eventArgs.animation), this.popupEle.firstElementChild);
|
|
1527
1530
|
}
|
|
1528
1531
|
});
|