@syncfusion/ej2-lists
Advanced tools
Comparing version 19.4.55 to 20.1.47
@@ -5,4 +5,2 @@ # Changelog | ||
## 19.4.38 (2021-12-17) | ||
### ListView | ||
@@ -9,0 +7,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 19.4.55 | ||
* version : 20.1.47 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-lists@*", | ||
"_id": "@syncfusion/ej2-lists@19.4.48", | ||
"_id": "@syncfusion/ej2-lists@18.13.11", | ||
"_inBundle": false, | ||
"_integrity": "sha512-1JpG5bMlrGPy9aV4mLRfAP418B7J61L3wiNu2FKxnvlMsrClreMOjvBXtjerHdxCiy2SWajW+ZUsuKiV+XQPVA==", | ||
"_integrity": "sha512-ajtPRbAdXjzlzaJ/ZD8YGhCwuH/lrvveMBkHDCeSOvhwUWSpGCRjJgVAH3bjZmQBYTA4VCiu6gTeC0vP+YEZ1Q==", | ||
"_location": "/@syncfusion/ej2-lists", | ||
@@ -37,4 +37,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-19.4.48.tgz", | ||
"_shasum": "eccf3c199e93da9c263bd4c794a1a75e08a4ed74", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.13.11.tgz", | ||
"_shasum": "241466ef35e057a37eac6617a21fce4016fdb396", | ||
"_spec": "@syncfusion/ej2-lists@*", | ||
@@ -47,5 +47,5 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~19.4.52", | ||
"@syncfusion/ej2-buttons": "~19.4.55", | ||
"@syncfusion/ej2-data": "~19.4.54" | ||
"@syncfusion/ej2-base": "~20.1.47", | ||
"@syncfusion/ej2-buttons": "~20.1.47", | ||
"@syncfusion/ej2-data": "~20.1.47" | ||
}, | ||
@@ -90,4 +90,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "19.4.55", | ||
"version": "20.1.47", | ||
"sideEffects": false | ||
} |
@@ -217,3 +217,4 @@ /* eslint-disable no-inner-declarations */ | ||
var fields = (componentInstance && | ||
(componentInstance.getModuleName() == "listview" || componentInstance.getModuleName() == "multiselect")) ? curOpt.fields : extend({}, ListBase.defaultMappedFields, curOpt.fields); | ||
(componentInstance.getModuleName() === 'listview' || componentInstance.getModuleName() === 'multiselect')) | ||
? curOpt.fields : extend({}, ListBase.defaultMappedFields, curOpt.fields); | ||
var ariaAttributes = extend({}, defaultAriaAttributes, curOpt.ariaAttributes); | ||
@@ -640,3 +641,3 @@ var id; | ||
if (isHeader) { | ||
if (componentInstance && componentInstance.getModuleName() != "listview") { | ||
if (componentInstance && componentInstance.getModuleName() != 'listview') { | ||
// eslint-disable-next-line | ||
@@ -653,3 +654,3 @@ var compiledElement = compiledString(curItem, componentInstance, 'headerTemplate', currentID, !!curOpt.isStringTemplate, null, li); | ||
else { | ||
if (componentInstance && componentInstance.getModuleName() != "listview") { | ||
if (componentInstance && componentInstance.getModuleName() !== 'listview') { | ||
// eslint-disable-next-line | ||
@@ -710,3 +711,3 @@ var compiledElement = compiledString(curItem, componentInstance, 'template', currentID, !!curOpt.isStringTemplate, null, li); | ||
header.innerHTML = ''; | ||
if (componentInstance && componentInstance.getModuleName() != "listview") { | ||
if (componentInstance && componentInstance.getModuleName() !== "listview") { | ||
// eslint-disable-next-line | ||
@@ -895,3 +896,3 @@ var compiledElement = compiledString(headerData, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, header); | ||
var compiledString = compileTemplate(options.groupTemplate); | ||
if (componentInstance && componentInstance.getModuleName() != "listview") { | ||
if (componentInstance && componentInstance.getModuleName() !== "listview") { | ||
// eslint-disable-next-line | ||
@@ -910,3 +911,3 @@ var compiledElement = compiledString(item, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, li); | ||
var compiledString = compileTemplate(options.template); | ||
if (componentInstance && componentInstance.getModuleName() != "listview") { | ||
if (componentInstance && componentInstance.getModuleName() !== 'listview') { | ||
// eslint-disable-next-line | ||
@@ -1023,2 +1024,5 @@ var compiledElement = compiledString(item, componentInstance, 'template', curOpt.templateID, !!curOpt.isStringTemplate, null, li); | ||
} | ||
else { | ||
return compile(template); | ||
} | ||
} | ||
@@ -1025,0 +1029,0 @@ catch (e) { |
@@ -588,2 +588,3 @@ import { Virtualization } from './virtualization'; | ||
backIcon: string; | ||
backButton: string; | ||
icon: string; | ||
@@ -590,0 +591,0 @@ checkboxWrapper: string; |
@@ -227,2 +227,3 @@ import { classNames } from './list-view'; | ||
Virtualization.prototype.updateUiContent = function (element, index) { | ||
// eslint-disable-next-line | ||
var curViewDs = this.listViewInstance.curViewDS; | ||
@@ -390,4 +391,6 @@ if (typeof this.listViewInstance.dataSource[0] === 'string' || | ||
textCollection.push(curViewDS_2[indexArray[i]][text]); | ||
// eslint-disable-next-line | ||
dataCollection.push(curViewDS_2[indexArray[i]]); | ||
} | ||
// eslint-disable-next-line | ||
var dataSource_1 = this.listViewInstance.dataSource instanceof DataManager | ||
@@ -405,2 +408,3 @@ ? curViewDS_2 : this.listViewInstance.dataSource; | ||
else { | ||
// eslint-disable-next-line | ||
var dataSource = this.listViewInstance.dataSource instanceof DataManager | ||
@@ -422,2 +426,3 @@ ? curViewDS_2 : this.listViewInstance.dataSource; | ||
Virtualization.prototype.selectItem = function (obj) { | ||
// eslint-disable-next-line | ||
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj); | ||
@@ -450,2 +455,3 @@ if (Object.keys(resutJSON).length) { | ||
else { | ||
// eslint-disable-next-line | ||
var eventArgs = void 0; | ||
@@ -484,2 +490,3 @@ if (typeof this.listViewInstance.dataSource[0] === 'string' || | ||
Virtualization.prototype.enableItem = function (obj) { | ||
// eslint-disable-next-line | ||
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj); | ||
@@ -491,2 +498,3 @@ if (Object.keys(resutJSON).length) { | ||
Virtualization.prototype.disableItem = function (obj) { | ||
// eslint-disable-next-line | ||
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj); | ||
@@ -498,2 +506,3 @@ if (Object.keys(resutJSON).length && this.uiIndices.disabledItemIndices.indexOf(resutJSON.index) === -1) { | ||
Virtualization.prototype.showItem = function (obj) { | ||
// eslint-disable-next-line | ||
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj); | ||
@@ -505,2 +514,3 @@ if (Object.keys(resutJSON).length) { | ||
Virtualization.prototype.hideItem = function (obj) { | ||
// eslint-disable-next-line | ||
var resutJSON = this.findDSAndIndexFromId(this.listViewInstance.curViewDS, obj); | ||
@@ -514,3 +524,5 @@ if (Object.keys(resutJSON).length && this.uiIndices.hiddenItemIndices.indexOf(resutJSON.index) === -1) { | ||
var curViewDS = this.listViewInstance.curViewDS; | ||
// eslint-disable-next-line | ||
var resutJSON = this.findDSAndIndexFromId(curViewDS, obj); | ||
// eslint-disable-next-line | ||
if (Object.keys(resutJSON).length) { | ||
@@ -735,2 +747,3 @@ dataSource = resutJSON.data; | ||
else { | ||
// eslint-disable-next-line | ||
var index = this.listViewInstance.curViewDS.indexOf(currentItem); | ||
@@ -737,0 +750,0 @@ // virtually new add list item based on the scollbar position |
@@ -67,2 +67,4 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.onDrag = function (e) { | ||
if (!e.target) | ||
return; | ||
_this.trigger('drag', { event: e.event, element: _this.element, target: e.target }); | ||
@@ -69,0 +71,0 @@ var newInst = _this.getSortableInstance(e.target); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2779037
176
30565
+ Added@syncfusion/ej2-base@20.1.61(transitive)
+ Added@syncfusion/ej2-buttons@20.1.61(transitive)
+ Added@syncfusion/ej2-data@20.1.55(transitive)
+ Added@syncfusion/ej2-icons@20.1.55(transitive)
- Removed@syncfusion/ej2-base@19.4.52(transitive)
- Removed@syncfusion/ej2-buttons@19.4.55(transitive)
- Removed@syncfusion/ej2-data@19.4.54(transitive)
- Removed@syncfusion/ej2-icons@19.4.52(transitive)