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

@syncfusion/ej2-lists

Package Overview
Dependencies
Maintainers
4
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-lists - npm Package Compare versions

Comparing version 17.2.34 to 17.2.46

2

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

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

{
"_from": "@syncfusion/ej2-lists@*",
"_id": "@syncfusion/ej2-lists@17.2.28",
"_id": "@syncfusion/ej2-lists@17.2.34",
"_inBundle": false,
"_integrity": "sha512-uN6Jf95u1anM7IHnuFOsrcrylfwFuV9QAqKfdS7lfNdcNfHQYVzBYSGVBja0zUaWa43IBlAGsPdZUfjQ3nek+A==",
"_integrity": "sha512-EUQ1CnD4xrGqb403LgmswsWaHbnK4Dj3jkh/XaXE9vhNz3fJgLVgrQOc/3hXNJ3PtMtAZdM2zgyhY2azEW5U/w==",
"_location": "/@syncfusion/ej2-lists",

@@ -36,4 +36,4 @@ "_phantomChildren": {},

],
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-17.2.28.tgz",
"_shasum": "870dd12294edbaece02aeda70401d6f339cb2eee",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-17.2.34.tgz",
"_shasum": "ea952c414bb77ccdc17020f83cef41d8c3255d44",
"_spec": "@syncfusion/ej2-lists@*",

@@ -46,5 +46,5 @@ "_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~17.2.34",
"@syncfusion/ej2-buttons": "~17.2.34",
"@syncfusion/ej2-data": "~17.2.34"
"@syncfusion/ej2-base": "~17.2.46",
"@syncfusion/ej2-buttons": "~17.2.46",
"@syncfusion/ej2-data": "~17.2.46"
},

@@ -88,4 +88,4 @@ "deprecated": false,

},
"version": "17.2.34",
"version": "17.2.46",
"sideEffects": false
}

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

import { Virtualization } from './virtualization';import { merge, formatUnit, isNullOrUndefined, append, detach, ModuleDeclaration } from '@syncfusion/ej2-base';import { attributes, addClass, removeClass, prepend, closest, remove } from '@syncfusion/ej2-base';import { Component, EventHandler, BaseEventArgs, Property, Complex, Event } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';import { KeyboardEventArgs, EmitType, compile } from '@syncfusion/ej2-base';import { Animation, AnimationOptions, Effect, rippleEffect, Touch, SwipeEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { createCheckBox } from '@syncfusion/ej2-buttons';import { ListBase, ListBaseOptions, SortOrder, getFieldValues, FieldsMapping } from '../common/list-base';import { updateBlazorTemplate, resetBlazorTemplate } from '@syncfusion/ej2-base';
import { Virtualization } from './virtualization';import { merge, formatUnit, isNullOrUndefined, append, detach, ModuleDeclaration, isBlazor } from '@syncfusion/ej2-base';import { attributes, addClass, removeClass, prepend, closest, remove } from '@syncfusion/ej2-base';import { Component, EventHandler, BaseEventArgs, Property, Complex, Event } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';import { KeyboardEventArgs, EmitType, compile } from '@syncfusion/ej2-base';import { Animation, AnimationOptions, Effect, rippleEffect, Touch, SwipeEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { createCheckBox } from '@syncfusion/ej2-buttons';import { ListBase, ListBaseOptions, SortOrder, getFieldValues, FieldsMapping } from '../common/list-base';import { updateBlazorTemplate, resetBlazorTemplate } from '@syncfusion/ej2-base';
import {AnimationSettings,checkBoxPosition,SelectEventArgs} from "./list-view";

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

* with the fields of ListView.
*
* @isGenericType true
* {% codeBlock src="listview/datasource-api/index.ts" %}{% endcodeBlock %}

@@ -117,0 +117,0 @@ * @default []

@@ -179,3 +179,3 @@ import { Virtualization } from './virtualization';

* with the fields of ListView.
*
* @isGenericType true
* {% codeBlock src="listview/datasource-api/index.ts" %}{% endcodeBlock %}

@@ -319,2 +319,5 @@ * @default []

