@syncfusion/ej2-navigations 29.2.8 → 30.1.39

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.
Files changed (222) hide show
  1. package/.eslintrc.json +2 -0
  2. package/dist/ej2-navigations.min.js +2 -2
  3. package/dist/ej2-navigations.umd.min.js +2 -2
  4. package/dist/ej2-navigations.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-navigations.es2015.js +117 -30
  6. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  7. package/dist/es6/ej2-navigations.es5.js +118 -30
  8. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  9. package/dist/global/ej2-navigations.min.js +2 -2
  10. package/dist/global/ej2-navigations.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +7 -7
  13. package/src/carousel/carousel.js +1 -7
  14. package/src/context-menu/context-menu-model.d.ts +1 -1
  15. package/src/context-menu/context-menu.d.ts +1 -0
  16. package/src/context-menu/context-menu.js +11 -1
  17. package/src/sidebar/sidebar.js +5 -1
  18. package/src/stepper/stepper.js +6 -5
  19. package/src/tab/tab.js +3 -1
  20. package/src/toolbar/toolbar-model.d.ts +8 -1
  21. package/src/toolbar/toolbar.d.ts +19 -0
  22. package/src/toolbar/toolbar.js +69 -13
  23. package/src/treeview/treeview.js +24 -3
  24. package/styles/bds-lite.css +43 -3
  25. package/styles/bds.css +45 -5
  26. package/styles/bootstrap-dark-lite.css +45 -5
  27. package/styles/bootstrap-dark.css +49 -9
  28. package/styles/bootstrap-lite.css +45 -5
  29. package/styles/bootstrap.css +47 -7
  30. package/styles/bootstrap4-lite.css +46 -6
  31. package/styles/bootstrap4.css +48 -8
  32. package/styles/bootstrap5-dark-lite.css +39 -5
  33. package/styles/bootstrap5-dark.css +42 -8
  34. package/styles/bootstrap5-lite.css +40 -6
  35. package/styles/bootstrap5.3-lite.css +40 -6
  36. package/styles/bootstrap5.3.css +42 -8
  37. package/styles/bootstrap5.css +43 -9
  38. package/styles/breadcrumb/_layout.scss +14 -0
  39. package/styles/breadcrumb/bds.css +15 -0
  40. package/styles/breadcrumb/bootstrap-dark.css +15 -0
  41. package/styles/breadcrumb/bootstrap.css +15 -0
  42. package/styles/breadcrumb/bootstrap4.css +15 -0
  43. package/styles/breadcrumb/bootstrap5-dark.css +15 -0
  44. package/styles/breadcrumb/bootstrap5.3.css +15 -0
  45. package/styles/breadcrumb/bootstrap5.css +15 -0
  46. package/styles/breadcrumb/fabric-dark.css +15 -0
  47. package/styles/breadcrumb/fabric.css +15 -0
  48. package/styles/breadcrumb/fluent-dark.css +15 -0
  49. package/styles/breadcrumb/fluent.css +15 -0
  50. package/styles/breadcrumb/fluent2.css +15 -0
  51. package/styles/breadcrumb/highcontrast-light.css +15 -0
  52. package/styles/breadcrumb/highcontrast.css +15 -0
  53. package/styles/breadcrumb/material-dark.css +15 -0
  54. package/styles/breadcrumb/material.css +15 -0
  55. package/styles/breadcrumb/material3-dark.css +15 -0
  56. package/styles/breadcrumb/material3.css +15 -0
  57. package/styles/breadcrumb/tailwind-dark.css +15 -0
  58. package/styles/breadcrumb/tailwind.css +15 -0
  59. package/styles/breadcrumb/tailwind3.css +15 -0
  60. package/styles/context-menu/_layout.scss +5 -0
  61. package/styles/context-menu/bds.css +6 -0
  62. package/styles/context-menu/bootstrap-dark.css +6 -0
  63. package/styles/context-menu/bootstrap.css +6 -0
  64. package/styles/context-menu/bootstrap4.css +6 -0
  65. package/styles/context-menu/bootstrap5-dark.css +6 -0
  66. package/styles/context-menu/bootstrap5.3.css +6 -0
  67. package/styles/context-menu/bootstrap5.css +6 -0
  68. package/styles/context-menu/fabric-dark.css +6 -0
  69. package/styles/context-menu/fabric.css +6 -0
  70. package/styles/context-menu/fluent-dark.css +6 -0
  71. package/styles/context-menu/fluent.css +6 -0
  72. package/styles/context-menu/fluent2.css +6 -0
  73. package/styles/context-menu/highcontrast-light.css +6 -0
  74. package/styles/context-menu/highcontrast.css +6 -0
  75. package/styles/context-menu/material-dark.css +6 -0
  76. package/styles/context-menu/material.css +6 -0
  77. package/styles/context-menu/material3-dark.css +6 -0
  78. package/styles/context-menu/material3.css +6 -0
  79. package/styles/context-menu/tailwind-dark.css +6 -0
  80. package/styles/context-menu/tailwind.css +6 -0
  81. package/styles/context-menu/tailwind3.css +6 -0
  82. package/styles/fabric-dark-lite.css +43 -3
  83. package/styles/fabric-dark.css +45 -5
  84. package/styles/fabric-lite.css +44 -4
  85. package/styles/fabric.css +46 -6
  86. package/styles/fluent-dark-lite.css +50 -10
  87. package/styles/fluent-dark.css +53 -13
  88. package/styles/fluent-lite.css +50 -10
  89. package/styles/fluent.css +53 -13
  90. package/styles/fluent2-lite.css +43 -3
  91. package/styles/fluent2.css +45 -5
  92. package/styles/highcontrast-light-lite.css +43 -3
  93. package/styles/highcontrast-light.css +45 -5
  94. package/styles/highcontrast-lite.css +44 -4
  95. package/styles/highcontrast.css +46 -6
  96. package/styles/material-dark-lite.css +45 -5
  97. package/styles/material-dark.css +47 -7
  98. package/styles/material-lite.css +44 -4
  99. package/styles/material.css +46 -6
  100. package/styles/material3-dark-lite.css +43 -3
  101. package/styles/material3-dark.css +46 -7
  102. package/styles/material3-lite.css +43 -3
  103. package/styles/material3.css +46 -7
  104. package/styles/pager/_bds-definition.scss +1 -1
  105. package/styles/pager/_bigger.scss +0 -1
  106. package/styles/pager/_bootstrap-dark-definition.scss +1 -1
  107. package/styles/pager/_bootstrap-definition.scss +1 -1
  108. package/styles/pager/_bootstrap4-definition.scss +1 -1
  109. package/styles/pager/_bootstrap5-definition.scss +2 -2
  110. package/styles/pager/_bootstrap5.3-definition.scss +1 -1
  111. package/styles/pager/_fabric-dark-definition.scss +1 -1
  112. package/styles/pager/_fabric-definition.scss +1 -1
  113. package/styles/pager/_fluent-definition.scss +2 -2
  114. package/styles/pager/_fluent2-definition.scss +1 -1
  115. package/styles/pager/_fusionnew-definition.scss +1 -1
  116. package/styles/pager/_highcontrast-definition.scss +1 -1
  117. package/styles/pager/_highcontrast-light-definition.scss +1 -1
  118. package/styles/pager/_layout.scss +8 -0
  119. package/styles/pager/_material-dark-definition.scss +1 -1
  120. package/styles/pager/_material-definition.scss +1 -1
  121. package/styles/pager/_material3-definition.scss +1 -1
  122. package/styles/pager/_tailwind-definition.scss +1 -1
  123. package/styles/pager/_tailwind3-definition.scss +2 -2
  124. package/styles/pager/bds.css +13 -3
  125. package/styles/pager/bootstrap-dark.css +13 -3
  126. package/styles/pager/bootstrap.css +13 -3
  127. package/styles/pager/bootstrap4.css +13 -3
  128. package/styles/pager/bootstrap5-dark.css +8 -4
  129. package/styles/pager/bootstrap5.3.css +7 -3
  130. package/styles/pager/bootstrap5.css +8 -4
  131. package/styles/pager/fabric-dark.css +13 -3
  132. package/styles/pager/fabric.css +13 -3
  133. package/styles/pager/fluent-dark.css +14 -4
  134. package/styles/pager/fluent.css +14 -4
  135. package/styles/pager/fluent2.css +13 -3
  136. package/styles/pager/highcontrast-light.css +13 -3
  137. package/styles/pager/highcontrast.css +13 -3
  138. package/styles/pager/material-dark.css +13 -3
  139. package/styles/pager/material.css +13 -3
  140. package/styles/pager/material3-dark.css +13 -4
  141. package/styles/pager/material3.css +13 -4
  142. package/styles/pager/tailwind-dark.css +13 -3
  143. package/styles/pager/tailwind.css +13 -3
  144. package/styles/pager/tailwind3.css +14 -4
  145. package/styles/tab/_bootstrap-dark-definition.scss +3 -3
  146. package/styles/tab/_bootstrap-definition.scss +3 -3
  147. package/styles/tab/_bootstrap4-definition.scss +3 -3
  148. package/styles/tab/_bootstrap5-definition.scss +3 -3
  149. package/styles/tab/_bootstrap5.3-definition.scss +3 -3
  150. package/styles/tab/_fabric-definition.scss +1 -1
  151. package/styles/tab/_fluent-definition.scss +4 -4
  152. package/styles/tab/_highcontrast-definition.scss +1 -1
  153. package/styles/tab/_material-definition.scss +1 -1
  154. package/styles/tab/_tailwind-definition.scss +3 -3
  155. package/styles/tab/_tailwind3-definition.scss +3 -3
  156. package/styles/tab/bootstrap-dark.css +2 -2
  157. package/styles/tab/bootstrap.css +2 -2
  158. package/styles/tab/bootstrap4.css +3 -3
  159. package/styles/tab/bootstrap5-dark.css +2 -2
  160. package/styles/tab/bootstrap5.3.css +3 -3
  161. package/styles/tab/bootstrap5.css +3 -3
  162. package/styles/tab/fabric.css +1 -1
  163. package/styles/tab/fluent-dark.css +7 -7
  164. package/styles/tab/fluent.css +7 -7
  165. package/styles/tab/highcontrast.css +1 -1
  166. package/styles/tab/material.css +1 -1
  167. package/styles/tab/tailwind-dark.css +4 -4
  168. package/styles/tab/tailwind.css +4 -4
  169. package/styles/tab/tailwind3.css +3 -3
  170. package/styles/tailwind-dark-lite.css +47 -7
  171. package/styles/tailwind-dark.css +49 -9
  172. package/styles/tailwind-lite.css +47 -7
  173. package/styles/tailwind.css +49 -9
  174. package/styles/tailwind3-lite.css +46 -6
  175. package/styles/tailwind3.css +49 -9
  176. package/styles/toolbar/_bootstrap-dark-definition.scss +1 -1
  177. package/styles/toolbar/_layout.scss +13 -1
  178. package/styles/toolbar/_material-dark-definition.scss +2 -2
  179. package/styles/toolbar/bds.css +8 -2
  180. package/styles/toolbar/bootstrap-dark.css +10 -4
  181. package/styles/toolbar/bootstrap.css +8 -2
  182. package/styles/toolbar/bootstrap4.css +8 -2
  183. package/styles/toolbar/bootstrap5-dark.css +8 -2
  184. package/styles/toolbar/bootstrap5.3.css +8 -2
  185. package/styles/toolbar/bootstrap5.css +8 -2
  186. package/styles/toolbar/fabric-dark.css +8 -2
  187. package/styles/toolbar/fabric.css +8 -2
  188. package/styles/toolbar/fluent-dark.css +8 -2
  189. package/styles/toolbar/fluent.css +8 -2
  190. package/styles/toolbar/fluent2.css +8 -2
  191. package/styles/toolbar/highcontrast-light.css +8 -2
  192. package/styles/toolbar/highcontrast.css +8 -2
  193. package/styles/toolbar/material-dark.css +10 -4
  194. package/styles/toolbar/material.css +8 -2
  195. package/styles/toolbar/material3-dark.css +8 -2
  196. package/styles/toolbar/material3.css +8 -2
  197. package/styles/toolbar/tailwind-dark.css +8 -2
  198. package/styles/toolbar/tailwind.css +8 -2
  199. package/styles/toolbar/tailwind3.css +8 -2
  200. package/styles/treeview/_layout.scss +4 -0
  201. package/styles/treeview/_material3-definition.scss +1 -1
  202. package/styles/treeview/bds.css +3 -0
  203. package/styles/treeview/bootstrap-dark.css +3 -0
  204. package/styles/treeview/bootstrap.css +3 -0
  205. package/styles/treeview/bootstrap4.css +3 -0
  206. package/styles/treeview/bootstrap5-dark.css +3 -0
  207. package/styles/treeview/bootstrap5.3.css +3 -0
  208. package/styles/treeview/bootstrap5.css +3 -0
  209. package/styles/treeview/fabric-dark.css +3 -0
  210. package/styles/treeview/fabric.css +3 -0
  211. package/styles/treeview/fluent-dark.css +3 -0
  212. package/styles/treeview/fluent.css +3 -0
  213. package/styles/treeview/fluent2.css +3 -0
  214. package/styles/treeview/highcontrast-light.css +3 -0
  215. package/styles/treeview/highcontrast.css +3 -0
  216. package/styles/treeview/material-dark.css +3 -0
  217. package/styles/treeview/material.css +3 -0
  218. package/styles/treeview/material3-dark.css +4 -1
  219. package/styles/treeview/material3.css +4 -1
  220. package/styles/treeview/tailwind-dark.css +3 -0
  221. package/styles/treeview/tailwind.css +3 -0
  222. package/styles/treeview/tailwind3.css +3 -0
