@syncfusion/ej2-lists 24.2.3 → 24.2.8
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/CHANGELOG.md +12 -0
- 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 +17 -1
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +17 -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 +8 -8
- package/src/list-view/list-view.d.ts +6 -0
- package/src/list-view/list-view.js +17 -1
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -68
- package/.github/PULL_REQUEST_TEMPLATE/Changelog.md +0 -25
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -31
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 24.2.
|
|
3
|
+
* version : 24.2.8
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@24.
|
|
3
|
+
"_id": "@syncfusion/ej2-lists@24.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-RCMbuzBfpZPE89dDS+11qs6n4T3K7zlW1zNkiIoRDlaFTBKpr9SPODmmLYauCkSvj6SYrGvWDoZGH0GPJSjuqA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"/@syncfusion/ej2-schedule",
|
|
36
36
|
"/@syncfusion/ej2-vue-lists"
|
|
37
37
|
],
|
|
38
|
-
"_resolved": "https://nexus.
|
|
39
|
-
"_shasum": "
|
|
38
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-24.2.4.tgz",
|
|
39
|
+
"_shasum": "6111ea6805342dacadab51c6ed0c6cf575cf351d",
|
|
40
40
|
"_spec": "@syncfusion/ej2-lists@*",
|
|
41
41
|
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
|
|
42
42
|
"author": {
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~24.2.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~24.2.
|
|
47
|
+
"@syncfusion/ej2-base": "~24.2.7",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~24.2.7",
|
|
49
49
|
"@syncfusion/ej2-data": "~24.2.3",
|
|
50
|
-
"@syncfusion/ej2-popups": "~24.2.
|
|
50
|
+
"@syncfusion/ej2-popups": "~24.2.8"
|
|
51
51
|
},
|
|
52
52
|
"deprecated": false,
|
|
53
53
|
"description": "The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views.",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
|
|
88
88
|
},
|
|
89
89
|
"typings": "index.d.ts",
|
|
90
|
-
"version": "24.2.
|
|
90
|
+
"version": "24.2.8",
|
|
91
91
|
"sideEffects": false,
|
|
92
92
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
93
93
|
}
|
|
@@ -506,6 +506,12 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
|
|
|
506
506
|
* @param {Fields | HTMLElement | Element} item - We can pass element Object or Fields as Object with ID and Text fields.
|
|
507
507
|
*/
|
|
508
508
|
selectItem(item: Fields | HTMLElement | Element): void;
|
|
509
|
+
/**
|
|
510
|
+
* This method allows for deselecting a list item within the ListView. The item to be deselected can be specified by passing the element or field object.
|
|
511
|
+
*
|
|
512
|
+
* @param {Fields | HTMLElement | Element} item - We can pass an element Object or Fields as an Object with ID and Text fields.
|
|
513
|
+
*/
|
|
514
|
+
unselectItem(item?: Fields | HTMLElement | Element): void;
|
|
509
515
|
private getLiFromObjOrElement;
|
|
510
516
|
/**
|
|
511
517
|
* Selects multiple list items from the ListView.
|
|
@@ -460,7 +460,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
460
460
|
if (args.item.classList.contains(classNames.hasChild)) {
|
|
461
461
|
this.isNestedList = true;
|
|
462
462
|
}
|
|
463
|
-
if (this.showCheckBox &&
|
|
463
|
+
if (this.showCheckBox && args.item.classList.contains(classNames.listItem)) {
|
|
464
464
|
var checkboxElement = void 0;
|
|
465
465
|
var fieldData_1;
|
|
466
466
|
// eslint-disable-next-line prefer-const
|
|
@@ -1497,6 +1497,22 @@ var ListView = /** @class */ (function (_super) {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
}
|
|
1499
1499
|
};
|
|
1500
|
+
/**
|
|
1501
|
+
* This method allows for deselecting a list item within the ListView. The item to be deselected can be specified by passing the element or field object.
|
|
1502
|
+
*
|
|
1503
|
+
* @param {Fields | HTMLElement | Element} item - We can pass an element Object or Fields as an Object with ID and Text fields.
|
|
1504
|
+
*/
|
|
1505
|
+
ListView.prototype.unselectItem = function (item) {
|
|
1506
|
+
if (isNullOrUndefined(item)) {
|
|
1507
|
+
this.removeSelect();
|
|
1508
|
+
}
|
|
1509
|
+
else {
|
|
1510
|
+
var li = this.getLiFromObjOrElement(item);
|
|
1511
|
+
if (!isNullOrUndefined(li)) {
|
|
1512
|
+
this.removeSelect(li);
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
};
|
|
1500
1516
|
ListView.prototype.getLiFromObjOrElement = function (obj) {
|
|
1501
1517
|
var li;
|
|
1502
1518
|
var dataSource = this.dataSource instanceof DataManager ?
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
### Bug description
|
|
2
|
-
|
|
3
|
-
(Clearly and concisely describe the problem.)
|
|
4
|
-
|
|
5
|
-
### Root Cause / Analysis
|
|
6
|
-
|
|
7
|
-
(Briefly describe root cause/analysis of the problem. If there is an internal discussion on the forum, provide the link.)
|
|
8
|
-
|
|
9
|
-
### Reason for not identifying earlier
|
|
10
|
-
|
|
11
|
-
(Explain how it was missed to identify in our earlier testing/development.)
|
|
12
|
-
|
|
13
|
-
* **Guidelines/documents are not followed**
|
|
14
|
-
|
|
15
|
-
* Common guidelines / Core team guideline
|
|
16
|
-
* Specification document
|
|
17
|
-
* Requirement document
|
|
18
|
-
|
|
19
|
-
* **Guidelines/documents are not given**
|
|
20
|
-
|
|
21
|
-
* Common guidelines / Core team guideline
|
|
22
|
-
* Specification document
|
|
23
|
-
* Requirement document
|
|
24
|
-
|
|
25
|
-
* **Reason**
|
|
26
|
-
|
|
27
|
-
(Mention any one or more reasons from the above points.)
|
|
28
|
-
|
|
29
|
-
* **Action taken**
|
|
30
|
-
|
|
31
|
-
(What action did you take to avoid this in future?)
|
|
32
|
-
|
|
33
|
-
* **Related areas**
|
|
34
|
-
|
|
35
|
-
(Is there any other related areas also to be addressed?)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### Is breaking issue.?
|
|
39
|
-
|
|
40
|
-
(If it is a breaking issue, provide the commit detail which caused this break.)
|
|
41
|
-
|
|
42
|
-
### Is reported by customer in incident/forum.?
|
|
43
|
-
|
|
44
|
-
(If it is reported by customer, provide the incident or forum hyperlink.)
|
|
45
|
-
|
|
46
|
-
### Solution description
|
|
47
|
-
|
|
48
|
-
(Describe your code changes in detail for reviewers.)
|
|
49
|
-
|
|
50
|
-
### Areas affected and ensured
|
|
51
|
-
|
|
52
|
-
(List out the areas are affected by your code changes.)
|
|
53
|
-
|
|
54
|
-
### E2E report details against this fix
|
|
55
|
-
|
|
56
|
-
(Run E2E locally and mention the details with mail attachment.)
|
|
57
|
-
|
|
58
|
-
### Did you included unit test cases.?
|
|
59
|
-
|
|
60
|
-
(Provide unit testing spec coverage details.)
|
|
61
|
-
|
|
62
|
-
### Is there any API name changes.?
|
|
63
|
-
|
|
64
|
-
(Provide API name change details.)
|
|
65
|
-
|
|
66
|
-
/label ~bug
|
|
67
|
-
/assign @abinaya.subbiah
|
|
68
|
-
/cc @karthickt
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
### Feature description
|
|
2
|
-
|
|
3
|
-
The changelog updated for bug/feature (provide bug/feature details).
|
|
4
|
-
|
|
5
|
-
### Analysis / Design : NA
|
|
6
|
-
|
|
7
|
-
### Solution description
|
|
8
|
-
|
|
9
|
-
The changelog updated for bug/feature (provide bug/feature details).
|
|
10
|
-
|
|
11
|
-
### Did you ensured MD lint and Spelling errors locally.?
|
|
12
|
-
|
|
13
|
-
(Run the appropriate gulp command and provide the details.)
|
|
14
|
-
|
|
15
|
-
### Areas affected and ensured : NA
|
|
16
|
-
|
|
17
|
-
### Did you included unit test cases.? : NA
|
|
18
|
-
|
|
19
|
-
### Is there any API name changes.? : NA
|
|
20
|
-
|
|
21
|
-
### Test bed sample location : NA
|
|
22
|
-
|
|
23
|
-
/label ~changelog
|
|
24
|
-
/assign @abinaya.subbiah
|
|
25
|
-
/cc @karthickt
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
### Feature description
|
|
2
|
-
|
|
3
|
-
(Clearly and concisely describe the feature.)
|
|
4
|
-
|
|
5
|
-
### Analysis / Design
|
|
6
|
-
|
|
7
|
-
(Briefly describe analysis of the feature. If there is an internal discussion on the Forum, provide the link.)
|
|
8
|
-
|
|
9
|
-
### Solution description
|
|
10
|
-
|
|
11
|
-
(Describe your code changes in detail for reviewers.)
|
|
12
|
-
|
|
13
|
-
### Areas affected and ensured
|
|
14
|
-
|
|
15
|
-
(List out the areas are affected by your code changes.)
|
|
16
|
-
|
|
17
|
-
### Did you included unit test cases.?
|
|
18
|
-
|
|
19
|
-
(Provide unit testing spec coverage details.)
|
|
20
|
-
|
|
21
|
-
### Is there any API name changes.?
|
|
22
|
-
|
|
23
|
-
(Provide new or update of API details)
|
|
24
|
-
|
|
25
|
-
### Test bed sample location
|
|
26
|
-
|
|
27
|
-
(Provide the test bed sample location where code reviewers can review the new feature’s behaviors. It can be from NPMCI, local server, etc.)
|
|
28
|
-
|
|
29
|
-
/label ~feature
|
|
30
|
-
/assign @abinaya.subbiah
|
|
31
|
-
/cc @karthickt
|