constructor(options?: ListViewModel, element?: string | HTMLElement);
/**
* @private
*/
onPropertyChanged(newProp: ListViewModel, oldProp: ListViewModel): void;

@@ -424,7 +427,11 @@ private setHTMLAttribute;

* item details from the list items.
* @blazorType ListSelectedItem<TValue>
*/
getSelectedItems(): SelectedItem | SelectedCollection | UISelectedItem | NestedListData;
private blazorGetSelectedItems;
private convertItemsToArray;
/**
* It is used to find out an item details from the current list.
* @param {Fields | HTMLElement | Element} obj - We can pass element Object or Fields as Object with ID and Text fields.
* @blazorType TValue
*/

@@ -514,2 +521,24 @@ findItem(obj: Fields | HTMLElement | Element): SelectedItem;

}
export interface ListSelectedItem {
/**
* Selected Item dataSource collection.
* @isGenericType true
* @blazorType List<T>
*/
data?: object[];
/**
* Selected Item text collection.
*/
text?: string[];
/**
* Index of the selected element.
* Available only in virtualization.
*/
index?: number[];
/**
* Hierarchical Parent Id collection of the current view.
* Available only in nested list with Checkbox enabled.
*/
parentId?: string[];
}
export interface SelectedItem {

@@ -526,2 +555,3 @@ /**

* It denotes the Selected Item dataSource JSON object.
* @isGenericType true
*/

@@ -543,2 +573,3 @@ data: {

* It denotes the Selected Item dataSource JSON object or object collection.
* @isGenericType true
*/

@@ -562,2 +593,3 @@ data: {

* It denotes the Selected Item dataSource JSON object or object collection.
* @isGenericType true
*/

@@ -581,2 +613,3 @@ data: {

* It denotes the Selected Item dataSource JSON object or object collection.
* @isGenericType true
*/

@@ -583,0 +616,0 @@ data: {

import { classNames } from './list-view';
import { EventHandler, append, isNullOrUndefined, detach, removeClass, addClass, compile } from '@syncfusion/ej2-base';
import { ListBase } from '../common/list-base';
import { DataManager } from '@syncfusion/ej2-data';
var Virtualization = /** @class */ (function () {

@@ -331,2 +332,4 @@ function Virtualization(instance) {

});
var dataSource_1 = this.listViewInstance.dataSource instanceof DataManager
? curViewDS_2 : this.listViewInstance.dataSource;
return {

@@ -336,3 +339,3 @@ text: textCollection_1,

index: this.uiIndices.activeIndices.map(function (index) {
return (_this.listViewInstance.dataSource).indexOf(curViewDS_2[index]);
return dataSource_1.indexOf(curViewDS_2[index]);
})

@@ -342,6 +345,8 @@ };

else {
var dataSource = this.listViewInstance.dataSource instanceof DataManager
? curViewDS_2 : this.listViewInstance.dataSource;
return {
text: curViewDS_2[this.activeIndex][this.listViewInstance.fields.text],
data: curViewDS_2[this.activeIndex],
index: this.listViewInstance.dataSource.indexOf(curViewDS_2[this.activeIndex])
index: dataSource.indexOf(curViewDS_2[this.activeIndex])
};

@@ -692,2 +697,3 @@ }

template.innerHTML = this.listViewInstance.template || commonTemplate;
// tslint:disable-next-line:no-any
var templateElements = template.getElementsByTagName('*');

@@ -698,2 +704,3 @@ var groupTemplate = this.listViewInstance.createElement('div');

}
// tslint:disable-next-line:no-any
var groupTemplateElements = groupTemplate.getElementsByTagName('*');

@@ -922,7 +929,6 @@ if (args.curData.isHeader) {

this.listViewInstance.preRender();
this.listViewInstance.localData = this.listViewInstance.dataSource;
// resetting the dom count to 0, to avoid edge case of dataSource suddenly becoming zero
// and then manually adding item using addItem API
this.domItemCount = 0;
this.listViewInstance.renderList();
this.listViewInstance.setLocalData();
};

@@ -929,0 +935,0 @@ Virtualization.prototype.updateUI = function (element, index, targetElement) {

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

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