@syncfusion/ej2-lists 23.1.43 → 24.1.41

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +0 -8
  2. package/dist/ej2-lists.min.js +2 -2
  3. package/dist/ej2-lists.umd.min.js +2 -2
  4. package/dist/ej2-lists.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-lists.es2015.js +105 -244
  6. package/dist/es6/ej2-lists.es2015.js.map +1 -1
  7. package/dist/es6/ej2-lists.es5.js +101 -241
  8. package/dist/es6/ej2-lists.es5.js.map +1 -1
  9. package/dist/global/ej2-lists.min.js +2 -2
  10. package/dist/global/ej2-lists.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +10 -9
  13. package/src/common/list-base.js +12 -14
  14. package/src/list-view/list-view-model.d.ts +8 -1
  15. package/src/list-view/list-view.d.ts +34 -0
  16. package/src/list-view/list-view.js +32 -35
  17. package/src/list-view/virtualization.d.ts +1 -8
  18. package/src/list-view/virtualization.js +57 -192
  19. package/styles/bootstrap4.css +2 -2
  20. package/styles/bootstrap5-dark.css +1 -1
  21. package/styles/bootstrap5.css +1 -1
  22. package/styles/list-view/_bootstrap4-definition.scss +2 -2
  23. package/styles/list-view/_bootstrap5-definition.scss +1 -1
  24. package/styles/list-view/_material-definition.scss +1 -1
  25. package/styles/list-view/_material3-definition.scss +1 -1
  26. package/styles/list-view/_tailwind-definition.scss +2 -2
  27. package/styles/list-view/bootstrap4.css +2 -2
  28. package/styles/list-view/bootstrap5-dark.css +1 -1
  29. package/styles/list-view/bootstrap5.css +1 -1
  30. package/styles/list-view/material.css +1 -1
  31. package/styles/list-view/material3-dark.css +1 -1
  32. package/styles/list-view/material3.css +1 -1
  33. package/styles/list-view/tailwind-dark.css +4 -4
  34. package/styles/list-view/tailwind.css +4 -4
  35. package/styles/material.css +1 -1
  36. package/styles/material3-dark.css +1 -1
  37. package/styles/material3.css +1 -1
  38. package/styles/tailwind-dark.css +4 -4
  39. package/styles/tailwind.css +4 -4
@@ -1,5 +1,5 @@
1
1
  import { classNames } from './list-view';
2
- import { EventHandler, append, isNullOrUndefined, detach, removeClass, addClass, compile, formatUnit } from '@syncfusion/ej2-base';
2
+ import { EventHandler, append, isNullOrUndefined, detach, compile, formatUnit, select } from '@syncfusion/ej2-base';
3
3
  import { ListBase } from '../common/list-base';
4
4
  import { DataManager } from '@syncfusion/ej2-data';
5
5
  var listElementCount = 1.5;
