@luigi-project/core-modular 0.0.11-dev.20260730056 → 0.0.11-dev.202607300638

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.
@@ -12,7 +12,8 @@ export declare const RoutingModule: {
12
12
  *
13
13
  * @param searchParams - An object containing key-value pairs of search parameters to be added to the URL.
14
14
  * @param keepBrowserHistory - If `true`, the browser history will be preserved when updating the URL.
15
+ * @param preventLuigiConfigUpdate - If `true`, prevents updating the Luigi configuration when adding search parameters.
15
16
  * @param luigi - The Luigi core instance used to interact with the routing API.
16
17
  */
17
- addSearchParamsFromClient(searchParams: Record<string, any>, keepBrowserHistory: boolean, luigi: Luigi): Promise<void>;
18
+ addSearchParamsFromClient(searchParams: Record<string, any>, keepBrowserHistory: boolean, preventLuigiConfigUpdate: boolean, luigi: Luigi): Promise<void>;
18
19
  };
@@ -12,8 +12,8 @@ export declare const UIModule: {
12
12
  init: (luigi: Luigi) => void;
13
13
  update: (scopes?: string[]) => Promise<void>;
14
14
  updateMainContent: (currentNode: Node, luigi: Luigi, luigiParams?: LuigiParams, withoutSync?: boolean, preventContextUpdate?: boolean) => Promise<void>;
15
- openModal: (luigi: Luigi, node: Node, modalSettings: ModalSettings, onCloseCallback?: () => void) => Promise<void>;
15
+ openModal: (luigi: Luigi, node: Node, modalSettings: ModalSettings, onCloseCallback?: (goBackValue?: any) => void, luigiParams?: LuigiParams) => Promise<void>;
16
16
  updateModalSettings: (modalSettings: ModalSettings, addHistoryEntry: boolean, luigi: Luigi) => void;
17
- openDrawer: (luigi: Luigi, node: Node, drawerSettings: DrawerSettings, onCloseCallback?: () => void) => Promise<void>;
17
+ openDrawer: (luigi: Luigi, node: Node, drawerSettings: DrawerSettings, onCloseCallback?: () => void, luigiParams?: LuigiParams) => Promise<void>;
18
18
  openUserSettings: (userSettingsDialogSettings: UserSettingsDialogSettings, userSettingData: any, previousUserSettings: any, luigi: Luigi) => Promise<void>;
19
19
  };
package/package.json CHANGED
@@ -18,5 +18,5 @@
18
18
  "micro-frontends",
19
19
  "microfrontends"
20
20
  ],
21
- "version": "0.0.11-dev.20260730056"
21
+ "version": "0.0.11-dev.202607300638"
22
22
  }
@@ -203,6 +203,10 @@ export interface LuigiConnector {
203
203
  * no-refcount caveat applies.
204
204
  */
205
205
  removeBackdrop(): void;
206
+ /**
207
+ * Set the collapsed state of the left side navigation.
208
+ */
209
+ collapseLeftSideNav(state: boolean): void;
206
210
  /**
207
211
  * Open the user-settings dialog.
208
212
  *
@@ -4,6 +4,7 @@ export interface TopNavData {
4
4
  appSwitcher?: AppSwitcher;
5
5
  appTitle: string;
6
6
  contextSwitcher?: ContextSwitcher;
7
+ isHeaderDisabled: boolean;
7
8
  globalSearch?: GlobalSearch;
8
9
  logo: string;
9
10
  navClick?: (item: NavItem) => Promise<void>;
@@ -233,6 +234,7 @@ export interface DrawerSettings {
233
234
  header?: DrawerHeader;
234
235
  overlap?: boolean;
235
236
  size?: 'l' | 'm' | 's' | 'xs';
237
+ nodeParams?: Record<string, any>;
236
238
  }
237
239
  export interface ModalSettings {
238
240
  size?: 'fullscreen' | 'l' | 'm' | 's';
@@ -241,6 +243,7 @@ export interface ModalSettings {
241
243
  title?: string;
242
244
  closebtn_data_testid?: string;
243
245
  keepPrevious?: boolean;
246
+ nodeParams?: Record<string, any>;
244
247
  }
245
248
  export interface ProductSwitcher {
246
249
  altText?: string;
@@ -335,5 +338,7 @@ export interface TitleResolver {
335
338
  export interface ViewGroupSettings {
336
339
  preloadUrl?: string;
337
340
  loadOnStartup?: boolean;
341
+ customData?: Record<string, any>;
342
+ _liveCustomData?: Record<string, any>;
338
343
  }
339
344
  export type HistoryMethod = 'pushState' | 'replaceState';
package/types/ux.d.ts CHANGED
@@ -30,7 +30,7 @@ export interface ConfirmationModalSettings {
30
30
  type?: string;
31
31
  header?: string;
32
32
  body?: string;
33
- buttonConfirm?: string;
33
+ buttonConfirm?: string | false;
34
34
  buttonDismiss?: string;
35
35
  }
36
36
  /**
@@ -44,5 +44,7 @@ export declare const NavigationHelpers: {
44
44
  label: string;
45
45
  icon?: string;
46
46
  };
47
+ getUrlOrigin(url: string): string | undefined;
48
+ findViewGroup(node: Node, originalNode?: Node): string | undefined;
47
49
  openExternalLink(externalLink: ExternalLink, pathParams?: Record<string, any>): void;
48
50
  };
@@ -48,6 +48,7 @@ export declare const RoutingHelpers: {
48
48
  * @returns a string with the route or undefined, if node is not an ancestor of path-node
49
49
  */
50
50
  mapPathToNode(path: string, node: Node): string | undefined;
51
+ resolveNodeLabel(node: Node, luigi: Luigi): string;
51
52
  getNodeLabel(node: Node, luigi: Luigi): Promise<string>;
52
53
  /**
53
54
  * Retrieves the content view parameter prefix from the Luigi configuration.