@@ -3878,6 +3878,38 @@ let Toolbar = class Toolbar extends Component {
3878
3878
  }
3879
3879
  return clst;
3880
3880
  }
3881
+ getNextFocusableItem(currentItem, action) {
3882
+ const selector = `.${CLS_ITEM}:not(.${CLS_DISABLE$2}):not(.${CLS_SEPARATOR}):not(.${CLS_HIDDEN})`;
3883
+ const items = Array.from(this.element.querySelectorAll(selector));
3884
+ const currentIndex = items.indexOf(currentItem);
3885
+ if (currentIndex < 0) {
3886
+ return null;
3887
+ }
3888
+ let nextIndex;
3889
+ switch (action) {
3890
+ case 'moveRight':
3891
+ case 'moveDown':
3892
+ case 'tab':
3893
+ nextIndex = (currentIndex + 1) % items.length;
3894
+ break;
3895
+ case 'moveLeft':
3896
+ case 'moveUp':
3897
+ nextIndex = (currentIndex - 1 + items.length) % items.length;
3898
+ break;
3899
+ case 'home':
3900
+ nextIndex = 0;
3901
+ break;
3902
+ case 'end':
3903
+ nextIndex = items.length - 1;
3904
+ break;
3905
+ default:
3906
+ nextIndex = currentIndex;
3907
+ }
3908
+ if (nextIndex >= 0 && nextIndex < items.length) {
3909
+ return items[parseInt(nextIndex.toString(), 10)];
3910
+ }
3911
+ return null;
3912
+ }
3881
3913
  keyHandling(clst, e, trgt, navChk, scrollChk) {
3882
3914
  const popObj = this.popObj;
3883
3915
  const rootEle = this.element;
@@ -3943,19 +3975,30 @@ let Toolbar = class Toolbar extends Component {
3943
3975
  if (!this.isVertical) {
3944
3976
  if (popObj && closest(trgt, '.e-popup')) {
3945
3977
  const popEle = popObj.element;
3946
- const popFrstEle = popEle.firstElementChild;
3947
- if ((value === 'previous' && popFrstEle === clst)) {
3948
- popEle.lastElementChild.firstChild.focus();
3978
+ if ((value === 'previous' && popEle.firstElementChild === clst)) {
3979
+ const lastVisibleEle = this.focusLastVisibleEle([].slice.call(popEle.children));
3980
+ if (lastVisibleEle) {
3981
+ this.elementFocus(lastVisibleEle);
3982
+ }
3949
3983
  }
3950
3984
  else if (value === 'next' && popEle.lastElementChild === clst) {
3951
- popFrstEle.firstChild.focus();
3985
+ const firstVisibleEle = this.focusFirstVisibleEle([].slice.call(popEle.children));
3986
+ if (firstVisibleEle) {
3987
+ this.elementFocus(firstVisibleEle);
3988
+ }
3952
3989
  }
3953
3990
  else {
3954
3991
  this.eleFocus(clst, value);
3955
3992
  }
3956
3993
  }
3957
3994
  else if (e.action === 'moveDown' && popObj && isVisible(popObj.element)) {
3958
- this.elementFocus(clst);
3995
+ const skipEle = this.eleContains(clst);
3996
+ if (skipEle) {
3997
+ this.eleFocus(clst, value);
3998
+ }
3999
+ else {
4000
+ this.elementFocus(clst);
4001
+ }
3959
4002
  }
3960
4003
  }
3961
4004
  else {
@@ -4002,7 +4045,8 @@ let Toolbar = class Toolbar extends Component {
4002
4045
  }
4003
4046
  keyActionHandler(e) {
4004
4047
  const trgt = e.target;
4005
- if (trgt.tagName === 'INPUT' || trgt.tagName === 'TEXTAREA' || this.element.classList.contains(CLS_DISABLE$2)) {
4048
+ if ((e.action === 'home' || e.action === 'end' || e.action === 'moveRight' || e.action === 'moveLeft' || e.action === 'moveUp' || e.action === 'moveDown')
4049
+ && (trgt.tagName === 'INPUT' || trgt.tagName === 'TEXTAREA' || this.element.classList.contains(CLS_DISABLE$2))) {
4006
4050
  return;
4007
4051
  }
4008
4052
  e.preventDefault();
@@ -4010,7 +4054,19 @@ let Toolbar = class Toolbar extends Component {
4010
4054
  const tbarScrollChk = trgt.classList.contains(CLS_TBARSCRLNAV);
4011
4055
  const clst = this.clstElement(tbrNavChk, trgt);
4012
4056
  if (clst || tbarScrollChk) {
4013
- this.keyHandling(clst, e, trgt, tbrNavChk, tbarScrollChk);
4057
+ const currentItem = clst;
4058
+ const nextItem = this.getNextFocusableItem(currentItem, e.action);
4059
+ const keyDownEventArgs = {
4060
+ originalEvent: e,
4061
+ currentItem: currentItem,
4062
+ nextItem: nextItem,
4063
+ cancel: false
4064
+ };
4065
+ this.trigger('keyDown', keyDownEventArgs, (keyDownArgs) => {
4066
+ if (!keyDownArgs.cancel) {
4067
+ this.keyHandling(clst, e, trgt, tbrNavChk, tbarScrollChk);
4068
+ }
4069
+ });
4014
4070
  }
4015
4071
  }
4016
4072
  /**
@@ -4049,7 +4105,7 @@ let Toolbar = class Toolbar extends Component {
4049
4105
  let index = 0;
4050
4106
  while (index < nodes.length) {
4051
4107
  const ele = nodes[parseInt(index.toString(), 10)];
4052
- if (!ele.classList.contains(CLS_HIDDEN) && !ele.classList.contains(CLS_DISABLE$2)) {
4108
+ if (!ele.classList.contains(CLS_SEPARATOR) && !ele.classList.contains(CLS_HIDDEN) && !ele.classList.contains(CLS_DISABLE$2)) {
4053
4109
  return ele;
4054
4110
  }
4055
4111
  index++;
@@ -4061,7 +4117,7 @@ let Toolbar = class Toolbar extends Component {
4061
4117
  let index = nodes.length - 1;
4062
4118
  while (index >= 0) {
4063
4119
  const ele = nodes[parseInt(index.toString(), 10)];
4064
- if (!ele.classList.contains(CLS_HIDDEN) && !ele.classList.contains(CLS_DISABLE$2)) {
4120
+ if (!ele.classList.contains(CLS_SEPARATOR) && !ele.classList.contains(CLS_HIDDEN) && !ele.classList.contains(CLS_DISABLE$2)) {
4065
4121
  return ele;
4066
4122
  }
4067
4123
  index--;
@@ -5533,10 +5589,6 @@ let Toolbar = class Toolbar extends Component {
5533
5589
  return isNullOrUndefined(ele.getAttribute('data-tabindex')) ? '-1' : ele.getAttribute('data-tabindex');
5534
5590
  }
5535
5591
  itemClick(e) {
5536
- const itemClosest = !isNullOrUndefined(closest(e.currentTarget, '.' + CLS_TEMPLATE));
5537
- if (itemClosest) {
5538
- return;
5539
- }
5540
5592
  this.activeEleSwitch(e.currentTarget);
5541
5593
  }
5542
5594
  activeEleSwitch(ele) {
@@ -5898,6 +5950,9 @@ __decorate$3([
5898
5950
  __decorate$3([
5899
5951
  Event()
5900
5952
  ], Toolbar.prototype, "beforeCreate", void 0);
5953
+ __decorate$3([
5954
+ Event()
5955
+ ], Toolbar.prototype, "keyDown", void 0);
5901
5956
  Toolbar = __decorate$3([
5902
5957
  NotifyPropertyChanges
5903
5958
  ], Toolbar);
@@ -7266,6 +7321,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
7266
7321
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7267
7322
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7268
7323
  };
7324
+ const CONTEXTMENUTEMPLATE = 'e-contextmenu-template';
7269
7325
  /**
7270
7326
  * The ContextMenu is a graphical user interface that appears on the user right click/touch hold operation.
7271
7327
  * ```html
@@ -7302,6 +7358,7 @@ let ContextMenu = class ContextMenu extends MenuBase {
7302
7358
  }
7303
7359
  initialize() {
7304
7360
  this.template = this.itemTemplate ? this.itemTemplate : null;
7361
+ this.addTemplateClass();
7305
7362
  super.initialize();
7306
7363
  attributes(this.element, { 'role': 'menubar', 'tabindex': '0' });
7307
7364
  this.element.style.zIndex = getZindexPartial(this.element).toString();
@@ -7327,6 +7384,12 @@ let ContextMenu = class ContextMenu extends MenuBase {
7327
7384
  close() {
7328
7385
  super.closeMenu();
7329
7386
  }
7387
+ addTemplateClass() {
7388
+ if (!isNullOrUndefined(this.itemTemplate) && typeof this.itemTemplate === 'function' ||
7389
+ (typeof this.itemTemplate === 'string' && this.itemTemplate !== '')) {
7390
+ addClass([this.element], CONTEXTMENUTEMPLATE);
7391
+ }
7392
+ }
7330
7393
  /**
7331
7394
  * Called internally if any of the property value changed.
7332
7395
  *
@@ -7349,6 +7412,8 @@ let ContextMenu = class ContextMenu extends MenuBase {
7349
7412
  break;
7350
7413
  case 'itemTemplate':
7351
7414
  this.itemTemplate = newProp.itemTemplate;
7415
+ removeClass([this.element], CONTEXTMENUTEMPLATE);
7416
+ this.addTemplateClass();
7352
7417
  this.refresh();
7353
7418
  }
7354
7419
  }
@@ -9000,7 +9065,9 @@ let Tab = class Tab extends Component {
9000
9065
  }
9001
9066
  break;
9002
9067
  case 'openPopup':
9003
- e.preventDefault();
9068
+ if (!isNullOrUndefined(e.target) && (e.target.classList.contains(CLS_WRAP))) {
9069
+ e.preventDefault();
9070
+ }
9004
9071
  if (!isNullOrUndefined(this.popEle) && this.popEle.classList.contains(CLS_POPUP_CLOSE)) {
9005
9072
  this.popObj.show(this.show);
9006
9073
  }
@@ -11911,7 +11978,10 @@ let TreeView = TreeView_1 = class TreeView extends Component {
11911
11978
  activeElement.classList.add(ITEM_ANIMATION_ACTIVE);
11912
11979
  }
11913
11980
  start = liEle.offsetHeight;
11914
- end = select('.' + TEXTWRAP, currLi).offsetHeight;
11981
+ const computedStyle = window.getComputedStyle(liEle);
11982
+ const paddingTop = parseFloat(computedStyle.paddingTop);
11983
+ const paddingBottom = parseFloat(computedStyle.paddingBottom);
11984
+ end = select('.' + TEXTWRAP, currLi).offsetHeight + paddingBottom + paddingTop;
11915
11985
  },
11916
11986
  progress: (args) => {
11917
11987
  args.element.style.display = 'block';
@@ -13542,6 +13612,15 @@ let TreeView = TreeView_1 = class TreeView extends Component {
13542
13612
  this.dragAction(e, virtualEle);
13543
13613
  },
13544
13614
  dragStop: (e) => {
13615
+ if (!e.target) {
13616
+ if (e.helper && e.helper.parentNode) {
13617
+ detach(e.helper);
13618
+ }
13619
+ document.body.style.cursor = '';
13620
+ removeClass([this.element], DRAGGING);
13621
+ this.dragStartAction = false;
13622
+ return;
13623
+ }
13545
13624
  removeClass([this.element], DRAGGING);
13546
13625
  if (!e.target.classList.contains('e-sibling')) {
13547
13626
  this.removeVirtualEle();
@@ -13578,6 +13657,9 @@ let TreeView = TreeView_1 = class TreeView extends Component {
13578
13657
  });
13579
13658
  this.dropObj = new Droppable(this.element, {
13580
13659
  out: (e) => {
13660
+ if (!e.target) {
13661
+ return;
13662
+ }
13581
13663
  if (!isNullOrUndefined(e) && !e.target.classList.contains(SIBLING) &&
13582
13664
  (this.dropObj.dragData.default && this.dropObj.dragData.default.helper.classList.contains(ROOT))) {
13583
13665
  document.body.style.cursor = 'not-allowed';
@@ -13616,6 +13698,9 @@ let TreeView = TreeView_1 = class TreeView extends Component {
13616
13698
  }
13617
13699
  }
13618
13700
  dragAction(e, virtualEle) {
13701
+ if (!e.target) {
13702
+ return;
13703
+ }
13619
13704
  const dropRoot = closest(e.target, '.' + DROPPABLE);
13620
13705
  let dropWrap = closest(e.target, '.' + TEXTWRAP);
13621
13706
  const icon = select('div.' + ICON, virtualEle);
@@ -15326,7 +15411,10 @@ let TreeView = TreeView_1 = class TreeView extends Component {
15326
15411
  }
15327
15412
  this.groupedData = this.getGroupedData(this.treeData, this.fields.parentID);
15328
15413
  }
15329
- this.setNodeFocusable();
15414
+ const fNode = select('.' + LISTITEM + '[tabindex="0"]', this.element);
15415
+ if (isNullOrUndefined(fNode)) {
15416
+ this.setNodeFocusable();
15417
+ }
15330
15418
  this.updateCheckedStateFromDS();
15331
15419
  if (this.showCheckBox && dropLi) {
15332
15420
  this.ensureParentCheckState(dropLi);
@@ -15719,7 +15807,7 @@ let TreeView = TreeView_1 = class TreeView extends Component {
15719
15807
  * @returns {void}
15720
15808
  */
15721
15809
  uncheckAll(nodes) {
15722
- if (this.showCheckBox) {
15810
+ if (this.showCheckBox && this.checkedNodes.length > 0) {
15723
15811
  this.doCheckBoxAction(nodes, false);
15724
15812
  }
15725
15813
  }
@@ -16062,6 +16150,8 @@ let Sidebar = class Sidebar extends Component {
16062
16150
  const sibling = document.querySelector('.e-main-content') || this.targetEle;
16063
16151
  if (this.target && this.showBackdrop && sibling && !isNullOrUndefined(this.defaultBackdropDiv)) {
16064
16152
  removeClass([this.defaultBackdropDiv], DEFAULTBACKDROP);
16153
+ this.defaultBackdropDiv.remove();
16154
+ this.defaultBackdropDiv = null;
16065
16155
  }
16066
16156
  else if (this.showBackdrop && this.modal) {
16067
16157
  this.modal.style.display = 'none';
@@ -16162,7 +16252,9 @@ let Sidebar = class Sidebar extends Component {
16162
16252
  removeClass([this.element], CLOSE);
16163
16253
  setStyleAttribute(this.element, { 'width': formatUnit(this.width) });
16164
16254
  this.setType(this.type);
16165
- this.createBackDrop();
16255
+ if (this.targetEle && !this.targetEle.querySelector('.e-sidebar-overlay')) {
16256
+ this.createBackDrop();
16257
+ }
16166
16258
  this.setAnimation();
16167
16259
  if (this.type === 'Slide') {
16168
16260
  document.body.classList.add('e-sidebar-overflow');
@@ -17535,9 +17627,6 @@ let Carousel = class Carousel extends Component {
17535
17627
  }
17536
17628
  break;
17537
17629
  case 'enableTouchSwipe':
17538
- if (!this.enableTouchSwipe && this.touchModule) {
17539
- this.touchModule.destroy();
17540
- }
17541
17630
  if (this.element.querySelector(`.${CLS_ITEMS$2}`)) {
17542
17631
  this.renderTouchActions();
17543
17632
  }
@@ -17936,9 +18025,6 @@ let Carousel = class Carousel extends Component {
17936
18025
  this.keyModule = new KeyboardEvents(this.element, { keyAction: this.keyHandler.bind(this), keyConfigs: this.keyConfigs });
17937
18026
  }
17938
18027
  renderTouchActions() {
17939
- if (!this.enableTouchSwipe) {
17940
- return;
17941
- }
17942
18028
  this.touchModule = new Touch(this.element, { swipe: this.swipeHandler.bind(this) });
17943
18029
  }
17944
18030
  applyAnimation() {
@@ -18498,7 +18584,7 @@ let Carousel = class Carousel extends Component {
18498
18584
  }
18499
18585
  }
18500
18586
  wireEvents() {
18501
- if (this.animationEffect !== 'Custom' && this.enableTouchSwipe) {
18587
+ if (this.animationEffect !== 'Custom') {
18502
18588
  this.swipeModehandlers();
18503
18589
  }
18504
18590
  EventHandler.add(this.element, 'focusin focusout', this.onFocusActions, this);
@@ -19326,11 +19412,6 @@ let Stepper = class Stepper extends StepperBase {
19326
19412
  updateAnimation() {
19327
19413
  const progressEle = this.element.querySelector('.e-progressbar-value');
19328
19414
  if (this.animation.enable) {
19329
- if (this.animation.duration >= 0) {
19330
- if (progressEle) {
19331
- progressEle.style.setProperty('--duration', ((this.animation.duration) + 'ms'));
19332
- }
19333
- }
19334
19415
  if (this.animation.delay >= 0) {
19335
19416
  if (progressEle) {
19336
19417
  progressEle.style.setProperty('--delay', ((this.animation.delay) + 'ms'));
@@ -19901,6 +19982,9 @@ let Stepper = class Stepper extends StepperBase {
19901
19982
  }
19902
19983
  }
19903
19984
  navigationHandler(index, stepStatus, isUpdated) {
19985
+ if (index !== this.activeStep && this.progressbar) {
19986
+ this.progressbar.style.transitionDuration = this.animation.duration + 'ms';
19987
+ }
19904
19988
  index = Math.min(index, this.steps.length - 1);
19905
19989
  const Itemslength = this.stepperItemElements.length;
19906
19990
  if (index >= 0 && index < Itemslength - 1) {
@@ -19971,6 +20055,9 @@ let Stepper = class Stepper extends StepperBase {
19971
20055
  this.updateIndicatorStatus(i, itemElement);
19972
20056
  }
19973
20057
  this.updateStepInteractions();
20058
+ if (this.progressbar) {
20059
+ this.progressbar.style.transitionDuration = '0ms';
20060
+ }
19974
20061
  }
19975
20062
  calculateProgressbarPos() {
19976
20063
  if ((this.element.classList.contains(LABELBEFORE) || this.element.classList.contains(LABELAFTER)) &&