@syncfusion/ej2-dropdowns
Advanced tools
Comparing version
/*! | ||
* filename: index.d.ts | ||
* version : 29.1.41 | ||
* version : 29.2.4 | ||
* Copyright Syncfusion Inc. 2001 - 2024. 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@29.1.38", | ||
"_id": "@syncfusion/ej2-dropdowns@29.1.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-gpwV4cYn4VY9b7JRqcRU0RSqHNaFKKf0+NpBSHbvOwtISLqIGyehQR7atEDT+1g0z0mdGZ7+l2WuaqyvuLNvDA==", | ||
"_integrity": "sha512-MguJkedxJ1fsjo2kpSIDWlIMg4AM/9Sivaogd+NwxyxjKdkn5jg5325cmvC/cO1A+ZenI0w5fwOotB1ANtPDiA==", | ||
"_location": "/@syncfusion/ej2-dropdowns", | ||
@@ -39,4 +39,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-29.1.38.tgz", | ||
"_shasum": "db56179d8beddcc910e61558b906e2ce82c31ce6", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-29.1.41.tgz", | ||
"_shasum": "7a112cc2e360ea39ea9a4c681a580cdffa9ef3ff", | ||
"_spec": "@syncfusion/ej2-dropdowns@*", | ||
@@ -49,9 +49,9 @@ "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~29.1.36", | ||
"@syncfusion/ej2-data": "~29.1.33", | ||
"@syncfusion/ej2-inputs": "~29.1.39", | ||
"@syncfusion/ej2-lists": "~29.1.40", | ||
"@syncfusion/ej2-navigations": "~29.1.41", | ||
"@syncfusion/ej2-notifications": "~29.1.33", | ||
"@syncfusion/ej2-popups": "~29.1.37" | ||
"@syncfusion/ej2-base": "~29.2.4", | ||
"@syncfusion/ej2-data": "~29.2.4", | ||
"@syncfusion/ej2-inputs": "~29.2.4", | ||
"@syncfusion/ej2-lists": "~29.2.4", | ||
"@syncfusion/ej2-navigations": "~29.2.4", | ||
"@syncfusion/ej2-notifications": "~29.2.4", | ||
"@syncfusion/ej2-popups": "~29.2.4" | ||
}, | ||
@@ -81,5 +81,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "29.1.41", | ||
"version": "29.2.4", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -220,2 +220,3 @@ /// <reference path="../combo-box/combo-box-model.d.ts" /> | ||
protected searchLists(e: KeyboardEventArgs | MouseEvent): void; | ||
protected performFiltering(e: KeyboardEventArgs | MouseEvent): void; | ||
/** | ||
@@ -222,0 +223,0 @@ * To filter the data from given data source by using query |
@@ -166,3 +166,2 @@ var __extends = (this && this.__extends) || (function () { | ||
AutoComplete.prototype.searchLists = function (e) { | ||
var _this_1 = this; | ||
this.isTyped = true; | ||
@@ -185,2 +184,11 @@ this.isDataFetched = this.isSelectCustom = false; | ||
this.isRequesting = false; | ||
if (this.queryString !== '' && this.debounceDelay > 0) { | ||
this.debouncedFiltering(e, this.debounceDelay); | ||
} | ||
else { | ||
this.performFiltering(e); | ||
} | ||
}; | ||
AutoComplete.prototype.performFiltering = function (e) { | ||
var _this_1 = this; | ||
var eventArgs = { | ||
@@ -187,0 +195,0 @@ preventDefaultAction: false, |
@@ -90,10 +90,2 @@ import { EventHandler, Property, Event, EmitType, addClass, Browser, KeyboardEventArgs, removeClass, detach } from '@syncfusion/ej2-base';import { isNullOrUndefined, NotifyPropertyChanges, getValue, setValue } from '@syncfusion/ej2-base';import { DropDownList, dropDownListClasses } from '../drop-down-list/drop-down-list';import { FilteringEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { Search } from '../common/incremental-search';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { DataManager, DataOptions, Predicate, Query } from '@syncfusion/ej2-data'; | ||
/** | ||
* Enable or disable rendering component in right to left direction. | ||
* | ||
* @default false | ||
*/ | ||
enableRtl?: boolean; | ||
/** | ||
* Triggers on set a | ||
@@ -100,0 +92,0 @@ * [`custom value`](../../combo-box/getting-started#custom-values) to this component. |
@@ -100,9 +100,2 @@ /// <reference path="../drop-down-list/drop-down-list-model.d.ts" /> | ||
/** | ||
* Enable or disable rendering component in right to left direction. | ||
* | ||
* @default false | ||
*/ | ||
enableRtl: boolean; | ||
/** | ||
* Triggers on set a | ||
@@ -109,0 +102,0 @@ * [`custom value`](../../combo-box/getting-started#custom-values) to this component. |
@@ -1032,5 +1032,2 @@ var __extends = (this && this.__extends) || (function () { | ||
__decorate([ | ||
Property(false) | ||
], ComboBox.prototype, "enableRtl", void 0); | ||
__decorate([ | ||
Event() | ||
@@ -1037,0 +1034,0 @@ ], ComboBox.prototype, "customValueSpecifier", void 0); |
@@ -289,2 +289,3 @@ var __assign = (this && this.__assign) || function () { | ||
this.parent.setCurrentView = false; | ||
this.parent.isPreventScrollAction = true; | ||
this.parent.resetList(this.parent.dataSource, this.parent.fields, query); | ||
@@ -337,2 +338,3 @@ isResetListCalled = true; | ||
this.parent.renderItems(currentData, this.parent.fields, this.component === 'multiselect' && this.parent.mode === 'CheckBox'); | ||
this.parent.updateSelectionList(); | ||
} | ||
@@ -349,3 +351,4 @@ if (this.component === 'multiselect') { | ||
var virtualTrackElement = this.parent.list.getElementsByClassName('e-virtual-ddl')[0]; | ||
if (virtualTrackElement) { | ||
var preventAction = this.component !== 'multiselect' || (this.component === 'multiselect' && ((!(this.parent.dataSource instanceof DataManager))) || (this.parent.dataSource instanceof DataManager && !isResetListCalled)); | ||
if (virtualTrackElement && preventAction) { | ||
virtualTrackElement.style = this.parent.GetVirtualTrackHeight(); | ||
@@ -359,7 +362,9 @@ } | ||
} | ||
this.parent.UpdateSkeleton(); | ||
if (this.component !== 'multiselect' || (this.component === 'multiselect' && ((!(this.parent.dataSource instanceof DataManager))) || (this.parent.dataSource instanceof DataManager && (!isResetListCalled || this.parent.viewPortInfo.startIndex === 0)))) { | ||
this.parent.UpdateSkeleton(); | ||
} | ||
this.parent.liCollections = this.parent.list.querySelectorAll('.e-list-item'); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
var virtualContentElement = this.parent.list.getElementsByClassName('e-virtual-ddl-content')[0]; | ||
if (virtualContentElement) { | ||
if (virtualContentElement && preventAction) { | ||
(virtualContentElement).style = this.parent.getTransformValues(); | ||
@@ -366,0 +371,0 @@ } |
@@ -299,2 +299,3 @@ import { Component, KeyboardEvents, EmitType, L10n, KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
protected isCustomFiltering: boolean; | ||
protected debounceTimer: ReturnType<typeof setTimeout> | null; | ||
protected virtualListInfo: VirtualInfo; | ||
@@ -609,2 +610,4 @@ protected viewPortInfo: VirtualInfo; | ||
protected getQuery(query: Query): Query; | ||
protected performFiltering(e: KeyboardEventArgs | MouseEvent): void; | ||
protected debouncedFiltering(e: KeyboardEventArgs | MouseEvent, debounceDelay: number): void; | ||
protected updateVirtualizationProperties(itemCount: number, filtering: boolean, isCheckbox?: boolean): void; | ||
@@ -643,2 +646,3 @@ /** | ||
* @param {boolean} isCheckBoxUpdate - Specifies whether the list item is updated with checkbox. | ||
* @param {boolean} isClearAll - Specifies whether the current action is clearAll. | ||
* @returns {HTMLElement} Return the list items. | ||
@@ -648,3 +652,3 @@ */ | ||
[key: string]: Object; | ||
}[], fields: FieldSettingsModel, isCheckBoxUpdate?: boolean): HTMLElement; | ||
}[], fields: FieldSettingsModel, isCheckBoxUpdate?: boolean, isClearAll?: boolean): HTMLElement; | ||
private createVirtualContent; | ||
@@ -651,0 +655,0 @@ private updateListElements; |
@@ -149,2 +149,9 @@ import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append, select, ModuleDeclaration } from '@syncfusion/ej2-base';import { attributes, isNullOrUndefined, getUniqueID, formatUnit, isUndefined, getValue } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, KeyboardEventArgs, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, prepend, detach, classList } from '@syncfusion/ej2-base';import { Popup, isCollide, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { incrementalSearch, resetIncrementalSearchValues } from '../common/incremental-search';import { DropDownBase, dropDownBaseClasses, SelectEventArgs, FilteringEventArgs, PopupEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, ResultData, BeforeOpenEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { DataManager, Query, Predicate, DataOptions } from '@syncfusion/ej2-data';import {Offsets, SentinelType} from '../common/virtual-scroll'; | ||
/** | ||
* Specifies the delay time in milliseconds for filtering operations. | ||
* | ||
* @default 300 | ||
*/ | ||
debounceDelay?: number; | ||
/** | ||
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices. | ||
@@ -151,0 +158,0 @@ * |
@@ -252,2 +252,8 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" /> | ||
/** | ||
* Specifies the delay time in milliseconds for filtering operations. | ||
* | ||
* @default 300 | ||
*/ | ||
debounceDelay: number; | ||
/** | ||
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices. | ||
@@ -553,2 +559,3 @@ * | ||
}; | ||
protected performFiltering(e: KeyboardEventArgs | MouseEvent): void; | ||
protected searchLists(e: KeyboardEventArgs | MouseEvent): void; | ||
@@ -555,0 +562,0 @@ /** |
@@ -781,2 +781,3 @@ import { FloatLabelType } from '@syncfusion/ej2-inputs'; | ||
private unWireEvents; | ||
private handleIosTouch; | ||
private dropDownClick; | ||
@@ -783,0 +784,0 @@ private mouseIn; |
@@ -120,2 +120,9 @@ import { compile, Property, EventHandler, Animation, AnimationModel, KeyboardEventArgs, formatUnit, append, attributes } from '@syncfusion/ej2-base';import { isNullOrUndefined, detach, Event, EmitType, Complex, addClass, removeClass, closest, isUndefined, getValue, NotifyPropertyChanges, Browser } from '@syncfusion/ej2-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { FieldSettings, FilteringEventArgs, FilterType } from '../drop-down-base/drop-down-base';import { DropDownBase, PopupEventArgs, SelectEventArgs, BeforeOpenEventArgs, dropDownBaseClasses } from '../drop-down-base/drop-down-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { Popup, isCollide, createSpinner, showSpinner, hideSpinner, getZindexPartial } from '@syncfusion/ej2-popups';import { highlightSearch, revertHighlightSearch } from '../common/highlight-search'; | ||
/** | ||
* Specifies the delay time in milliseconds for filtering operations. | ||
* | ||
* @default 300 | ||
*/ | ||
debounceDelay?: number; | ||
/** | ||
* Specifies the template for the selected value from the suggestion list. | ||
@@ -122,0 +129,0 @@ * |
@@ -62,2 +62,3 @@ import { KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
private keyEventName; | ||
protected debounceTimer: ReturnType<typeof setTimeout> | null; | ||
/** | ||
@@ -160,2 +161,8 @@ * Defines class/multiple classes separated by a space for the mention component. | ||
/** | ||
* Specifies the delay time in milliseconds for filtering operations. | ||
* | ||
* @default 300 | ||
*/ | ||
debounceDelay: number; | ||
/** | ||
* Specifies the template for the selected value from the suggestion list. | ||
@@ -378,2 +385,3 @@ * | ||
private getCurrentRange; | ||
protected performFiltering(e: KeyboardEventArgs | MouseEvent): void; | ||
private searchLists; | ||
@@ -380,0 +388,0 @@ private filterAction; |
@@ -302,2 +302,9 @@ import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, BeforeOpenEventArgs, FilterType, FieldSettings, ResultData } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { isCollide, Popup, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { attributes, setValue , getValue } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, extend } from '@syncfusion/ej2-base';import { EventHandler, Property, Event, compile, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, prepend, Complex } from '@syncfusion/ej2-base';import { Search } from '../common/incremental-search';import { append, addClass, removeClass, closest, detach, remove, select, selectAll } from '@syncfusion/ej2-base';import { getUniqueID, formatUnit, isNullOrUndefined, isUndefined, ModuleDeclaration } from '@syncfusion/ej2-base';import { DataManager, Query, Predicate, JsonAdaptor, DataOptions } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { createFloatLabel, removeFloating, floatLabelFocus, floatLabelBlur, encodePlaceholder } from './float-label'; | ||
/** | ||
* Specifies the delay time in milliseconds for filtering operations. | ||
* | ||
* @default 300 | ||
*/ | ||
debounceDelay?: number; | ||
/** | ||
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices. | ||
@@ -304,0 +311,0 @@ * |
@@ -77,2 +77,3 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" /> | ||
private isFilteringAction; | ||
private headerTemplateHeight; | ||
/** | ||
@@ -346,2 +347,8 @@ * The `fields` property maps the columns of the data table and binds the data to the component. | ||
/** | ||
* Specifies the delay time in milliseconds for filtering operations. | ||
* | ||
* @default 300 | ||
*/ | ||
debounceDelay: number; | ||
/** | ||
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices. | ||
@@ -668,2 +675,3 @@ * | ||
private isSelectAllLoop; | ||
private initialPopupHeight; | ||
private enableRTL; | ||
@@ -813,2 +821,3 @@ requiredModules(): ModuleDeclaration[]; | ||
private pasteHandler; | ||
protected performFiltering(e: KeyboardEventArgs | MouseEvent): void; | ||
protected search(e: KeyboardEventArgs): void; | ||
@@ -815,0 +824,0 @@ protected preRender(): void; |
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
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
22671863
0.41%300232
0.16%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated