@syncfusion/ej2-lists
Advanced tools
Comparing version 24.2.8 to 25.1.35
@@ -5,16 +5,2 @@ # Changelog | ||
### ListView | ||
- `#I553202` - Included a new method `unselectItem` for deselecting the items instead of using `selectItem` method with empty arguments. | ||
## 24.2.4 (2024-02-06) | ||
### ListView | ||
#### Bug Fixes | ||
- `#I549283` - The list item checkbox removal instead of disabling in the ListView component has been resolved. | ||
## 24.1.46 (2024-01-17) | ||
### ListBox | ||
@@ -28,10 +14,2 @@ | ||
#### 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 +16,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 24.2.8 | ||
* version : 25.1.35 | ||
* 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@18.23.1", | ||
"_inBundle": false, | ||
"_integrity": "sha512-RCMbuzBfpZPE89dDS+11qs6n4T3K7zlW1zNkiIoRDlaFTBKpr9SPODmmLYauCkSvj6SYrGvWDoZGH0GPJSjuqA==", | ||
"_integrity": "sha512-i7KeGMBg94fg0nlBK0EtJyY9JwS0NBWPdthKKh84O+7hmeSSAKXe4cj08UXt7/Ro1+DjmjSuxm2hOlsnwg5WtQ==", | ||
"_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-release/@syncfusion/ej2-lists/-/ej2-lists-18.23.1.tgz", | ||
"_shasum": "fbb8a8994add5fc4146b0902b2185bdef7aa713e", | ||
"_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", | ||
"@syncfusion/ej2-buttons": "~25.1.35", | ||
"@syncfusion/ej2-data": "~25.1.35", | ||
"@syncfusion/ej2-popups": "~25.1.35" | ||
}, | ||
@@ -92,5 +92,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "24.2.8", | ||
"version": "25.1.35", | ||
"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)) { | ||
@@ -212,3 +212,3 @@ if (e.target.classList.contains('e-list-group-item')) { | ||
_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) { | ||
@@ -215,0 +215,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2924786
213
32595
+ Added@syncfusion/ej2-base@25.1.35(transitive)
+ Added@syncfusion/ej2-buttons@25.1.39(transitive)
+ Added@syncfusion/ej2-data@25.1.35(transitive)
+ Added@syncfusion/ej2-icons@25.1.35(transitive)
+ Added@syncfusion/ej2-popups@25.1.42(transitive)
- Removed@syncfusion/ej2-base@24.2.8(transitive)
- Removed@syncfusion/ej2-buttons@24.2.7(transitive)
- Removed@syncfusion/ej2-data@24.2.3(transitive)
- Removed@syncfusion/ej2-icons@24.2.3(transitive)
- Removed@syncfusion/ej2-popups@24.2.10(transitive)