@syncfusion/ej2-lists 28.1.33 → 28.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-lists.min.js +2 -2
- package/dist/ej2-lists.umd.min.js +2 -2
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +2 -1
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +2 -1
- package/dist/es6/ej2-lists.es5.js.map +1 -1
- package/dist/global/ej2-lists.min.js +2 -2
- package/dist/global/ej2-lists.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -8
- package/src/sortable/sortable.js +2 -1
- package/styles/list-view/tailwind3.css +1 -1
- package/styles/tailwind3-lite.css +1 -1
- package/styles/tailwind3.css +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.1.
|
|
3
|
+
* version : 28.1.37
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-lists@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-lists@
|
|
3
|
+
"_id": "@syncfusion/ej2-lists@28.1.33",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-jsTPB1Muo45jK17PcD4qBOhpNkmS55tD4cmLvQ7Cv2dBC2Qk4JeOnQEMksFjuLh1fC8nOsfYjy/39bHjC/Hf4A==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2",
|
|
22
21
|
"/@syncfusion/ej2-angular-lists",
|
|
23
22
|
"/@syncfusion/ej2-calendars",
|
|
24
23
|
"/@syncfusion/ej2-diagrams",
|
|
@@ -31,12 +30,11 @@
|
|
|
31
30
|
"/@syncfusion/ej2-pdfviewer",
|
|
32
31
|
"/@syncfusion/ej2-pivotview",
|
|
33
32
|
"/@syncfusion/ej2-react-lists",
|
|
34
|
-
"/@syncfusion/ej2-ribbon",
|
|
35
33
|
"/@syncfusion/ej2-schedule",
|
|
36
34
|
"/@syncfusion/ej2-vue-lists"
|
|
37
35
|
],
|
|
38
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
39
|
-
"_shasum": "
|
|
36
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-28.1.33.tgz",
|
|
37
|
+
"_shasum": "263e5544a516a40ac920e898108a993680a36fae",
|
|
40
38
|
"_spec": "@syncfusion/ej2-lists@*",
|
|
41
39
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
42
40
|
"author": {
|
|
@@ -45,7 +43,7 @@
|
|
|
45
43
|
"bundleDependencies": false,
|
|
46
44
|
"dependencies": {
|
|
47
45
|
"@syncfusion/ej2-base": "~28.1.33",
|
|
48
|
-
"@syncfusion/ej2-buttons": "~28.1.
|
|
46
|
+
"@syncfusion/ej2-buttons": "~28.1.37",
|
|
49
47
|
"@syncfusion/ej2-data": "~28.1.33",
|
|
50
48
|
"@syncfusion/ej2-popups": "~28.1.33"
|
|
51
49
|
},
|
|
@@ -87,7 +85,7 @@
|
|
|
87
85
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
|
|
88
86
|
},
|
|
89
87
|
"typings": "index.d.ts",
|
|
90
|
-
"version": "28.1.
|
|
88
|
+
"version": "28.1.37",
|
|
91
89
|
"sideEffects": false,
|
|
92
90
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
93
91
|
}
|
package/src/sortable/sortable.js
CHANGED
|
@@ -169,6 +169,7 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
169
169
|
var isPlaceHolderPresent = _this.isPlaceHolderPresent(dropInst);
|
|
170
170
|
if (isPlaceHolderPresent) {
|
|
171
171
|
var curIdx_1 = _this.getIndex(dropInst.placeHolderElement, dropInst);
|
|
172
|
+
prevIdx = _this === dropInst && (prevIdx - curIdx_1) >= 1 ? prevIdx - 1 : prevIdx;
|
|
172
173
|
var args = {
|
|
173
174
|
previousIndex: prevIdx, currentIndex: curIdx_1, target: e.target, droppedElement: _this.target,
|
|
174
175
|
helper: e.helper, cancel: false, handled: false
|
|
@@ -184,7 +185,7 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
184
185
|
}
|
|
185
186
|
dropInst.element.insertBefore(_this.target, dropInst.placeHolderElement);
|
|
186
187
|
var curIdx_2 = _this.getIndex(_this.target, dropInst);
|
|
187
|
-
prevIdx = _this === dropInst && (prevIdx - curIdx_2)
|
|
188
|
+
prevIdx = _this === dropInst && (prevIdx - curIdx_2) >= 1 ? prevIdx - 1 : prevIdx;
|
|
188
189
|
_this.trigger('drop', {
|
|
189
190
|
event: e.event, element: dropInst.element, previousIndex: prevIdx, currentIndex: curIdx_2,
|
|
190
191
|
target: e.target, helper: e.helper, droppedElement: _this.target, scopeName: _this.scope, handled: handled
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
|
|
217
217
|
.e-listview {
|
|
218
218
|
border-color: var(--color-sf-border-light);
|
|
219
|
-
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
|
|
219
|
+
font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
|
|
220
220
|
font-size: 14px;
|
|
221
221
|
}
|
|
222
222
|
.e-listview .e-list-header {
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
|
|
217
217
|
.e-listview {
|
|
218
218
|
border-color: var(--color-sf-border-light);
|
|
219
|
-
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
|
|
219
|
+
font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
|
|
220
220
|
font-size: 14px;
|
|
221
221
|
}
|
|
222
222
|
.e-listview .e-list-header {
|
package/styles/tailwind3.css
CHANGED
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
|
|
217
217
|
.e-listview {
|
|
218
218
|
border-color: var(--color-sf-border-light);
|
|
219
|
-
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
|
|
219
|
+
font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
|
|
220
220
|
font-size: 14px;
|
|
221
221
|
}
|
|
222
222
|
.e-listview .e-list-header {
|