@syncfusion/ej2-navigations 29.1.34 → 29.1.38

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 : 29.1.33
3
+ * version : 29.1.38
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,30 +1,37 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-navigations@~29.1.33",
3
- "_id": "@syncfusion/ej2-navigations@29.1.33",
2
+ "_from": "@syncfusion/ej2-navigations@*",
3
+ "_id": "@syncfusion/ej2-navigations@29.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-3ujYZua76QtlrDMElMUb0V4xrKOQV3yH4SIbUnl7tRdS03nqyWdvdAo6oUkN6md1jH8Sc8PMCWnI4g8lCxSL0w==",
5
+ "_integrity": "sha512-HxYgu7qoNaDNQV6R/D5ApVuT0IQiM08jyZBctuHEZCSJkvnOEpctLNZmpjfP4/gGzOpszK12iiDkp6RbeIC4fA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
9
9
  "type": "range",
10
10
  "registry": true,
11
- "raw": "@syncfusion/ej2-navigations@~29.1.33",
11
+ "raw": "@syncfusion/ej2-navigations@*",
12
12
  "name": "@syncfusion/ej2-navigations",
13
13
  "escapedName": "@syncfusion%2fej2-navigations",
14
14
  "scope": "@syncfusion",
15
- "rawSpec": "~29.1.33",
15
+ "rawSpec": "*",
16
16
  "saveSpec": null,
17
- "fetchSpec": "~29.1.33"
17
+ "fetchSpec": "*"
18
18
  },
19
19
  "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
20
22
  "/@syncfusion/ej2-angular-navigations",
21
23
  "/@syncfusion/ej2-charts",
22
24
  "/@syncfusion/ej2-diagrams",
25
+ "/@syncfusion/ej2-documenteditor",
23
26
  "/@syncfusion/ej2-dropdowns",
24
27
  "/@syncfusion/ej2-filemanager",
25
28
  "/@syncfusion/ej2-gantt",
26
29
  "/@syncfusion/ej2-grids",
30
+ "/@syncfusion/ej2-image-editor",
31
+ "/@syncfusion/ej2-inplace-editor",
27
32
  "/@syncfusion/ej2-interactive-chat",
33
+ "/@syncfusion/ej2-kanban",
34
+ "/@syncfusion/ej2-pdfviewer",
28
35
  "/@syncfusion/ej2-pivotview",
29
36
  "/@syncfusion/ej2-react-navigations",
30
37
  "/@syncfusion/ej2-ribbon",
@@ -33,10 +40,10 @@
33
40
  "/@syncfusion/ej2-spreadsheet",
34
41
  "/@syncfusion/ej2-vue-navigations"
35
42
  ],
36
- "_resolved": "https://registry.npmjs.org/@syncfusion/ej2-navigations/-/ej2-navigations-29.1.33.tgz",
37
- "_shasum": "4e297154e0b4622393521a01a9ab9487bb9daa66",
38
- "_spec": "@syncfusion/ej2-navigations@~29.1.33",
39
- "_where": "E:\\march2025\\memory-leaks\\node_modules\\@syncfusion\\ej2-diagrams",
43
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-29.1.37.tgz",
44
+ "_shasum": "4154853be60d95a8f0a5ff83e1b6b46d7144abb8",
45
+ "_spec": "@syncfusion/ej2-navigations@*",
46
+ "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
40
47
  "author": {
41
48
  "name": "Syncfusion Inc."
42
49
  },
@@ -45,12 +52,12 @@
45
52
  },
46
53
  "bundleDependencies": false,
47
54
  "dependencies": {
48
- "@syncfusion/ej2-base": "~29.1.33",
49
- "@syncfusion/ej2-buttons": "~29.1.33",
55
+ "@syncfusion/ej2-base": "~29.1.36",
56
+ "@syncfusion/ej2-buttons": "~29.1.34",
50
57
  "@syncfusion/ej2-data": "~29.1.33",
51
- "@syncfusion/ej2-inputs": "~29.1.33",
52
- "@syncfusion/ej2-lists": "~29.1.33",
53
- "@syncfusion/ej2-popups": "~29.1.33"
58
+ "@syncfusion/ej2-inputs": "~29.1.38",
59
+ "@syncfusion/ej2-lists": "~29.1.34",
60
+ "@syncfusion/ej2-popups": "~29.1.37"
54
61
  },
