@syncfusion/ej2-lists 21.2.3 → 21.2.9

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.3
3
+ * version : 21.2.9
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@21.1.41",
3
+ "_id": "@syncfusion/ej2-lists@21.2.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-qIIf9RMDi5LnU9OreWQ5DlLIFqxHsvdBFQhD35sDdEtAOR+zti9yZ0h34slQlQmxnEeKZU+yqBom18kW2jmfsw==",
5
+ "_integrity": "sha512-C5Te1I+EvOs/x6v21de7Kjfa/57jb8yu78+ip4nc3jMVKqIUpglVwjYx9QZM0/wasd7ZkvbgifFCXJXmAKiDKA==",
6
6
  "_location": "/@syncfusion/ej2-lists",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -35,8 +35,8 @@
35
35
  "/@syncfusion/ej2-schedule",
36
36
  "/@syncfusion/ej2-vue-lists"
37
37
  ],
38
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-21.1.41.tgz",
39
- "_shasum": "ef5d91e7ac7ad63592bfea526c6c07d6d824c51b",
38
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-21.2.6.tgz",
39
+ "_shasum": "605c0d1079df7cda536128d0067972c6a78217fb",
40
40
  "_spec": "@syncfusion/ej2-lists@*",
41
41
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
42
42
  "author": {
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "bundleDependencies": false,
46
46
  "dependencies": {
47
- "@syncfusion/ej2-base": "~21.2.3",
48
- "@syncfusion/ej2-buttons": "~21.2.3",
49
- "@syncfusion/ej2-data": "~21.2.3"
47
+ "@syncfusion/ej2-base": "~21.2.9",
48
+ "@syncfusion/ej2-buttons": "~21.2.6",
49
+ "@syncfusion/ej2-data": "~21.2.9"
50
50
  },
51
51
  "deprecated": false,
52
52
  "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.",
@@ -86,7 +86,7 @@
86
86
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
87
87
  },
88
88
  "typings": "index.d.ts",
89
- "version": "21.2.3",
89
+ "version": "21.2.9",
90
90
  "sideEffects": false,
91
91
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
92
92
  }
@@ -937,7 +937,7 @@ var ListView = /** @class */ (function (_super) {
937
937
  var focusedElement = this.curUL.querySelector('.' + classNames.focused);
938
938
  if (focusedElement) {
939
939
  focusedElement.classList.remove(classNames.focused);
940
- if (!this.showCheckBox) {
940
+ if (!this.showCheckBox && !isNullOrUndefined(this.selectedLI)) {
941
941
  this.selectedLI.classList.add(classNames.selected);
942
942
  }
943
943
  }
@@ -1,4 +1,4 @@
1
- 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, EventHandler } from '@syncfusion/ej2-base';
1
+ import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent, TouchEventArgs } from '@syncfusion/ej2-base';import { addClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs, EventHandler } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class Sortable
@@ -345,7 +345,8 @@ var Sortable = /** @class */ (function (_super) {
345
345
  }
346
346
  var offset = target.getBoundingClientRect();
347
347
  var clientY = offset.bottom - ((offset.bottom - offset.top) / 2);
348
- idx = e.clientY <= clientY ? idx : idx + 1;
348
+ var cltY = e.changedTouches ? e.changedTouches[0].clientY : e.clientY;
349
+ idx = cltY <= clientY ? idx : idx + 1;
349
350
  }
350
351
  return;
351
352
  }