Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-lists

Package Overview
Dependencies
5
Maintainers
3
Versions
161
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 24.2.8 to 25.1.35-579988

styles/list-view/_bds-definition.scss

20

CHANGELOG.md

@@ -7,13 +7,15 @@ # Changelog

- `#I553202` - Included a new method `unselectItem` for deselecting the items instead of using `selectItem` method with empty arguments.
#### Bug Fixes
## 24.2.4 (2024-02-06)
- `#FB52724` - The issue with space bar toggle in Switch is not working within ListView component has been resolved.
### ListView
## 25.1.39 (2024-04-09)
### ListBox
#### Bug Fixes
- `#I549283` - The list item checkbox removal instead of disabling in the ListView component has been resolved.
- Issue with "Script error thrown in list box while dragging hover on `svg` element" has been resolved.
## 24.1.46 (2024-01-17)
## 25.1.35 (2024-03-15)

@@ -28,10 +30,2 @@ ### ListBox

#### Bug fixes
- `#I531520` - The ListView component's title not decoded properly same as in node text has been resolved.
## 24.1.41 (2023-12-18)
### ListView
#### Breaking Changes

@@ -38,0 +32,0 @@

/*!
* filename: index.d.ts
* version : 24.2.8
* 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-lists@*",
"_id": "@syncfusion/ej2-lists@24.2.4",
"_id": "@syncfusion/ej2-lists@25.1.39",
"_inBundle": false,
"_integrity": "sha512-RCMbuzBfpZPE89dDS+11qs6n4T3K7zlW1zNkiIoRDlaFTBKpr9SPODmmLYauCkSvj6SYrGvWDoZGH0GPJSjuqA==",
"_integrity": "sha512-I1Q257ceQxqo7UHcrv3r9XGCW+Xomxh1QHOCu0V0g6oou48Ieph0Sbc0ScgtgXu7TYpKqIv0cc1EJYXvex0EUQ==",
"_location": "/@syncfusion/ej2-lists",

@@ -38,6 +38,6 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-24.2.4.tgz",
"_shasum": "6111ea6805342dacadab51c6ed0c6cf575cf351d",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-25.1.39.tgz",
"_shasum": "80283ddecbd264a24b1363f8d40ca30501095616",
"_spec": "@syncfusion/ej2-lists@*",
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
"author": {

@@ -48,6 +48,6 @@ "name": "Syncfusion Inc."

"dependencies": {
"@syncfusion/ej2-base": "~24.2.7",
"@syncfusion/ej2-buttons": "~24.2.7",
"@syncfusion/ej2-data": "~24.2.3",
"@syncfusion/ej2-popups": "~24.2.8"
"@syncfusion/ej2-base": "25.1.35-579988",
"@syncfusion/ej2-buttons": "25.1.35-579988",
"@syncfusion/ej2-data": "~25.1.35",
"@syncfusion/ej2-popups": "25.1.35-579988"
},

@@ -92,5 +92,5 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "24.2.8",
"version": "25.1.35-579988",
"sideEffects": false,
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
}

@@ -304,3 +304,3 @@ /* eslint-disable no-inner-declarations */

// Check if 'class' attribute is present and not an empty string
if (htmlAttributes.hasOwnProperty('class') && typeof htmlAttributes['class'] === 'string' && htmlAttributes['class'].trim() === '') {
if ('class' in htmlAttributes && typeof htmlAttributes['class'] === 'string' && htmlAttributes['class'].trim() === '') {
delete htmlAttributes['class'];

@@ -307,0 +307,0 @@ }

@@ -221,8 +221,8 @@ import { Virtualization } from './virtualization';import { merge, formatUnit, isNullOrUndefined, append, detach, ModuleDeclaration, extend } 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, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Animation, AnimationOptions, Effect, rippleEffect, Touch, SwipeEventArgs, animationMode } 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';

/**
* Specifies whether HTML content should be sanitized or escaped.
* When set to `true`, any HTML content will be sanitized to remove potentially harmful elements.
* Specifies whether to display or remove the untrusted HTML values in the ListView component.
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
*
* {% codeBlock src='listview/enableHtmlSanitizer/index.md' %}{% endcodeBlock %}
*
* @default false
* @default true
*/

@@ -319,8 +319,8 @@ enableHtmlSanitizer?: boolean;

/**
* Triggers when scrollbar of the ListView component reaches to the top or bottom.
*
* @event 'object'
*/
* Triggers when scrollbar of the ListView component reaches to the top or bottom.
*
* @event 'object'
*/
scroll?: EmitType<ScrolledEventArgs>;
}

