@syncfusion/ej2-lists
Advanced tools
Comparing version 27.2.5 to 28.1.33
/*! | ||
* filename: index.d.ts | ||
* version : 27.2.5 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
* version : 28.1.33 | ||
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
@@ -6,0 +6,0 @@ * A copy of the current license can be obtained at any time by e-mailing |
{ | ||
"_from": "@syncfusion/ej2-lists@*", | ||
"_id": "@syncfusion/ej2-lists@27.2.3", | ||
"_id": "@syncfusion/ej2-lists@18.23.1", | ||
"_inBundle": false, | ||
"_integrity": "sha512-LqJvsB/kdszq5GBO4gWrXb88GRyBoh/LdeBEiEOLWsln0X0C8B7Uv1fe1G9CdQbKF9lNXV/XIPHx8duEMA78xQ==", | ||
"_integrity": "sha512-DBiPosR1LbAr92bNITpda1Qjy2zoeq8wiwdZ6pJBuWK9BbVsvCXWaAp17XGcCaFksVwjELvaA+vcuIfk8PhDfA==", | ||
"_location": "/@syncfusion/ej2-lists", | ||
@@ -38,6 +38,6 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-27.2.3.tgz", | ||
"_shasum": "8d5c2a1383545dfe7f592d337a8a2459aa345e49", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.23.1.tgz", | ||
"_shasum": "376b81b04f13a8721cfee67164f8243f55b01e80", | ||
"_spec": "@syncfusion/ej2-lists@*", | ||
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included", | ||
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included", | ||
"author": { | ||
@@ -48,6 +48,6 @@ "name": "Syncfusion Inc." | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~27.2.5", | ||
"@syncfusion/ej2-buttons": "~27.2.4", | ||
"@syncfusion/ej2-data": "~27.2.2", | ||
"@syncfusion/ej2-popups": "~27.2.2" | ||
"@syncfusion/ej2-base": "~28.1.33", | ||
"@syncfusion/ej2-buttons": "~28.1.33", | ||
"@syncfusion/ej2-data": "~28.1.33", | ||
"@syncfusion/ej2-popups": "~28.1.33" | ||
}, | ||
@@ -92,5 +92,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "27.2.5", | ||
"version": "28.1.33", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -7,3 +7,3 @@ # ej2-lists | ||
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this control, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/?utm_source=npm&utm_campaign=listview). To acquire a license, you can [purchase](https://www.syncfusion.com/sales/products/?utm_source=npm&utm_campaign=listview) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials/?utm_source=npm&utm_campaign=listview). | ||
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this control, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/?utm_source=npm&utm_campaign=listview). To acquire a license, you can [purchase](https://www.syncfusion.com/sales/products/?utm_source=npm&utm_campaign=listview) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials/?utm_source=npm&utm_campaign=listview). | ||
@@ -62,3 +62,3 @@ > A free [community license](https://www.syncfusion.com/products/communitylicense/?utm_source=npm&utm_campaign=listview) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers. | ||
* Creating incident in Syncfusion [Direct-Trac](https://www.syncfusion.com/support/directtrac/incidents/?utm_source=npm&utm_campaign=listview) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2/?utm_source=npm&utm_campaign=listview). | ||
* Creating incident in Syncfusion<sup>®</sup> [Direct-Trac](https://www.syncfusion.com/support/directtrac/incidents/?utm_source=npm&utm_campaign=listview) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2/?utm_source=npm&utm_campaign=listview). | ||
* New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new/?utm_source=npm&utm_campaign=listview). | ||
@@ -75,2 +75,2 @@ * Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_campaign=listview/?utm_source=npm&utm_campaign=listview) with tag `syncfusion` and `ej2`. | ||
© Copyright 2024 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution. | ||
© Copyright 2024 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution. |
@@ -91,3 +91,2 @@ import { Base, INotifyPropertyChanged } from '@syncfusion/ej2-base'; | ||
private getSortableInstance; | ||
private refreshDisabled; | ||
private getIndex; | ||
@@ -94,0 +93,0 @@ private getSortableElement; |
@@ -89,3 +89,3 @@ var __extends = (this && this.__extends) || (function () { | ||
if (isPlaceHolderPresent) { | ||
remove(newInst.placeHolderElement); | ||
_this.removePlaceHolder(newInst); | ||
} | ||
@@ -102,3 +102,2 @@ newInst.placeHolderElement = placeHolder; | ||
} | ||
_this.refreshDisabled(oldIdx, newIdx, newInst); | ||
} | ||
@@ -112,3 +111,2 @@ else { | ||
newInst.element.insertBefore(_this.target, newInst.element.children[idx]); | ||
_this.refreshDisabled(oldIdx, newIdx, newInst); | ||
_this.curTarget = _this.target; | ||
@@ -122,3 +120,3 @@ _this.trigger('drop', { | ||
else if (_this.curTarget !== _this.target && _this.scope && _this.curTarget !== target && !isNullOrUndefined(newInst.placeHolder)) { | ||
remove(_this.getSortableInstance(_this.curTarget).placeHolderElement); | ||
_this.removePlaceHolder(_this.getSortableInstance(_this.curTarget)); | ||
_this.curTarget = _this.target; | ||
@@ -199,3 +197,3 @@ } | ||
} | ||
remove(dropInst.placeHolderElement); | ||
_this.removePlaceHolder(dropInst); | ||
}); | ||
@@ -319,22 +317,2 @@ } | ||
}; | ||
Sortable.prototype.refreshDisabled = function (oldIdx, newIdx, instance) { | ||
if (instance === this) { | ||
var element = void 0; | ||
var increased = oldIdx < newIdx; | ||
var disabledIdx = void 0; | ||
var start = increased ? oldIdx : newIdx; | ||
var end = increased ? newIdx : oldIdx; | ||
while (start <= end) { | ||
element = this.element.children[start]; | ||
if (element.classList.contains('e-disabled')) { | ||
disabledIdx = this.getIndex(element); | ||
this.element.insertBefore(element, this.element.children[increased ? disabledIdx + 2 : disabledIdx - 1]); | ||
start = increased ? disabledIdx + 2 : disabledIdx + 1; | ||
} | ||
else { | ||
start++; | ||
} | ||
} | ||
} | ||
}; | ||
Sortable.prototype.getIndex = function (target, instance, e) { | ||
@@ -341,0 +319,0 @@ if (instance === void 0) { instance = this; } |
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 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
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
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
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
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
3389988
288
44473
3
0
21
+ Added@syncfusion/ej2-base@28.1.33(transitive)
+ Added@syncfusion/ej2-buttons@28.1.33(transitive)
+ Added@syncfusion/ej2-data@28.1.33(transitive)
+ Added@syncfusion/ej2-icons@28.1.33(transitive)
+ Added@syncfusion/ej2-popups@28.1.33(transitive)
- Removed@syncfusion/ej2-base@27.2.5(transitive)
- Removed@syncfusion/ej2-buttons@27.2.4(transitive)
- Removed@syncfusion/ej2-data@27.2.2(transitive)
- Removed@syncfusion/ej2-icons@27.2.2(transitive)
- Removed@syncfusion/ej2-popups@27.2.2(transitive)