Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-dropdowns

Package Overview
Dependencies
Maintainers
2
Versions
342
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 1.0.19 to 1.0.21

2

dist/es6/drop-down-base/drop-down-base.js

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

import { DataManager, Query } from '@syncfusion/ej2-data';
import { ListBase, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists/src/common';
import { ListBase, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists';
export var dropDownBaseClasses = {

@@ -24,0 +24,0 @@ root: 'e-dropdownbase',

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

@@ -9,5 +9,5 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "^1.0.19",
"@syncfusion/ej2-base": "^1.0.21",
"@syncfusion/ej2-data": "^1.0.19",
"@syncfusion/ej2-inputs": "^1.0.19",
"@syncfusion/ej2-inputs": "^1.0.21",
"@syncfusion/ej2-lists": "^1.0.19",

@@ -14,0 +14,0 @@ "@syncfusion/ej2-popups": "^1.0.17"

import{AutoComplete} from "./auto-complete";
import { DataManager, Query } from '@syncfusion/ej2-data';
import { FloatLabelType, Input } from '@syncfusion/ej2-inputs';
import { SortOrder } from '@syncfusion/ej2-lists/src/common';
import { SortOrder } from '@syncfusion/ej2-lists';
import{ FilterType} from "./auto-complete";

@@ -6,0 +6,0 @@

@@ -1,2 +0,2 @@

import { Property, EventHandler, KeyboardEventArgs, isNullOrUndefined, detach, Event, EmitType } from '@syncfusion/ej2-base';import { removeClass, attributes, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { dropDownListClasses, FilteringEventArgs } from '../drop-down-list/drop-down-list';import { ComboBox } from '../combo-box/combo-box';import { highlightSearch } from '../common/highlight-search';import { Search } from '../common/incremental-search';import { FieldSettings } from '../drop-down-base/drop-down-base';import { FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { SortOrder } from '@syncfusion/ej2-lists/src/common';import { DataManager, Query } from '@syncfusion/ej2-data';
import { Property, EventHandler, KeyboardEventArgs, isNullOrUndefined, detach, Event, EmitType } from '@syncfusion/ej2-base';import { removeClass, attributes, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { dropDownListClasses, FilteringEventArgs } from '../drop-down-list/drop-down-list';import { ComboBox } from '../combo-box/combo-box';import { highlightSearch } from '../common/highlight-search';import { Search } from '../common/incremental-search';import { FieldSettings } from '../drop-down-base/drop-down-base';import { FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { SortOrder } from '@syncfusion/ej2-lists';import { DataManager, Query } from '@syncfusion/ej2-data';
import {FilterType,FilteringArgs} from "./auto-complete";

@@ -3,0 +3,0 @@ import {ComboBoxModel} from "../combo-box/combo-box-model";

import{ComboBox} from "./combo-box";
import { DataManager, Query } from '@syncfusion/ej2-data';
import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';
import { SortOrder } from '@syncfusion/ej2-lists/src/common';
import { SortOrder } from '@syncfusion/ej2-lists';

@@ -6,0 +6,0 @@ export interface ComboBoxHelper {

@@ -1,2 +0,2 @@

import { EventHandler, Property, Event, EmitType, addClass, Browser, KeyboardEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { DropDownList, dropDownListClasses, FilteringEventArgs } from '../drop-down-list/drop-down-list';import { FieldSettings } from '../drop-down-base/drop-down-base';import { Search } from '../common/incremental-search';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { SortOrder } from '@syncfusion/ej2-lists/src/common';import { DataManager, Query } from '@syncfusion/ej2-data';
import { EventHandler, Property, Event, EmitType, addClass, Browser, KeyboardEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { DropDownList, dropDownListClasses, FilteringEventArgs } from '../drop-down-list/drop-down-list';import { FieldSettings } from '../drop-down-base/drop-down-base';import { Search } from '../common/incremental-search';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { SortOrder } from '@syncfusion/ej2-lists';import { DataManager, Query } from '@syncfusion/ej2-data';
import {CustomValueSpecifierEventArgs} from "./combo-box";

@@ -3,0 +3,0 @@ import {DropDownListModel} from "../drop-down-list/drop-down-list-model";

@@ -1,2 +0,2 @@

import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile } from '@syncfusion/ej2-base';import { setStyleAttribute, removeClass, createElement, prepend, isNullOrUndefined, detach } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, rippleEffect, RippleOptions } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { ListBase, SortOrder, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists/src/common';
import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile } from '@syncfusion/ej2-base';import { setStyleAttribute, removeClass, createElement, prepend, isNullOrUndefined, detach } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, rippleEffect, RippleOptions } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { ListBase, SortOrder, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists';
import {FieldSettings,SelectEventArgs} from "./drop-down-base";

@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base';

import { Component, KeyboardEvents, EmitType, L10n } from '@syncfusion/ej2-base';
import { INotifyPropertyChanged } from '@syncfusion/ej2-base';
import { DataManager, Query } from '@syncfusion/ej2-data';
import { SortOrder } from '@syncfusion/ej2-lists/src/common';
import { SortOrder } from '@syncfusion/ej2-lists';
import { DropDownBaseModel } from './drop-down-base-model';

@@ -6,0 +6,0 @@ export interface FieldSettings {

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

};
define(["require", "exports", "@syncfusion/ej2-base", "@syncfusion/ej2-base", "@syncfusion/ej2-base", "@syncfusion/ej2-data", "@syncfusion/ej2-lists/src/common"], function (require, exports, ej2_base_1, ej2_base_2, ej2_base_3, ej2_data_1, common_1) {
define(["require", "exports", "@syncfusion/ej2-base", "@syncfusion/ej2-base", "@syncfusion/ej2-base", "@syncfusion/ej2-data", "@syncfusion/ej2-lists"], function (require, exports, ej2_base_1, ej2_base_2, ej2_base_3, ej2_data_1, ej2_lists_1) {
"use strict";

@@ -30,5 +30,5 @@ Object.defineProperty(exports, "__esModule", { value: true });

focus: 'e-item-focus',
li: common_1.cssClass.li,
group: common_1.cssClass.group,
disabled: common_1.cssClass.disabled,
li: ej2_lists_1.cssClass.li,
group: ej2_lists_1.cssClass.group,
disabled: ej2_lists_1.cssClass.disabled,
grouping: 'e-dd-group'

@@ -117,3 +117,3 @@ };

if (this.element.tagName === 'UL') {
var jsonElement = common_1.ListBase.createJsonFromElement(this.element);
var jsonElement = ej2_lists_1.ListBase.createJsonFromElement(this.element);
this.setProperties({ fields: { text: 'text', value: 'text' } }, true);

@@ -245,3 +245,3 @@ this.resetList(jsonElement, this.fields);

var headerItems = listEle.querySelectorAll('.' + exports.dropDownBaseClasses.group);
var tempHeaders = common_1.ListBase.renderGroupTemplate(this.groupTemplate, dataSource, this.fields, headerItems);
var tempHeaders = ej2_lists_1.ListBase.renderGroupTemplate(this.groupTemplate, dataSource, this.fields, headerItems);
}

@@ -252,3 +252,3 @@ };

if (fields.groupBy) {
dataSource = common_1.ListBase.groupDataSource(dataSource, fields);
dataSource = ej2_lists_1.ListBase.groupDataSource(dataSource, fields);
}

@@ -264,3 +264,3 @@ ej2_base_1.addClass([this.list], exports.dropDownBaseClasses.grouping);

} : { fields: { value: 'text' } };
return common_1.ListBase.createList(dataSource, options, true);
return ej2_lists_1.ListBase.createList(dataSource, options, true);
};

@@ -301,3 +301,3 @@ ;

if (dataSource && fields.groupBy) {
dataSource = common_1.ListBase.groupDataSource(dataSource, fields, this.sortOrder);
dataSource = ej2_lists_1.ListBase.groupDataSource(dataSource, fields, this.sortOrder);
}

@@ -307,3 +307,3 @@ else {

}
ulElement = common_1.ListBase.renderContentTemplate(this.itemTemplate, dataSource, fields);
ulElement = ej2_lists_1.ListBase.renderContentTemplate(this.itemTemplate, dataSource, fields);
}

@@ -327,3 +327,3 @@ else {

var textField = this.fields.text ? this.fields.text : 'text';
dataSource = common_1.ListBase.getDataSource(dataSource, common_1.ListBase.addSorting(this.sortOrder, textField));
dataSource = ej2_lists_1.ListBase.getDataSource(dataSource, ej2_lists_1.ListBase.addSorting(this.sortOrder, textField));
}

@@ -330,0 +330,0 @@ return dataSource;

import{DropDownList} from "./drop-down-list";
import { DataManager, Query } from '@syncfusion/ej2-data';
import { IInput, Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';
import { SortOrder } from '@syncfusion/ej2-lists/src/common';
import { SortOrder } from '@syncfusion/ej2-lists';

@@ -6,0 +6,0 @@ export interface DropDownListHelper {

@@ -1,2 +0,2 @@

import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, createElement, append } from '@syncfusion/ej2-base';import { attributes, isNullOrUndefined, getUniqueID, formatUnit, isUndefined } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, KeyboardEventArgs, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { addClass, removeClass, setStyleAttribute, closest, prepend, detach, classList } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups/src/popup';import { IInput, Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { incrementalSearch } from '../common/incremental-search';import { DropDownBase, dropDownBaseClasses, SelectEventArgs, FieldSettings } from '../drop-down-base/drop-down-base';import { DropDownListModel } from '../drop-down-list';import { DataManager, Query } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists/src/common';
import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, createElement, append } from '@syncfusion/ej2-base';import { attributes, isNullOrUndefined, getUniqueID, formatUnit, isUndefined } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, KeyboardEventArgs, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { addClass, removeClass, setStyleAttribute, closest, prepend, detach, classList } from '@syncfusion/ej2-base';import { Popup, isCollide } from '@syncfusion/ej2-popups';import { IInput, Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { incrementalSearch } from '../common/incremental-search';import { DropDownBase, dropDownBaseClasses, SelectEventArgs, FieldSettings } from '../drop-down-base/drop-down-base';import { DropDownListModel } from '../drop-down-list';import { DataManager, Query } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';
import {FilteringEventArgs,ChangeEventArgs,PopupEventArgs} from "./drop-down-list";

@@ -3,0 +3,0 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";

/// <reference path="../drop-down-base/drop-down-base-model.d.ts" />
import { EmitType } from '@syncfusion/ej2-base';
import { KeyboardEventArgs } from '@syncfusion/ej2-base';
import { Popup } from '@syncfusion/ej2-popups/src/popup';
import { Popup } from '@syncfusion/ej2-popups';
import { IInput, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';

@@ -10,2 +10,6 @@ import { DropDownBase, SelectEventArgs, FieldSettings } from '../drop-down-base/drop-down-base';

export interface ChangeEventArgs extends SelectEventArgs {
/**
* Returns the selected value
*/
value: number | string;
}

@@ -261,2 +265,3 @@ export declare const dropDownListClasses: DropDownListClassList;

protected clear(): void;
private resetSelection();
private setHTMLAttributes();

@@ -320,2 +325,3 @@ protected getAriaAttributes(): {

protected setSelection(li: Element, e: MouseEvent | KeyboardEventArgs | TouchEvent): void;
private setValueTemplate();
protected removeSelection(): void;

@@ -352,2 +358,3 @@ protected getItemData(): {

protected renderPopup(): void;
private checkCollision(popupEle);
private getOffsetValue(popupEle);

@@ -360,3 +367,3 @@ private createPopup(element, offsetValue, left);

private setSearchBoxPosition();
private setPopupPosition(margin?, border?);
private setPopupPosition(border?);
private setWidth();

@@ -363,0 +370,0 @@ private scrollBottom(isInitial?);

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 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

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

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