@indice/ng-components 0.2.141-beta → 0.2.142-beta

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.
@@ -2086,7 +2086,7 @@
2086
2086
  var _this = this;
2087
2087
  if (breakCache === void 0) { breakCache = false; }
2088
2088
  if (breakCache) {
2089
- this._notificationLinks.pipe(operators.take(1), operators.map(function (notifications) {
2089
+ this._notificationLinks.pipe(operators.map(function (notifications) {
2090
2090
  return notifications.filter(function (x) { return !x.isRead; }).length;
2091
2091
  })).subscribe(function (res) { return _this.unreadCountSubject$.next(res); });
2092
2092
  }
@@ -2267,12 +2267,11 @@
2267
2267
  } });
2268
2268
 
2269
2269
  var ShellLayoutComponent = /** @class */ (function () {
2270
- function ShellLayoutComponent(router, location, config, componentLoaderFactory, _notificationsService) {
2270
+ function ShellLayoutComponent(router, location, config, componentLoaderFactory) {
2271
2271
  this.router = router;
2272
2272
  this.location = location;
2273
2273
  this.config = config;
2274
2274
  this.componentLoaderFactory = componentLoaderFactory;
2275
- this._notificationsService = _notificationsService;
2276
2275
  this.dynamicComponentHosts = null;
2277
2276
  this.routerSub$ = null;
2278
2277
  this.showRightPaneSM = false;
@@ -2286,7 +2285,6 @@
2286
2285
  ShellLayoutComponent.prototype.ngAfterViewChecked = function () {
2287
2286
  var _this = this;
2288
2287
  setTimeout(function () { _this.loaded = true; }, 200);
2289
- this._notificationsService.getUnreadCount();
2290
2288
  };
2291
2289
  ShellLayoutComponent.prototype.ngOnInit = function () {
2292
2290
  var _this = this;
@@ -2340,7 +2338,7 @@
2340
2338
  };
2341
2339
  return ShellLayoutComponent;
2342
2340
  }());
2343
- ShellLayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: ShellLayoutComponent, deps: [{ token: i1__namespace$1.Router }, { token: i1__namespace.Location }, { token: SHELL_CONFIG }, { token: ComponentLoaderFactory }, { token: NotificationsService }], target: i0__namespace.ɵɵFactoryTarget.Component });
2341
+ ShellLayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: ShellLayoutComponent, deps: [{ token: i1__namespace$1.Router }, { token: i1__namespace.Location }, { token: SHELL_CONFIG }, { token: ComponentLoaderFactory }], target: i0__namespace.ɵɵFactoryTarget.Component });
2344
2342
  ShellLayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: ShellLayoutComponent, selector: "lib-shell-layout", viewQueries: [{ propertyName: "dynamicComponentHosts", predicate: DynamicComponentHostDirective, descendants: true }], ngImport: i0__namespace, template: "<div *ngIf=\"loaded\"\r\n [style.display]=\"!loaded ? 'none':'block'\"\r\n class=\"shell-container active-side-pane\">\r\n <div class=\"shell-header-container\"\r\n *ngIf=\"activeConfig.showHeader\">\r\n <div [class]=\"activeConfig.fluid ? 'shell-header-container-inner-fluid' : 'shell-header-container-inner'\">\r\n\r\n <ng-container *ngIf=\"activeConfig.customHeaderComponent\">\r\n <div appDynamicComponentHost=\"Header\"></div>\r\n </ng-container>\r\n\r\n <lib-shell-header *ngIf=\"!activeConfig.customHeaderComponent\"\r\n [config]=\"activeConfig\"></lib-shell-header>\r\n </div>\r\n </div>\r\n\r\n <main [class]=\"activeConfig.showHeader ? 'shell-content-container' : 'shell-content-container-no-header'\">\r\n <div [class]=\"activeConfig.fluid ? 'shell-content-container-inner-fluid' : 'shell-content-container-inner'\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </main>\r\n\r\n <div class=\"shell-footer-container\"\r\n *ngIf=\"activeConfig.showFooter\">\r\n <div [class]=\"activeConfig.fluid ? 'shell-footer-container-inner-fluid' : 'shell-footer-container-inner'\">\r\n <ng-container *ngIf=\"activeConfig.customFooterComponent\">\r\n <div appDynamicComponentHost\r\n hostName=\"Footer\"></div>\r\n </ng-container>\r\n <lib-shell-footer *ngIf=\"!activeConfig.customFooterComponent\"></lib-shell-footer>\r\n </div>\r\n </div>\r\n\r\n <lib-side-pane #rightPane>\r\n <router-outlet name=\"rightpane\"\r\n (activate)=\"rightPane.onSidePaneActivated($event)\"\r\n (deactivate)=\"rightPane.onSidePaneDeactivated($event)\"></router-outlet>\r\n </lib-side-pane>\r\n\r\n <lib-toaster-container></lib-toaster-container>\r\n\r\n</div>\r\n", components: [{ type: ShellHeaderComponent, selector: "lib-shell-header", inputs: ["section-links", "notification-links", "all-notifications", "config", "border"] }, { type: ShellFooterComponent, selector: "lib-shell-footer" }, { type: SidePaneComponent, selector: "lib-side-pane", inputs: ["visible"], outputs: ["onComplete"] }, { type: ToasterContainerComponent, selector: "lib-toaster-container" }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentHostDirective, selector: "[appDynamicComponentHost]", inputs: ["hostName"] }, { type: i1__namespace$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }] });
2345
2343
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: ShellLayoutComponent, decorators: [{
2346
2344
  type: i0.Component,
@@ -2353,7 +2351,7 @@
2353
2351
  return [{ type: i1__namespace$1.Router }, { type: i1__namespace.Location }, { type: undefined, decorators: [{
2354
2352
  type: i0.Inject,
2355
2353
  args: [SHELL_CONFIG]
2356
- }] }, { type: ComponentLoaderFactory }, { type: NotificationsService }];
2354
+ }] }, { type: ComponentLoaderFactory }];
2357
2355
  }, propDecorators: { dynamicComponentHosts: [{
2358
2356
  type: i0.ViewChildren,
2359
2357
  args: [DynamicComponentHostDirective]