ps-toolkit-ui 1.11.87 → 1.11.89

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.
@@ -2407,11 +2407,16 @@
2407
2407
  var SidebarService = /** @class */ (function () {
2408
2408
  function SidebarService() {
2409
2409
  this.countSource = new rxjs.BehaviorSubject(0);
2410
+ this.countAllSource = new rxjs.BehaviorSubject(0);
2410
2411
  this.currentCount = this.countSource.asObservable();
2412
+ this.currentCountAll = this.countAllSource.asObservable();
2411
2413
  }
2412
2414
  SidebarService.prototype.changeCount = function (count) {
2413
2415
  this.countSource.next(count);
2414
2416
  };
2417
+ SidebarService.prototype.changeCountAll = function (countAll) {
2418
+ this.countAllSource.next(countAll);
2419
+ };
2415
2420
  return SidebarService;
2416
2421
  }());
2417
2422
  SidebarService.decorators = [
@@ -2442,6 +2447,13 @@
2442
2447
  _this.currentSidebar.count += c;
2443
2448
  }
2444
2449
  });
2450
+ service.currentCountAll.subscribe(function (c) {
2451
+ console.log(_this.currentSidebar, 111);
2452
+ if (_this.currentSidebar) {
2453
+ console.log(_this.currentSidebar.countAll, c, 222);
2454
+ _this.currentSidebar.countAll += c;
2455
+ }
2456
+ });
2445
2457
  }
2446
2458
  SidebarComponent.prototype.setActive = function () {
2447
2459
  var active = HelperClass.getData('active', this.router.routerState, this.router.routerState.root)[0];