@luigi-project/core-modular 0.0.1-dev.20260250047 → 0.0.2-dev.20260260044
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/core-api/luigi.d.ts +6 -0
- package/core-api/navigation.d.ts +2 -2
- package/luigi-engine.d.ts +2 -2
- package/luigi.js +12 -38
- package/luigi.js.map +1 -1
- package/modules/routing-module.d.ts +1 -1
- package/modules/ui-module.d.ts +1 -1
- package/package.json +1 -1
- package/services/navigation.service.d.ts +17 -7
- package/services/node-data-management.service.d.ts +3 -3
- package/services/routing.service.d.ts +3 -1
- package/utilities/helpers/routing-helpers.d.ts +11 -0
package/core-api/luigi.d.ts
CHANGED
|
@@ -44,6 +44,12 @@ export declare class Luigi {
|
|
|
44
44
|
* Luigi.getConfigValueAsync('navigation.contextSwitcher.options')
|
|
45
45
|
*/
|
|
46
46
|
getConfigValueAsync(property: string, ...parameters: any[]): Promise<any>;
|
|
47
|
+
/**
|
|
48
|
+
* Clears the navigation cache.
|
|
49
|
+
* @example
|
|
50
|
+
* Luigi.clearNavigationCache();
|
|
51
|
+
*/
|
|
52
|
+
clearNavigationCache(): void;
|
|
47
53
|
/**
|
|
48
54
|
* Reads the user settings object.
|
|
49
55
|
* You can choose a custom storage to read the user settings by implementing the `userSettings.readUserSettings` function in the settings section of the Luigi configuration.
|
package/core-api/navigation.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare class Navigation {
|
|
|
11
11
|
constructor(luigi: Luigi);
|
|
12
12
|
navigate: (path: string, preserveView?: string, modalSettings?: ModalSettings, splitViewSettings?: any, drawerSettings?: any) => Promise<void>;
|
|
13
13
|
openAsModal: (path: string, modalSettings: ModalSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
14
|
-
openAsDrawer: (path: string, modalSettings: ModalSettings, onCloseCallback?: () => void) => void
|
|
15
|
-
runTimeErrorHandler: (errorObj: object) => void
|
|
14
|
+
openAsDrawer: (path: string, modalSettings: ModalSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
15
|
+
runTimeErrorHandler: (errorObj: object) => Promise<void>;
|
|
16
16
|
}
|
package/luigi-engine.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class LuigiEngine {
|
|
|
10
10
|
routingService: RoutingService;
|
|
11
11
|
luigi: import('./core-api/luigi').Luigi;
|
|
12
12
|
init: (luigi: import('./core-api/luigi').Luigi) => void;
|
|
13
|
-
update: (scopes?: string[]) => void
|
|
13
|
+
update: (scopes?: string[]) => Promise<void>;
|
|
14
14
|
updateMainContent: (currentNode: any, luigi: import('./core-api/luigi').Luigi) => Promise<void>;
|
|
15
15
|
openModal: (luigi: import('./core-api/luigi').Luigi, node: any, modalSettings: import('./services/navigation.service').ModalSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
16
16
|
updateModalSettings: (modalSettings: import('./services/navigation.service').ModalSettings, addHistoryEntry: boolean, luigi: import('./core-api/luigi').Luigi) => void;
|
|
@@ -33,7 +33,7 @@ export declare class LuigiEngine {
|
|
|
33
33
|
init: (luigi: import('./core-api/luigi').Luigi) => void;
|
|
34
34
|
handlePageErrorHandler: (pageErrorHandler: import('./services/navigation.service').PageErrorHandler, node: import('./services/navigation.service').Node, luigi: import('./core-api/luigi').Luigi) => void;
|
|
35
35
|
handleExternalLinkNavigation: (externalLink: import('./services/navigation.service').ExternalLink) => void;
|
|
36
|
-
addSearchParamsFromClient(searchParams: Record<string, any>, keepBrowserHistory: boolean, luigi: import('./core-api/luigi').Luigi): void
|
|
36
|
+
addSearchParamsFromClient(searchParams: Record<string, any>, keepBrowserHistory: boolean, luigi: import('./core-api/luigi').Luigi): Promise<void>;
|
|
37
37
|
};
|
|
38
38
|
bootstrap(connector: LuigiConnector): void;
|
|
39
39
|
init(): void;
|