@syncfusion/ej2-dropdowns
Advanced tools
Comparing version 25.1.40 to 25.1.41
@@ -5,2 +5,8 @@ # Changelog | ||
### MultiSelect | ||
#### Bug Fixes | ||
- `#I571383` - Resolved issue where removing a long text tag in a multi-select drop down was also removing a short text tag. | ||
### ListBox | ||
@@ -10,2 +16,10 @@ | ||
- `#I566450` - Issue with "The disabled itemTemplate item is not move properly for listbox toolbar action" has been resolved. | ||
## 25.1.40 (2024-04-16) | ||
### ListBox | ||
#### Bug Fixes | ||
- `#I565976` - Issue with "The getSortedList data not update correctly while removeItem method after drag and drop action in listbox" has been resolved. | ||
@@ -12,0 +26,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 25.1.40 | ||
* version : 25.1.41 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-dropdowns@*", | ||
"_id": "@syncfusion/ej2-dropdowns@25.1.39", | ||
"_id": "@syncfusion/ej2-dropdowns@25.1.40", | ||
"_inBundle": false, | ||
"_integrity": "sha512-je9KBRXAhBy6CRCnSDXedx6YR/DL1utntJyJ4Qv0mBMyNKrQJK9bp7Ibi+xqkD51+YHDi1hpICWyyET7lR7NMA==", | ||
"_integrity": "sha512-6DDoNXRwihclI1cvrUHH8Gvr/wxNd9q6xbG0MDIKI+YkHlXQmKzFpWMJiryVAUISQ9FxXkZ31GbC4odDlpX8QA==", | ||
"_location": "/@syncfusion/ej2-dropdowns", | ||
@@ -37,4 +37,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-25.1.39.tgz", | ||
"_shasum": "7319a3b0eb2a2ece822d01db03ceae81efbdee8b", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-25.1.40.tgz", | ||
"_shasum": "5279cf8e0bc8d91c654d5be6c294f94c62c51a12", | ||
"_spec": "@syncfusion/ej2-dropdowns@*", | ||
@@ -50,6 +50,6 @@ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"@syncfusion/ej2-inputs": "~25.1.40", | ||
"@syncfusion/ej2-lists": "~25.1.39", | ||
"@syncfusion/ej2-navigations": "~25.1.40", | ||
"@syncfusion/ej2-lists": "~25.1.41", | ||
"@syncfusion/ej2-navigations": "~25.1.41", | ||
"@syncfusion/ej2-notifications": "~25.1.35", | ||
"@syncfusion/ej2-popups": "~25.1.39" | ||
"@syncfusion/ej2-popups": "~25.1.41" | ||
}, | ||
@@ -79,5 +79,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "25.1.40", | ||
"version": "25.1.41", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -93,3 +93,3 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
else if ((!this.enableVirtualization) || (this.enableVirtualization && (!(this.dataSource instanceof DataManager) || (this.dataSource instanceof DataManager && this.virtualGroupDataSource)))) { | ||
else { | ||
var mapping = !isNullOrUndefined(this.fields.value) ? this.fields.value : ''; | ||
@@ -110,3 +110,3 @@ filterQuery.where(mapping, filterType, queryString, this.ignoreCase, this.ignoreAccent); | ||
} | ||
if (this.enableVirtualization && (!(this.dataSource instanceof DataManager) || (this.dataSource instanceof DataManager && this.virtualGroupDataSource))) { | ||
if (this.enableVirtualization) { | ||
var queryTakeValue = 0; | ||
@@ -161,10 +161,2 @@ var querySkipValue = 0; | ||
} | ||
else if (this.enableVirtualization && (this.dataSource instanceof DataManager && !this.virtualGroupDataSource)) { | ||
for (var queryElements = 0; queryElements < filterQuery.queries.length; queryElements++) { | ||
if (filterQuery.queries[queryElements].fn === 'onSkip' || filterQuery.queries[queryElements].fn === 'onTake') { | ||
filterQuery.queries.splice(queryElements, 1); | ||
--queryElements; | ||
} | ||
} | ||
} | ||
return filterQuery; | ||
@@ -171,0 +163,0 @@ }; |
@@ -154,3 +154,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var currentValue_1 = this.allowObjectBinding && !isNullOrUndefined(this.value) ? getValue((this.fields.value) ? this.fields.value : '', this.value) : this.value; | ||
if (this.dataSource instanceof DataManager && this.virtualGroupDataSource) { | ||
if (this.dataSource instanceof DataManager) { | ||
var getItem = new DataManager(this.virtualGroupDataSource).executeLocal(new Query().where(new Predicate(fields, 'equal', currentValue_1))); | ||
@@ -157,0 +157,0 @@ if (getItem && getItem.length > 0) { |
@@ -50,2 +50,4 @@ import { Component, KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
isTyped: boolean; | ||
setCurrentView: boolean; | ||
isRequesting: boolean; | ||
itemCount: number; | ||
@@ -52,0 +54,0 @@ fields: FieldSettingsModel; |
@@ -201,5 +201,6 @@ var __assign = (this && this.__assign) || function () { | ||
this.parent.appendUncheckList = true; | ||
this.parent.setCurrentView = false; | ||
this.parent.resetList(this.parent.dataSource, this.parent.fields, query); | ||
isListUpdated = false; | ||
this.parent.appendUncheckList = false; | ||
this.parent.appendUncheckList = this.parent.dataSource instanceof DataManager ? this.parent.appendUncheckList : false; | ||
isListUpdated = false; | ||
@@ -227,5 +228,6 @@ } | ||
this.parent.appendUncheckList = true; | ||
this.parent.setCurrentView = false; | ||
this.parent.resetList(this.parent.dataSource, this.parent.fields, query); | ||
isListUpdated = false; | ||
this.parent.appendUncheckList = false; | ||
this.parent.appendUncheckList = this.parent.dataSource instanceof DataManager ? this.parent.appendUncheckList : false; | ||
} | ||
@@ -241,2 +243,3 @@ } | ||
query = query.skip(skipvalue); | ||
this.parent.setCurrentView = false; | ||
this.parent.resetList(this.parent.dataSource, this.parent.fields, query); | ||
@@ -263,2 +266,3 @@ isListUpdated = false; | ||
} | ||
this.parent.setCurrentView = false; | ||
this.parent.resetList(this.parent.dataSource, this.parent.fields, query); | ||
@@ -285,2 +289,3 @@ isResetListCalled = true; | ||
} | ||
this.parent.setCurrentView = false; | ||
this.parent.resetList(this.parent.dataSource, this.parent.fields, query); | ||
@@ -297,2 +302,3 @@ isResetListCalled = true; | ||
} | ||
this.parent.setCurrentView = false; | ||
} | ||
@@ -365,2 +371,3 @@ } | ||
this.parent.virtualItemEndIndex = queryEndIndex; | ||
this.parent.setCurrentView = true; | ||
this.generateAndExecuteQueryAsync(query, queryStartIndex, queryEndIndex); | ||
@@ -375,3 +382,5 @@ if (this.component === 'multiselect' && this.parent.hideSelectedItem && this.parent.value && Array.isArray(this.parent.value) && this.parent.value.length > 0) { | ||
} | ||
this.setCurrentViewDataAsync(); | ||
if (!(this.parent.dataSource instanceof DataManager) || (this.parent.dataSource instanceof DataManager && !this.parent.isRequesting)) { | ||
this.setCurrentViewDataAsync(); | ||
} | ||
}; | ||
@@ -409,3 +418,3 @@ VirtualScroll.prototype.dataProcessAsync = function (isOpenPopup) { | ||
_a.sent(); | ||
if (this.parent.keyboardEvent != null) { | ||
if (this.parent.keyboardEvent != null && (!(this.parent.dataSource instanceof DataManager) || (this.parent.dataSource instanceof DataManager && !this.parent.isRequesting))) { | ||
this.parent.handleVirtualKeyboardActions(this.parent.keyboardEvent, this.parent.pageCount); | ||
@@ -412,0 +421,0 @@ } |
@@ -236,2 +236,3 @@ import { Component, KeyboardEvents, EmitType, L10n, KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
protected dataCount: number; | ||
protected remoteDataCount: number; | ||
protected isRemoteDataUpdated: boolean; | ||
@@ -281,2 +282,3 @@ protected virtualGroupDataSource: { | ||
protected preventPopupOpen: boolean; | ||
protected setCurrentView: boolean; | ||
protected customFilterQuery: Query; | ||
@@ -568,2 +570,3 @@ protected virtualSelectAllData: { | ||
private setListData; | ||
protected handleVirtualKeyboardActions(e: KeyboardEventArgs, pageCount: number): void; | ||
protected updatePopupState(): void; | ||
@@ -570,0 +573,0 @@ protected updateRemoteData(): void; |
@@ -439,3 +439,3 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" /> | ||
protected mobileKeyActionHandler(e: KeyboardEventArgs): void; | ||
private handleVirtualKeyboardActions; | ||
protected handleVirtualKeyboardActions(e: KeyboardEventArgs, pageCount: number): void; | ||
protected selectCurrentItem(e: KeyboardEventArgs): void; | ||
@@ -442,0 +442,0 @@ protected isSelectFocusItem(element: Element): boolean; |
@@ -56,2 +56,4 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" /> | ||
private isSelectAllTarget; | ||
private previousFocusItem; | ||
private selectedListData; | ||
/** | ||
@@ -691,3 +693,3 @@ * The `fields` property maps the columns of the data table and binds the data to the component. | ||
private updateSelectionList; | ||
private handleVirtualKeyboardActions; | ||
protected handleVirtualKeyboardActions(e: KeyboardEventArgs, pageCount: number): void; | ||
private onKeyDown; | ||
@@ -694,0 +696,0 @@ private arrowDown; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
17566163
201283
660