@luigi-project/core-modular 0.0.1-dev.202601290044 → 0.0.1-dev.202601300045
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
|
@@ -221,8 +221,11 @@ export declare class NavigationService {
|
|
|
221
221
|
nodeObject: Node;
|
|
222
222
|
pathData: PathData;
|
|
223
223
|
}>;
|
|
224
|
+
shouldPreventNavigation(node: Node): Promise<boolean>;
|
|
225
|
+
shouldPreventNavigationForPath(nodepath: string): Promise<boolean>;
|
|
226
|
+
openViewInNewTab(nodepath: string): Promise<void>;
|
|
224
227
|
private resolveTooltipText;
|
|
225
228
|
private prepareRootNodes;
|
|
226
229
|
private getAccessibleNodes;
|
|
227
|
-
handleNavigationRequest(path: string, preserveView?: string, modalSettings?: any, callbackFn?: any): Promise<void>;
|
|
230
|
+
handleNavigationRequest(path: string, preserveView?: string, modalSettings?: any, newTab?: boolean, withoutSync?: boolean, callbackFn?: any): Promise<void>;
|
|
228
231
|
}
|
|
@@ -34,10 +34,16 @@ export declare class RoutingService {
|
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
enableRouting(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Deal with route changing scenario.
|
|
39
|
+
* @param {Object} routeInfo - the information about path and query
|
|
40
|
+
* @param {boolean} withoutSync - disables the navigation handling for a single navigation request
|
|
41
|
+
* @returns {Promise<void>} A promise that resolves when route change is complete.
|
|
42
|
+
*/
|
|
37
43
|
handleRouteChange(routeInfo: {
|
|
38
44
|
path: string;
|
|
39
45
|
query: string;
|
|
40
|
-
}): Promise<void>;
|
|
46
|
+
}, withoutSync?: boolean): Promise<void>;
|
|
41
47
|
getCurrentRoute(): Route | undefined;
|
|
42
48
|
/**
|
|
43
49
|
* If `showModalPathInUrl` is provided, bookmarkable modal path will be triggered.
|
|
@@ -17,6 +17,12 @@ export declare const GenericHelpers: {
|
|
|
17
17
|
* @returns {boolean}
|
|
18
18
|
*/
|
|
19
19
|
isFunction: (functionToCheck: any) => boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Checks if input is an async function.
|
|
22
|
+
* @param functionToCheck mixed
|
|
23
|
+
* @returns {boolean}
|
|
24
|
+
*/
|
|
25
|
+
isAsyncFunction: (functionToCheck: any) => boolean;
|
|
20
26
|
/**
|
|
21
27
|
* Checks if input is a string.
|
|
22
28
|
* @param stringToCheck mixed
|