@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
|
@@ -13238,11 +13238,13 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13238
13238
|
for (var i = 0; i < valuecheck.length; i++) {
|
|
13239
13239
|
var value = this.allowObjectBinding ? getValue((this.fields.value) ?
|
|
13240
13240
|
this.fields.value : '', valuecheck[i]) : valuecheck[i];
|
|
13241
|
-
if (
|
|
13242
|
-
predicate = new Predicate(field, '
|
|
13241
|
+
if (this.isaddNonPresentItems) {
|
|
13242
|
+
predicate = i === 0 ? new Predicate(field, 'equal', valuecheck[i])
|
|
13243
|
+
: predicate.or(field, 'equal', valuecheck[i]);
|
|
13243
13244
|
}
|
|
13244
13245
|
else {
|
|
13245
|
-
predicate = predicate
|
|
13246
|
+
predicate = i === 0 ? predicate = new Predicate(field, 'notequal', (value))
|
|
13247
|
+
: predicate.and(field, 'notequal', (value));
|
|
13246
13248
|
}
|
|
13247
13249
|
}
|
|
13248
13250
|
return new Query().where(predicate);
|
|
@@ -13310,8 +13312,10 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13310
13312
|
valuecheck = this.presentItemValue(this.ulElement);
|
|
13311
13313
|
}
|
|
13312
13314
|
if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
13313
|
-
&& this.listData != null
|
|
13315
|
+
&& this.listData != null) {
|
|
13316
|
+
this.isaddNonPresentItems = true;
|
|
13314
13317
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
13318
|
+
this.isaddNonPresentItems = false;
|
|
13315
13319
|
}
|
|
13316
13320
|
else {
|
|
13317
13321
|
this.updateActionList(ulElement, list, e);
|
|
@@ -13671,6 +13675,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13671
13675
|
filterQuery.take(takeValue);
|
|
13672
13676
|
}
|
|
13673
13677
|
filterQuery.requiresCount();
|
|
13678
|
+
this.customFilterQuery = null;
|
|
13674
13679
|
return filterQuery;
|
|
13675
13680
|
};
|
|
13676
13681
|
MultiSelect.prototype.getTakeValue = function () {
|
|
@@ -16316,6 +16321,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16316
16321
|
this.isCustomRendered = false;
|
|
16317
16322
|
this.isRemoteSelection = false;
|
|
16318
16323
|
this.isSelectAllTarget = true;
|
|
16324
|
+
this.isaddNonPresentItems = false;
|
|
16319
16325
|
this.viewPortInfo = {
|
|
16320
16326
|
currentPageNumber: null,
|
|
16321
16327
|
direction: null,
|
|
@@ -18098,10 +18104,12 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18098
18104
|
valuecheck = this.presentItemValue(this.ulElement);
|
|
18099
18105
|
}
|
|
18100
18106
|
if (prop === 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
18101
|
-
&& this.listData != null
|
|
18107
|
+
&& this.listData != null) {
|
|
18102
18108
|
this.mainData = null;
|
|
18103
18109
|
this.setDynValue = true;
|
|
18110
|
+
this.isaddNonPresentItems = true;
|
|
18104
18111
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
18112
|
+
this.isaddNonPresentItems = false;
|
|
18105
18113
|
}
|
|
18106
18114
|
else {
|
|
18107
18115
|
if (prop === 'text') {
|
|
@@ -18117,9 +18125,12 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18117
18125
|
var list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
|
|
18118
18126
|
this.onActionComplete(list, this.mainData);
|
|
18119
18127
|
}
|
|
18120
|
-
if (!this.enableVirtualization
|
|
18128
|
+
if (!this.enableVirtualization) {
|
|
18121
18129
|
this.initialValueUpdate();
|
|
18122
18130
|
}
|
|
18131
|
+
else if (this.enableVirtualization && (!(this.dataSource instanceof DataManager))) {
|
|
18132
|
+
this.initialValueUpdate(this.dataSource, true);
|
|
18133
|
+
}
|
|
18123
18134
|
else if (!this.isInitRemoteVirtualData) {
|
|
18124
18135
|
this.isDynamicRemoteVirtualData = true;
|
|
18125
18136
|
this.initialValueUpdate(this.listData, true);
|