New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-dropdowns

Package Overview
Dependencies
Maintainers
3
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-dropdowns - npm Package Compare versions

Comparing version 17.1.40 to 17.1.41

28

CHANGELOG.md

@@ -5,2 +5,28 @@ # Changelog

### MultiSelect
#### Bug Fixes
- #232673 - Issue with browser freeze when clear value using clear button has been fixed.
- #231997 - Issue with duplicate placeholder on multiselect issue has been fixed.
- #232218 - The popup open downward when select the items after scroll the page issue has been resolved.
- #231920 - The Custom value with pre select value not updated when set empty data source issue has been resolved.
### DropDownList
#### Bug Fixes
- #142944 - Item template not loaded, when change the datasource dynamically issue has been resolved.
### ComboBox
#### Bug Fixes
- #225254, #227938 - Template interpolated data not updated while filtering issue has been resolved.
## 17.1.40 (2019-04-09)
### ListBox

@@ -52,2 +78,4 @@

- F143612 - Dropdown icon disappeared when set the lengthy placeholder issue has been fixed.
## 17.1.32-beta (2019-03-13)

@@ -54,0 +82,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 17.1.40
* version : 17.1.41
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"name": "@syncfusion/ej2-dropdowns",
"version": "17.1.40",
"version": "17.1.41",
"description": "Essential JS 2 DropDown Components",

@@ -12,4 +12,4 @@ "author": "Syncfusion Inc.",

"@syncfusion/ej2-base": "~17.1.38",
"@syncfusion/ej2-data": "~17.1.38",
"@syncfusion/ej2-inputs": "~17.1.40",
"@syncfusion/ej2-data": "~17.1.41",
"@syncfusion/ej2-inputs": "~17.1.41",
"@syncfusion/ej2-lists": "~17.1.40",

@@ -16,0 +16,0 @@ "@syncfusion/ej2-popups": "~17.1.40"

@@ -5,3 +5,3 @@ # ej2-dropdowns

![](ReadMe_Images/gif.gif)
![Dropdowns](https://ej2.syncfusion.com/products/images/dropdowns/readme.gif)

@@ -8,0 +8,0 @@ >Note: This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).