@@ -31,10 +31,6 @@ var Virtualization = /** @class */ (function () {
31
31
  * @private
32
32
  */
33
33
  Virtualization.prototype.uiVirtualization = function () {
34
- this.commonTemplate = '<div class="e-text-content" role="presentation"> ' +
35
- '<span class="e-list-text"> ${' + this.listViewInstance.fields.text + '} </span></div>';
36
- this.templateFunction = compile(this.listViewInstance.template || this.commonTemplate, this.listViewInstance);
37
- this.groupTemplateFunction = compile(this.listViewInstance.groupTemplate || this.commonTemplate, this.listViewInstance);
38
34
  this.wireScrollEvent(false);
39
35
  var curViewDS = this.listViewInstance.curViewDS;
40
36
  var firstDs = curViewDS.slice(0, 1);
@@ -167,6 +163,9 @@ var Virtualization = /** @class */ (function () {
167
163
  Virtualization.prototype.onVirtualUiScroll = function (e) {
168
164
  var _a;
169
165
  var startingHeight;
166
+ var curViewDS = this.listViewInstance.curViewDS;
167
+ this.listItemHeight = select('.e-list-item', this.listViewInstance.element).getBoundingClientRect().height;
168
+ this.totalHeight = (Object.keys(curViewDS).length * this.listItemHeight) - (this.domItemCount * this.listItemHeight);
170
169
  if (this.listViewInstance.isWindow) {
171
170
  startingHeight = this.listViewInstance.ulElement.getBoundingClientRect().top -
172
171
  document.documentElement.getBoundingClientRect().top;
@@ -282,7 +281,13 @@ var Virtualization = /** @class */ (function () {
282
281
  if (!element.querySelector('.' + classNames.checkboxWrapper)) {
283
282
  element.classList.add(classNames.checklist);
284
283
  textContent.classList.add(classNames.checkbox);
285
- textContent.insertBefore(this.checkListWrapper.cloneNode(true), element.querySelector('.' + classNames.listItemText));
284
+ if (this.listViewInstance.checkBoxPosition === 'Left') {
285
+ textContent.classList.add('e-checkbox-left');
286
+ }
287
+ else {
288
+ textContent.classList.add('e-checkbox-right');
289
+ }
290
+ textContent.append(this.checkListWrapper.cloneNode(true));
286
291
  }
287
292
  }
288
293
  }
@@ -526,7 +531,6 @@ var Virtualization = /** @class */ (function () {
526
531
  var curViewDS = this.listViewInstance.curViewDS;
527
532
  // eslint-disable-next-line
528
533
  var resutJSON = this.findDSAndIndexFromId(curViewDS, obj);
529
- // eslint-disable-next-line
530
534
  if (Object.keys(resutJSON).length) {
531
535
  dataSource = resutJSON.data;
532
536
  if (curViewDS[resutJSON.index - 1] &&
@@ -790,192 +794,50 @@ var Virtualization = /** @class */ (function () {
790
794
  this.refreshItemHeight();
791
795
  };
792
796
  Virtualization.prototype.createUIItem = function (args) {
793
- var template = document.createElement('div');
794
- this.templateData = args.curData.isHeader ? args.curData.items[0] :
795
- args.curData;
796
- if (this.listViewInstance.isReact) {
797
- this.commonTemplate = null;
798
- }
799
- if (this.listViewInstance.showCheckBox) {
800
- // eslint-disable-next-line
801
- this.listViewInstance.renderCheckbox(args);
802
- if ((!isNullOrUndefined(this.listViewInstance.virtualCheckBox)) &&
803
- (!isNullOrUndefined(this.listViewInstance.virtualCheckBox.outerHTML))) {
804
- var div_1 = document.createElement('div');
805
- var nodes = this.templateFunction(this.templateData, this.listViewInstance);
806
- if (this.listViewInstance.template && this.listViewInstance.isReact) {
807
- this.listViewInstance.renderReactTemplates();
808
- }
809
- [].slice.call(nodes).forEach(function (ele) {
810
- div_1.appendChild(ele);
811
- });
812
- if (div_1.children && div_1.children[0]) {
813
- div_1.children[0].classList.add('e-checkbox');
814
- if (this.listViewInstance.checkBoxPosition === 'Left') {
815
- div_1.children[0].classList.add('e-checkbox-left');
816
- }
817
- else {
818
- div_1.children[0].classList.add('e-checkbox-right');
819
- }
820
- if (this.listViewInstance.checkBoxPosition === 'Left') {
821
- div_1.children[0].insertBefore(this.listViewInstance.virtualCheckBox, div_1.childNodes[0].children[0]);
822
- }
823
- else {
824
- div_1.children[0].appendChild(this.listViewInstance.virtualCheckBox);
797
+ if (!args.item.classList.contains('e-list-group-item')) {
798
+ this.templateData = args.curData.isHeader ? args.curData.items[0] :
799
+ args.curData;
800
+ if (this.listViewInstance.showCheckBox) {
801
+ // eslint-disable-next-line
802
+ this.listViewInstance.renderCheckbox(args);
803
+ if ((!isNullOrUndefined(this.listViewInstance.virtualCheckBox)) &&
804
+ (!isNullOrUndefined(this.listViewInstance.virtualCheckBox.outerHTML))) {
805
+ var div_1 = document.createElement('div');
806
+ var commonTemplate = '<div class="e-text-content" role="presentation"> ' +
807
+ '<span class="e-list-text"> ${' + this.listViewInstance.fields.text + '} </span></div>';
808
+ var templateFunction = compile(this.listViewInstance.template || commonTemplate, this.listViewInstance);
809
+ var nodes = templateFunction(this.templateData, this.listViewInstance);
810
+ if (this.listViewInstance.template && this.listViewInstance.isReact) {
811
+ this.listViewInstance.renderReactTemplates();
825
812
  }
826
- template.innerHTML = div_1.innerHTML;
827
- }
828
- }
829
- else {
830
- var div_2 = document.createElement('div');
831
- var nodes = this.templateFunction(this.templateData, this.listViewInstance);
832
- if (this.listViewInstance.template && this.listViewInstance.isReact) {
833
- this.listViewInstance.renderReactTemplates();
834
- }
835
- [].slice.call(nodes).forEach(function (ele) {
836
- div_2.appendChild(ele);
837
- });
838
- template.innerHTML = div_2.innerHTML;
839
- }
840
- }
841
- else {
842
- var nodes = this.templateFunction(this.templateData, this.listViewInstance);
843
- if (this.listViewInstance.template && this.listViewInstance.isReact) {
844
- this.listViewInstance.renderReactTemplates();
845
- }
846
- [].slice.call(nodes).forEach(function (ele) {
847
- template.appendChild(ele);
848
- });
849
- }
850
- if (args.curData.isHeader) {
851
- this.headerData = args.curData;
852
- }
853
- var groupTemplate = this.listViewInstance.createElement('div');
854
- if (this.listViewInstance.fields.groupBy) {
855
- var nodes = this.groupTemplateFunction(this.headerData, this.listViewInstance);
856
- if (this.listViewInstance.template && this.listViewInstance.isReact) {
857
- this.listViewInstance.renderReactTemplates();
858
- }
859
- [].slice.call(nodes).forEach(function (ele) {
860
- groupTemplate.appendChild(ele);
861
- });
862
- }
863
- if ((!this.listViewInstance.isReact || (typeof this.listViewInstance.template == "string" && !args.item.classList.contains("e-list-group-item")) ||
864
- (typeof this.listViewInstance.groupTemplate == "string" && args.item.classList.contains("e-list-group-item"))) && !this.listViewInstance.isVue) {
865
- args.item.innerHTML = '';
866
- }
867
- args.item.context = { data: args.curData, nodes: { flatTemplateNodes: [], groupTemplateNodes: [] } };
868
- for (var i = 0; i < template.children.length; i++) {
869
- this.compileTemplate(template.children[i], args.item, false);
870
- }
871
- for (var i = 0; i < groupTemplate.children.length; i++) {
872
- this.compileTemplate(groupTemplate.children[i], args.item, true);
873
- }
874
- args.item.context.template = args.curData.isHeader ? template.firstElementChild :
875
- groupTemplate.firstElementChild;
876
- args.item.context.type = args.curData.isHeader ? 'flatList' : 'groupList';
877
- var element = args.curData.isHeader ? groupTemplate : template;
878
- if (element.firstElementChild && !this.listViewInstance.isReact && !this.listViewInstance.isVue) {
879
- args.item.insertBefore(element.firstElementChild, null);
880
- }
881
- };
882
- Virtualization.prototype.compileTemplate = function (element, item, isHeader) {
883
- var _this = this;
884
- var subNode = {};
885
- subNode.onChange = function (value) {
886
- var groupTemplateElements;
887
- var templateElements;
888
- if (_this.listViewInstance.isVue) {
889
- groupTemplateElements = _this.groupTemplateFunction(value);
890
- templateElements = _this.templateFunction(value);
891
- }
892
- else {
893
- groupTemplateElements = _this.groupTemplateFunction(value, _this.listViewInstance);
894
- templateElements = _this.templateFunction(value, _this.listViewInstance);
895
- }
896
- if (_this.listViewInstance.template && _this.listViewInstance.isReact) {
897
- _this.listViewInstance.renderReactTemplates();
898
- }
899
- var currentTemplate = templateElements;
900
- if (value.isHeader) {
901
- currentTemplate = groupTemplateElements;
902
- }
903
- [].slice.call(currentTemplate).forEach(function (currentElement) {
904
- var RemovableClass = element.classList.value.replace('e-checkbox', '');
905
- RemovableClass = RemovableClass.replace('e-checkbox-left', '');
906
- RemovableClass = RemovableClass.replace('e-checkbox-right', '');
907
- removeClass([element], RemovableClass.split(' ').filter(function (css) { return css; }));
908
- addClass([element], Array.from(currentElement.classList));
909
- for (var i = 0; i < element.attributes.length; i++) {
910
- if (element.attributes[i].name != 'class') {
911
- var newData = currentElement.getAttribute(element.attributes[i].name);
912
- element.setAttribute(element.attributes[i].name, newData);
813
+ [].slice.call(nodes).forEach(function (ele) {
814
+ div_1.appendChild(ele);
815
+ });
816
+ if (div_1.children && div_1.children[0]) {
817
+ div_1.children[0].classList.add('e-checkbox');
818
+ if (this.listViewInstance.checkBoxPosition === 'Left') {
819
+ div_1.children[0].classList.add('e-checkbox-left');
820
+ }
821
+ else {
822
+ div_1.children[0].classList.add('e-checkbox-right');
823
+ }
824
+ if (this.listViewInstance.checkBoxPosition === 'Left') {
825
+ div_1.children[0].insertBefore(this.listViewInstance.virtualCheckBox, div_1.childNodes[0].children[0]);
826
+ }
827
+ else {
828
+ div_1.children[0].appendChild(this.listViewInstance.virtualCheckBox);
829
+ }
830
+ while (args.item.lastChild) {
831
+ args.item.removeChild(args.item.lastChild);
832
+ }
833
+ [].slice.call(div_1.children).forEach(function (ele) {
834
+ args.item.appendChild(ele);
835
+ });
913
836
  }
914
837
  }
915
- [].slice.call(element.children).forEach(function (ele) {
916
- if (!ele.classList.contains('e-listview-checkbox') && !(ele.classList.contains('e-checkbox-left') || ele.classList.contains('e-checkbox-right'))) {
917
- ele.remove();
918
- }
919
- });
920
- [].slice.call(currentElement.children).forEach(function (ele) {
921
- element.appendChild(ele);
922
- });
923
- });
924
- };
925
- this.updateContextData(item, subNode, isHeader);
926
- };
927
- Virtualization.prototype.onChange = function (newData, listElement) {
928
- listElement.context.data = newData;
929
- // eslint-disable-next-line max-len
930
- var groupTemplateNodes = listElement.context.nodes.groupTemplateNodes;
931
- // eslint-disable-next-line max-len
932
- var flatTemplateNodes = listElement.context.nodes.flatTemplateNodes;
933
- // eslint-disable-next-line
934
- if (!isNullOrUndefined(newData.isHeader) && newData.isHeader && listElement.context.type === 'groupList') {
935
- // eslint-disable-next-line
936
- var element = listElement.firstElementChild;
937
- detach(listElement.firstElementChild);
938
- listElement.insertBefore(listElement.context.template, null);
939
- listElement.context.template = element;
940
- listElement.context.type = 'flatList';
941
- for (var i = 0; i < groupTemplateNodes.length; i++) {
942
- // eslint-disable-next-line
943
- groupTemplateNodes[i].onChange(newData);
944
- }
945
- }
946
- else if (!newData.isHeader && listElement.context.type === 'flatList') {
947
- var element = listElement.firstElementChild;
948
- detach(listElement.firstElementChild);
949
- listElement.insertBefore(listElement.context.template, null);
950
- listElement.context.template = element;
951
- listElement.context.type = 'groupList';
952
- for (var i = 0; i < flatTemplateNodes.length; i++) {
953
- // eslint-disable-next-line
954
- flatTemplateNodes[i].onChange(newData);
955
- }
956
- }
957
- else if (!newData.isHeader) {
958
- for (var i = 0; i < flatTemplateNodes.length; i++) {
959
- // eslint-disable-next-line
960
- flatTemplateNodes[i].onChange(newData);
961
- }
962
- }
963
- else {
964
- for (var i = 0; i < groupTemplateNodes.length; i++) {
965
- // eslint-disable-next-line
966
- groupTemplateNodes[i].onChange(newData);
967
838
  }
968
839
  }
969
840
  };
970
- // eslint-disable-next-line
971
- Virtualization.prototype.updateContextData = function (listElement, node, isHeader) {
972
- if (isHeader) {
973
- listElement.context.nodes.groupTemplateNodes.push(node);
974
- }
975
- else {
976
- listElement.context.nodes.flatTemplateNodes.push(node);
977
- }
978
- };
979
841
  Virtualization.prototype.reRenderUiVirtualization = function () {
980
842
  this.wireScrollEvent(true);
981
843
  if (this.listViewInstance.contentContainer) {
@@ -989,8 +851,7 @@ var Virtualization = /** @class */ (function () {
989
851
  this.listViewInstance.setLocalData();
990
852
  };
991
853
  Virtualization.prototype.updateUI = function (element, index, targetElement) {
992
- // eslint-disable-next-line @typescript-eslint/ban-types
993
- var onChange = this.isNgTemplate() ? this.onNgChange : (this.isVueFunctionTemplate()) ? this.onVueChange : this.onChange;
854
+ var onChange = this.isNgTemplate() ? this.onNgChange : this.onChange;
994
855
  if (this.listViewInstance.template || this.listViewInstance.groupTemplate) {
995
856
  var curViewDS = this.listViewInstance.curViewDS[index];
996
857
  // eslint-disable-next-line
@@ -1014,18 +875,22 @@ var Virtualization = /** @class */ (function () {
1014
875
  * @param {ElementContext} listElement - The HTML element context for the list view.
1015
876
  * @param {Virtualization} virtualThis - The virtualization context for the list view.
1016
877
  */
1017
- Virtualization.prototype.onVueChange = function (newData, listElement, virtualThis) {
878
+ Virtualization.prototype.onChange = function (newData, listElement, virtualThis) {
1018
879
  var liItem = ListBase.createListItemFromJson(virtualThis.listViewInstance.createElement,
1019
880
  // eslint-disable-next-line
1020
881
  [newData], virtualThis.listViewInstance.listBaseOption, null, null, virtualThis.listViewInstance);
882
+ if (virtualThis.listViewInstance.isReact) {
883
+ virtualThis.listViewInstance.renderReactTemplates();
884
+ }
1021
885
  while (listElement.lastChild) {
1022
886
  listElement.removeChild(listElement.lastChild);
1023
887
  }
1024
- listElement.appendChild(liItem[0].firstChild);
888
+ [].slice.call(liItem[0].children).forEach(function (ele) {
889
+ listElement.appendChild(ele);
890
+ });
1025
891
  };
1026
892
  Virtualization.prototype.onNgChange = function (newData, listElement, virtualThis) {
1027
893
  // compile given target element with template for new data
1028
- // eslint-disable-next-line
1029
894
  var templateCompiler = compile(virtualThis.listViewInstance.template);
1030
895
  var resultElement = templateCompiler(newData);
1031
896
  while (listElement.lastChild) {
@@ -22,7 +22,7 @@
22
22
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
23
23
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
24
24
  height: 50px;
25
- line-height: 1.5;
25
+ line-height: 1.6;
26
26
  position: relative;
27
27
  padding: 12px 20px;
28
28
  }
@@ -106,7 +106,7 @@
106
106
  }
107
107
  .e-listview:not(.e-list-template) .e-list-item {
108
108
  height: 40px;
109
- line-height: 1.5;
109
+ line-height: 1.6;
110
110
  padding: 8px 16px 8px 16px;
111
111
  position: relative;
112
112
  }
@@ -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: 21px;
21
+ line-height: 24px;
22
22
  position: relative;
23
23
  }
24
24
  .e-bigger .e-listview .e-text-content,
@@ -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: 21px;
21
+ line-height: 24px;
22
22
  position: relative;
23
23
  }
24
24
  .e-bigger .e-listview .e-text-content,
@@ -11,7 +11,7 @@ $listview-background: $content-bg !default;
11
11
  $listview-line-color: rgba($black, .13) !default;
12
12
  $listview-item-hover-bg: darken($gray-100, 5%) !default;
13
13
  $listview-item-height: 40px !default;
14
- $listview-item-line-height: 1.5 !default;
14
+ $listview-item-line-height: 1.6 !default;
15
15
  $listview-item-padding: 8px 16px 8px 16px !default;
16
16
 
17
17
  $listview-root-border-color: rgba($black, .13);
@@ -62,7 +62,7 @@ $listview-back-padding-right: 10px !default;
62
62
  $listview-back-icon-height: 0 !default;
63
63
  $listview-back-icon-font-size: 14px !default;
64
64
  $listview-touch-item-height: 50px !default;
65
- $listview-touch-item-line-height: 1.5 !default;
65
+ $listview-touch-item-line-height: 1.6 !default;
66
66
  $listview-touch-item-font-size: 16px !default;
67
67
  $listview-touch-groupheader-height: 50px !default;
68
68
  $listview-touch-groupheader-line-height: 1.5 !default;
@@ -29,7 +29,7 @@ $listview-font-size: $text-sm !default;
29
29
  $listview-back-padding-right: 8px !default;
30
30
  $listview-back-icon-size: 20px !default;
31
31
  $listview-touch-item-height: 40px !default;
32
- $listview-touch-item-line-height: 21px !default;
32
+ $listview-touch-item-line-height: 24px !default;
33
33
  $listview-touch-item-size: 24px !default;
34
34
  $listview-touch-item-padding: 16px 14px 12px 16px !default;
35
35
  $listview-rtl-touch-item-padding: 12px 16px 12px 14px !default;
@@ -60,7 +60,7 @@ $listview-back-padding-right: 30px !default;
60
60
  $listview-back-icon-height: 1px !default;
61
61
  $listview-back-icon-font-size: auto !default;
62
62
  $listview-touch-item-height: 48px !default;
63
- $listview-touch-item-line-height: 45px !default;
63
+ $listview-touch-item-line-height: 42px !default;
64
64
  $listview-touch-item-font-size: 15px !default;
65
65
  $listview-touch-groupheader-height: 48px !default;
66
66
  $listview-touch-groupheader-line-height: 45px !default;
@@ -4,7 +4,7 @@ $listview-icon-back-margin: 0 !default;
4
4
  $listview-icon-back-margin-right: 14px !default;
5
5
  $listview-rtl-icon-back-margin: 0 !default;
6
6
  $listview-item-height: 40px !default;
7
- $listview-item-line-height: 20px !default;
7
+ $listview-item-line-height: 22px !default;
8
8
  $listview-item-padding: 10px 16px !default;
9
9
  $listview-rtl-item-padding: 7px 12px 7px 12px !default;
10
10
  $listview-header-padding: 6px 12px !default;
@@ -1,7 +1,7 @@
1
1
  //layout
2
2
  $listview-icon-margin-right: 2px !default;
3
3
  $listview-item-height: 38px !default;
4
- $listview-item-line-height: 22px !default;
4
+ $listview-item-line-height: 21px !default;
5
5
  $listview-item-padding: 8px 9px 8px 12px !default;
6
6
  $listview-rtl-item-padding: 8px 12px 8px 9px !default;
7
7
  $listview-header-padding: 6px 12px !default;
@@ -30,7 +30,7 @@ $listview-back-padding-right: 8px !default;
30
30
  $listview-back-icon-size: 20px !default;
31
31
  $listview-back-icon-font-size: $text-base !default;
32
32
  $listview-touch-item-height: 48px !default;
33
- $listview-touch-item-line-height: 24px !default;
33
+ $listview-touch-item-line-height: 23px !default;
34
34
  $listview-touch-item-size: 24px !default;
35
35
  $listview-touch-item-padding: 12px 14px 12px 16px !default;
36
36
  $listview-rtl-touch-item-padding: 12px 16px 12px 14px !default;
@@ -22,7 +22,7 @@
22
22
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
23
23
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
24
24
  height: 50px;
25
- line-height: 1.5;
25
+ line-height: 1.6;
26
26
  position: relative;
27
27
  padding: 12px 20px;
28
28
  }
@@ -106,7 +106,7 @@
106
106
  }
107
107
  .e-listview:not(.e-list-template) .e-list-item {
108
108
  height: 40px;
109
- line-height: 1.5;
109
+ line-height: 1.6;
110
110
  padding: 8px 16px 8px 16px;
111
111
  position: relative;
112
112
  }
@@ -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: 21px;
21
+ line-height: 24px;
22
22
  position: relative;
23
23
  }
24
24
  .e-bigger .e-listview .e-text-content,
@@ -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: 21px;
21
+ line-height: 24px;
22
22
  position: relative;
23
23
  }
24
24
  .e-bigger .e-listview .e-text-content,
@@ -17,7 +17,7 @@
17
17
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
18
18
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
19
19
  height: 48px;
20
- line-height: 45px;
20
+ line-height: 42px;
21
21
  position: relative;
22
22
  }
23
23
  .e-bigger .e-listview .e-text-content,
@@ -137,7 +137,7 @@
137
137
  }
138
138
  .e-listview:not(.e-list-template) .e-list-item {
139
139
  height: 40px;
140
- line-height: 20px;
140
+ line-height: 22px;
141
141
  padding: 10px 16px;
142
142
  position: relative;
143
143
  }
@@ -193,7 +193,7 @@
193
193
  }
194
194
  .e-listview:not(.e-list-template) .e-list-item {
195
195
  height: 40px;
196
- line-height: 20px;
196
+ line-height: 22px;
197
197
  padding: 10px 16px;
198
198
  position: relative;
199
199
  }
@@ -22,7 +22,7 @@
22
22
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
23
23
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
24
24
  height: 48px;
25
- line-height: 24px;
25
+ line-height: 23px;
26
26
  position: relative;
27
27
  padding: 12px 14px 12px 16px;
28
28
  }
@@ -50,7 +50,7 @@
50
50
  font-weight: 500;
51
51
  height: 38px;
52
52
  font-size: 14px;
53
- line-height: 22px;
53
+ line-height: 21px;
54
54
  padding: 8px 16px;
55
55
  }
56
56
  .e-bigger .e-listview .e-list-header .e-text.header,
@@ -181,7 +181,7 @@
181
181
  }
182
182
  .e-listview:not(.e-list-template) .e-list-item {
183
183
  height: 38px;
184
- line-height: 22px;
184
+ line-height: 21px;
185
185
  padding: 8px 9px 8px 12px;
186
186
  position: relative;
187
187
  }
@@ -531,7 +531,7 @@
531
531
  text-overflow: ellipsis;
532
532
  white-space: nowrap;
533
533
  font-size: 14px;
534
- line-height: 22px;
534
+ line-height: 21px;
535
535
  }
536
536
  .e-listview.e-list-template .e-list-item.e-hover .e-list-item-header {
537
537
  color: #fff;
@@ -22,7 +22,7 @@
22
22
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
23
23
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
24
24
  height: 48px;
25
- line-height: 24px;
25
+ line-height: 23px;
26
26
  position: relative;
27
27
  padding: 12px 14px 12px 16px;
28
28
  }
@@ -50,7 +50,7 @@
50
50
  font-weight: 500;
51
51
  height: 38px;
52
52
  font-size: 14px;
53
- line-height: 22px;
53
+ line-height: 21px;
54
54
  padding: 8px 16px;
55
55
  }
56
56
  .e-bigger .e-listview .e-list-header .e-text.header,
@@ -181,7 +181,7 @@
181
181
  }
182
182
  .e-listview:not(.e-list-template) .e-list-item {
183
183
  height: 38px;
184
- line-height: 22px;
184
+ line-height: 21px;
185
185
  padding: 8px 9px 8px 12px;
186
186
  position: relative;
187
187
  }
@@ -531,7 +531,7 @@
531
531
  text-overflow: ellipsis;
532
532
  white-space: nowrap;
533
533
  font-size: 14px;
534
- line-height: 22px;
534
+ line-height: 21px;
535
535
  }
536
536
  .e-listview.e-list-template .e-list-item.e-hover .e-list-item-header {
537
537
  color: #111827;
@@ -17,7 +17,7 @@
17
17
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
18
18
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
19
19
  height: 48px;
20
- line-height: 45px;
20
+ line-height: 42px;
21
21
  position: relative;
22
22
  }
23
23
  .e-bigger .e-listview .e-text-content,
@@ -137,7 +137,7 @@
137
137
  }
138
138
  .e-listview:not(.e-list-template) .e-list-item {
139
139
  height: 40px;
140
- line-height: 20px;
140
+ line-height: 22px;
141
141
  padding: 10px 16px;
142
142
  position: relative;
143
143
  }
@@ -193,7 +193,7 @@
193
193
  }
194
194
  .e-listview:not(.e-list-template) .e-list-item {
195
195
  height: 40px;
196
- line-height: 20px;
196
+ line-height: 22px;
197
197
  padding: 10px 16px;
198
198
  position: relative;
199
199
  }
@@ -22,7 +22,7 @@
22
22
  .e-bigger .e-listview:not(.e-list-template) .e-list-item,
23
23
  .e-listview.e-bigger:not(.e-list-template) .e-list-item {
24
24
  height: 48px;
25
- line-height: 24px;
25
+ line-height: 23px;
26
26
  position: relative;
27
27
  padding: 12px 14px 12px 16px;
28
28
  }
@@ -50,7 +50,7 @@
50
50
  font-weight: 500;
51
51
  height: 38px;
52
52
  font-size: 14px;
53
- line-height: 22px;
53
+ line-height: 21px;
54
54
  padding: 8px 16px;
55
55
  }
56
56
  .e-bigger .e-listview .e-list-header .e-text.header,
@@ -181,7 +181,7 @@
181
181
  }
182
182
  .e-listview:not(.e-list-template) .e-list-item {
183
183
  height: 38px;
184
- line-height: 22px;
184
+ line-height: 21px;
185
185
  padding: 8px 9px 8px 12px;
186
186
  position: relative;
187
187
  }
@@ -531,7 +531,7 @@
531
531
  text-overflow: ellipsis;
532
532
  white-space: nowrap;
533
533
  font-size: 14px;
534
- line-height: 22px;
534
+ line-height: 21px;
535
535
  }
536
536
  .e-listview.e-list-template .e-list-item.e-hover .e-list-item-header {
537
537
  color: #fff;