@onecx/angular-accelerator 6.2.1 → 6.3.0

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.
@@ -6,7 +6,7 @@ import { HttpClient } from '@angular/common/http';
6
6
  import * as i3 from '@angular/forms';
7
7
  import { FormGroupDirective, FormControlName, FormsModule, ReactiveFormsModule } from '@angular/forms';
8
8
  import { BehaviorSubject, map, filter, concat, of, from, combineLatest, startWith, debounceTime, mergeMap, first, forkJoin, shareReplay, switchMap, toArray, withLatestFrom, ReplaySubject, timestamp, distinctUntilChanged, isObservable, firstValueFrom, skip } from 'rxjs';
9
- import { SyncableTopic, getLocation, isValidDate, getUTCDateWithoutTimezoneIssues } from '@onecx/accelerator';
9
+ import { Topic, getLocation, isValidDate, getUTCDateWithoutTimezoneIssues } from '@onecx/accelerator';
10
10
  import * as i1 from '@angular/common';
11
11
  import { DatePipe, DecimalPipe, CurrencyPipe, formatDate, CommonModule } from '@angular/common';
12
12
  import * as i2$1 from 'primeng/button';
@@ -399,7 +399,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
399
399
  // This topic is defined here and not in integration-interface, because
400
400
  // it is not used as framework independent integration but for improving
401
401
  // angular specific things
402
- class ManualBreadcrumbsTopic extends SyncableTopic {
402
+ class ManualBreadcrumbsTopic extends Topic {
403
403
  constructor() {
404
404
  super('manualBreadcrumbs', 1);
405
405
  }
@@ -447,7 +447,7 @@ let BreadcrumbService = class BreadcrumbService {
447
447
  }
448
448
  }
449
449
  addBreadcrumb(route, parentUrl, breadcrumbs) {
450
- if (route && route.url) {
450
+ if (route?.url) {
451
451
  const routeUrl = parentUrl.concat(route.url.map((url) => url.path));
452
452
  if (route.routeConfig?.path) {
453
453
  this.createBreadcrumb(route, routeUrl, breadcrumbs);