@syncfusion/ej2-lists 27.2.3 → 28.1.33
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/README.md +3 -3
- package/dist/ej2-lists.min.js +3 -3
- package/dist/ej2-lists.umd.min.js +3 -3
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +9 -29
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +9 -29
- package/dist/es6/ej2-lists.es5.js.map +1 -1
- package/dist/global/ej2-lists.min.js +3 -3
- package/dist/global/ej2-lists.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +10 -10
- package/src/list-view/virtualization.js +6 -4
- package/src/sortable/sortable.d.ts +0 -1
- package/src/sortable/sortable.js +3 -25
- package/styles/bds-lite.css +450 -0
- package/styles/bds-lite.scss +7 -0
- package/styles/bds.css +606 -0
- package/styles/bds.scss +8 -0
- package/styles/bootstrap-dark-lite.css +11 -0
- package/styles/bootstrap-dark.css +11 -0
- package/styles/bootstrap-lite.css +11 -0
- package/styles/bootstrap.css +11 -0
- package/styles/bootstrap4-lite.css +11 -0
- package/styles/bootstrap4.css +11 -0
- package/styles/bootstrap5-dark-lite.css +11 -0
- package/styles/bootstrap5-dark.css +11 -0
- package/styles/bootstrap5-lite.css +11 -0
- package/styles/bootstrap5.3-lite.css +11 -0
- package/styles/bootstrap5.3.css +11 -0
- package/styles/bootstrap5.css +11 -0
- package/styles/fabric-dark-lite.css +11 -0
- package/styles/fabric-dark.css +11 -0
- package/styles/fabric-lite.css +11 -0
- package/styles/fabric.css +11 -0
- package/styles/fluent-dark-lite.css +11 -0
- package/styles/fluent-dark.css +11 -0
- package/styles/fluent-lite.css +11 -0
- package/styles/fluent.css +11 -0
- package/styles/fluent2-lite.css +12 -1
- package/styles/fluent2.css +12 -1
- package/styles/highcontrast-light-lite.css +11 -0
- package/styles/highcontrast-light.css +11 -0
- package/styles/highcontrast-lite.css +11 -0
- package/styles/highcontrast.css +11 -0
- package/styles/list-view/_bigger.scss +70 -1
- package/styles/list-view/_layout.scss +27 -1
- package/styles/list-view/_tailwind3-definition.scss +137 -0
- package/styles/list-view/_theme.scss +11 -3
- package/styles/list-view/bds.css +577 -0
- package/styles/list-view/bds.scss +6 -0
- package/styles/list-view/bootstrap-dark.css +11 -0
- package/styles/list-view/bootstrap.css +11 -0
- package/styles/list-view/bootstrap4.css +11 -0
- package/styles/list-view/bootstrap5-dark.css +11 -0
- package/styles/list-view/bootstrap5.3.css +11 -0
- package/styles/list-view/bootstrap5.css +11 -0
- package/styles/list-view/fabric-dark.css +11 -0
- package/styles/list-view/fabric.css +11 -0
- package/styles/list-view/fluent-dark.css +11 -0
- package/styles/list-view/fluent.css +11 -0
- package/styles/list-view/fluent2.css +12 -1
- package/styles/list-view/highcontrast-light.css +11 -0
- package/styles/list-view/highcontrast.css +11 -0
- package/styles/list-view/icons/_tailwind3.scss +8 -0
- package/styles/list-view/material-dark.css +11 -0
- package/styles/list-view/material.css +11 -0
- package/styles/list-view/material3-dark.css +11 -0
- package/styles/list-view/material3.css +11 -0
- package/styles/list-view/tailwind-dark.css +11 -0
- package/styles/list-view/tailwind.css +11 -0
- package/styles/list-view/tailwind3.css +509 -0
- package/styles/list-view/tailwind3.scss +6 -0
- package/styles/material-dark-lite.css +11 -0
- package/styles/material-dark.css +11 -0
- package/styles/material-lite.css +11 -0
- package/styles/material.css +11 -0
- package/styles/material3-dark-lite.css +11 -0
- package/styles/material3-dark.css +11 -0
- package/styles/material3-lite.css +11 -0
- package/styles/material3.css +11 -0
- package/styles/sortable/_tailwind3-definition.scss +1 -0
- package/styles/sortable/bds.css +32 -0
- package/styles/sortable/bds.scss +3 -0
- package/styles/sortable/tailwind3.css +32 -0
- package/styles/sortable/tailwind3.scss +3 -0
- package/styles/tailwind-dark-lite.css +11 -0
- package/styles/tailwind-dark.css +11 -0
- package/styles/tailwind-lite.css +11 -0
- package/styles/tailwind.css +11 -0
- package/styles/tailwind3-lite.css +428 -0
- package/styles/tailwind3-lite.scss +7 -0
- package/styles/tailwind3.css +538 -0
- package/styles/tailwind3.scss +8 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 28.1.33
|
|
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
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
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@18.23.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-DBiPosR1LbAr92bNITpda1Qjy2zoeq8wiwdZ6pJBuWK9BbVsvCXWaAp17XGcCaFksVwjELvaA+vcuIfk8PhDfA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"/@syncfusion/ej2-schedule",
|
|
36
36
|
"/@syncfusion/ej2-vue-lists"
|
|
37
37
|
],
|
|
38
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
39
|
-
"_shasum": "
|
|
38
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.23.1.tgz",
|
|
39
|
+
"_shasum": "376b81b04f13a8721cfee67164f8243f55b01e80",
|
|
40
40
|
"_spec": "@syncfusion/ej2-lists@*",
|
|
41
|
-
"_where": "/jenkins/workspace/elease-
|
|
41
|
+
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
42
42
|
"author": {
|
|
43
43
|
"name": "Syncfusion Inc."
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~
|
|
48
|
-
"@syncfusion/ej2-buttons": "~
|
|
49
|
-
"@syncfusion/ej2-data": "~
|
|
50
|
-
"@syncfusion/ej2-popups": "~
|
|
47
|
+
"@syncfusion/ej2-base": "~28.1.33",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~28.1.33",
|
|
49
|
+
"@syncfusion/ej2-data": "~28.1.33",
|
|
50
|
+
"@syncfusion/ej2-popups": "~28.1.33"
|
|
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": "
|
|
90
|
+
"version": "28.1.33",
|
|
91
91
|
"sideEffects": false,
|
|
92
92
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
93
93
|
}
|
|
@@ -32,9 +32,10 @@ var Virtualization = /** @class */ (function () {
|
|
|
32
32
|
*/
|
|
33
33
|
Virtualization.prototype.uiVirtualization = function () {
|
|
34
34
|
this.wireScrollEvent(false);
|
|
35
|
-
var isRendered = this.listViewInstance.isRendered;
|
|
36
|
-
var firstIndex = isRendered && !isNullOrUndefined(this.uiFirstIndex) ? this.uiFirstIndex : 0;
|
|
37
35
|
var curViewDS = this.listViewInstance.curViewDS;
|
|
36
|
+
var isRendered = this.listViewInstance.isRendered;
|
|
37
|
+
var firstIndex = isRendered && !isNullOrUndefined(this.uiFirstIndex) && this.uiLastIndex <= Object.keys(curViewDS).length
|
|
38
|
+
? this.uiFirstIndex : 0;
|
|
38
39
|
var firstDs = curViewDS.slice(firstIndex, firstIndex + 1);
|
|
39
40
|
this.listViewInstance.ulElement = this.listViewInstance.curUL = ListBase.createList(this.listViewInstance.createElement, firstDs, this.listViewInstance.listBaseOption, null, this.listViewInstance);
|
|
40
41
|
this.listViewInstance.contentContainer = this.listViewInstance.createElement('div', { className: classNames.container });
|
|
@@ -43,7 +44,8 @@ var Virtualization = /** @class */ (function () {
|
|
|
43
44
|
this.listItemHeight = this.listViewInstance.ulElement.firstElementChild.getBoundingClientRect().height;
|
|
44
45
|
this.expectedDomItemCount = this.ValidateItemCount(10000);
|
|
45
46
|
this.updateDOMItemCount();
|
|
46
|
-
var lastIndex = isRendered && !isNullOrUndefined(this.uiLastIndex)
|
|
47
|
+
var lastIndex = isRendered && !isNullOrUndefined(this.uiLastIndex) && this.listDiff !== 0
|
|
48
|
+
? this.uiLastIndex : this.domItemCount - 1;
|
|
47
49
|
this.uiFirstIndex = firstIndex;
|
|
48
50
|
this.uiLastIndex = lastIndex;
|
|
49
51
|
var otherDs = curViewDS.slice(firstIndex + 1, lastIndex + 1);
|
|
@@ -59,7 +61,7 @@ var Virtualization = /** @class */ (function () {
|
|
|
59
61
|
this.bottomElement.style.height = isRendered ? (this.totalHeight - this.topElementHeight) + 'px' : this.totalHeight + 'px';
|
|
60
62
|
this.topElementHeight = isRendered ? this.topElementHeight : 0;
|
|
61
63
|
this.bottomElementHeight = isRendered ? (this.totalHeight - this.topElementHeight) : this.totalHeight;
|
|
62
|
-
this.listDiff = isRendered ? this.listDiff : 0;
|
|
64
|
+
this.listDiff = isRendered && Object.keys(curViewDS).length !== this.domItemCount ? this.listDiff : 0;
|
|
63
65
|
if (isRendered) {
|
|
64
66
|
this.listViewInstance.element.scrollTop = this.listViewInstance.previousScrollTop;
|
|
65
67
|
}
|
|
@@ -88,7 +88,6 @@ export declare class Sortable extends Base<HTMLElement> implements INotifyProper
|
|
|
88
88
|
private removePlaceHolder;
|
|
89
89
|
private updateItemClass;
|
|
90
90
|
private getSortableInstance;
|
|
91
|
-
private refreshDisabled;
|
|
92
91
|
private getIndex;
|
|
93
92
|
private getSortableElement;
|
|
94
93
|
private onDragStart;
|
package/src/sortable/sortable.js
CHANGED
|
@@ -86,7 +86,7 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
if (isPlaceHolderPresent) {
|
|
89
|
-
|
|
89
|
+
_this.removePlaceHolder(newInst);
|
|
90
90
|
}
|
|
91
91
|
newInst.placeHolderElement = placeHolder;
|
|
92
92
|
if (e.target && typeof e.target.className === 'string' && e.target.className.indexOf('e-list-group-item') > -1) {
|
|
@@ -98,7 +98,6 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
98
98
|
else {
|
|
99
99
|
newInst.element.insertBefore(newInst.placeHolderElement, newInst.element.children[newIdx]);
|
|
100
100
|
}
|
|
101
|
-
_this.refreshDisabled(oldIdx, newIdx, newInst);
|
|
102
101
|
}
|
|
103
102
|
else {
|
|
104
103
|
oldIdx = isNullOrUndefined(oldIdx) ? _this.getIndex(_this.target) :
|
|
@@ -107,7 +106,6 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
107
106
|
var idx = newInst.element !== _this.element ? newIdx : oldIdx < newIdx ? newIdx + 1 : newIdx;
|
|
108
107
|
_this.updateItemClass(newInst);
|
|
109
108
|
newInst.element.insertBefore(_this.target, newInst.element.children[idx]);
|
|
110
|
-
_this.refreshDisabled(oldIdx, newIdx, newInst);
|
|
111
109
|
_this.curTarget = _this.target;
|
|
112
110
|
_this.trigger('drop', {
|
|
113
111
|
droppedElement: _this.target, element: newInst.element, previousIndex: oldIdx, currentIndex: newIdx,
|
|
@@ -116,7 +114,7 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
116
114
|
}
|
|
117
115
|
}
|
|
118
116
|
else if (_this.curTarget !== _this.target && _this.scope && _this.curTarget !== target && !isNullOrUndefined(newInst.placeHolder)) {
|
|
119
|
-
|
|
117
|
+
_this.removePlaceHolder(_this.getSortableInstance(_this.curTarget));
|
|
120
118
|
_this.curTarget = _this.target;
|
|
121
119
|
}
|
|
122
120
|
newInst = _this.getSortableInstance(_this.curTarget);
|
|
@@ -192,7 +190,7 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
192
190
|
target: e.target, helper: e.helper, droppedElement: _this.target, scopeName: _this.scope, handled: handled
|
|
193
191
|
});
|
|
194
192
|
}
|
|
195
|
-
|
|
193
|
+
_this.removePlaceHolder(dropInst);
|
|
196
194
|
});
|
|
197
195
|
}
|
|
198
196
|
dropInst = _this.getSortableInstance(e.target);
|
|
@@ -311,26 +309,6 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
311
309
|
return this;
|
|
312
310
|
}
|
|
313
311
|
};
|
|
314
|
-
Sortable.prototype.refreshDisabled = function (oldIdx, newIdx, instance) {
|
|
315
|
-
if (instance === this) {
|
|
316
|
-
var element = void 0;
|
|
317
|
-
var increased = oldIdx < newIdx;
|
|
318
|
-
var disabledIdx = void 0;
|
|
319
|
-
var start = increased ? oldIdx : newIdx;
|
|
320
|
-
var end = increased ? newIdx : oldIdx;
|
|
321
|
-
while (start <= end) {
|
|
322
|
-
element = this.element.children[start];
|
|
323
|
-
if (element.classList.contains('e-disabled')) {
|
|
324
|
-
disabledIdx = this.getIndex(element);
|
|
325
|
-
this.element.insertBefore(element, this.element.children[increased ? disabledIdx + 2 : disabledIdx - 1]);
|
|
326
|
-
start = increased ? disabledIdx + 2 : disabledIdx + 1;
|
|
327
|
-
}
|
|
328
|
-
else {
|
|
329
|
-
start++;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
312
|
Sortable.prototype.getIndex = function (target, instance, e) {
|
|
335
313
|
if (instance === void 0) { instance = this; }
|
|
336
314
|
var idx;
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* stylelint-disable */
|
|
6
|
+
.e-listview .e-list-parent {
|
|
7
|
+
margin: 0 12px !important;
|
|
8
|
+
padding: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.e-listview:not(.e-list-template) .e-list-item {
|
|
12
|
+
border-radius: 6px !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.e-icon-collapsible::before {
|
|
16
|
+
content: "\e748";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.e-icon-back::before {
|
|
20
|
+
content: "\e773";
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
25
|
+
.e-listview {
|
|
26
|
+
-webkit-overflow-scrolling: touch;
|
|
27
|
+
border: 0 solid;
|
|
28
|
+
border-radius: 0;
|
|
29
|
+
display: block;
|
|
30
|
+
overflow: auto;
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
.e-listview:not(.e-list-template) .e-list-item {
|
|
35
|
+
height: 40px;
|
|
36
|
+
line-height: 22px;
|
|
37
|
+
position: relative;
|
|
38
|
+
padding: 8px 9px 8px 12px;
|
|
39
|
+
}
|
|
40
|
+
.e-listview .e-list-item {
|
|
41
|
+
border-bottom: 0 solid;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
.e-listview .e-list-item .e-text-content .e-list-text {
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
}
|
|
47
|
+
.e-listview .e-list-item.e-disabled, .e-listview .e-list-item.e-disabled * {
|
|
48
|
+
cursor: default;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.e-listview .e-list-parent {
|
|
52
|
+
margin: 0;
|
|
53
|
+
padding: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.e-listview .e-icon-back {
|
|
57
|
+
height: 20px;
|
|
58
|
+
width: 20px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.e-listview .e-list-header {
|
|
62
|
+
-webkit-box-align: center;
|
|
63
|
+
-ms-flex-align: center;
|
|
64
|
+
align-items: center;
|
|
65
|
+
display: -webkit-box;
|
|
66
|
+
display: -ms-flexbox;
|
|
67
|
+
display: flex;
|
|
68
|
+
font-weight: 500;
|
|
69
|
+
height: 30px;
|
|
70
|
+
padding: 6px 12px;
|
|
71
|
+
}
|
|
72
|
+
.e-listview .e-list-header .e-text.header,
|
|
73
|
+
.e-listview .e-list-header .e-headertemplate-text.nested-header {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
.e-listview .e-list-header .e-headertext {
|
|
77
|
+
text-transform: uppercase;
|
|
78
|
+
}
|
|
79
|
+
.e-listview .e-list-header.e-list-navigation .e-text {
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
}
|
|
82
|
+
.e-listview .e-list-header .e-text {
|
|
83
|
+
cursor: default;
|
|
84
|
+
text-indent: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.e-listview .e-has-header > .e-view {
|
|
88
|
+
top: 45px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.e-listview .e-back-button {
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
margin-right: 8px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.e-listview .e-list-group-item {
|
|
97
|
+
border-bottom: 0 solid transparent;
|
|
98
|
+
border-top: 0 solid;
|
|
99
|
+
height: 30px;
|
|
100
|
+
line-height: 18px;
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
-webkit-box-sizing: border-box;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
padding: 6px 12px;
|
|
106
|
+
}
|
|
107
|
+
.e-listview .e-list-group-item .e-list-text {
|
|
108
|
+
text-transform: uppercase;
|
|
109
|
+
}
|
|
110
|
+
.e-listview .e-list-group-item .e-list-text {
|
|
111
|
+
cursor: default;
|
|
112
|
+
}
|
|
113
|
+
.e-listview .e-list-group-item:first-child {
|
|
114
|
+
border: 0;
|
|
115
|
+
border-bottom: 0 solid transparent;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.e-listview .e-icon-collapsible {
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
font-size: 20px;
|
|
121
|
+
position: absolute;
|
|
122
|
+
right: 0%;
|
|
123
|
+
top: 50%;
|
|
124
|
+
-webkit-transform: translateY(-50%);
|
|
125
|
+
transform: translateY(-50%);
|
|
126
|
+
height: 20px;
|
|
127
|
+
width: 20px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.e-listview .e-text-content {
|
|
131
|
+
height: 100%;
|
|
132
|
+
position: relative;
|
|
133
|
+
vertical-align: middle;
|
|
134
|
+
}
|
|
135
|
+
.e-listview .e-text-content.e-checkbox .e-list-text {
|
|
136
|
+
width: calc(100% - 40px);
|
|
137
|
+
}
|
|
138
|
+
.e-listview .e-text-content.e-checkbox.e-checkbox-left .e-list-icon + .e-list-text {
|
|
139
|
+
width: calc(100% - 90px);
|
|
140
|
+
}
|
|
141
|
+
.e-listview .e-text-content.e-checkbox.e-checkbox-right .e-list-icon + .e-list-text {
|
|
142
|
+
width: calc(100% - 80px);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.e-listview .e-text-content * {
|
|
146
|
+
display: inline-block;
|
|
147
|
+
vertical-align: middle;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.e-listview .e-list-item.e-checklist.e-has-child .e-text-content.e-checkbox.e-checkbox-right .e-list-icon + .e-list-text {
|
|
151
|
+
width: calc(100% - 92px);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.e-listview .e-checkbox .e-checkbox-left {
|
|
155
|
+
margin: -2px 8px 0 0;
|
|
156
|
+
}
|
|
157
|
+
.e-listview .e-checkbox .e-checkbox-right {
|
|
158
|
+
margin: -2px 0 0 8px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.e-listview .e-list-text {
|
|
162
|
+
cursor: pointer;
|
|
163
|
+
display: inline-block;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
text-overflow: ellipsis;
|
|
166
|
+
vertical-align: middle;
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
width: 100%;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.e-listview .e-list-icon + .e-list-text, .e-listview .e-icon-wrapper .e-list-text, .e-listview .e-icon-wrapper.e-text-content.e-checkbox .e-list-text {
|
|
172
|
+
width: calc(100% - 60px);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.e-listview .e-list-icon {
|
|
176
|
+
margin-right: 2px;
|
|
177
|
+
height: 20px;
|
|
178
|
+
width: 20px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.e-listview.e-virtualization .e-list-container {
|
|
182
|
+
overflow: unset;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.e-listview .e-list-container {
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
position: relative;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.e-listview .e-text .e-headertext {
|
|
191
|
+
display: inline-block;
|
|
192
|
+
line-height: 18px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.e-listview.e-rtl {
|
|
196
|
+
direction: rtl;
|
|
197
|
+
}
|
|
198
|
+
.e-listview.e-rtl:not(.e-list-template) .e-list-item {
|
|
199
|
+
padding: 8px 12px 8px 9px;
|
|
200
|
+
}
|
|
201
|
+
.e-listview.e-rtl .e-list-icon {
|
|
202
|
+
margin-left: 8px;
|
|
203
|
+
margin-right: 0;
|
|
204
|
+
}
|
|
205
|
+
.e-listview.e-rtl .e-icon-collapsible {
|
|
206
|
+
left: 0%;
|
|
207
|
+
right: initial;
|
|
208
|
+
top: 50%;
|
|
209
|
+
-webkit-transform: translateY(-50%) rotate(180deg);
|
|
210
|
+
transform: translateY(-50%) rotate(180deg);
|
|
211
|
+
}
|
|
212
|
+
.e-listview.e-rtl .e-list-header .e-text {
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
}
|
|
215
|
+
.e-listview.e-rtl .e-back-button {
|
|
216
|
+
-webkit-transform: rotate(180deg);
|
|
217
|
+
transform: rotate(180deg);
|
|
218
|
+
margin-left: 8px;
|
|
219
|
+
margin-right: 0;
|
|
220
|
+
}
|
|
221
|
+
.e-listview.e-rtl .e-checkbox .e-checkbox-left {
|
|
222
|
+
margin: -2px 0 0 8px;
|
|
223
|
+
}
|
|
224
|
+
.e-listview.e-rtl .e-checkbox .e-checkbox-right {
|
|
225
|
+
margin: -2px 8px 0 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.e-listview.e-disabled, .e-listview.e-disabled * {
|
|
229
|
+
cursor: default;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.e-listview.e-disabled .e-checkbox .e-icons {
|
|
233
|
+
cursor: default;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.e-listview {
|
|
237
|
+
border-color: var(--color-sf-border-secondary);
|
|
238
|
+
font-family: "Inter";
|
|
239
|
+
font-size: 14px;
|
|
240
|
+
}
|
|
241
|
+
.e-listview .e-list-header {
|
|
242
|
+
background-color: var(--color-sf-bg-secondary);
|
|
243
|
+
color: var(--color-sf-text-primary);
|
|
244
|
+
border-color: var(--color-sf-base-transparent);
|
|
245
|
+
font-size: 12px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.e-listview .e-icons:not(.e-primary .e-btn-icon, .e-check) {
|
|
249
|
+
color: var(--color-sf-fg-secondary);
|
|
250
|
+
}
|
|
251
|
+
.e-listview .e-icons:not(.e-primary .e-btn-icon, .e-check).e-back-button:hover, .e-listview .e-icons:not(.e-primary .e-btn-icon, .e-check).e-icon-collapsible:hover {
|
|
252
|
+
color: var(--color-sf-fg-secondary-hover);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.e-listview .e-list-item {
|
|
256
|
+
border-bottom: 0 solid transparent;
|
|
257
|
+
border-left: 0 solid transparent;
|
|
258
|
+
border-right: 0 solid transparent;
|
|
259
|
+
border-top: 0 solid transparent;
|
|
260
|
+
background-color: var(--color-sf-base-transparent);
|
|
261
|
+
color: var(--color-sf-text-secondary);
|
|
262
|
+
}
|
|
263
|
+
.e-listview .e-list-item.e-hover, .e-listview .e-list-item.e-hover.e-active.e-checklist {
|
|
264
|
+
background-color: var(--color-sf-bg-secondary-hover);
|
|
265
|
+
color: var(--color-sf-text-secondary-hover);
|
|
266
|
+
border-color: transparent;
|
|
267
|
+
}
|
|
268
|
+
.e-listview .e-list-item.e-active {
|
|
269
|
+
background-color: var(--color-sf-utility-content-bg-color-selected);
|
|
270
|
+
color: var(--color-sf-text-primary);
|
|
271
|
+
}
|
|
272
|
+
.e-listview .e-list-item.e-active.e-checklist {
|
|
273
|
+
background-color: var(--color-sf-base-transparent);
|
|
274
|
+
color: var(--color-sf-text-secondary);
|
|
275
|
+
}
|
|
276
|
+
.e-listview .e-list-item.e-focused, .e-listview .e-list-item.e-focused.e-active.e-checklist {
|
|
277
|
+
background-color: var(--color-sf-utility-content-bg-color-selected);
|
|
278
|
+
color: var(--color-sf-text-primary);
|
|
279
|
+
}
|
|
280
|
+
.e-listview .e-list-group-item {
|
|
281
|
+
background-color: var(--color-sf-bg-secondary);
|
|
282
|
+
color: var(--color-sf-text-tertiary);
|
|
283
|
+
border-color: var(--color-sf-base-transparent);
|
|
284
|
+
font-size: 12px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.e-listview.e-list-template .e-list-wrapper {
|
|
288
|
+
height: inherit;
|
|
289
|
+
position: relative;
|
|
290
|
+
}
|
|
291
|
+
.e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line) {
|
|
292
|
+
padding: 8px 16px;
|
|
293
|
+
}
|
|
294
|
+
.e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line).e-list-badge:not(.e-list-avatar) {
|
|
295
|
+
padding: 0 8px 0 12px;
|
|
296
|
+
}
|
|
297
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line {
|
|
298
|
+
padding: 4px;
|
|
299
|
+
}
|
|
300
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line .e-list-item-header {
|
|
301
|
+
color: var(--color-sf-text-primary);
|
|
302
|
+
display: block;
|
|
303
|
+
font-size: 14px;
|
|
304
|
+
font-weight: 400;
|
|
305
|
+
line-height: 22px;
|
|
306
|
+
margin: 0;
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
padding: 0;
|
|
309
|
+
text-overflow: ellipsis;
|
|
310
|
+
white-space: nowrap;
|
|
311
|
+
}
|
|
312
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line .e-list-content {
|
|
313
|
+
color: var(--color-sf-text-tertiary);
|
|
314
|
+
display: block;
|
|
315
|
+
font-size: 14px;
|
|
316
|
+
font-weight: 400;
|
|
317
|
+
line-height: 22px;
|
|
318
|
+
margin: 0;
|
|
319
|
+
padding: 2px 0 0 0;
|
|
320
|
+
word-wrap: break-word;
|
|
321
|
+
}
|
|
322
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line .e-list-content:not(.e-text-overflow) {
|
|
323
|
+
overflow: hidden;
|
|
324
|
+
text-overflow: ellipsis;
|
|
325
|
+
white-space: nowrap;
|
|
326
|
+
}
|
|
327
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-avatar .e-avatar {
|
|
328
|
+
height: 40px;
|
|
329
|
+
width: 40px;
|
|
330
|
+
top: 0;
|
|
331
|
+
left: 0;
|
|
332
|
+
position: absolute;
|
|
333
|
+
margin: 7px 16px 7px 12px;
|
|
334
|
+
}
|
|
335
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) {
|
|
336
|
+
padding-left: 68px;
|
|
337
|
+
padding-right: 16px;
|
|
338
|
+
}
|
|
339
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) {
|
|
340
|
+
padding-left: 16px;
|
|
341
|
+
padding-right: 68px;
|
|
342
|
+
}
|
|
343
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) .e-avatar {
|
|
344
|
+
height: 40px;
|
|
345
|
+
width: 40px;
|
|
346
|
+
top: 0;
|
|
347
|
+
right: 0;
|
|
348
|
+
position: absolute;
|
|
349
|
+
}
|
|
350
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line.e-list-avatar .e-avatar {
|
|
351
|
+
top: 0;
|
|
352
|
+
}
|
|
353
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line.e-list-avatar-right:not(.e-list-badge) .e-avatar {
|
|
354
|
+
top: 0;
|
|
355
|
+
}
|
|
356
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-badge .e-badge {
|
|
357
|
+
font-size: 10px;
|
|
358
|
+
height: 18px;
|
|
359
|
+
width: 32px;
|
|
360
|
+
top: 50%;
|
|
361
|
+
right: 12px;
|
|
362
|
+
line-height: 18px;
|
|
363
|
+
padding: 0;
|
|
364
|
+
position: absolute;
|
|
365
|
+
-webkit-transform: translateY(-50%);
|
|
366
|
+
transform: translateY(-50%);
|
|
367
|
+
border-radius: 10px;
|
|
368
|
+
}
|
|
369
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-badge.e-list-avatar {
|
|
370
|
+
padding-left: 68px;
|
|
371
|
+
padding-right: 10px;
|
|
372
|
+
}
|
|
373
|
+
.e-listview.e-list-template .e-list-wrapper.e-list-badge:not(.e-list-avatar) {
|
|
374
|
+
padding-left: 16px;
|
|
375
|
+
padding-right: 10px;
|
|
376
|
+
}
|
|
377
|
+
.e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line) .e-list-content {
|
|
378
|
+
display: block;
|
|
379
|
+
margin: 0;
|
|
380
|
+
overflow: hidden;
|
|
381
|
+
padding: 8px 0;
|
|
382
|
+
text-overflow: ellipsis;
|
|
383
|
+
white-space: nowrap;
|
|
384
|
+
font-size: 14px;
|
|
385
|
+
line-height: 22px;
|
|
386
|
+
}
|
|
387
|
+
.e-listview.e-list-template .e-list-item.e-hover .e-list-item-header, .e-listview.e-list-template .e-list-item.e-hover .e-list-content {
|
|
388
|
+
color: var(--color-sf-text-secondary-hover);
|
|
389
|
+
}
|
|
390
|
+
.e-listview.e-list-template .e-list-item.e-active .e-list-item-header, .e-listview.e-list-template .e-list-item.e-active .e-list-content {
|
|
391
|
+
color: var(--color-sf-text-primary);
|
|
392
|
+
}
|
|
393
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar .e-avatar {
|
|
394
|
+
left: inherit;
|
|
395
|
+
margin: 7px 12px 7px 16px;
|
|
396
|
+
right: 0;
|
|
397
|
+
}
|
|
398
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) {
|
|
399
|
+
padding-left: 16px;
|
|
400
|
+
padding-right: 68px;
|
|
401
|
+
}
|
|
402
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) {
|
|
403
|
+
padding-left: 68px;
|
|
404
|
+
padding-right: 16px;
|
|
405
|
+
}
|
|
406
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-avatar-right:not(.e-list-badge) .e-avatar {
|
|
407
|
+
left: 0;
|
|
408
|
+
right: inherit;
|
|
409
|
+
}
|
|
410
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-badge .e-badge {
|
|
411
|
+
left: 12px;
|
|
412
|
+
right: inherit;
|
|
413
|
+
}
|
|
414
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-badge.e-list-avatar {
|
|
415
|
+
padding-left: 10px;
|
|
416
|
+
padding-right: 68px;
|
|
417
|
+
}
|
|
418
|
+
.e-listview.e-rtl.e-list-template .e-list-wrapper.e-list-badge:not(.e-list-avatar) {
|
|
419
|
+
padding-left: 10px;
|
|
420
|
+
padding-right: 16px;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* stylelint-disable-line no-empty-source */
|
|
424
|
+
.e-sortable {
|
|
425
|
+
outline: none;
|
|
426
|
+
position: relative;
|
|
427
|
+
-webkit-user-select: none;
|
|
428
|
+
-moz-user-select: none;
|
|
429
|
+
-ms-user-select: none;
|
|
430
|
+
user-select: none;
|
|
431
|
+
}
|
|
432
|
+
.e-sortable .e-disabled {
|
|
433
|
+
background-image: none;
|
|
434
|
+
cursor: default;
|
|
435
|
+
opacity: 0.35;
|
|
436
|
+
}
|
|
437
|
+
.e-sortable * {
|
|
438
|
+
-webkit-box-sizing: border-box;
|
|
439
|
+
box-sizing: border-box;
|
|
440
|
+
}
|
|
441
|
+
.e-sortable *:focus {
|
|
442
|
+
outline: none;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* stylelint-disable */
|
|
446
|
+
.e-sortableclone {
|
|
447
|
+
position: fixed !important;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* stylelint-enable */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@import 'ej2-base/styles/definition/bds.scss';
|
|
2
|
+
@import 'ej2-buttons/styles/check-box/bds-definition.scss';
|
|
3
|
+
@import 'list-view/bds-definition.scss';
|
|
4
|
+
@import 'list-view/icons/bds.scss';
|
|
5
|
+
@import 'list-view/all.scss';
|
|
6
|
+
@import 'sortable/bds-definition.scss';
|
|
7
|
+
@import 'sortable/all.scss';
|