@syncfusion/ej2-dropdowns 28.2.9 → 28.2.11
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 +1 -1
- 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 -6
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +17 -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-tree/drop-down-tree-model.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/multi-select/multi-select.d.ts +1 -0
- package/src/multi-select/multi-select.js +17 -6
|
@@ -12987,11 +12987,13 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
12987
12987
|
for (let i = 0; i < valuecheck.length; i++) {
|
|
12988
12988
|
const value = this.allowObjectBinding ? getValue((this.fields.value) ?
|
|
12989
12989
|
this.fields.value : '', valuecheck[i]) : valuecheck[i];
|
|
12990
|
-
if (
|
|
12991
|
-
predicate = new Predicate(field, '
|
|
12990
|
+
if (this.isaddNonPresentItems) {
|
|
12991
|
+
predicate = i === 0 ? new Predicate(field, 'equal', valuecheck[i])
|
|
12992
|
+
: predicate.or(field, 'equal', valuecheck[i]);
|
|
12992
12993
|
}
|
|
12993
12994
|
else {
|
|
12994
|
-
predicate = predicate
|
|
12995
|
+
predicate = i === 0 ? predicate = new Predicate(field, 'notequal', (value))
|
|
12996
|
+
: predicate.and(field, 'notequal', (value));
|
|
12995
12997
|
}
|
|
12996
12998
|
}
|
|
12997
12999
|
return new Query().where(predicate);
|
|
@@ -13058,8 +13060,10 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13058
13060
|
valuecheck = this.presentItemValue(this.ulElement);
|
|
13059
13061
|
}
|
|
13060
13062
|
if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
13061
|
-
&& this.listData != null
|
|
13063
|
+
&& this.listData != null) {
|
|
13064
|
+
this.isaddNonPresentItems = true;
|
|
13062
13065
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
13066
|
+
this.isaddNonPresentItems = false;
|
|
13063
13067
|
}
|
|
13064
13068
|
else {
|
|
13065
13069
|
this.updateActionList(ulElement, list, e);
|
|
@@ -13419,6 +13423,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13419
13423
|
filterQuery.take(takeValue);
|
|
13420
13424
|
}
|
|
13421
13425
|
filterQuery.requiresCount();
|
|
13426
|
+
this.customFilterQuery = null;
|
|
13422
13427
|
return filterQuery;
|
|
13423
13428
|
}
|
|
13424
13429
|
getTakeValue() {
|
|
@@ -16047,6 +16052,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
16047
16052
|
this.isCustomRendered = false;
|
|
16048
16053
|
this.isRemoteSelection = false;
|
|
16049
16054
|
this.isSelectAllTarget = true;
|
|
16055
|
+
this.isaddNonPresentItems = false;
|
|
16050
16056
|
this.viewPortInfo = {
|
|
16051
16057
|
currentPageNumber: null,
|
|
16052
16058
|
direction: null,
|
|
@@ -17813,10 +17819,12 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
17813
17819
|
valuecheck = this.presentItemValue(this.ulElement);
|
|
17814
17820
|
}
|
|
17815
17821
|
if (prop === 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
17816
|
-
&& this.listData != null
|
|
17822
|
+
&& this.listData != null) {
|
|
17817
17823
|
this.mainData = null;
|
|
17818
17824
|
this.setDynValue = true;
|
|
17825
|
+
this.isaddNonPresentItems = true;
|
|
17819
17826
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
17827
|
+
this.isaddNonPresentItems = false;
|
|
17820
17828
|
}
|
|
17821
17829
|
else {
|
|
17822
17830
|
if (prop === 'text') {
|
|
@@ -17832,9 +17840,12 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
17832
17840
|
const list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
|
|
17833
17841
|
this.onActionComplete(list, this.mainData);
|
|
17834
17842
|
}
|
|
17835
|
-
if (!this.enableVirtualization
|
|
17843
|
+
if (!this.enableVirtualization) {
|
|
17836
17844
|
this.initialValueUpdate();
|
|
17837
17845
|
}
|
|
17846
|
+
else if (this.enableVirtualization && (!(this.dataSource instanceof DataManager))) {
|
|
17847
|
+
this.initialValueUpdate(this.dataSource, true);
|
|
17848
|
+
}
|
|
17838
17849
|
else if (!this.isInitRemoteVirtualData) {
|
|
17839
17850
|
this.isDynamicRemoteVirtualData = true;
|
|
17840
17851
|
this.initialValueUpdate(this.listData, true);
|