@syncfusion/ej2-navigations 30.1.39 → 30.1.42
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.
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +23 -9
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +22 -8
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/breadcrumb/breadcrumb.js +1 -1
- package/src/common/menu-base.js +7 -0
- package/src/stepper-base/stepper-base-model.d.ts +4 -1
- package/src/stepper-base/stepper-base.d.ts +4 -1
- package/src/tab/tab.js +4 -1
- package/src/toolbar/toolbar.js +10 -6
|
@@ -3125,6 +3125,13 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
3125
3125
|
MenuBase.prototype.toggleAnimation = function (ul, isMenuOpen) {
|
|
3126
3126
|
var _this = this;
|
|
3127
3127
|
if (isMenuOpen === void 0) { isMenuOpen = true; }
|
|
3128
|
+
var menuWrapper = this.getWrapper();
|
|
3129
|
+
if (menuWrapper) {
|
|
3130
|
+
var activeMenuElements = menuWrapper.querySelectorAll('.e-menu-parent');
|
|
3131
|
+
activeMenuElements.forEach(function (menuElement) {
|
|
3132
|
+
Animation.stop(menuElement);
|
|
3133
|
+
});
|
|
3134
|
+
}
|
|
3128
3135
|
var pUlHeight;
|
|
3129
3136
|
var pElement;
|
|
3130
3137
|
var animateElement = (this.enableScrolling && !this.isMenu && closest(ul, '.e-menu-vscroll'))
|
|
@@ -3966,11 +3973,15 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
|
|
|
3966
3973
|
}
|
|
3967
3974
|
if (this.tbarAlign) {
|
|
3968
3975
|
var tbarItems = this.element.querySelector('.' + CLS_ITEMS);
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3976
|
+
if (tbarItems) {
|
|
3977
|
+
if (tbarItems.children) {
|
|
3978
|
+
[].slice.call(tbarItems.children).forEach(function (el) {
|
|
3979
|
+
detach(el);
|
|
3980
|
+
});
|
|
3981
|
+
}
|
|
3982
|
+
this.remove(tbarItems, CLS_TBARPOS);
|
|
3983
|
+
}
|
|
3972
3984
|
this.tbarAlign = false;
|
|
3973
|
-
this.remove(tbarItems, CLS_TBARPOS);
|
|
3974
3985
|
}
|
|
3975
3986
|
this.clearProperty();
|
|
3976
3987
|
};
|
|
@@ -4393,10 +4404,10 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
|
|
|
4393
4404
|
Toolbar.prototype.render = function () {
|
|
4394
4405
|
var _this = this;
|
|
4395
4406
|
this.initialize();
|
|
4396
|
-
this.renderControl();
|
|
4397
|
-
this.wireEvents();
|
|
4398
4407
|
this.clickEvent = this.docEvent.bind(this);
|
|
4399
4408
|
this.scrollEvent = this.docEvent.bind(this);
|
|
4409
|
+
this.renderControl();
|
|
4410
|
+
this.wireEvents();
|
|
4400
4411
|
this.renderComplete();
|
|
4401
4412
|
if (this.isReact && this.portals && this.portals.length > 0) {
|
|
4402
4413
|
this.renderReactTemplates(function () {
|
|
@@ -8582,7 +8593,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
8582
8593
|
this.actEleId = target.id;
|
|
8583
8594
|
if (this.checkPopupOverflow(lastChild)) {
|
|
8584
8595
|
var prevEle = this.tbItems.lastChild.previousElementSibling;
|
|
8585
|
-
|
|
8596
|
+
prevEle = (prevEle && prevEle.classList.contains(CLS_INDICATOR) ? prevEle.previousElementSibling : prevEle);
|
|
8597
|
+
if (prevEle) {
|
|
8598
|
+
this.checkPopupOverflow(prevEle);
|
|
8599
|
+
}
|
|
8586
8600
|
}
|
|
8587
8601
|
this.isPopup = true;
|
|
8588
8602
|
}
|
|
@@ -17733,10 +17747,10 @@ var Breadcrumb = /** @__PURE__ @class */ (function (_super) {
|
|
|
17733
17747
|
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
17734
17748
|
var prop = _a[_i];
|
|
17735
17749
|
switch (prop) {
|
|
17736
|
-
case 'items':
|
|
17737
17750
|
case 'enableActiveItemNavigation':
|
|
17738
17751
|
this.reRenderItems();
|
|
17739
17752
|
break;
|
|
17753
|
+
case 'items':
|
|
17740
17754
|
case 'activeItem':
|
|
17741
17755
|
this._maxItems = this.maxItems;
|
|
17742
17756
|
this.initPvtProps();
|