@syncfusion/ej2-lists
Advanced tools
Comparing version 19.2.60 to 19.3.43
@@ -244,2 +244,2 @@ { | ||
] | ||
} | ||
} |
@@ -9,2 +9,10 @@ # Changelog | ||
- `#F168185` - The issue with "Sorting is not applied properly when entering different values in the text field of the ListView component" has been resolved. | ||
## 19.2.55 (2021-08-11) | ||
### ListView | ||
#### Bug Fixes | ||
- `#F167149` - The issue with "Multiple requests are made to the controller when using remote data source with template support in the ListView component" has been resolved. | ||
@@ -11,0 +19,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 19.2.60 | ||
* version : 19.3.43 | ||
* 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.2.49", | ||
"_id": "@syncfusion/ej2-lists@18.10.11", | ||
"_inBundle": false, | ||
"_integrity": "sha512-re2uyqgJnkCajWezcKJC2aQErFX29SSmZlVKbgyseJJqT7y+gDonZRTfPWSKijbDSuA+kssEjZs8Ct/SJ0o6DQ==", | ||
"_integrity": "sha512-X3KVK1XlSJ8y8D0fistyDpP0zL8xgvCF/b2SJmBppbAO5BC+bYdzX/DX4Wfnz/EO3sDEilVoIMtccoQ0Oav4OQ==", | ||
"_location": "/@syncfusion/ej2-lists", | ||
@@ -37,4 +37,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-lists/-/ej2-lists-19.2.49.tgz", | ||
"_shasum": "86bb02e372955f1afe1577df0330fd870c8c7ff4", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.10.11.tgz", | ||
"_shasum": "300f40cca3f78416be591b1434c15a1ee02df655", | ||
"_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.2.60", | ||
"@syncfusion/ej2-buttons": "~19.2.60", | ||
"@syncfusion/ej2-data": "~19.2.60" | ||
"@syncfusion/ej2-base": "~19.3.43", | ||
"@syncfusion/ej2-buttons": "~19.3.43", | ||
"@syncfusion/ej2-data": "~19.3.43" | ||
}, | ||
@@ -90,4 +90,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "19.2.60", | ||
"version": "19.3.43", | ||
"sideEffects": false | ||
} |
@@ -263,2 +263,3 @@ import { Query } from '@syncfusion/ej2-data'; | ||
imageAttributes?: string; | ||
sortBy?: string; | ||
} | ||
@@ -265,0 +266,0 @@ /** |
@@ -55,3 +55,4 @@ /* eslint-disable no-inner-declarations */ | ||
imageUrl: 'imageUrl', | ||
groupBy: null | ||
groupBy: null, | ||
sortBy: null | ||
}; | ||
@@ -590,3 +591,3 @@ var defaultAriaAttributes = { | ||
// eslint-disable-next-line | ||
var compiledString = compile(template); | ||
var compiledString = compileTemplate(template); | ||
var liCollection = []; | ||
@@ -688,3 +689,3 @@ var value; | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
var compiledString = compile(groupTemplate); | ||
var compiledString = compileTemplate(groupTemplate); | ||
var curFields = extend({}, ListBase.defaultMappedFields, fields); | ||
@@ -876,3 +877,3 @@ var curOpt = extend({}, defaultListBaseOptions, options); | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
var compiledString = compile(options.groupTemplate); | ||
var compiledString = compileTemplate(options.groupTemplate); | ||
// eslint-disable-next-line | ||
@@ -886,3 +887,3 @@ var compiledElement = compiledString(item, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, li); | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
var compiledString = compile(options.template); | ||
var compiledString = compileTemplate(options.template); | ||
// eslint-disable-next-line | ||
@@ -989,1 +990,14 @@ var compiledElement = compiledString(item, componentInstance, 'template', curOpt.templateID, !!curOpt.isStringTemplate, null, li); | ||
} | ||
function compileTemplate(template) { | ||
if (template) { | ||
try { | ||
if (document.querySelector(template)) { | ||
return compile(document.querySelector(template).innerHTML.trim()); | ||
} | ||
} | ||
catch (e) { | ||
return compile(template); | ||
} | ||
} | ||
return undefined; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent } from '@syncfusion/ej2-base';import { addClass, removeClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs } from '@syncfusion/ej2-base'; | ||
import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent } from '@syncfusion/ej2-base';import { addClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs } from '@syncfusion/ej2-base'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -23,3 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { closest, Draggable, remove, compareElementParent } from '@syncfusion/ej2-base'; | ||
import { addClass, removeClass, isNullOrUndefined, getComponent, isBlazor } from '@syncfusion/ej2-base'; | ||
import { addClass, isNullOrUndefined, getComponent, isBlazor } from '@syncfusion/ej2-base'; | ||
/** | ||
@@ -63,6 +63,2 @@ * Sortable Module provides support to enable sortable functionality in Dom Elements. | ||
addClass([element], ['e-sortableclone']); | ||
removeClass([element], ['e-listboxtool-container']); | ||
if (element && element.className.indexOf("e-listbox-wrapper") < 0) { | ||
addClass([element], ['e-listbox-wrapper']); | ||
} | ||
document.body.appendChild(element); | ||
@@ -180,5 +176,4 @@ return element; | ||
var curIdx_1 = _this.getIndex(dropInst.placeHolderElement, dropInst); | ||
var prevIndx = _this === dropInst && (prevIdx - curIdx_1) > 0 ? prevIdx - 1 : prevIdx; | ||
var args = { | ||
previousIndex: prevIndx, currentIndex: _this.curTarget === _this.target ? prevIndx : curIdx_1, target: e.target, droppedElement: _this.target, | ||
previousIndex: prevIdx, currentIndex: curIdx_1, target: e.target, droppedElement: _this.target, | ||
helper: e.helper, cancel: false, handled: false | ||
@@ -210,4 +205,3 @@ }; | ||
prevIdx = _this.getIndex(_this.target); | ||
var target = (e.target.className.indexOf("e-list-nrt") > -1) ? e.target.parentElement : e.target; | ||
if (dropInst.element === target || (!isPlaceHolderPresent && _this.curTarget === _this.target)) { | ||
if (dropInst.element === e.target || (!isPlaceHolderPresent && _this.curTarget === _this.target)) { | ||
var beforeDropArgs = { | ||
@@ -214,0 +208,0 @@ previousIndex: prevIdx, currentIndex: _this.curTarget === _this.target ? prevIdx : curIdx, |
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
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
2683401
157
28220
+ Added@syncfusion/ej2-base@19.3.57(transitive)
+ Added@syncfusion/ej2-buttons@19.3.53(transitive)
+ Added@syncfusion/ej2-data@19.3.57(transitive)
+ Added@syncfusion/ej2-icons@19.3.53(transitive)
- Removed@syncfusion/ej2-base@19.2.60(transitive)
- Removed@syncfusion/ej2-buttons@19.2.60(transitive)
- Removed@syncfusion/ej2-data@19.2.60(transitive)
- Removed@syncfusion/ej2-icons@19.2.60(transitive)