ps-toolkit-ui 1.13.71 → 1.13.74
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/bundles/ps-toolkit-ui.umd.js +3 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +2 -1
- package/esm2015/lib/components/sidebar/sidebar.component.js +3 -1
- package/fesm2015/ps-toolkit-ui.js +3 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2559,6 +2559,7 @@
|
|
|
2559
2559
|
SidebarItemComponent.prototype.isActive = function (item) {
|
|
2560
2560
|
var e_1, _a;
|
|
2561
2561
|
if (item.children.length === 0) {
|
|
2562
|
+
console.log(item, this.currentSidebar, 33333333);
|
|
2562
2563
|
return this.currentSidebar && item.name === this.currentSidebar.name;
|
|
2563
2564
|
}
|
|
2564
2565
|
try {
|
|
@@ -2669,6 +2670,7 @@
|
|
|
2669
2670
|
}
|
|
2670
2671
|
SidebarComponent.prototype.setActive = function () {
|
|
2671
2672
|
var active = HelperClass.getData('active', this.router.routerState, this.router.routerState.root)[0];
|
|
2673
|
+
console.log(active, 111111111);
|
|
2672
2674
|
this.currentSidebar = this.getSidebarActive(this.sidebar, active);
|
|
2673
2675
|
};
|
|
2674
2676
|
SidebarComponent.prototype.ngOnInit = function () {
|
|
@@ -2705,6 +2707,7 @@
|
|
|
2705
2707
|
for (var item_1 = __values(item), item_1_1 = item_1.next(); !item_1_1.done; item_1_1 = item_1.next()) {
|
|
2706
2708
|
var i = item_1_1.value;
|
|
2707
2709
|
if (i.controller + (i.action ? i.action : '') === active) {
|
|
2710
|
+
console.log(i.controller + (i.action ? i.action : ''), 222222222);
|
|
2708
2711
|
return i;
|
|
2709
2712
|
}
|
|
2710
2713
|
var ca = this.getSidebarActive(i.children, active);
|