@@ -839,2 +839,3 @@ var __extends = (this && this.__extends) || (function () {

this.list.innerHTML = '';
this.list.classList.remove(dropDownBaseClasses.noData);
this.list.appendChild(this.ulElement);

@@ -841,0 +842,0 @@ append(liCollections, this.ulElement);

@@ -439,2 +439,3 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" />

protected refreshPopup(): void;
private checkDatasource;
protected updateDataSource(props?: DropDownListModel): void;

@@ -441,0 +442,0 @@ protected checkCustomValue(): void;

@@ -72,3 +72,3 @@ import { DropDownBase, dropDownBaseClasses, SelectEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { EventHandler, closest, removeClass, addClass, Complex, Property, ChildProperty, BaseEventArgs, L10n } from '@syncfusion/ej2-base';import { ModuleDeclaration, NotifyPropertyChanges, getComponent, EmitType, Event, extend, detach, attributes } from '@syncfusion/ej2-base';import { getUniqueID, Browser, formatUnit } from '@syncfusion/ej2-base';import { cssClass, Sortable, moveTo } from '@syncfusion/ej2-lists';import { Button } from '@syncfusion/ej2-buttons';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';

*/
value?: string[];
value?: string[] | number[] | boolean[];

@@ -75,0 +75,0 @@ /**

@@ -87,3 +87,3 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" />

*/
value: string[];
value: string[] | number[] | boolean[];
/**

@@ -90,0 +90,0 @@ * Sets the height of the ListBox component.

@@ -283,3 +283,4 @@ var __extends = (this && this.__extends) || (function () {

var listData;
var dropValue = args.droppedElement.getAttribute('data-value');
var selectedOptions;
var dropValue = this.getFormattedValue(args.droppedElement.getAttribute('data-value'));
var droppedData = this.getDataByValue(dropValue);

@@ -293,3 +294,3 @@ var listObj = this.getComponent(args.droppedElement);

var ul_1 = this.ulElement;
var selectedOptions = this.value.indexOf(dropValue) > -1 ? this.value : [dropValue];
selectedOptions = Array.prototype.indexOf.call(this.value, dropValue) > -1 ? this.value : [dropValue];
listData = [].slice.call(this.listData);

@@ -320,3 +321,3 @@ var fromIdx_1 = args.previousIndex;

listData = [].slice.call(listObj.listData);
var selectedOptions = this.value.indexOf(dropValue) > -1 ? this.value : [dropValue];
selectedOptions = Array.prototype.indexOf.call(this.value, dropValue) > -1 ? this.value : [dropValue];
selectedOptions.forEach(function (value) {

@@ -791,6 +792,7 @@ droppedData = _this.getDataByValue(value);

ListBox.prototype.updateSelectedOptions = function () {
var _this = this;
var selectedOptions = [];
this.getSelectedItems().forEach(function (ele) {
if (!ele.classList.contains('e-grabbed')) {
selectedOptions.push(ele.getAttribute('data-value'));
selectedOptions.push(_this.getFormattedValue(ele.getAttribute('data-value')));
}

@@ -827,3 +829,3 @@ });

ele.innerHTML = '';
this.value.forEach(function (value) {
Array.prototype.forEach.call(this.value, function (value) {
ele.innerHTML += '<option selected value="' + value + '"></option>';

@@ -830,0 +832,0 @@ });

@@ -33,5 +33,3 @@ /**

}
if (!isNullOrUndefined(placeholder) && placeholder !== '') {
floatLabelElement.innerHTML = placeholder;
}
floatLabelElement.innerHTML = placeholder;
searchWrapper.appendChild(floatLinelement);

@@ -38,0 +36,0 @@ searchWrapper.appendChild(floatLabelElement);

@@ -72,3 +72,3 @@ import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';import { ResultData, FocusEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { Popup, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { attributes, setValue } 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 } from '@syncfusion/ej2-base';import { MultiSelectModel } from '../multi-select';import { Search } from '../common/incremental-search';import { append, addClass, removeClass, setStyleAttribute, closest, detach, remove, select } from '@syncfusion/ej2-base';import { getUniqueID, formatUnit, isNullOrUndefined, isUndefined, ModuleDeclaration } from '@syncfusion/ej2-base';import { DataManager, Query, Predicate } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { CheckBoxSelection } from './checkbox-selection';import { createFloatLabel, removeFloating, floatLabelFocus, floatLabelBlur } from './float-label';import { IMulitSelect } from './interface';

* For more details about the available template options refer to
* [`Template`](../../multi-select/templates.html) documentation.
* [`Template`](../../multi-select/templates) documentation.
*

@@ -75,0 +75,0 @@ * We have built-in `template engine`

@@ -102,3 +102,3 @@ /// <reference path="../drop-down-base/drop-down-base-model.d.ts" />

* For more details about the available template options refer to
* [`Template`](../../multi-select/templates.html) documentation.
* [`Template`](../../multi-select/templates) documentation.
*

@@ -412,2 +412,3 @@ * We have built-in `template engine`

private checkPlaceholderSize;
private setPlaceholderSize;
private refreshInputHight;

@@ -482,3 +483,7 @@ private validateValues;

private initialTextUpdate;
protected renderList(isEmptyData?: boolean): void;
private initialValueUpdate;
protected updateActionCompleteData(li: HTMLElement, item: {
[key: string]: Object;
}): void;
protected isValidLI(li: Element | HTMLElement): boolean;

@@ -485,0 +490,0 @@ protected updateListSelection(li: Element, e: MouseEvent | KeyboardEventArgs, length?: number): void;

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc