@syncfusion/ej2-navigations 19.4.40 → 19.4.41
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/CHANGELOG.md +8 -0
- 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 +11 -5
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +11 -5
- 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 +8 -7
- package/src/tab/tab.d.ts +7 -1
- package/src/tab/tab.js +11 -5
|
@@ -7479,7 +7479,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
7479
7479
|
_this.isAdd = false;
|
|
7480
7480
|
_this.isIconAlone = false;
|
|
7481
7481
|
_this.draggableItems = [];
|
|
7482
|
-
_this.resizeContext = _this.
|
|
7482
|
+
_this.resizeContext = _this.refreshActiveTabBorder.bind(_this);
|
|
7483
7483
|
/**
|
|
7484
7484
|
* Contains the keyboard configuration of the Tab.
|
|
7485
7485
|
*/
|
|
@@ -7932,7 +7932,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
7932
7932
|
trg.classList.remove(CLS_CLOSE_SHOW);
|
|
7933
7933
|
}
|
|
7934
7934
|
this.tbObj.refreshOverflow();
|
|
7935
|
-
this.
|
|
7935
|
+
this.refreshActiveTabBorder();
|
|
7936
7936
|
};
|
|
7937
7937
|
Tab.prototype.prevCtnAnimation = function (prev, current) {
|
|
7938
7938
|
var animation;
|
|
@@ -8648,7 +8648,13 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
8648
8648
|
break;
|
|
8649
8649
|
}
|
|
8650
8650
|
};
|
|
8651
|
-
|
|
8651
|
+
/**
|
|
8652
|
+
* Refresh the active tab border
|
|
8653
|
+
*
|
|
8654
|
+
* @returns {void}
|
|
8655
|
+
* @private
|
|
8656
|
+
*/
|
|
8657
|
+
Tab.prototype.refreshActiveTabBorder = function () {
|
|
8652
8658
|
var activeEle = select('.' + CLS_TB_ITEM + '.' + CLS_TB_POPUP + '.' + CLS_ACTIVE$1, this.element);
|
|
8653
8659
|
if (!isNullOrUndefined(activeEle) && this.reorderActiveTab) {
|
|
8654
8660
|
this.select(this.getEleIndex(activeEle));
|
|
@@ -9400,7 +9406,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
9400
9406
|
this.setCloseButton(newProp.showCloseButton);
|
|
9401
9407
|
break;
|
|
9402
9408
|
case 'reorderActiveTab':
|
|
9403
|
-
this.
|
|
9409
|
+
this.refreshActiveTabBorder();
|
|
9404
9410
|
break;
|
|
9405
9411
|
case 'selectedItem':
|
|
9406
9412
|
this.selectedItem = oldProp.selectedItem;
|
|
@@ -9415,7 +9421,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
9415
9421
|
case 'overflowMode':
|
|
9416
9422
|
this.tbObj.overflowMode = newProp.overflowMode;
|
|
9417
9423
|
this.tbObj.dataBind();
|
|
9418
|
-
this.
|
|
9424
|
+
this.refreshActiveTabBorder();
|
|
9419
9425
|
break;
|
|
9420
9426
|
case 'heightAdjustMode':
|
|
9421
9427
|
this.setContentHeight(false);
|