tango-app-ui-shared 3.7.30 → 3.7.32

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.
@@ -1,5 +1,19 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Router } from '@angular/router';
1
3
  import * as i0 from "@angular/core";
2
- export declare class PlanoHeaderComponent {
4
+ export declare class PlanoHeaderComponent implements OnDestroy {
5
+ private readonly router;
6
+ /**
7
+ * Base path for the tabs. The same header serves both planogram versions:
8
+ * on /manage/planogram/* the tabs point to v1, on /manage/planogram-v2/*
9
+ * they point to v2. Derived from the 2nd URL segment so the active-state
10
+ * and navigation stay correct in either version.
11
+ */
12
+ basePath: string;
13
+ private readonly sub;
14
+ constructor(router: Router);
15
+ private setBasePath;
16
+ ngOnDestroy(): void;
3
17
  static ɵfac: i0.ɵɵFactoryDeclaration<PlanoHeaderComponent, never>;
4
18
  static ɵcmp: i0.ɵɵComponentDeclaration<PlanoHeaderComponent, "lib-plano-header", never, {}, {}, never, never, false, never>;
5
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-shared",
3
- "version": "3.7.30",
3
+ "version": "3.7.32",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"