55
62
  "deprecated": false,
56
63
  "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",
@@ -154,7 +161,7 @@
154
161
  "type": "git",
155
162
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
156
163
  },
157
- "sideEffects": false,
158
164
  "typings": "index.d.ts",
159
- "version": "29.1.34"
160
- }
165
+ "version": "29.1.38",
166
+ "sideEffects": false
167
+ }
@@ -949,6 +949,14 @@ var Carousel = /** @class */ (function (_super) {
949
949
  if (this.element.classList.contains(CLS_HOVER) || isNullOrUndefined(this.slideItems) || this.slideItems.length <= 1) {
950
950
  return;
951
951
  }
952
+ if (this.swipeMode === (~CarouselSwipeMode.Touch & ~CarouselSwipeMode.Mouse)) {
953
+ return;
954
+ }
955
+ var eventType = e.startEvents ? e.startEvents.toString() : null;
956
+ if (eventType && ((this.swipeMode === CarouselSwipeMode.Mouse && eventType.includes('Touch')) ||
957
+ (this.swipeMode === CarouselSwipeMode.Touch && eventType.includes('Mouse')))) {
958
+ return;
959
+ }
952
960
  var direction = (e.swipeDirection === 'Right') ? 'Previous' : 'Next';
953
961
  var slideIndex = this.getSlideIndex(direction);
954
962
  if (!this.isSuspendSlideTransition(slideIndex, direction)) {
@@ -2060,6 +2060,7 @@ var MenuBase = /** @class */ (function (_super) {
2060
2060
  var pElement;
2061
2061
  var animateElement = (this.enableScrolling && !this.isMenu && closest(ul, '.e-menu-vscroll'))
2062
2062
  ? closest(ul, '.e-menu-vscroll') : ul;
2063
+ Animation.stop(animateElement);
2063
2064
  if (this.animationSettings.effect === 'None' || !isMenuOpen) {
2064
2065
  if (this.hamburgerMode && ul) {
2065
2066
  ul.style.top = '0px';
@@ -2068,6 +2069,7 @@ var MenuBase = /** @class */ (function (_super) {
2068
2069
  this.end(ul, isMenuOpen);
2069
2070
  }
2070
2071
  else {
2072
+ animateElement.style.maxHeight = '';
2071
2073
  this.animation.animate(animateElement, {
2072
2074
  name: this.animationSettings.effect,
2073
2075
  duration: this.animationSettings.duration,
@@ -2086,7 +2088,7 @@ var MenuBase = /** @class */ (function (_super) {
2086
2088
  }
2087
2089
  else {
2088
2090
  options.element.style.display = 'block';
2089
- options.element.style.maxHeight = _this.isMenu ? options.element.getBoundingClientRect().height + 'px' : options.element.scrollHeight + 'px';
2091
+ options.element.style.maxHeight = options.element.getBoundingClientRect().height + 'px';
2090
2092
  }
2091
2093
  },
2092
2094
  progress: function (options) {
@@ -1670,6 +1670,7 @@ var Toolbar = /** @class */ (function (_super) {
1670
1670
  * @returns {void}.
1671
1671
  */
1672
1672
  Toolbar.prototype.enableItems = function (items, isEnable) {
1673
+ var _this = this;
1673
1674
  var elements = items;
1674
1675
  var len = elements.length;
1675
1676
  var ele;
@@ -1681,12 +1682,15 @@ var Toolbar = /** @class */ (function (_super) {
1681
1682
  ele.classList.remove(CLS_DISABLE);
1682
1683
  if (!isNOU(ele.firstElementChild)) {
1683
1684
  ele.firstElementChild.setAttribute('aria-disabled', 'false');
1685
+ _this.updateTabIndex('0');
1684
1686
  }
1685
1687
  }
1686
1688
  else {
1687
1689
  ele.classList.add(CLS_DISABLE);
1688
1690
  if (!isNOU(ele.firstElementChild)) {
1689
1691
  ele.firstElementChild.setAttribute('aria-disabled', 'true');
1692
+ ele.firstElementChild.setAttribute('tabindex', '-1');
1693
+ _this.updateTabIndex('0');
1690
1694
  }
1691
1695
  }
1692
1696
  };
@@ -2214,7 +2214,7 @@ var TreeView = /** @class */ (function (_super) {
2214
2214
  return undefined;
2215
2215
  };
2216
2216
  TreeView.prototype.getChildGroup = function (data, parentId, isRoot) {
2217
- var childNodes;
2217
+ var childNodes = [];
2218
2218
  if (isNOU(data)) {
2219
2219
  return childNodes;
2220
2220
  }
@@ -2228,9 +2228,6 @@ var TreeView = /** @class */ (function (_super) {
2228
2228
  else if (isRoot) {
2229
2229
  return data[parseInt(i.toString(), 10)];
2230
2230
  }
2231
- else {
2232
- return [];
2233
- }
2234
2231
  }
2235
2232
  return childNodes;
2236
2233
  };
@@ -4156,17 +4153,15 @@ var TreeView = /** @class */ (function (_super) {
4156
4153
  TreeView.prototype.removeChildNodes = function (parentId) {
4157
4154
  var cNodes = this.getChildGroup(this.groupedData, parentId, false);
4158
4155
  var childData = [];
4159
- if (cNodes) {
4160
- for (var i = 0, len = cNodes.length; i < len; i++) {
4161
- var dm = new DataManager(this.treeData);
4162
- var id = getValue(this.fields.id, cNodes[parseInt(i.toString(), 10)]).toString();
4163
- var data = {};
4164
- var currId = this.isNumberTypeId ? parseFloat(id) : id;
4165
- data[this.fields.id] = currId;
4166
- var nodeData = dm.remove(this.fields.id, data);
4167
- childData.push(nodeData[0]);
4168
- this.removeChildNodes(id);
4169
- }
4156
+ for (var i = 0, len = cNodes.length; i < len; i++) {
4157
+ var dm = new DataManager(this.treeData);
4158
+ var id = getValue(this.fields.id, cNodes[parseInt(i.toString(), 10)]).toString();
4159
+ var data = {};
4160
+ var currId = this.isNumberTypeId ? parseFloat(id) : id;
4161
+ data[this.fields.id] = currId;
4162
+ var nodeData = dm.remove(this.fields.id, data);
4163
+ childData.push(nodeData[0]);
4164
+ this.removeChildNodes(id);
4170
4165
  }
4171
4166
  return childData;
4172
4167
  };
@@ -3527,8 +3527,8 @@
3527
3527
  }
3528
3528
  .e-tab .e-tab-header .e-toolbar-item .e-icons.e-close-icon {
3529
3529
  display: none;
3530
- margin: 0 4px 0 8px;
3531
- min-width: 20px;
3530
+ margin: 0 0 0 8px;
3531
+ min-width: 12px;
3532
3532
  }
3533
3533
  @media screen and (max-width: 480px) {
3534
3534
  .e-tab .e-tab-header .e-toolbar-item .e-icons.e-close-icon {
@@ -4247,8 +4247,8 @@
4247
4247
  }
4248
4248
  .e-tab .e-tab-header .e-toolbar-item .e-icons.e-close-icon {
4249
4249
  display: none;
4250
- margin: 0 4px 0 8px;
4251
- min-width: 20px;
4250
+ margin: 0 0 0 8px;
4251
+ min-width: 12px;
4252
4252
  }
4253
4253
  @media screen and (max-width: 480px) {
4254
4254
  .e-tab .e-tab-header .e-toolbar-item .e-icons.e-close-icon {
@@ -257,9 +257,9 @@ $tab-close-icon-size: $text-sm !default;
257
257
  $tab-big-close-icon-size: $text-sm !default;
258
258
  $tab-nrml-close-icon-size: $text-xs !default;
259
259
  $tab-mob-close-icon-size: $text-xxs !default;
260
- $tab-close-icon-minwidth: 20px !default;
260
+ $tab-close-icon-minwidth: 12px !default;
261
261
  $tab-big-close-icon-margin: 0 8px 0 12px !default;
262
- $tab-nrml-close-icon-margin: 0 4px 0 8px !default;
262
+ $tab-nrml-close-icon-margin: 0 0 0 8px !default;
263
263
  $tab-mob-close-icon-margin: 0 0 0 14px !default;
264
264
  $tab-rtl-mob-close-icon-margin: 0 14px 0 0 !default;
265
265
  $tab-rtl-big-close-icon-margin: 0 12px 0 0 !default;
@@ -41,7 +41,7 @@ $tab-pop-up-icon-active-border: $tab-active-text-item-border !default;
41
41
  $tab-disable-active-text-item-border: 0 !default;
42
42
  $tab-fill-hdr-border: 0 !default;
43
43
  $tab-fill-disable-hdr-border: 0 !default;
44
- $tab-anim-border-display: block !default;
44
+ $tab-anim-border-display: none !default;
45
45
  $tab-border: none !default;
46
46
  $tab-focus-hscroll-content-padding: 1px 0 !default;
47
47
  $tab-hdr-border-width: 0 0 1px 0 !default;
@@ -469,13 +469,13 @@ $tab-item-wrap-hover-border-radius: $tab-top-active-item-border-radius !default;
469
469
  $tab-item-active-bg: $content-bg-color !default;
470
470
  $tab-item-active-hover-bg: inherit !default;
471
471
  $tab-item-active-wrap-border: 0 !default;
472
- $tab-active-wrap-position: unset !default;
473
- $tab-active-wrap-before-border: unset !default;
474
- $tab-active-wrap-before-content: unset !default;
475
- $tab-active-wrap-before-display: unset !default;
476
- $tab-active-wrap-before-position: unset !default;
477
- $tab-active-wrap-before-top: unset !default;
478
- $tab-active-wrap-before-width: unset !default;
472
+ $tab-active-wrap-position: relative !default;
473
+ $tab-active-wrap-before-border: 1.6px solid $tab-border-color !default;
474
+ $tab-active-wrap-before-content: '' !default;
475
+ $tab-active-wrap-before-display: block !default;
476
+ $tab-active-wrap-before-position: absolute !default;
477
+ $tab-active-wrap-before-top: 0 !default;
478
+ $tab-active-wrap-before-width: 100% !default;
479
479
  $tab-focused-wrap-focus-border: 0 !default;
480
480
  $tab-focused-wrap-focus-icon-color: $tab-comb-icon-color !default;
481
481
  $tab-content-font-size: $text-sm !default;
@@ -109,7 +109,7 @@
109
109
  display: $tab-active-wrap-before-display;
110
110
  position: $tab-active-wrap-before-position;
111
111
  width: $tab-active-wrap-before-width;
112
- @if ($skin-name == 'Material3') {
112
+ @if ($skin-name == 'Material3' or $skin-name == 'tailwind3') {
113
113
  border-radius: 3px 3px 0 0;
114
114
  bottom: $tab-active-wrap-before-top;
115
115
  }
@@ -326,8 +326,8 @@
326
326
  }
327
327
  .e-tab .e-tab-header .e-toolbar-item .e-icons.e-close-icon {
328
328
  display: none;
329
- margin: 0 4px 0 8px;
330
- min-width: 20px;
329
+ margin: 0 0 0 8px;
330
+ min-width: 12px;
331
331
  }
332
332
  @media screen and (max-width: 480px) {
333
333
  .e-tab .e-tab-header .e-toolbar-item .e-icons.e-close-icon {
@@ -153,7 +153,7 @@
153
153
  overflow: hidden;
154
154
  }
155
155
  .e-tab .e-tab-header .e-indicator {
156
- display: block;
156
+ display: none;
157
157
  position: absolute;
158
158
  }
159
159
  .e-tab .e-tab-header .e-indicator.e-hidden {
@@ -1109,12 +1109,12 @@
1109
1109
  }
1110
1110
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before,
1111
1111
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item:not(.e-separator):last-child.e-active .e-text-wrap::before {
1112
- border: unset;
1113
- content: unset;
1112
+ border: 1.6px solid var(--color-sf-primary-bg-color);
1113
+ content: "";
1114
1114
  display: none;
1115
- position: unset;
1116
- top: unset;
1117
- width: unset;
1115
+ position: absolute;
1116
+ top: 0;
1117
+ width: 100%;
1118
1118
  }
1119
1119
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap::before,
1120
1120
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item:not(.e-separator):last-child.e-active .e-tab-wrap::before {
@@ -1939,15 +1939,16 @@
1939
1939
  color: var(--color-sf-primary-bg-color);
1940
1940
  }
1941
1941
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-text-wrap {
1942
- position: unset;
1942
+ position: relative;
1943
1943
  }
1944
1944
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before {
1945
- border: unset;
1946
- content: unset;
1947
- display: unset;
1948
- position: unset;
1949
- width: unset;
1950
- top: unset;
1945
+ border: 1.6px solid var(--color-sf-primary-bg-color);
1946
+ content: "";
1947
+ display: block;
1948
+ position: absolute;
1949
+ width: 100%;
1950
+ border-radius: 3px 3px 0 0;
1951
+ bottom: 0;
1951
1952
  }
1952
1953
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text,
1953
1954
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-icon {
@@ -3307,7 +3307,7 @@
3307
3307
  overflow: hidden;
3308
3308
  }
3309
3309
  .e-tab .e-tab-header .e-indicator {
3310
- display: block;
3310
+ display: none;
3311
3311
  position: absolute;
3312
3312
  }
3313
3313
  .e-tab .e-tab-header .e-indicator.e-hidden {
@@ -4263,12 +4263,12 @@
4263
4263
  }
4264
4264
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before,
4265
4265
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item:not(.e-separator):last-child.e-active .e-text-wrap::before {
4266
- border: unset;
4267
- content: unset;
4266
+ border: 1.6px solid var(--color-sf-primary-bg-color);
4267
+ content: "";
4268
4268
  display: none;
4269
- position: unset;
4270
- top: unset;
4271
- width: unset;
4269
+ position: absolute;
4270
+ top: 0;
4271
+ width: 100%;
4272
4272
  }
4273
4273
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap::before,
4274
4274
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item:not(.e-separator):last-child.e-active .e-tab-wrap::before {
@@ -5093,15 +5093,16 @@
5093
5093
  color: var(--color-sf-primary-bg-color);
5094
5094
  }
5095
5095
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-text-wrap {
5096
- position: unset;
5096
+ position: relative;
5097
5097
  }
5098
5098
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before {
5099
- border: unset;
5100
- content: unset;
5101
- display: unset;
5102
- position: unset;
5103
- width: unset;
5104
- top: unset;
5099
+ border: 1.6px solid var(--color-sf-primary-bg-color);
5100
+ content: "";
5101
+ display: block;
5102
+ position: absolute;
5103
+ width: 100%;
5104
+ border-radius: 3px 3px 0 0;
5105
+ bottom: 0;
5105
5106
  }
5106
5107
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text,
5107
5108
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-icon {
@@ -4075,7 +4075,7 @@
4075
4075
  overflow: hidden;
4076
4076
  }
4077
4077
  .e-tab .e-tab-header .e-indicator {
4078
- display: block;
4078
+ display: none;
4079
4079
  position: absolute;
4080
4080
  }
4081
4081
  .e-tab .e-tab-header .e-indicator.e-hidden {
@@ -5031,12 +5031,12 @@
5031
5031
  }
5032
5032
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before,
5033
5033
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item:not(.e-separator):last-child.e-active .e-text-wrap::before {
5034
- border: unset;
5035
- content: unset;
5034
+ border: 1.6px solid var(--color-sf-primary-bg-color);
5035
+ content: "";
5036
5036
  display: none;
5037
- position: unset;
5038
- top: unset;
5039
- width: unset;
5037
+ position: absolute;
5038
+ top: 0;
5039
+ width: 100%;
5040
5040
  }
5041
5041
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap::before,
5042
5042
  .e-tab.e-vertical-icon > .e-tab-header .e-toolbar-item:not(.e-separator):last-child.e-active .e-tab-wrap::before {
@@ -5861,15 +5861,16 @@
5861
5861
  color: var(--color-sf-primary-bg-color);
5862
5862
  }
5863
5863
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-text-wrap {
5864
- position: unset;
5864
+ position: relative;
5865
5865
  }
5866
5866
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-text-wrap::before {
5867
- border: unset;
5868
- content: unset;
5869
- display: unset;
5870
- position: unset;
5871
- width: unset;
5872
- top: unset;
5867
+ border: 1.6px solid var(--color-sf-primary-bg-color);
5868
+ content: "";
5869
+ display: block;
5870
+ position: absolute;
5871
+ width: 100%;
5872
+ border-radius: 3px 3px 0 0;
5873
+ bottom: 0;
5873
5874
  }
5874
5875
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text,
5875
5876
  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-icon {