ps-toolkit-ui 0.0.78 → 0.0.79

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.
@@ -2141,12 +2141,11 @@
2141
2141
  }
2142
2142
  });
2143
2143
  }
2144
+ SidebarComponent.prototype.changeActive = function (active) {
2145
+ this.currentSidebar = this.getSidebarActive(this.sidebar, active);
2146
+ };
2144
2147
  SidebarComponent.prototype.setActive = function () {
2145
- console.log(11111111);
2146
- console.log(this.router.routerState);
2147
2148
  var active = HelperClass.getData('active', this.router.routerState, this.router.routerState.root)[0];
2148
- console.log(active);
2149
- console.log(this.getSidebarActive(this.sidebar, active));
2150
2149
  this.currentSidebar = this.getSidebarActive(this.sidebar, active);
2151
2150
  };
2152
2151
  SidebarComponent.prototype.ngOnInit = function () {
@@ -6857,8 +6856,8 @@
6857
6856
  function LayoutComponent() {
6858
6857
  this.permissions = [];
6859
6858
  }
6860
- LayoutComponent.prototype.changeSidebarActive = function () {
6861
- this.sidebar.setActive();
6859
+ LayoutComponent.prototype.changeSidebarActive = function (active) {
6860
+ this.sidebar.changeActive(active);
6862
6861
  };
6863
6862
  LayoutComponent.prototype.toggleSidebar = function () {
6864
6863
  $__namespace('#Layout .panel').toggleClass('open-sidebar').toggleClass('close-sidebar');