@@ -302,8 +302,8 @@ import { Virtualization } from './virtualization';

/**
* Specifies whether HTML content should be sanitized or escaped.
* When set to `true`, any HTML content will be sanitized to remove potentially harmful elements.
* Specifies whether to display or remove the untrusted HTML values in the ListView component.
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
*
* {% codeBlock src='listview/enableHtmlSanitizer/index.md' %}{% endcodeBlock %}
*
* @default false
* @default true
*/

@@ -389,6 +389,6 @@ enableHtmlSanitizer: boolean;

/**
* Triggers when scrollbar of the ListView component reaches to the top or bottom.
*
* @event 'object'
*/
* Triggers when scrollbar of the ListView component reaches to the top or bottom.
*
* @event 'object'
*/
scroll: EmitType<ScrolledEventArgs>;

@@ -450,3 +450,3 @@ /**

refreshItemHeight(): void;
targetElement: any;
targetElement: Element;
private clickHandler;

@@ -453,0 +453,0 @@ private removeElement;

@@ -87,2 +87,3 @@ import { ListView, ItemCreatedArgs, Fields, UISelectedItem } from './list-view';

* @param {Virtualization} virtualThis - The virtualization context for the list view.
* @returns {void}
*/

@@ -89,0 +90,0 @@ private onChange;

@@ -261,5 +261,6 @@ import { classNames } from './list-view';

var textContent = element.querySelector('.' + classNames.textContent);
var curViewDS = this.listViewInstance.curViewDS[index];
var iconCss = curViewDS[this.listViewInstance.fields.iconCss].toString();
var target = this.listViewInstance.createElement('div', {
className: classNames.listIcon + ' ' +
this.listViewInstance.curViewDS[index][this.listViewInstance.fields.iconCss]
className: classNames.listIcon + ' ' + iconCss
});

@@ -781,3 +782,5 @@ textContent.insertBefore(target, element.querySelector('.' + classNames.listItemText));

}
if (this.listViewInstance.fields.groupBy && this.listViewInstance.curViewDS[index + 1] && this.listViewInstance.curViewDS[index + 1].isHeader) {
if (this.listViewInstance.fields.groupBy
&& this.listViewInstance.curViewDS[index + 1]
&& this.listViewInstance.curViewDS[index + 1].isHeader) {
var targetEle = this.listViewInstance.getLiFromObjOrElement(this.listViewInstance.curViewDS[index - 1]);

@@ -879,2 +882,3 @@ if (targetEle) {

* @param {Virtualization} virtualThis - The virtualization context for the list view.
* @returns {void}
*/

@@ -881,0 +885,0 @@ Virtualization.prototype.onChange = function (newData, listElement, virtualThis) {

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

var target = _this.getSortableElement(e.target, newInst);
if ((_this.isValidTarget(target, newInst) || e.target.className.indexOf('e-list-group-item') > -1) && (_this.curTarget !== target ||
if ((_this.isValidTarget(target, newInst) || (e.target && typeof e.target.className === 'string' && e.target.className.indexOf('e-list-group-item') > -1)) && (_this.curTarget !== target ||
!isNullOrUndefined(newInst.placeHolder)) && (newInst.placeHolderElement ? newInst.placeHolderElement !== e.target : true)) {

@@ -94,3 +94,3 @@ if (e.target.classList.contains('e-list-group-item')) {

newInst.placeHolderElement = placeHolder;
if (e.target.className.indexOf('e-list-group-item') > -1) {
if (e.target && typeof e.target.className === 'string' && e.target.className.indexOf('e-list-group-item') > -1) {
newInst.element.insertBefore(newInst.placeHolderElement, newInst.element.children[newIdx]);

@@ -213,3 +213,3 @@ }

_this.trigger('beforeDrop', beforeDropArgs, function (observedArgs) {
if ((dropInst.element === e.target || e.target.className.indexOf('e-list-nrt') > -1 || e.target.className.indexOf('e-list-nr-template') > -1
if ((dropInst.element === e.target || (typeof e.target.className === 'string' && e.target.className.indexOf('e-list-nrt') > -1) || (typeof e.target.className === 'string' && e.target.className.indexOf('e-list-nr-template') > -1)
|| e.target.closest('.e-list-nr-template')) && !observedArgs.cancel) {

@@ -216,0 +216,0 @@ _this.updateItemClass(dropInst);

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc