@syncfusion/ej2-navigations 20.2.43 → 20.2.46

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 : 20.2.43
3
+ * version : 20.2.46
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-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@20.2.39",
3
+ "_id": "@syncfusion/ej2-navigations@20.2.45",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-kKgkOkUbYyrMWXyxBVMO87FcHCPZ3tkTFMn7UAm3FYFJi8T7lQPBaly781bN1Oj2/4yITfVya62c5i3oqEoP/Q==",
5
+ "_integrity": "sha512-1aEK5QC1SHGC/7eZ64+wPjOSQginhbccI/beLFAIlgUWXlg7pYLIJZiO7KExMpYWlQKGKdfXLPZgJWXhjBBFMA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -37,8 +37,8 @@
37
37
  "/@syncfusion/ej2-spreadsheet",
38
38
  "/@syncfusion/ej2-vue-navigations"
39
39
  ],
40
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.2.39.tgz",
41
- "_shasum": "76eeaf8b39b5e3feb71437549424e8c94bfffafb",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.2.45.tgz",
41
+ "_shasum": "ce78bd7e355166c84602f130fd17a51a418b9123",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
- "@syncfusion/ej2-base": "~20.2.43",
53
- "@syncfusion/ej2-buttons": "~20.2.43",
54
- "@syncfusion/ej2-data": "~20.2.43",
55
- "@syncfusion/ej2-inputs": "~20.2.43",
56
- "@syncfusion/ej2-lists": "~20.2.43",
57
- "@syncfusion/ej2-popups": "~20.2.43"
52
+ "@syncfusion/ej2-base": "~20.2.46",
53
+ "@syncfusion/ej2-buttons": "~20.2.46",
54
+ "@syncfusion/ej2-data": "~20.2.45",
55
+ "@syncfusion/ej2-inputs": "~20.2.45",
56
+ "@syncfusion/ej2-lists": "~20.2.46",
57
+ "@syncfusion/ej2-popups": "~20.2.45"
58
58
  },
59
59
  "deprecated": false,
60
60
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
@@ -159,6 +159,6 @@
159
159
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
160
160
  },
161
161
  "typings": "index.d.ts",
162
- "version": "20.2.43",
162
+ "version": "20.2.46",
163
163
  "sideEffects": false
164
164
  }
@@ -1642,6 +1642,14 @@ var MenuBase = /** @class */ (function (_super) {
1642
1642
  var item = void 0;
1643
1643
  if (!Object.keys(oldProp.items).length) {
1644
1644
  this_1.updateItem(this_1.element, this_1.items);
1645
+ if (this_1.enableScrolling && this_1.element.parentElement.classList.contains('e-custom-scroll')) {
1646
+ if (this_1.element.classList.contains('e-vertical')) {
1647
+ addScrolling(this_1.createElement, wrapper, this_1.element, 'vscroll', this_1.enableRtl);
1648
+ }
1649
+ else {
1650
+ addScrolling(this_1.createElement, wrapper, this_1.element, 'hscroll', this_1.enableRtl);
1651
+ }
1652
+ }
1645
1653
  if (!this_1.hamburgerMode) {
1646
1654
  for (var i = 1, count = wrapper.childElementCount; i < count; i++) {
1647
1655
  detach(wrapper.lastElementChild);
@@ -1663,14 +1671,6 @@ var MenuBase = /** @class */ (function (_super) {
1663
1671
  navIdx.length = 0;
1664
1672
  }
1665
1673
  }
1666
- if (this_1.enableScrolling) {
1667
- if (this_1.element.classList.contains('e-vertical')) {
1668
- addScrolling(this_1.createElement, wrapper, this_1.element, 'vscroll', this_1.enableRtl);
1669
- }
1670
- else {
1671
- addScrolling(this_1.createElement, wrapper, this_1.element, 'hscroll', this_1.enableRtl);
1672
- }
1673
- }
1674
1674
  break;
1675
1675
  }
1676
1676
  }
@@ -1686,6 +1686,16 @@ var MenuBase = /** @class */ (function (_super) {
1686
1686
  ul = this.removeChildElement(ul);
1687
1687
  }
1688
1688
  else {
1689
+ if (this.enableScrolling) {
1690
+ var wrapper1 = this.getWrapper();
1691
+ var ul1 = wrapper1.children[0];
1692
+ if (this.element.classList.contains('e-vertical')) {
1693
+ destroyScroll(getInstance(ul1, VScroll), ul1);
1694
+ }
1695
+ else {
1696
+ destroyScroll(getInstance(ul1, HScroll), ul1);
1697
+ }
1698
+ }
1689
1699
  ul.innerHTML = '';
1690
1700
  }
1691
1701
  var lis = [].slice.call(this.createItems(items).children);
@@ -734,6 +734,7 @@ var TreeView = /** @class */ (function (_super) {
734
734
  }
735
735
  }
736
736
  }
737
+ this.parentCheckData = [];
737
738
  };
738
739
  TreeView.prototype.beforeNodeCreate = function (e) {
739
740
  if (this.showCheckBox) {