@syncfusion/ej2-lists 19.3.45 → 19.4.48
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/.github/PULL_REQUEST_TEMPLATE/Bug.md +68 -0
- package/.github/PULL_REQUEST_TEMPLATE/Changelog.md +25 -0
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +31 -0
- package/CHANGELOG.md +1 -7
- package/README.md +1 -1
- 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 +7 -6
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +7 -6
- 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 +7 -6
- package/styles/list-view/_fluent-definition.scss +134 -0
- package/styles/list-view/_layout.scss +69 -5
- package/styles/list-view/_theme.scss +15 -5
- package/styles/list-view/icons/_fluent.scss +8 -0
|
@@ -213,7 +213,8 @@ var ListBase;
|
|
|
213
213
|
options, level, isSingleLevel, componentInstance) {
|
|
214
214
|
const curOpt = extend({}, defaultListBaseOptions, options);
|
|
215
215
|
cssClass = getModuleClass(curOpt.moduleName);
|
|
216
|
-
const fields =
|
|
216
|
+
const fields = (componentInstance &&
|
|
217
|
+
(componentInstance.getModuleName() == "listview" || componentInstance.getModuleName() == "multiselect")) ? curOpt.fields : extend({}, ListBase.defaultMappedFields, curOpt.fields);
|
|
217
218
|
const ariaAttributes = extend({}, defaultAriaAttributes, curOpt.ariaAttributes);
|
|
218
219
|
let id;
|
|
219
220
|
let checkboxElement = [];
|
|
@@ -633,7 +634,7 @@ var ListBase;
|
|
|
633
634
|
else {
|
|
634
635
|
const currentID = isHeader ? curOpt.groupTemplateID : curOpt.templateID;
|
|
635
636
|
if (isHeader) {
|
|
636
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
637
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
637
638
|
// eslint-disable-next-line
|
|
638
639
|
const compiledElement = compiledString(curItem, componentInstance, 'headerTemplate', currentID, !!curOpt.isStringTemplate, null, li);
|
|
639
640
|
if (compiledElement) {
|
|
@@ -645,7 +646,7 @@ var ListBase;
|
|
|
645
646
|
}
|
|
646
647
|
}
|
|
647
648
|
else {
|
|
648
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
649
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
649
650
|
// eslint-disable-next-line
|
|
650
651
|
const compiledElement = compiledString(curItem, componentInstance, 'template', currentID, !!curOpt.isStringTemplate, null, li);
|
|
651
652
|
if (compiledElement) {
|
|
@@ -700,7 +701,7 @@ var ListBase;
|
|
|
700
701
|
const headerData = {};
|
|
701
702
|
headerData[category] = header.textContent;
|
|
702
703
|
header.innerHTML = '';
|
|
703
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
704
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
704
705
|
// eslint-disable-next-line
|
|
705
706
|
const compiledElement = compiledString(headerData, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, header);
|
|
706
707
|
if (compiledElement) {
|
|
@@ -884,7 +885,7 @@ var ListBase;
|
|
|
884
885
|
if (grpLI && options && options.groupTemplate) {
|
|
885
886
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
886
887
|
const compiledString = compileTemplate(options.groupTemplate);
|
|
887
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
888
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
888
889
|
// eslint-disable-next-line
|
|
889
890
|
const compiledElement = compiledString(item, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, li);
|
|
890
891
|
if (compiledElement) {
|
|
@@ -898,7 +899,7 @@ var ListBase;
|
|
|
898
899
|
else if (!grpLI && options && options.template) {
|
|
899
900
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
900
901
|
const compiledString = compileTemplate(options.template);
|
|
901
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
902
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
902
903
|
// eslint-disable-next-line
|
|
903
904
|
const compiledElement = compiledString(item, componentInstance, 'template', curOpt.templateID, !!curOpt.isStringTemplate, null, li);
|
|
904
905
|
if (compiledElement) {
|