@syncfusion/ej2-dropdowns 23.2.4 → 23.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.2.4
3
+ * version : 23.2.5
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-dropdowns@*",
3
- "_id": "@syncfusion/ej2-dropdowns@23.1.44",
3
+ "_id": "@syncfusion/ej2-dropdowns@23.2.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-xpVvjJ33ptKhKUgN02wqfy9sn43M4pxtaw+6gAykd1J/vJltDtiCXlvb3ukUr47N4Y8s2gzz/ZGdAInhXs3ryQ==",
5
+ "_integrity": "sha512-+N2K/8gXy3ibWBluPxSL1E5+GZyle8s0cdnpINl+mCbl/3Z0EUBkvbB5q8+FWa2XM2Dmjg9iN9mu0aNh36i/Zw==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -34,8 +34,8 @@
34
34
  "/@syncfusion/ej2-spreadsheet",
35
35
  "/@syncfusion/ej2-vue-dropdowns"
36
36
  ],
37
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-23.1.44.tgz",
38
- "_shasum": "5a4a75b06bd073b401df9ed84e32f708df64431c",
37
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-23.2.4.tgz",
38
+ "_shasum": "c8328029f62ff189c8c594db04b78ad764143cd5",
39
39
  "_spec": "@syncfusion/ej2-dropdowns@*",
40
40
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
41
41
  "author": {
@@ -47,8 +47,8 @@
47
47
  "@syncfusion/ej2-data": "~23.2.4",
48
48
  "@syncfusion/ej2-inputs": "~23.2.4",
49
49
  "@syncfusion/ej2-lists": "~23.2.4",
50
- "@syncfusion/ej2-navigations": "~23.2.4",
51
- "@syncfusion/ej2-notifications": "~23.2.4",
50
+ "@syncfusion/ej2-navigations": "~23.2.5",
51
+ "@syncfusion/ej2-notifications": "~23.2.5",
52
52
  "@syncfusion/ej2-popups": "~23.2.4"
53
53
  },
54
54
  "deprecated": false,
@@ -74,7 +74,7 @@
74
74
  "module": "./index.js",
75
75
  "name": "@syncfusion/ej2-dropdowns",
76
76
  "typings": "index.d.ts",
77
- "version": "23.2.4",
77
+ "version": "23.2.5",
78
78
  "sideEffects": false,
79
79
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
80
80
  }
@@ -47,6 +47,7 @@ export declare class VirtualScroll {
47
47
  private getPageQuery;
48
48
  private setGeneratedData;
49
49
  private generateAndExecuteQueryAsync;
50
+ private removeSkipAndTakeEvents;
50
51
  setCurrentViewDataAsync(): void;
51
52
  private generateQueryAndSetQueryIndexAsync;
52
53
  private dataProcessAsync;
@@ -142,10 +142,22 @@ var VirtualScroll = /** @class */ (function () {
142
142
  if (isQueryGenerated === void 0) { isQueryGenerated = false; }
143
143
  var dataSource = this.parent.dataSource;
144
144
  if (!isQueryGenerated) {
145
- query = this.getPageQuery(query, virtualItemStartIndex, virtualItemEndIndex);
145
+ if (!isNullOrUndefined(this.parent.query)) {
146
+ var newQuery = this.removeSkipAndTakeEvents(this.parent.query.clone());
147
+ query = this.getPageQuery(newQuery, virtualItemStartIndex, virtualItemEndIndex);
148
+ }
149
+ else {
150
+ query = this.getPageQuery(query, virtualItemStartIndex, virtualItemEndIndex);
151
+ }
146
152
  }
147
153
  this.parent.resetList(dataSource, this.parent.fields, query);
148
154
  };
155
+ VirtualScroll.prototype.removeSkipAndTakeEvents = function (query) {
156
+ query.queries = query.queries.filter(function (event) {
157
+ return event.fn !== 'onSkip' && event.fn !== 'onTake';
158
+ });
159
+ return query;
160
+ };
149
161
  VirtualScroll.prototype.setCurrentViewDataAsync = function () {
150
162
  // eslint-disable-next-line
151
163
  var currentData = [];
@@ -459,6 +459,9 @@ var Mention = /** @class */ (function (_super) {
459
459
  var value = this.getFormattedValue(focusItem.getAttribute('data-value'));
460
460
  this.selectEventCallback(focusItem, this.getDataByValue(value), value, true);
461
461
  }
462
+ if (this.beforePopupOpen) {
463
+ this.renderPopup();
464
+ }
462
465
  }
463
466
  };
464
467
  Mention.prototype.setDataIndex = function () {
@@ -2615,7 +2615,7 @@ var MultiSelect = /** @class */ (function (_super) {
2615
2615
  MultiSelect.prototype.updateDataList = function () {
2616
2616
  if (this.mainList && this.ulElement && !(this.isFiltered || this.filterAction || this.targetElement().trim())) {
2617
2617
  var isDynamicGroupItemUpdate = this.mainList.childElementCount < this.ulElement.childElementCount;
2618
- var isReactTemplateUpdate = ((this.ulElement.childElementCount > 0 && this.ulElement.children[0].childElementCount > 0) && (this.mainList.children[0].childElementCount < this.ulElement.children[0].childElementCount));
2618
+ var isReactTemplateUpdate = ((this.ulElement.childElementCount > 0 && this.ulElement.children[0].childElementCount > 0) && (this.mainList.children[0].childElementCount && (this.mainList.children[0].childElementCount < this.ulElement.children[0].childElementCount)));
2619
2619
  var isAngularTemplateUpdate = this.itemTemplate && this.ulElement.childElementCount > 0 && !(this.ulElement.childElementCount < this.mainList.childElementCount) && (this.ulElement.children[0].childElementCount > 0 || (this.fields.groupBy && this.ulElement.children[1] && this.ulElement.children[1].childElementCount > 0));
2620
2620
  if (isDynamicGroupItemUpdate || isReactTemplateUpdate || isAngularTemplateUpdate) {
2621
2621
  //EJ2-57748 - for this task, we prevent the ul element cloning ( this.mainList = this.ulElement.cloneNode ? <HTMLElement>this.ulElement.cloneNode(true) : this.ulElement;)