@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
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 30.1.
|
|
3
|
+
* version : 30.1.42
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-navigations",
|
|
3
|
-
"version": "30.1.
|
|
3
|
+
"version": "30.1.42",
|
|
4
4
|
"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",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-navigations.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~30.1.
|
|
11
|
+
"@syncfusion/ej2-base": "~30.1.42",
|
|
12
12
|
"@syncfusion/ej2-buttons": "~30.1.37",
|
|
13
|
-
"@syncfusion/ej2-data": "~30.1.
|
|
14
|
-
"@syncfusion/ej2-inputs": "~30.1.
|
|
15
|
-
"@syncfusion/ej2-lists": "~30.1.
|
|
16
|
-
"@syncfusion/ej2-popups": "~30.1.
|
|
13
|
+
"@syncfusion/ej2-data": "~30.1.40",
|
|
14
|
+
"@syncfusion/ej2-inputs": "~30.1.40",
|
|
15
|
+
"@syncfusion/ej2-lists": "~30.1.42",
|
|
16
|
+
"@syncfusion/ej2-popups": "~30.1.42"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {},
|
|
19
19
|
"keywords": [
|
|
@@ -652,10 +652,10 @@ var Breadcrumb = /** @class */ (function (_super) {
|
|
|
652
652
|
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
653
653
|
var prop = _a[_i];
|
|
654
654
|
switch (prop) {
|
|
655
|
-
case 'items':
|
|
656
655
|
case 'enableActiveItemNavigation':
|
|
657
656
|
this.reRenderItems();
|
|
658
657
|
break;
|
|
658
|
+
case 'items':
|
|
659
659
|
case 'activeItem':
|
|
660
660
|
this._maxItems = this.maxItems;
|
|
661
661
|
this.initPvtProps();
|
package/src/common/menu-base.js
CHANGED
|
@@ -2068,6 +2068,13 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
2068
2068
|
MenuBase.prototype.toggleAnimation = function (ul, isMenuOpen) {
|
|
2069
2069
|
var _this = this;
|
|
2070
2070
|
if (isMenuOpen === void 0) { isMenuOpen = true; }
|
|
2071
|
+
var menuWrapper = this.getWrapper();
|
|
2072
|
+
if (menuWrapper) {
|
|
2073
|
+
var activeMenuElements = menuWrapper.querySelectorAll('.e-menu-parent');
|
|
2074
|
+
activeMenuElements.forEach(function (menuElement) {
|
|
2075
|
+
Animation.stop(menuElement);
|
|
2076
|
+
});
|
|
2077
|
+
}
|
|
2071
2078
|
var pUlHeight;
|
|
2072
2079
|
var pElement;
|
|
2073
2080
|
var animateElement = (this.enableScrolling && !this.isMenu && closest(ul, '.e-menu-vscroll'))
|
|
@@ -30,11 +30,14 @@ export interface StepModel {
|
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Defines the state whether it is valid completion or not.
|
|
33
|
+
* If set to true, the completion is valid.
|
|
34
|
+
* If false, the completion is invalid.
|
|
35
|
+
* If null, the completion state is not determined.
|
|
33
36
|
*
|
|
34
37
|
* @aspType bool?
|
|
35
38
|
* @default null
|
|
36
39
|
*/
|
|
37
|
-
isValid?: boolean;
|
|
40
|
+
isValid?: boolean | null;
|
|
38
41
|
|
|
39
42
|
/**
|
|
40
43
|
* Defines the label content of the step.
|
|
@@ -41,11 +41,14 @@ export declare class Step extends ChildProperty<Step> {
|
|
|
41
41
|
iconCss: string;
|
|
42
42
|
/**
|
|
43
43
|
* Defines the state whether it is valid completion or not.
|
|
44
|
+
* If set to true, the completion is valid.
|
|
45
|
+
* If false, the completion is invalid.
|
|
46
|
+
* If null, the completion state is not determined.
|
|
44
47
|
*
|
|
45
48
|
* @aspType bool?
|
|
46
49
|
* @default null
|
|
47
50
|
*/
|
|
48
|
-
isValid: boolean;
|
|
51
|
+
isValid: boolean | null;
|
|
49
52
|
/**
|
|
50
53
|
* Defines the label content of the step.
|
|
51
54
|
*
|
package/src/tab/tab.js
CHANGED
|
@@ -643,7 +643,10 @@ var Tab = /** @class */ (function (_super) {
|
|
|
643
643
|
this.actEleId = target.id;
|
|
644
644
|
if (this.checkPopupOverflow(lastChild)) {
|
|
645
645
|
var prevEle = this.tbItems.lastChild.previousElementSibling;
|
|
646
|
-
|
|
646
|
+
prevEle = (prevEle && prevEle.classList.contains(CLS_INDICATOR) ? prevEle.previousElementSibling : prevEle);
|
|
647
|
+
if (prevEle) {
|
|
648
|
+
this.checkPopupOverflow(prevEle);
|
|
649
|
+
}
|
|
647
650
|
}
|
|
648
651
|
this.isPopup = true;
|
|
649
652
|
}
|
package/src/toolbar/toolbar.js
CHANGED
|
@@ -325,11 +325,15 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
325
325
|
}
|
|
326
326
|
if (this.tbarAlign) {
|
|
327
327
|
var tbarItems = this.element.querySelector('.' + CLS_ITEMS);
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
if (tbarItems) {
|
|
329
|
+
if (tbarItems.children) {
|
|
330
|
+
[].slice.call(tbarItems.children).forEach(function (el) {
|
|
331
|
+
detach(el);
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
this.remove(tbarItems, CLS_TBARPOS);
|
|
335
|
+
}
|
|
331
336
|
this.tbarAlign = false;
|
|
332
|
-
this.remove(tbarItems, CLS_TBARPOS);
|
|
333
337
|
}
|
|
334
338
|
this.clearProperty();
|
|
335
339
|
};
|
|
@@ -752,10 +756,10 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
752
756
|
Toolbar.prototype.render = function () {
|
|
753
757
|
var _this = this;
|
|
754
758
|
this.initialize();
|
|
755
|
-
this.renderControl();
|
|
756
|
-
this.wireEvents();
|
|
757
759
|
this.clickEvent = this.docEvent.bind(this);
|
|
758
760
|
this.scrollEvent = this.docEvent.bind(this);
|
|
761
|
+
this.renderControl();
|
|
762
|
+
this.wireEvents();
|
|
759
763
|
this.renderComplete();
|
|
760
764
|
if (this.isReact && this.portals && this.portals.length > 0) {
|
|
761
765
|
this.renderReactTemplates(function () {
|