@luigi-project/core-modular 0.0.14 → 0.0.15

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.
package/package.json CHANGED
@@ -18,5 +18,5 @@
18
18
  "micro-frontends",
19
19
  "microfrontends"
20
20
  ],
21
- "version": "0.0.14"
21
+ "version": "0.0.15"
22
22
  }
@@ -34,6 +34,7 @@ export declare class NavigationService {
34
34
  getParentNode(node: Node | undefined, pathData: PathData): Node | undefined;
35
35
  getAppSwitcherData(appSwitcherData: AppSwitcher, headerSettings: any): AppSwitcher | undefined;
36
36
  getTabNavData(path: string, pData?: PathData): Promise<TabNavData>;
37
+ private getTabNavConfig;
37
38
  getBreadcrumbData(path: string, pData?: PathData, onResolve?: (data: BreadcrumbData) => void): Promise<BreadcrumbData>;
38
39
  private resolveBreadcrumbTitles;
39
40
  /**
@@ -155,7 +155,7 @@ export interface Node {
155
155
  pathSegment?: string;
156
156
  runTimeErrorHandler?: RunTimeErrorHandler;
157
157
  showBreadcrumbs?: boolean;
158
- tabNav?: boolean;
158
+ tabNav?: boolean | TabNavConfig;
159
159
  titleResolver?: TitleResolver;
160
160
  tooltipText?: string;
161
161
  userSettingsGroup?: string;
@@ -212,8 +212,21 @@ export interface NavItem {
212
212
  selected?: boolean;
213
213
  tooltip?: string;
214
214
  }
215
+ export interface TabNavConfig {
216
+ showAsTabHeader?: boolean;
217
+ hideTabNavAutomatically?: boolean;
218
+ }
215
219
  export interface TabNavData {
216
220
  basePath?: string;
221
+ headerNode?: {
222
+ viewUrl: string;
223
+ context?: Record<string, any>;
224
+ webcomponent?: boolean | {
225
+ type?: string;
226
+ selfRegistered?: boolean;
227
+ tagName?: string;
228
+ };
229
+ };
217
230
  items?: NavItem[];
218
231
  navClick?: (item: NavItem) => Promise<void>;
219
232
  selectedNode?: any;