@syncfusion/ej2-lists 19.4.48 → 20.1.47
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 +0 -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 +40 -12
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +40 -12
- 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/common/list-base.js +10 -6
- package/src/list-view/list-view.d.ts +1 -0
- package/src/list-view/list-view.js +15 -6
- package/src/list-view/virtualization.js +13 -0
- package/src/sortable/sortable.js +2 -0
- package/styles/bootstrap-dark.css +16 -3
- package/styles/bootstrap.css +16 -3
- package/styles/bootstrap4.css +18 -5
- package/styles/bootstrap5-dark.css +25 -12
- package/styles/bootstrap5.css +25 -12
- package/styles/fabric-dark.css +16 -3
- package/styles/fabric.css +16 -3
- package/styles/fluent-dark.css +580 -0
- package/styles/fluent-dark.scss +2 -0
- package/styles/fluent.css +580 -0
- package/styles/fluent.scss +2 -0
- package/styles/highcontrast-light.css +16 -3
- package/styles/highcontrast.css +16 -3
- package/styles/list-view/_bootstrap5-definition.scss +7 -7
- package/styles/list-view/_fluent-dark-definition.scss +1 -0
- package/styles/list-view/_fluent-definition.scss +4 -3
- package/styles/list-view/_layout.scss +33 -9
- package/styles/list-view/_tailwind-definition.scss +4 -3
- package/styles/list-view/_theme.scss +4 -4
- package/styles/list-view/bootstrap-dark.css +16 -3
- package/styles/list-view/bootstrap.css +16 -3
- package/styles/list-view/bootstrap4.css +18 -5
- package/styles/list-view/bootstrap5-dark.css +25 -12
- package/styles/list-view/bootstrap5.css +25 -12
- package/styles/list-view/fabric-dark.css +16 -3
- package/styles/list-view/fabric.css +16 -3
- package/styles/list-view/fluent-dark.css +553 -0
- package/styles/list-view/fluent-dark.scss +5 -0
- package/styles/list-view/fluent.css +553 -0
- package/styles/list-view/fluent.scss +5 -0
- package/styles/list-view/highcontrast-light.css +16 -3
- package/styles/list-view/highcontrast.css +16 -3
- package/styles/list-view/icons/_fluent-dark.scss +1 -0
- package/styles/list-view/icons/_fluent.scss +2 -2
- package/styles/list-view/icons/_tailwind-dark.scss +6 -10
- package/styles/list-view/icons/_tailwind.scss +6 -10
- package/styles/list-view/material-dark.css +16 -3
- package/styles/list-view/material.css +16 -3
- package/styles/list-view/tailwind-dark.css +31 -18
- package/styles/list-view/tailwind.css +31 -18
- package/styles/material-dark.css +16 -3
- package/styles/material.css +16 -3
- package/styles/sortable/fluent-dark.css +26 -0
- package/styles/sortable/fluent-dark.scss +2 -0
- package/styles/sortable/fluent.css +26 -0
- package/styles/sortable/fluent.scss +2 -0
- package/styles/tailwind-dark.css +31 -18
- package/styles/tailwind.css +31 -18
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@18.13.11",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ajtPRbAdXjzlzaJ/ZD8YGhCwuH/lrvveMBkHDCeSOvhwUWSpGCRjJgVAH3bjZmQBYTA4VCiu6gTeC0vP+YEZ1Q==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"/@syncfusion/ej2-schedule",
|
|
35
35
|
"/@syncfusion/ej2-vue-lists"
|
|
36
36
|
],
|
|
37
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
38
|
-
"_shasum": "
|
|
37
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.13.11.tgz",
|
|
38
|
+
"_shasum": "241466ef35e057a37eac6617a21fce4016fdb396",
|
|
39
39
|
"_spec": "@syncfusion/ej2-lists@*",
|
|
40
40
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
41
41
|
"author": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"bundleDependencies": false,
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@syncfusion/ej2-base": "~
|
|
47
|
-
"@syncfusion/ej2-buttons": "~
|
|
48
|
-
"@syncfusion/ej2-data": "~
|
|
46
|
+
"@syncfusion/ej2-base": "~20.1.47",
|
|
47
|
+
"@syncfusion/ej2-buttons": "~20.1.47",
|
|
48
|
+
"@syncfusion/ej2-data": "~20.1.47"
|
|
49
49
|
},
|
|
50
50
|
"deprecated": false,
|
|
51
51
|
"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.",
|
|
@@ -85,6 +85,6 @@
|
|
|
85
85
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
|
|
86
86
|
},
|
|
87
87
|
"typings": "index.d.ts",
|
|
88
|
-
"version": "
|
|
88
|
+
"version": "20.1.47",
|
|
89
89
|
"sideEffects": false
|
|
90
90
|
}
|
package/src/common/list-base.js
CHANGED
|
@@ -214,7 +214,8 @@ export var ListBase;
|
|
|
214
214
|
var curOpt = extend({}, defaultListBaseOptions, options);
|
|
215
215
|
cssClass = getModuleClass(curOpt.moduleName);
|
|
216
216
|
var fields = (componentInstance &&
|
|
217
|
-
(componentInstance.getModuleName()
|
|
217
|
+
(componentInstance.getModuleName() === 'listview' || componentInstance.getModuleName() === 'multiselect'))
|
|
218
|
+
? curOpt.fields : extend({}, ListBase.defaultMappedFields, curOpt.fields);
|
|
218
219
|
var ariaAttributes = extend({}, defaultAriaAttributes, curOpt.ariaAttributes);
|
|
219
220
|
var id;
|
|
220
221
|
var checkboxElement = [];
|
|
@@ -636,7 +637,7 @@ export var ListBase;
|
|
|
636
637
|
else {
|
|
637
638
|
var currentID = isHeader ? curOpt.groupTemplateID : curOpt.templateID;
|
|
638
639
|
if (isHeader) {
|
|
639
|
-
if (componentInstance && componentInstance.getModuleName() !=
|
|
640
|
+
if (componentInstance && componentInstance.getModuleName() != 'listview') {
|
|
640
641
|
// eslint-disable-next-line
|
|
641
642
|
var compiledElement = compiledString(curItem, componentInstance, 'headerTemplate', currentID, !!curOpt.isStringTemplate, null, li);
|
|
642
643
|
if (compiledElement) {
|
|
@@ -648,7 +649,7 @@ export var ListBase;
|
|
|
648
649
|
}
|
|
649
650
|
}
|
|
650
651
|
else {
|
|
651
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
652
|
+
if (componentInstance && componentInstance.getModuleName() !== 'listview') {
|
|
652
653
|
// eslint-disable-next-line
|
|
653
654
|
var compiledElement = compiledString(curItem, componentInstance, 'template', currentID, !!curOpt.isStringTemplate, null, li);
|
|
654
655
|
if (compiledElement) {
|
|
@@ -704,7 +705,7 @@ export var ListBase;
|
|
|
704
705
|
var headerData = {};
|
|
705
706
|
headerData[category] = header.textContent;
|
|
706
707
|
header.innerHTML = '';
|
|
707
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
708
|
+
if (componentInstance && componentInstance.getModuleName() !== "listview") {
|
|
708
709
|
// eslint-disable-next-line
|
|
709
710
|
var compiledElement = compiledString(headerData, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, header);
|
|
710
711
|
if (compiledElement) {
|
|
@@ -888,7 +889,7 @@ export var ListBase;
|
|
|
888
889
|
if (grpLI && options && options.groupTemplate) {
|
|
889
890
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
890
891
|
var compiledString = compileTemplate(options.groupTemplate);
|
|
891
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
892
|
+
if (componentInstance && componentInstance.getModuleName() !== "listview") {
|
|
892
893
|
// eslint-disable-next-line
|
|
893
894
|
var compiledElement = compiledString(item, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, li);
|
|
894
895
|
if (compiledElement) {
|
|
@@ -902,7 +903,7 @@ export var ListBase;
|
|
|
902
903
|
else if (!grpLI && options && options.template) {
|
|
903
904
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
904
905
|
var compiledString = compileTemplate(options.template);
|
|
905
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
906
|
+
if (componentInstance && componentInstance.getModuleName() !== 'listview') {
|
|
906
907
|
// eslint-disable-next-line
|
|
907
908
|
var compiledElement = compiledString(item, componentInstance, 'template', curOpt.templateID, !!curOpt.isStringTemplate, null, li);
|
|
908
909
|
if (compiledElement) {
|
|
@@ -1014,6 +1015,9 @@ function compileTemplate(template) {
|
|
|
1014
1015
|
if (document.querySelector(template)) {
|
|
1015
1016
|
return compile(document.querySelector(template).innerHTML.trim());
|
|
1016
1017
|
}
|
|
1018
|
+
else {
|
|
1019
|
+
return compile(template);
|
|
1020
|
+
}
|
|
1017
1021
|
}
|
|
1018
1022
|
catch (e) {
|
|
1019
1023
|
return compile(template);
|
|
@@ -63,6 +63,7 @@ export var classNames = {
|
|
|
63
63
|
content: 'e-content',
|
|
64
64
|
icon: 'e-icons',
|
|
65
65
|
backIcon: 'e-icon-back',
|
|
66
|
+
backButton: 'e-back-button',
|
|
66
67
|
checkboxWrapper: 'e-checkbox-wrapper',
|
|
67
68
|
checkbox: 'e-checkbox',
|
|
68
69
|
checked: 'e-check',
|
|
@@ -303,7 +304,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
303
304
|
var innerHeaderEle = this.createElement('span', { className: classNames.headerText, innerHTML: this.headerTitle });
|
|
304
305
|
var textEle = this.createElement('div', { className: classNames.text, innerHTML: innerHeaderEle.outerHTML });
|
|
305
306
|
var hedBackButton = this.createElement('div', {
|
|
306
|
-
className: classNames.icon + ' ' + classNames.backIcon + '
|
|
307
|
+
className: classNames.icon + ' ' + classNames.backIcon + ' ' + classNames.backButton,
|
|
307
308
|
attrs: { style: 'display:none;' }
|
|
308
309
|
});
|
|
309
310
|
this.headerEle.appendChild(hedBackButton);
|
|
@@ -420,7 +421,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
420
421
|
groupTemplate: this.groupTemplate, expandCollapse: true, listClass: '',
|
|
421
422
|
ariaAttributes: {
|
|
422
423
|
itemRole: 'option', listRole: 'presentation', itemText: '',
|
|
423
|
-
groupItemRole: '
|
|
424
|
+
groupItemRole: 'option', wrapperRole: 'presentation'
|
|
424
425
|
},
|
|
425
426
|
// eslint-disable-next-line
|
|
426
427
|
fields: (this.fields.properties),
|
|
@@ -674,6 +675,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
674
675
|
}
|
|
675
676
|
else {
|
|
676
677
|
this.setSelectLI(li, e);
|
|
678
|
+
this.element.focus();
|
|
677
679
|
}
|
|
678
680
|
closestElement = closest(e.target, 'li');
|
|
679
681
|
if (!isNullOrUndefined(closestElement)) {
|
|
@@ -696,6 +698,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
696
698
|
this.removeHover();
|
|
697
699
|
};
|
|
698
700
|
ListView.prototype.homeKeyHandler = function (e, end) {
|
|
701
|
+
e.preventDefault();
|
|
699
702
|
if (Object.keys(this.dataSource).length && this.curUL) {
|
|
700
703
|
if (this.selectedItems) {
|
|
701
704
|
(this.selectedItems.item).setAttribute('aria-selected', 'false');
|
|
@@ -854,6 +857,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
854
857
|
}
|
|
855
858
|
};
|
|
856
859
|
ListView.prototype.spaceKeyHandler = function (e) {
|
|
860
|
+
e.preventDefault();
|
|
857
861
|
if (this.enable && this.showCheckBox && Object.keys(this.dataSource).length && this.curUL) {
|
|
858
862
|
var li = this.curUL.querySelector('.' + classNames.focused);
|
|
859
863
|
var checkboxElement = void 0;
|
|
@@ -1018,9 +1022,11 @@ var ListView = /** @class */ (function (_super) {
|
|
|
1018
1022
|
else {
|
|
1019
1023
|
selectedItem =
|
|
1020
1024
|
// eslint-disable-next-line
|
|
1021
|
-
{
|
|
1025
|
+
{
|
|
1026
|
+
item: li, text: fieldData && fieldData[this.listBaseOption.fields.text],
|
|
1022
1027
|
// eslint-disable-next-line
|
|
1023
|
-
data: data
|
|
1028
|
+
data: data
|
|
1029
|
+
};
|
|
1024
1030
|
}
|
|
1025
1031
|
var eventArgs = {};
|
|
1026
1032
|
merge(eventArgs, selectedItem);
|
|
@@ -1173,16 +1179,19 @@ var ListView = /** @class */ (function (_super) {
|
|
|
1173
1179
|
};
|
|
1174
1180
|
ListView.prototype.setViewDataSource = function (dataSource) {
|
|
1175
1181
|
if (dataSource === void 0) { dataSource = this.localData; }
|
|
1182
|
+
// eslint-disable-next-line
|
|
1183
|
+
var fieldValue = (isNullOrUndefined(this.fields.sortBy)) ? this.fields.text : this.fields.sortBy;
|
|
1184
|
+
var query = ListBase.addSorting(this.sortOrder, fieldValue);
|
|
1176
1185
|
if (dataSource && this.fields.groupBy) {
|
|
1177
1186
|
if (this.sortOrder !== 'None') {
|
|
1178
|
-
this.curViewDS = ListBase.groupDataSource(ListBase.getDataSource(dataSource,
|
|
1187
|
+
this.curViewDS = ListBase.groupDataSource(ListBase.getDataSource(dataSource, query), this.listBaseOption.fields, this.sortOrder);
|
|
1179
1188
|
}
|
|
1180
1189
|
else {
|
|
1181
1190
|
this.curViewDS = ListBase.groupDataSource(dataSource, this.listBaseOption.fields, this.sortOrder);
|
|
1182
1191
|
}
|
|
1183
1192
|
}
|
|
1184
1193
|
else if (dataSource && this.sortOrder !== 'None') {
|
|
1185
|
-
this.curViewDS = ListBase.getDataSource(dataSource,
|
|
1194
|
+
this.curViewDS = ListBase.getDataSource(dataSource, query);
|
|
1186
1195
|
}
|
|
1187
1196
|
else {
|
|
1188
1197
|
this.curViewDS = dataSource;
|
|
@@ -224,6 +224,7 @@ var Virtualization = /** @class */ (function () {
|
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
Virtualization.prototype.updateUiContent = function (element, index) {
|
|
227
|
+
// eslint-disable-next-line
|
|
227
228
|
var curViewDs = this.listViewInstance.curViewDS;
|
|
228
229
|
if (typeof this.listViewInstance.dataSource[0] === 'string' ||
|
|
229
230
|
typeof this.listViewInstance.dataSource[0] === 'number') {
|
|
@@ -386,8 +387,10 @@ var Virtualization = /** @class */ (function () {
|
|
|
386
387
|
var indexArray = this.uiIndices.activeIndices;
|
|
387
388
|
for (var i = 0; i < indexArray.length; i++) {
|
|
388
389
|
textCollection.push(curViewDS_2[indexArray[i]][text]);
|
|
390
|
+
// eslint-disable-next-line
|
|
389
391
|
dataCollection.push(curViewDS_2[indexArray[i]]);
|
|
390
392
|
}
|
|
393
|
+
// eslint-disable-next-line
|
|
391
394
|
var dataSource_1 = this.listViewInstance.dataSource instanceof DataManager
|
|
392
395
|
? curViewDS_2 : this.listViewInstance.dataSource;
|
|
393
396
|
return {
|
|
@@ -400,6 +403,7 @@ var Virtualization = /** @class */ (function () {
|
|
|
400
403
|
};
|
|
401
404
|
}
|
|
402
405
|
else {
|
|
406
|
+
// eslint-disable-next-line
|
|
403
407
|
var dataSource = this.listViewInstance.dataSource instanceof DataManager
|
|
404
408
|
? curViewDS_2 : this.listViewInstance.dataSource;
|
|
405
409
|
return {
|
|
@@ -416,6 +420,7 @@ var Virtualization = /** @class */ (function () {
|
|
|
416
420
|
}
|
|
417
421
|
};
|
|
418
422
|
Virtualization.prototype.selectItem = function (obj) {
|
|
423
|
+
// eslint-disable-next-line
|
|
419
424
|
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj);
|
|
420
425
|
if (Object.keys(resutJSON).length) {
|
|
421
426
|
var isSelected = this.activeIndex === resutJSON.index;
|
|
@@ -443,6 +448,7 @@ var Virtualization = /** @class */ (function () {
|
|
|
443
448
|
}
|
|
444
449
|
}
|
|
445
450
|
else {
|
|
451
|
+
// eslint-disable-next-line
|
|
446
452
|
var eventArgs = void 0;
|
|
447
453
|
if (typeof this.listViewInstance.dataSource[0] === 'string' ||
|
|
448
454
|
typeof this.listViewInstance.dataSource[0] === 'number') {
|
|
@@ -476,24 +482,28 @@ var Virtualization = /** @class */ (function () {
|
|
|
476
482
|
}
|
|
477
483
|
};
|
|
478
484
|
Virtualization.prototype.enableItem = function (obj) {
|
|
485
|
+
// eslint-disable-next-line
|
|
479
486
|
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj);
|
|
480
487
|
if (Object.keys(resutJSON).length) {
|
|
481
488
|
this.uiIndices.disabledItemIndices.splice(this.uiIndices.disabledItemIndices.indexOf(resutJSON.index), 1);
|
|
482
489
|
}
|
|
483
490
|
};
|
|
484
491
|
Virtualization.prototype.disableItem = function (obj) {
|
|
492
|
+
// eslint-disable-next-line
|
|
485
493
|
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj);
|
|
486
494
|
if (Object.keys(resutJSON).length && this.uiIndices.disabledItemIndices.indexOf(resutJSON.index) === -1) {
|
|
487
495
|
this.uiIndices.disabledItemIndices.push(resutJSON.index);
|
|
488
496
|
}
|
|
489
497
|
};
|
|
490
498
|
Virtualization.prototype.showItem = function (obj) {
|
|
499
|
+
// eslint-disable-next-line
|
|
491
500
|
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj);
|
|
492
501
|
if (Object.keys(resutJSON).length) {
|
|
493
502
|
this.uiIndices.hiddenItemIndices.splice(this.uiIndices.hiddenItemIndices.indexOf(resutJSON.index), 1);
|
|
494
503
|
}
|
|
495
504
|
};
|
|
496
505
|
Virtualization.prototype.hideItem = function (obj) {
|
|
506
|
+
// eslint-disable-next-line
|
|
497
507
|
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj);
|
|
498
508
|
if (Object.keys(resutJSON).length && this.uiIndices.hiddenItemIndices.indexOf(resutJSON.index) === -1) {
|
|
499
509
|
this.uiIndices.hiddenItemIndices.push(resutJSON.index);
|
|
@@ -502,7 +512,9 @@ var Virtualization = /** @class */ (function () {
|
|
|
502
512
|
Virtualization.prototype.removeItem = function (obj) {
|
|
503
513
|
var dataSource;
|
|
504
514
|
var curViewDS = this.listViewInstance.curViewDS;
|
|
515
|
+
// eslint-disable-next-line
|
|
505
516
|
var resutJSON = this.findDSAndIndexFromId(curViewDS, obj);
|
|
517
|
+
// eslint-disable-next-line
|
|
506
518
|
if (Object.keys(resutJSON).length) {
|
|
507
519
|
dataSource = resutJSON.data;
|
|
508
520
|
if (curViewDS[resutJSON.index - 1] &&
|
|
@@ -722,6 +734,7 @@ var Virtualization = /** @class */ (function () {
|
|
|
722
734
|
}
|
|
723
735
|
}
|
|
724
736
|
else {
|
|
737
|
+
// eslint-disable-next-line
|
|
725
738
|
var index = this.listViewInstance.curViewDS.indexOf(currentItem);
|
|
726
739
|
// virtually new add list item based on the scollbar position
|
|
727
740
|
this.addUiItem(index);
|
package/src/sortable/sortable.js
CHANGED
|
@@ -64,6 +64,8 @@ var Sortable = /** @class */ (function (_super) {
|
|
|
64
64
|
};
|
|
65
65
|
// eslint-disable-next-line
|
|
66
66
|
_this.onDrag = function (e) {
|
|
67
|
+
if (!e.target)
|
|
68
|
+
return;
|
|
67
69
|
_this.trigger('drag', { event: e.event, element: _this.element, target: e.target });
|
|
68
70
|
var newInst = _this.getSortableInstance(e.target);
|
|
69
71
|
var target = _this.getSortableElement(e.target, newInst);
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
font-size: 15px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
.e-bigger .e-listview .e-text-content.e-checkbox .e-list-text,
|
|
62
|
+
.e-listview.e-bigger .e-text-content.e-checkbox .e-list-text {
|
|
63
|
+
width: calc(100% - 40px);
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
.e-listview {
|
|
62
67
|
-webkit-overflow-scrolling: touch;
|
|
63
68
|
border: 0 solid;
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
top: 45px;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
|
-
.e-listview .e-
|
|
120
|
+
.e-listview .e-back-button {
|
|
116
121
|
cursor: pointer;
|
|
117
122
|
padding-right: 10px;
|
|
118
123
|
}
|
|
@@ -131,6 +136,10 @@
|
|
|
131
136
|
padding: 0 15px;
|
|
132
137
|
}
|
|
133
138
|
|
|
139
|
+
.e-listview .e-list-group-item .e-list-text {
|
|
140
|
+
cursor: default;
|
|
141
|
+
}
|
|
142
|
+
|
|
134
143
|
.e-listview .e-icon-collapsible {
|
|
135
144
|
cursor: pointer;
|
|
136
145
|
font-size: 12px;
|
|
@@ -208,8 +217,12 @@
|
|
|
208
217
|
position: relative;
|
|
209
218
|
}
|
|
210
219
|
|
|
211
|
-
.e-listview .e-list-header .e-text {
|
|
220
|
+
.e-listview .e-list-header.e-list-navigation .e-text {
|
|
212
221
|
cursor: pointer;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.e-listview .e-list-header .e-text {
|
|
225
|
+
cursor: default;
|
|
213
226
|
text-indent: 0;
|
|
214
227
|
}
|
|
215
228
|
|
|
@@ -238,7 +251,7 @@
|
|
|
238
251
|
cursor: pointer;
|
|
239
252
|
}
|
|
240
253
|
|
|
241
|
-
.e-listview.e-rtl .e-
|
|
254
|
+
.e-listview.e-rtl .e-back-button {
|
|
242
255
|
transform: rotate(180deg);
|
|
243
256
|
}
|
|
244
257
|
|
package/styles/bootstrap.css
CHANGED
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
font-size: 15px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
.e-bigger .e-listview .e-text-content.e-checkbox .e-list-text,
|
|
62
|
+
.e-listview.e-bigger .e-text-content.e-checkbox .e-list-text {
|
|
63
|
+
width: calc(100% - 40px);
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
.e-listview {
|
|
62
67
|
-webkit-overflow-scrolling: touch;
|
|
63
68
|
border: 0 solid;
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
top: 45px;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
|
-
.e-listview .e-
|
|
120
|
+
.e-listview .e-back-button {
|
|
116
121
|
cursor: pointer;
|
|
117
122
|
padding-right: 10px;
|
|
118
123
|
}
|
|
@@ -131,6 +136,10 @@
|
|
|
131
136
|
padding: 0 15px;
|
|
132
137
|
}
|
|
133
138
|
|
|
139
|
+
.e-listview .e-list-group-item .e-list-text {
|
|
140
|
+
cursor: default;
|
|
141
|
+
}
|
|
142
|
+
|
|
134
143
|
.e-listview .e-icon-collapsible {
|
|
135
144
|
cursor: pointer;
|
|
136
145
|
font-size: 12px;
|
|
@@ -208,8 +217,12 @@
|
|
|
208
217
|
position: relative;
|
|
209
218
|
}
|
|
210
219
|
|
|
211
|
-
.e-listview .e-list-header .e-text {
|
|
220
|
+
.e-listview .e-list-header.e-list-navigation .e-text {
|
|
212
221
|
cursor: pointer;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.e-listview .e-list-header .e-text {
|
|
225
|
+
cursor: default;
|
|
213
226
|
text-indent: 0;
|
|
214
227
|
}
|
|
215
228
|
|
|
@@ -238,7 +251,7 @@
|
|
|
238
251
|
cursor: pointer;
|
|
239
252
|
}
|
|
240
253
|
|
|
241
|
-
.e-listview.e-rtl .e-
|
|
254
|
+
.e-listview.e-rtl .e-back-button {
|
|
242
255
|
transform: rotate(180deg);
|
|
243
256
|
}
|
|
244
257
|
|
package/styles/bootstrap4.css
CHANGED
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
font-size: 20px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.e-bigger .e-listview .e-
|
|
73
|
-
.e-listview.e-bigger .e-
|
|
72
|
+
.e-bigger .e-listview .e-back-button,
|
|
73
|
+
.e-listview.e-bigger .e-back-button {
|
|
74
74
|
margin-top: -3px;
|
|
75
75
|
padding-right: 12px;
|
|
76
76
|
}
|
|
@@ -105,6 +105,11 @@
|
|
|
105
105
|
margin: 0 0 0 12px;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
.e-bigger .e-listview .e-text-content.e-checkbox .e-list-text,
|
|
109
|
+
.e-listview.e-bigger .e-text-content.e-checkbox .e-list-text {
|
|
110
|
+
width: calc(100% - 40px);
|
|
111
|
+
}
|
|
112
|
+
|
|
108
113
|
.e-listview {
|
|
109
114
|
-webkit-overflow-scrolling: touch;
|
|
110
115
|
border: 1px solid;
|
|
@@ -159,7 +164,7 @@
|
|
|
159
164
|
top: 45px;
|
|
160
165
|
}
|
|
161
166
|
|
|
162
|
-
.e-listview .e-
|
|
167
|
+
.e-listview .e-back-button {
|
|
163
168
|
cursor: pointer;
|
|
164
169
|
padding-right: 10px;
|
|
165
170
|
}
|
|
@@ -178,6 +183,10 @@
|
|
|
178
183
|
padding: 8px 16px 8px 16px;
|
|
179
184
|
}
|
|
180
185
|
|
|
186
|
+
.e-listview .e-list-group-item .e-list-text {
|
|
187
|
+
cursor: default;
|
|
188
|
+
}
|
|
189
|
+
|
|
181
190
|
.e-listview .e-icon-collapsible {
|
|
182
191
|
cursor: pointer;
|
|
183
192
|
font-size: 10px;
|
|
@@ -255,8 +264,12 @@
|
|
|
255
264
|
position: relative;
|
|
256
265
|
}
|
|
257
266
|
|
|
258
|
-
.e-listview .e-list-header .e-text {
|
|
267
|
+
.e-listview .e-list-header.e-list-navigation .e-text {
|
|
259
268
|
cursor: pointer;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.e-listview .e-list-header .e-text {
|
|
272
|
+
cursor: default;
|
|
260
273
|
text-indent: 0;
|
|
261
274
|
}
|
|
262
275
|
|
|
@@ -285,7 +298,7 @@
|
|
|
285
298
|
cursor: pointer;
|
|
286
299
|
}
|
|
287
300
|
|
|
288
|
-
.e-listview.e-rtl .e-
|
|
301
|
+
.e-listview.e-rtl .e-back-button {
|
|
289
302
|
transform: rotate(180deg);
|
|
290
303
|
}
|
|
291
304
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
.e-bigger .e-listview:not(.e-list-template) .e-list-item,
|
|
19
19
|
.e-listview.e-bigger:not(.e-list-template) .e-list-item {
|
|
20
20
|
height: 40px;
|
|
21
|
-
line-height:
|
|
21
|
+
line-height: 21px;
|
|
22
22
|
position: relative;
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
display: -ms-flexbox;
|
|
41
41
|
display: flex;
|
|
42
42
|
font-weight: 500;
|
|
43
|
-
height:
|
|
43
|
+
height: 40px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.e-bigger .e-listview .e-list-header .e-text.header,
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
font-size: 14px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
.e-bigger .e-listview .e-text-content.e-checkbox .e-list-text,
|
|
62
|
+
.e-listview.e-bigger .e-text-content.e-checkbox .e-list-text {
|
|
63
|
+
width: calc(100% - 40px);
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
.e-listview {
|
|
62
67
|
-webkit-overflow-scrolling: touch;
|
|
63
68
|
border: 1px solid;
|
|
@@ -103,7 +108,7 @@
|
|
|
103
108
|
display: -ms-flexbox;
|
|
104
109
|
display: flex;
|
|
105
110
|
font-weight: 500;
|
|
106
|
-
height:
|
|
111
|
+
height: 36px;
|
|
107
112
|
border-bottom: 1px solid;
|
|
108
113
|
padding: 0 12px;
|
|
109
114
|
}
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
top: 45px;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
|
-
.e-listview .e-
|
|
120
|
+
.e-listview .e-back-button {
|
|
116
121
|
cursor: pointer;
|
|
117
122
|
padding-right: 8px;
|
|
118
123
|
}
|
|
@@ -131,6 +136,10 @@
|
|
|
131
136
|
padding: 7px 9px 7px 12px;
|
|
132
137
|
}
|
|
133
138
|
|
|
139
|
+
.e-listview .e-list-group-item .e-list-text {
|
|
140
|
+
cursor: default;
|
|
141
|
+
}
|
|
142
|
+
|
|
134
143
|
.e-listview .e-icon-collapsible {
|
|
135
144
|
cursor: pointer;
|
|
136
145
|
font-size: 12px;
|
|
@@ -208,8 +217,12 @@
|
|
|
208
217
|
position: relative;
|
|
209
218
|
}
|
|
210
219
|
|
|
211
|
-
.e-listview .e-list-header .e-text {
|
|
220
|
+
.e-listview .e-list-header.e-list-navigation .e-text {
|
|
212
221
|
cursor: pointer;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.e-listview .e-list-header .e-text {
|
|
225
|
+
cursor: default;
|
|
213
226
|
text-indent: 0;
|
|
214
227
|
}
|
|
215
228
|
|
|
@@ -238,7 +251,7 @@
|
|
|
238
251
|
cursor: pointer;
|
|
239
252
|
}
|
|
240
253
|
|
|
241
|
-
.e-listview.e-rtl .e-
|
|
254
|
+
.e-listview.e-rtl .e-back-button {
|
|
242
255
|
transform: rotate(180deg);
|
|
243
256
|
}
|
|
244
257
|
|
|
@@ -262,7 +275,7 @@
|
|
|
262
275
|
|
|
263
276
|
.e-listview .e-list-header {
|
|
264
277
|
background-color: transparent;
|
|
265
|
-
border-color: #
|
|
278
|
+
border-color: #444c54;
|
|
266
279
|
color: #7b848d;
|
|
267
280
|
font-size: 12px;
|
|
268
281
|
}
|
|
@@ -271,11 +284,11 @@
|
|
|
271
284
|
color: #adb5bd;
|
|
272
285
|
}
|
|
273
286
|
|
|
274
|
-
.e-listview .e-icons
|
|
287
|
+
.e-listview .e-icons.e-back-button:hover {
|
|
275
288
|
color: #dee2e6;
|
|
276
289
|
}
|
|
277
290
|
|
|
278
|
-
.e-listview .e-icons
|
|
291
|
+
.e-listview .e-icons.e-back-button:active {
|
|
279
292
|
color: #f8f9fa;
|
|
280
293
|
}
|
|
281
294
|
|
|
@@ -320,7 +333,7 @@
|
|
|
320
333
|
|
|
321
334
|
.e-listview .e-list-group-item {
|
|
322
335
|
background-color: transparent;
|
|
323
|
-
border-color: #
|
|
336
|
+
border-color: #444c54;
|
|
324
337
|
color: #7b848d;
|
|
325
338
|
font-size: 12px;
|
|
326
339
|
}
|
|
@@ -335,11 +348,11 @@
|
|
|
335
348
|
}
|
|
336
349
|
|
|
337
350
|
.e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line) {
|
|
338
|
-
padding:
|
|
351
|
+
padding: 10px 16px;
|
|
339
352
|
}
|
|
340
353
|
|
|
341
354
|
.e-listview.e-list-template .e-list-wrapper:not(.e-list-multi-line).e-list-badge:not(.e-list-avatar) {
|
|
342
|
-
padding: 0
|
|
355
|
+
padding: 0 8px 0 12px;
|
|
343
356
|
}
|
|
344
357
|
|
|
345
358
|
.e-listview.e-list-template .e-list-wrapper.e-list-multi-line {
|